Is it possible to configure a (WCF) service to run instead?
This approach is necessary to run the legacy COM object, to run as STA instead of MTA to configure ASMX web services, implement the web service to run as STA An alternative solution is available for using HTTPHandler.
An article by Jeff Prosz, details workaround and how to apply it to the same HTTPHandler by using create new ADO.NET data service in a REST-based WCF service (Visual Studio ) Generates an error at that point on which WebService is called HandslerFactory (this is being passed HTTPContext, URLs, etc.).
Handler works for ASMX web services, and I'm able to add a WebEmith that pays the threading model as STA. However, after setting ASPCompatibility (both at web.config
and at the class level), custom HTTPHandler always creates an error at the same point when I try to use a REST service No endpoint is configured, because I am using basic comfort service with some "service operator" methods is an error:
Type 'System.Web.Compilation.BuildResultCustomString' type Type the object 'System.Web.Compilation.BuildResultCompiledType' Unable to rock.
Read and see if you get anywhere.
Comments
Post a Comment