创建WebService 新建一个asp.net web应用程序 创建空的asp.net web应用程序 创建好之后,在当前项目下右键 在web节点下,找到web服务创建即可 发布 参考以下博客:C# WebService创建与使用 - 剑无尘 - 博客园 (cnblogs.com)