PC Review


Reply
Thread Tools Rate Thread

.Net 2.0 WebService

 
 
mr t
Guest
Posts: n/a
 
      15th May 2008
1. Is there a way to create a .Net 2.0 webservice that does NOT write
to c:\windows\TEMP to create temporary classes? I have security issues
with that.

2. If not, Is it possible to instruct .NET 2.0 to write its temporary
classes somewhere else?

any help on this would be appreciated.
 
Reply With Quote
 
 
 
 
Morten Abrahamsen
Guest
Posts: n/a
 
      15th May 2008
This is caused by the XmlSerializer that will autogenerate serialization
classes for your Web Service interface.

I haven't seen a setting to change this directory (except moving temp), but
you should be able to precompile the serialization classes with your code,
and the temp workspace should not be needed.

Have a look at the SGEN tool
(http://msdn.microsoft.com/en-us/library/bk3w6240(VS.80).aspx).

Morty


"mr t" <(E-Mail Removed)> wrote in message
news:9a8e60f2-70d4-47c7-98e3-(E-Mail Removed)...
> 1. Is there a way to create a .Net 2.0 webservice that does NOT write
> to c:\windows\TEMP to create temporary classes? I have security issues
> with that.
>
> 2. If not, Is it possible to instruct .NET 2.0 to write its temporary
> classes somewhere else?
>
> any help on this would be appreciated.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2003 Webservice Toolkit 2.01 and ASP.NET 2.0 Webservice - Problem Neil Young Microsoft Dot NET Framework 0 6th Mar 2006 10:47 AM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista Microsoft ASP .NET 1 26th Jan 2006 01:05 PM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista Microsoft ASP .NET 0 26th Jan 2006 09:13 AM
Problem! webservice.htc calling nonsecure webservice from a secured ssl https webpage batista Microsoft Dot NET 0 26th Jan 2006 09:12 AM
Excel 2003: Grabbing a dataset from a webservice and then sending to a webservice? gjn Microsoft Excel Programming 1 7th Oct 2005 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 AM.