.Net 2.0 WebService

  • Thread starter Thread starter mr t
  • Start date Start date
M

mr t

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.
 
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
 
Back
Top