Create an IIS application. Create a new IIS application pool and set it's .NET version to 4. Set the application pool of the new application to the new application pool. procedure CreateIISVirtualDir(); var IIS, WebSite, WebServer, WebRoot, VDir: Var
1.新建一个web空项目: 2.添加web服务: 3.在添加的web服务中添加一个求和的方法:(注:必须在方法上面添加 [WebMethod]才会在网页上显示出来,其中(description为方法的描述)) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; namespace WebServiceDemo { /// <s