Is there any way to define C # ASMX webserver as singleton? Maybe in web.config file? Currently I am not using WCF.
Thank you in advance
[WebServices (namespace = "http://www.mydomain.eu/")] [WebServiceBinding (Confafoto = WsiProfiles.BasicProfile1_1)] [ System.ComponentModel.ToolboxItem (wrong)] Public class MyService: System.Web.Services.WebService {...}
You can not create a web service, because the web service runs on IIS and it is considered as a web app and it is maintained in this way . Each customer will share a single application example, but each will have their own request, feedback, session etc.
No comments:
Post a Comment