Max number of web methods?
Posted
by Rippo
on Stack Overflow
See other posts from Stack Overflow
or by Rippo
Published on 2009-05-14T10:18:31Z
Indexed on
2010/05/03
16:18 UTC
Read the original article
Hit count: 264
Guys
I have a web service in asp.net 2.0 that has 234 methods. It seems that when I add another method the site does not compile in VS2005 until I remove one first. I get a message saying that the new method I just added does not exist in a file that belongs in the Microsoft.Net/.../Temporary Files directory. I have restarted IIS, closed down VS2005, removed all files from this temp directory but to no avail. The only way to get the code to compile is to remove another one so as to keep 234 methods....
I can consistency replicate this behaviour so it cannot be my code. Now I know this seems strange but it is true! One other strange thing is that exactly 100 of the method names begin with the word GetXXXyyyZZZ
Has anyone else experienced problems with the maximum number of methods that are allowed in a web service? Many Thanks
© Stack Overflow or respective owner