I’ve converted an .asmx server to .svc services.
Here a list of witch code I’ve changed from .asmx to .svc infrastructure:
SOAP (.asmx) | WCF (.svc) |
---|---|
this.Context.Cache | MemoryCache.Default (include System.Runtime.Caching.dll) |
Server.MapPath | HostingEnvironment.MapPath |
Server.HtmlEncode | HttpUtility.HtmlEncode |