Tips, Tricks & Hidden Gems - GOTO Conference...ASP.NET MVC Web Pages (WebMatrix) Other (FubuMVC,...

Post on 05-Oct-2020

2 views 0 download

transcript

Tips, Tricks & Hidden

Gems

Shay Friedman

Shay Friedman

shayf@codevalue.com | @ironshay

http://IronShay.com | http://CodeValue.com

Step 1 Incoming request directed to Controller via the Route Handler

1

Controller Request

Route Handler

http://www.mysite.com/people/create

Step 2

Controller processes request and gets/forms a data Model

2

Model

1

Controller Request

Route Handler

Step 3

Model is passed to View

Model

Model

View

3

2

Model

1

Request

Route Handler

Controller

View

Step 4

View transforms Model into appropriate output format

4

Model

Model 3

2

Model

1

Request

Route Handler

Controller

Step 5

Response is rendered

View

4

Model

Model 3

2

Model

1

Request

Route Handler

Controller

Response

5

shayf@codevalue.com

@ironshay

http://IronShay.com