ASP.NET Web服务模板不存在? [英] ASP.NET Web Service template not exist?

查看:224
本文介绍了ASP.NET Web服务模板不存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个完整的安装 Visual Studio 2010中 NET框架4 。我要创造我的第一个Web服务。但不存在的 Web服务模板。结果
在Visual Studio 2010,我去的文件 - > 新网站菜单,但在新网站对话框中不存在的 ASP .NET Web服务模板。

I have a full installation of Visual Studio 2010 with .Net framework 4. I want create my first web service. but not exist web service template.
In visual studio 2010 I go to File -> New Web Site menu , but in the New Web Site dialog box not exist ASP.NET Web Service template.

如何创建Web服务?

推荐答案

使用文件 - >新建项目 - > WCF服务应用程序。

Use File->New Project->WCF Service Application.

ASP.NET Web服务(又名ASMX)是一种过时的技术。它的存在只是为了支持现有ASMX服务。不要使用它进行新的开发。

"ASP.NET Web Services" (aka ASMX) is a legacy technology. It exists only to support existing ASMX services. Do not use it for new development.

这篇关于ASP.NET Web服务模板不存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆