Programming ASP.NET MVC-Fundamentals of ASP.NET MVC(一)

Microsoft’s Web Development Platforms

Understanding the past can be a big help in appreciating the present; so, before we get
into what ASP.NET MVC is and how it works, let’s take a minute to see just where it
came from.
Long ago, Microsoft saw the need for a Windows-based web development platform,
and the company worked hard to produce a solution. Over the past two decades,
Microsoft has given the development community several web development platforms.

Active Server Pages (ASP)

Microsoft’s first answer to web development was Active Server Pages (ASP), a scripting
language in which code and markup are authored together in a single file, with each

physical file corresponding to a page on the website. ASP’s server-side scripting ap-
proach became widely popular and many websites grew out of it. Some of these sites
continue to serve visitors today. After a while, though, developers wanted more. They
asked for features such as improved code reuse, better separation of concerns, and
easier  application  of  object-oriented  programming  principles.  In  2002,  Microsoft
offered ASP.NET as a solution to these concerns.

ASP.NET Web Forms

Like ASP, ASP.NET websites rely on a page-based approach where each page on the
website is represented in the form of a physical file (called a Web Form) and is accessible
using that file’s name. Unlike a page using ASP, a Web Forms page provides some
separation of code and markup by splitting the web content into two different files:
one for the markup and one for the code. ASP.NET and the Web Forms approach
served developers’ needs for many years, and this continues to be the web development
framework of choice for many .NET developers. Some .NET developers, however,
consider the Web Forms approach too much of an abstraction from the underlying
HTML, JavaScript, and CSS. Some developers just can’t be pleased! Or can they?

ASP.NET MVC

Microsoft was quick to spot the growing need in the ASP.NET developer community
for something different than the page-based Web Forms approach, and the company
released the first version of ASP.NET MVC in 2008. Representing a total departure
from the Web Forms approach, ASP.NET MVC abandons the page-based architecture
completely, relying on the Model-View-Controller (MVC) architecture instead.
Unlike ASP.NET Web Forms, which was introduced as a replacement
to its predecessor, ASP, ASP.NET MVC does not in any way replace the
existing Web Forms Framework. Quite the contrary—both ASP.NET
MVC and Web Forms applications are built on top of the common
ASP.NET Framework, which provides a common web API that both
frameworks leverage quite heavily.

 

          在这段时间一直在学习Asp.net MVC,是在看一个英文书籍:Programming ASP.NET MVC。

      在决定学习asp.net mvc的时候,我也有犹豫,到底是看视频呢,还是看翻译书籍,还是看英文原版。

      最后还是决定看英文的原版,仅管知道这样会很累,但是还是决定了,因为如果想在IT界混的话,如果学习能力、英文能力不行的话,那就是一个瓶颈。所以决定,这样来提高自己英文阅读能力。

       然后在写这篇博客的时候,我本来想选“翻译”来着,把自己的笔记翻译过来,后来想,不知道我做这样的工作,有没有用(会不会有人看我的博客),也就不必浪费更多的时间来做无用功了,反过来,每次看自己笔记的时候,又是对自己英文能力的一个锻炼。

        哈哈,自己想得周全吧!

        通过这一个多星期的学习,感觉自己看英文文档真得轻松了许多,在这里,我也建议做IT的我们,opening our eyes is very important!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值