如何安装或添加& quot; Web& quot; Visual Studio中提供服务? [英] How to install or Add "Web" services in Visual Studio?

查看:57
本文介绍了如何安装或添加& quot; Web& quot; Visual Studio中提供服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google上看到的,它有一些类似下面的模板,

模板>可视C#网页



I saw on google, it had some like template like below,

Templates > Visual C# > Web

我可以知道如何安装吗?我尝试了几种方法,但似乎错了.如果我进入在线模板,则选择太多,而且我不知道我需要哪个服务.

can i know, how to install it? i try few way, but seems like wrong. if i go online template,  it too much selection and i don't know which 1 is the services i need.

感谢您的帮助.

**我需要的是希望我的Visual Studio支持asp.net,目前似乎还不真正支持.

**what i need is want my visual studio support asp.net, currently it seems like not really support.

推荐答案

Lazarus Liew,

Hi Lazarus Liew,

欢迎来到MSDN论坛.

Welcome to MSDN forum.

您的Visual Studio版本是什么?

What’s your version of your visual studio?

如果您 拥有ASP.NET Web 应用,而Visual Studio版本为2015,请打开一个管理CMD窗口并导航至C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE和 运行以下命令:

If you want to have ASP.NET web application and visual studio version is 2015, please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run these commands:

     devenv.exe/installvstemplates

      devenv.exe /installvstemplates

然后,您可以通过 新项目 访问 添加新项 对话框以获取asp.net Web应用程序.

Then, you can be accessed through the New Project and Add New Item dialog boxes to get asp.net web application.

如果您想拥有 ASP.NET核心Web应用程序,则Visual Studio 2015的版本不是最新版本,则可以下载 Visual Studio 2015更新3 并进行安装.之后,您可以转到控制面板-程序和功能",右键单击Visual Studio,然后单击更改-修改",选择"Microsoft Web Developer Tools".然后, 您可以检查是否具有 ASP.NET Web 应用程序和ASP.NET核心Web应用程序.

If you want to have ASP.NET core web application, the version of your visual studio 2015 is not the latest version, you could download visual studio 2015 update 3 and install it. After this, you could go to Control Panel—Programs and Features, right-click the visual studio and click Change-Modify, select Microsoft Web Developer Tools. Then, you could check if you have ASP.NET web application and ASP.NET core web application.

如果您仍然没有 ASP.NET核心网络应用程序,请转到 站点,以下载并安装.NET Core 1.0.1-VS 2015 Tooling Preview 2.

If you still don’t have ASP.NET core web application, go to the site to download .NET Core 1.0.1 - VS 2015 Tooling Preview 2 and install it.

顺便说一句,您需要将.NET框架更改为4.5或更高版本,然后您将获得一些模板.

BTW, you need to change your .NET framework to 4.5 or higher and then you will get some templates.

最诚挚的问候,

Joyce


这篇关于如何安装或添加& quot; Web& quot; Visual Studio中提供服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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