原理我们先不去说直接操作吧。
一、编写一个简单的webservice
打开vs2010创建一个web项目
在项目中添加web服务
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace LZ_MIS.WebService
{
/// <summary>
/// CsBossService 的摘要说明
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProf

本文介绍了如何使用Visual Studio 2010创建和调用WebService。首先,通过创建Web项目并添加Web服务来演示基础步骤。接着,通过添加服务引用并指定URL,将WebService引入项目。最后展示了在C#代码中调用WebService的方法。
2580

被折叠的 条评论
为什么被折叠?



