Overview • ASP.NET is a development framework for developing web apps and websites with CSS, JavaScript, HTML other scripting language. • ASP.NET help three various development patterns web pages, MVC (Model View Controller) and Web forms. • The MVC partition helps you handle complicated applications, because you can focus on one aspect a time. For example, you can attention on the view without depending on the business.
ASP.NET MVC Architecture Model
View
Controller
Model Model: - The model component matching to all the data related logic that the user tasks with. This can represent either the data that is being moved between the view and controller components or any other business logic related data.
Data
Entry Modelblinder
User
Controller
View View: - The view component is used for all the user interface logic of the programs.
View
ViewModel
Model
Controller Controller: - Controller combine between model and view components to whole operation all the business logic and next requests, operate data using model and collaborate the view components to provide the final result or output. ASP.NET MVC Request Send
an Icontroller Build controller
a Controller
a Controller Few ActionMethod an Action O/P Release Controller
Life Cycle of ASP.NET MVC Request
Routing
MVC Handler
Controller
Action Execution
Browser
Response
View
View Engine
View Result
ASP.NET MVC TDD (Test Driven Development) • One of the main benefits of ASP.NET MVC is the support of Test-Driven Development (TDD). • A testable application should be created in a roughly associate manner so that you can test independent components of the application. • Creating testable application, the support of programmer frameworks is very crucial and should be designed to ease developing testable applications.
ASP.NET MVC TDD . Test Case Passed
Refactor The Code
Test Driven Development Flow
Code Run
Write Code
Check Tests Fail
Advantages Advantages of the ASP.NET MVC Web Application It makes easier to handle complicated application by dividing into MVC (Model View Controller). MVC framework suite for programmers who must complete handling over the components of an application. MVC crucial part of controller parts that processes web app or form request send an individual controller. MVC framework provides better support for TDD (Test Driven Development).
ASP.NET MVC Version History ASP.NET MVC CTP
ASP.NET MVC 4
ASP.NET MVC 5.1.3
ASP.NET MVC 1.0
ASP.NET MVC 4 Beta
ASP.NET MVC 5.2.0
ASP.NET MVC 2 RC
ASP.NET MVC 4 RC
ASP.NET MVC 5.2.2
ASP.NET MVC 2 RC 2
ASP.NET MVC 4
ASP.NET MVC 5.2.3
ASP.NET MVC 2
ASP.NET MVC 5 Beta
ASP.NET MVC 6.0.0-beta
ASP.NET MVC 3 Beta
ASP.NET MVC 5
ASP.NET MVC 6.0.0 RC
ASP.NET MVC 3 RC
ASP.NET MVC 5.1
ASP.NET MVC 3
ASP.NET MVC 5.1.1
Resource by Wikipedia.com
Friendly URLs Physical Address ASP.NET Path MVC Path
d:\Users\Admin\Desktop\div\Localprojects http://www.xyzaspnet.com/products.aspx?name=John
http://www.xyzaspnet.com/products/Detail/John
Above three path location - MVC Path more user friendly
ASP.NET Presentations Options ASP.NET Dynamic Data
ASP.NET WebForms
ASP.NET MVC ASP.NET Basic
Features of WebForms and MVC Features Individual Components Familiar Event Driven Model ViewState Problem Easy Server Handle Full HTML Control TDD (Test Driven Development) Support
WebForms
MVC
Contact Us Corporate Office
Development Centre
"Royal Square" 1st Floor, Off No. 110, Nr. Shilp Tower, Tagore Road, Rajkot - 360 001 Gujarat - India
“Titanium Square” 3rd Floor, Office No. B-302, S.G. Highway, Beside Parsoli Motors. Nr. Thaltej Crossing, Ahmedabad – 380 054 Gujarat – India
info@technoligent.com
info@technoligent.com