ASP.NET MVC



ASP.NET MVC
March 2008 view of the model - Controller (MVC) design patterns and Test-driven development (TDD) drives, the majority of todays enterprise-class Web applications. MVC model in the implementation of separation of concerns by dividing the application into a model to store and manage business data, opinions, and to make and enables users to interact with data, and the controller to the users behaviour to an appropriate business model data, and that.

a major beneficiary of the MVC model is that it simplifies the TDD for Web applications no longer need to interact complex guis. TDD the needs of developers to create granular unit testing circumstances, the failure of validation test cases, not implemented, to write code through unit testing circumstances, and then refactor code to deal with the necessary changes.

until the end of 2007, the only viable MVC framework for the open-source asp.net monorail. Apaches Struts framework provides a Java MVC architecture since 2000. PHP has more than 10 MVC framework. Ruby on track to achieve the MVC default, and includes text / units integrated unit testing libraries.

in Visual Studio (team) for the team also came to the table late TDD failed to provide the Palestinian people and Reconstruction unit testing functions and VS 2002 or 2003. And the 2005 version of the test team to finally integrated IDE and mstest than 2005 standards and a higher increase Reconstruction function C #. And the 2008 Professional Edition and higher, and now integrated mstest, but Microsoft released the 2008 and asp.net 3.5, in order to create without the support of MVC.

[Click image to enlarge] postback model preview Scott Gasirui, Microsofts newly appointed vice president in. NET development division, the first preview of an MVC framework for asp.net 3.5, in October 2007. At that time, Gasirui commitment "ships, it is a fully supported asp.net functions, in the first half of next year." MVC a community technology preview (CTP), and then in December, as part of the expansion of asp.net 3.5. Asp.net expansion features include Dynamic Data - tracks like scaffolding framework to enable the rapid development of data-driven APP M VC site. Linq to SQL or linq entities can be used as data source model.

Earlier this month, Microsoft released a preview of the MVC asp.net 2 at mix08. It provides MVC improved routing and testing, the first of 2008 MVC template support in the development of the IDE, and the strengthening of dynamic data.

Main characteristics of In asp.net MVC framework of the characteristics of the most important Web developers, according to Jia Sirui, include the following: s. NET MVC framework is deeply integrated with asp.net runtime, and familiar with the use of authentication, authorization, security, cache and configuration.

the structure is modular, so developers can capture and the replacement of individual parts.

familiar with the use of net MVC *. aspx and *. ascx files with a view to produce HTML format, and support than the 2008 version of the nesting mother page.

not mapped to the URL *. aspx documents, web sites, maps, to control classes, is the standard classes, not to UI code.

net MVC vessels system.web.ihttprequest and ihttpresponse interface mockery of this interface can be simplified to provide better performance unit testing.

rather than written tests to do Web request, unit testing, directly to the controller.

you can perform unit testing of classes without asp.net operating in the testing machine. In view of the routing request standard asp.net MVC project templates added global.asax.cs documents to your project, which defines a common world-class, it inherited from the system. web.httpapplication. Categories include application_start () method to define routetable.routes to default.aspx and [controller] / [Action] / [code]-path. Its a common model of the Convention on the transfer of the name of the entity set MVC controller as a prefix and check the names of the name of the folder. Asp.net following the tracks of the MVC Convention on the allocation of Lead MVC in the Convention on the treatment of the default Web site routing path at the following Web site controller name the names of the request.

Microsoft entities of the entity structure of the data model for the northwind database as an example, a / products / classification categories interpreted as a sub-channel name, category and invoke () method, allow users to view all products category. / / List / Beverage call list () method to display a list of products in the beverage category, and / products/detail/34 detailed view of the product revealed that the entities, a key value equivalent to 34. In addition, the Web site can be designated for a string of key categories or products. Route certification rules is the use of regular expressions to test the validity of incoming URL.

it in the Visual Studio Team Read more than five years of the MVC / TDD handwriting on the wall and made its first MVC candidates asp.net. The original developers response has been very positive. Asp.net the MVC has four alternative browser engine, one of which is a port of the monorail brail. MVC commitment asp.net developers from the increasingly onerous restrictions on the page life cycle and viewstate / postback model.


Latest Industry News:
- Vista RC2 Ships -- But to a Select Audience
- Symantec Releases Small Business Cert
- Microsoft and Google Square Off for Long-Term SaaS Battle
- Unisys Preps ES7000 for 64-bits
- Cisco Acquirin’ Like it’s 1999
- Microsoft 'Optimistic' After Start of EU Trial
- U.S. Will Extend ICAAN Agreement
- CA Community Colleges Deploy Web Conferencing System
- Medill To Offer J-School Scholarships to Comp-Sci Grads
- Researchers Estimate Worst-Case Worm Damage at $50 Billion
- Unisys Touts New Mainframe Systems
- Intel To Ship New Chips in November
- Oxford Prof Nails Parallel Universe Theory ... Also Doesn't
- Business Objects to Buy Crystal Decisions
- Open-Xchange Improves Collaboration Server
- Uninstall Your Junk
- Cassatt Ships Management Tool for Collage
- CIO Blind Spots
- Silverlight Bridges the Gap
- The Day Symantec Couldn't Speak Chinese