是否可以使用Visual Web Developer 2010开发Web服务?(Is it possible to develop a Web Service using Visual Web Developer 2010?)
是否可以使用Visual Web Developer 2010开发ASP.NET Web服务? 或者我必须使用Visual Studio本身来创建Web服务?
谢谢,
LS开发者
Is it possible to develop an ASP.NET Web Service using the Visual Web Developer 2010? Or I must use Visual Studio itself for creating the Web Service?
Thanks,
LS Developer
最满意答案
是。 但为了将来的理解,请考虑以下注意事项:
创建Web服务实际上不需要任何IDE。 您可以使用记事本创建Web服务(或整个网站)。 因此,Visual Studio只是一个有用的工具。 创建基于.NET Framework的Web服务实际上需要您编译代码。 因此,您可以再次使用记事本创建Web服务,并使用C#或VB.NET编译器进行编译,部署并使用它。 Visual Web Developer 2010(Express)只是一个IDE。 另一方面,Web Service是一个项目模板 (为您编写基本的基础结构)。 但即使您不使用该项模板 ,您也可以创建一个类,从WebService继承并创建您的Web服务。祝你好运。
Yes. But for future understanding, please consider these notes:
Creating Web Service actually doesn't need any IDE. You can create a web service (or an entire web site) using Notepad. Therefore, Visual Studio is just a helpful tool for you. Creating a web service based on .NET Framework actually needs you to compile your code. Therefore, you can again create the web service with notepad, and compile it using C# or VB.NET compiler, deploy it and use it. Visual Web Developer 2010 (Express) is just an IDE. Web Service on the other hand is an Item Template (which writes the basic infrastructure for you). But even if you don't use that Item Template, you can create a class, inherit from WebService and create your web service.Good luck.
更多推荐
发布评论