.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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top