Please help me how can I use the System.Web.Service in NET6.0. I can't use it anymore, how can I upgrade using it? how can I use the SoapMessage, SoapMessageStage, SoapExtension,LogicalMethodInfo, SoapExtensionAttribute?
this is not working anymore...
using System.Web.Services;
using System.Web.Services.Protocols;
Gajendra JangidPosted Apr 3, 2022, 5:44 PM
Muhammad Imran AnsariPosted Apr 2, 2022, 6:10 PM
Sachin SinghPosted Apr 2, 2022, 7:10 AM
Jigar ShahPosted Apr 1, 2022, 1:33 PM
System.Web.Servicesis a predecessor of WCF. Since even the mighty WCF is considered deprecated on the server side, do not expectSystem.Web.Servicesto be available in .NET Core or the concrete App Model ASP.NET Core 1.0. Their namespaces even start withMicrosoft.AspNetCore. SOAP is considered deprecated in favor of REST and JSON. Microsoft will tell you: Use the .NET Framework but not .NET Core.