什么是ASP.NET和ASP.NET MVC的区别? [英] What is the difference between ASP.NET and ASP.NET MVC?

查看:186
本文介绍了什么是ASP.NET和ASP.NET MVC的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是初学者,当涉及到ASP.NET,但我想学习它,以建立一个Web应用程序,最终将与云中托管的SQL服务器进行通信。但是,我找不到它概述(在Visual Studio 2010)ASP.NET Web应用程序和ASP.NET MVC2 Web应用程序之间的差异的任何信息,所以我不知道从哪里开始。谁能给我一个简单的解释/轮廓这样我就可以在一个教程决定跟随?

I'm a complete beginner when it comes to ASP.NET but I want to learn it in order to build a web application that eventually will communicate with a cloud hosted SQL server. However, I cannot find any information that outlines the difference between ASP.NET web application and ASP.NET MVC2 web application (in visual studio 2010) so I'm not sure where to start. Can anyone give me a simple explanation/outline so I can decide on a tutorial to follow?

感谢

推荐答案

ASP.NET MVC2 Web应用程序是基于MVC模式,以便于进行单元测试,无嘲讽管道asp.net,因为它是非常困难的。你不必在code code以分离的code图形和你的code功能的背后。

ASP.NET MVC2 web application is based on MVC pattern in order to facilitate unit test, without mocking pipeline asp.net, because it's very difficult. you don't have code on Code Behind in order to separate your code graphic and your code functional.

使用MVC应用程序成为独立的视图。你可以创建replca鉴于电子技术很容易

With MVC your application become independent from view. you can replca e easily technology of creating view.

阅读这篇文章,这是非常interessant:<一href=\"http://msdn.microsoft.com/en-us/magazine/dd942833.aspx\">http://msdn.microsoft.com/en-us/magazine/dd942833.aspx

Read this article it's very interessant : http://msdn.microsoft.com/en-us/magazine/dd942833.aspx

这篇关于什么是ASP.NET和ASP.NET MVC的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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