简体   繁体   English

使用MVC应用程序的ASP.NET

[英]Asp.net using mvc application

I have ASP.NET 3.5 version, which obliviously supports MVC application, ie. 我有ASP.NET 3.5版本,该版本显然支持MVC应用程序,即。 when we want to create a new MVC web application, we get the template in the asp.net file creation options. 当我们要创建一个新的MVC Web应用程序时,可以在asp.net文件创建选项中获得该模板。

My worry is , though I have asp.net 3.5 version , I could not see the ASP.NET MVC web application to create. 我担心的是,尽管我具有asp.net 3.5版本,但看不到要创建的ASP.NET MVC Web应用程序。

I referred the blog, in that someone has searched for 3.5 sp1 that doesn't support their MVC web application. 我提到该博客的原因是有人搜索了不支持其MVC Web应用程序的3.5 sp1。 I believe that this is not my relevant search. 我相信这不是我的相关搜索。 And I hope I will get a solution for my query. 我希望我能为我的查询找到解决方案。

You may want to re-install your templates: 您可能需要重新安装模板:

Open up visual studio command prompt and type: 打开Visual Studio命令提示符并键入:

devenv /installvstemplates devenv / installvstemplates

That should restore all your templates. 那应该还原所有模板。

I assume you are using Visual Studio 2008. 我假设您正在使用Visual Studio 2008。

Visual Studio 2008 supports ASP.NET MVC development up to versions ASP.NET MVC 1.0 an ASP.NET MVC 2.0. Visual Studio 2008支持高达ASP.NET MVC 1.0和ASP.NET MVC 2.0版本的ASP.NET MVC开发。 If you need to target later versions of ASP.NET MVC - you would need Visual Studio 2010/2012. 如果您需要定位更高版本的ASP.NET MVC,则需要Visual Studio 2010/2012。

Visual Studio 2008 requires VisualStudio 2008 Service Pack 1 install. Visual Studio 2008需要安装VisualStudio 2008 Service Pack 1。 Plus ASP.NET MVC bundle installed for development. 加上安装的ASP.NET MVC捆绑软件进行开发。 ASP.NET MVC 2 provides a new Model-View-Controller (MVC) framework on top of the existing ASP.NET 3.5 SP1 runtime. ASP.NET MVC 2在现有ASP.NET 3.5 SP1运行时的基础上提供了一个新的模型视图控制器(MVC)框架。

for Hosting Server you need .NET Framework 3.5 SP1 + ASP.NET MVC 2 RTM Runtime 对于托管服务器,您需要.NET Framework 3.5 SP1 + ASP.NET MVC 2 RTM运行时

Link to VS2008 SP1 - http://www.microsoft.com/en-in/download/details.aspx?id=13276 Link to ASP.NET MVC 2.0 http://www.microsoft.com/en-in/download/details.aspx?id=22079 链接到VS2008 SP1- http://www.microsoft.com/zh-cn/download/details.aspx?id= 13276链接到ASP.NET MVC 2.0 http://www.microsoft.com/zh-cn/download /details.aspx?id=22079

hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM