![Page 1: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/1.jpg)
© SpringPeople Software Private Limited, All Rights Reserved. © SpringPeople Software Private Limited, All Rights Reserved.
Building Web Sites with
ASP.NET MVC FRAMEWORK
![Page 2: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/2.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
WEB Design Patterns
• MVP
• MVC
• MVVM
• Provider and Adoptor
• The Service Agent, Proxy, and Broker Patterns
• The Repository Pattern
![Page 3: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/3.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
MVC & MVP
The Model-View-Controller (MVC) and Model-View-Presenter (MVP) Patterns improve reusability of business logic by separating the 3 components required to generate & manage a specific user interface (such as a single Web page).
![Page 4: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/4.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Provider & Adapter Pattern
The Provider and Adapter patterns allows otherwise incompatible classes to work together by converting the interface of one class into an interface expected by the other.
![Page 5: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/5.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Service Agent, Proxy, and Broker Patterns
Removes dependencies between a client and a service by using intermediate brokers
![Page 6: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/6.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
The Repository Pattern
The Repository pattern virtualizes storage of entities in a persistent medium, such as a database or as XML
![Page 7: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/7.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
How ASP.NET implements some basic design Patterns
![Page 8: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/8.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
ASP.NET MVC An Introduction
![Page 9: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/9.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
What is ASP.NET MVC
• A new Web Application Project type
• Simply an option – Not a replacement for WebForms
– Builds on top of ASP.NET
![Page 10: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/10.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Why ASP.NET MVC
• Easier to test without IIS
• Page life cycle is greatly simplified
• Builds on top of ASP.NET
• Caching
• Authentication
• Master Pages
• Viewstate is gone
• Cleaner urls by default
![Page 11: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/11.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
What MVC is not?
• Not the new Web Forms 4.0
• Not replacing Web Forms, but Adds to it
• It can not use Web Controls
• Not a whole new engine but sits on ASP.NET engine
• Razor – View Engine in MVC 3.0
![Page 12: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/12.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
What MVC is?
• Maintain Clean Separation of Concerns
• Extensible and Pluggable
• Enable clean URLs and HTML
• Great integration within ASP.NET
• Tooling Support
![Page 13: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/13.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Become an ASP .NET MVC Professional In 3 Days
Attend the 3-Days “ASP.NET MVC 3 Jumpstart Workshop”
View Complete Details
![Page 14: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/14.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Who will benefit?
Experienced .NET software developers who want to build web based application
View Complete Details
![Page 15: SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK](https://reader034.vdocuments.net/reader034/viewer/2022052619/555b1a8ad8b42aa9738b4cf1/html5/thumbnails/15.jpg)
© SpringPeople Software Private Limited, All Rights Reserved.
Q & A
[email protected] +91 80 6567 9700
www.springpeople.com