1. Trang chủ
  2. » Công Nghệ Thông Tin

Giáo trình lập trình ASP.NET Apress pro ASP NET MVC3 framework pre release

603 713 4

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 603
Dung lượng 6,21 MB

Nội dung

[...]... since the launch of ASP. NET MVC, the MonoRail project is rarely heard of The momentum of enthusiasm and innovation in the NET web development world is now focused on ASP. NET MVC What’s New in ASP. NET MVC 3 The headline feature in MVC version 3 is the introduction of the Razor View Engine Previous versions of MVC have relied on the standard ASP. NET view engine, which depends on the ASP. NET blocks—if... of the ASP. NET Platform Microsoft’s existing ASP. NET platform provides a mature, well-proven set of components and facilities for developing effective and efficient web applications First and most obviously, since ASP. NET MVC is based on the NET platform, you have the flexibility to write code in any NET language2 and access the same API features—not just in MVC itself, but in the extensive NET class... application framework, you should also consider the skills of your team, the work involved in porting any existing projects, and your relationship with, and confidence in, the technology source 10 CHAPTER 1n WHAT’S THE BIG IDEA? Comparisons with ASP. NET Web Forms We have already detailed the weaknesses and limitations in traditional ASP. NET Web Forms, and how ASP. NET MVC overcomes many of those problems... controls from earlier ASP. NET projects—can be reused in an ASP. NET MVC application (as long as they don’t depend on Web Forms–specific notions such as View State) Development and deployment are covered, too Not only is ASP. NET tightly integrated into Visual Studio, it’s the native web programming technology supported by the IIS web server built into Windows XP, Vista, 7, and Server products IIS, since... know to deploy ASP. NET MVC applications to IIS on Windows Server Modern API Since its inception in 2002, Microsoft’s NET platform has evolved relentlessly, supporting and even defining the state-of-the-art aspects of modern programming ASP. NET MVC 3 is built for NET 4, so its API can take full advantage of recent language and runtime innovations—including extension methods, lambda expressions, anonymous... something without explaining it, we provide a reference to the chapter where you can find all the detail Creating a New ASP. NET MVC Project We are going to start by creating a new MVC project in Visual Studio Select New ä Project from the File menu to open the New Project dialog If you select the Web templates, you’ll see that the MVC 3 installer has created a new item called ASP. NET MVC 3 Web Application,... XP, Vista, 7, and Server products IIS, since version 7, gives first-class support to NET managed code as a native part of its request-handling pipeline, with special treatment for ASP. NET applications Being built on the core ASP. NET platform, MVC applications get all these benefits Theoretically, you can build ASP. NET MVC applications in F#, IronRuby, or IronPython, although most businesses are likely... ASP. NET Web Forms, Microsoft’s main web platform since 2002, and the changes in the wider web development industry that forced Microsoft to respond with something new We saw how the ASP. NET MVC platform addresses the weaknesses of ASP. NET Web Forms, and how its modern design delivers advantages to developers who want to write high-quality, maintainable code In the next chapter, you’ll see the MVC Framework. .. clean architecture, proper separation of concerns, automated tests, and beautifully minimal markup 12 CHAPTER 3 nnn Your First MVC Application The best way to appreciate a software development framework is to jump right in and use it In this chapter, you’ll create a simple data entry application using the ASP. NET MVC Framework We’ll take things a step at a time so you can see how an ASP. NET MVC application... as the prototype for ASP. NET MVC—MonoRail demonstrated how a Rails-like MVC architecture could be built on top of ASP. NET and established patterns, practices, and terminology that are used throughout Microsoft’s implementation We don’t see MonoRail as a serious competitor It is probably the most popular NET web application platform created outside Redmond, and it did achieve reasonably widespread adoption . object-oriented programming Heavy on bandwidth Ugly HTML Untestable 2005 ASP. NET Web Forms 2.0 2007 ASP. NET AJAX 2008 ASP. NET Web Forms 3.5 2009 ASP. NET MVC 1.0 2010 ASP. NET MVC 2.0 ASP. NET Web Forms. full-stack frameworks like Ruby on Rails and ASP. NET MVC. We describe Node.js here only to put some of ASP. NET MVC’s design into context against industry trends. For example, ASP. NET MVC includes. naturally onto the concepts in MVC. The ASP. NET MVC Framework implements the MVC pattern—and in doing so provides greatly improved separation of concerns. In fact, ASP. NET MVC implements a modern variant

Ngày đăng: 26/09/2014, 09:50

TỪ KHÓA LIÊN QUAN

w