C# ASP.NET web服务删除文档
我想删除默认文档并在空白页上显示我的方法,我尝试了,但遇到了一个错误。C# ASP.NET web服务删除文档,c#,asp.net,web-services,C#,Asp.net,Web Services,我想删除默认文档并在空白页上显示我的方法,我尝试了,但遇到了一个错误。 如何在空白页上显示我的方法 我尝试在web.config上执行以下操作 <protocols> <remove name="Documentation"> </remove> </protocols> 请检查我的附件,我只想显示黑盒区域 删除什么?和ASP.NET的文档,哪个版本/版本?@chade_u请检查attachments@H
如何在空白页上显示我的方法 我尝试在web.config上执行以下操作
<protocols>
<remove name="Documentation">
</remove>
</protocols>
请检查我的附件,我只想显示黑盒区域
删除什么?和ASP.NET的文档,哪个版本/版本?@chade_u请检查attachments@HenkHolterman,有很多asp.net版本以CLR 4为目标。删除什么?和asp.net的文档,哪个版本/版本?@chade_uu请检查attachments@HenkHolterman,有很多针对CLR 4的asp.net版本。
Stack Trace:
[InvalidOperationException: Request format is unrecognized.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +170817
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +209
System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +226
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +156
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155