You are on page 1of 1

Requesting for the page Response for Requested page

Routing Types
User
Attribute Routing Browser Sending Bundling and Minification
IF Loaded Request IF Loaded
Request
for the first URL within a
Customize Routing It is the process of grouping CSS/JS
time ‘X’ time
“X” is the files in a single folder and removing
time
all the comments and empty spaces.
URL: Hostname/Controller name/action name mentioned
in program The folder can cached also

CACHING DATA
ROUTING HTML HELPERS
1. Static Content
URL Routing Module HTML helpers are used in views to
2. Output Catche
render the HTML content Layout
3. Shared data cache Result Execution
Matching Route Entry By using layouts we can
Should contain Result Filter create common page
controller layout for multiple pages
name and then
View Initialization and Rendering in our application
to action Route Handler
Model View Controller (MVC)
HTLM Helpers
It is an architectural pattern usually Data Annotations
If URL NOT Available
If URL Available used in web based applications
404 Error These are nothing but certain
validating that are put in our models View

Controller Initialization to validate the input from users few


of them are:- Required, Max Length,
HTTP Handler Range, Format, Email, etc . . . View Engine
Mark up

Areas
Properties
Controller Factory In Large applications there may be Non - View Result View Result Content Returning
need of multiple Controller, Model &
View Files. This concept makes us to Re directional Returning
Controller make portions of large applications Model
into smaller Result Filter Status Returning
Contains Domain Specific
Data (Access to DB) and
Business Logic.
After Finding controller it will send to corresponding action
URL’s can
directly routed
to actions from Action Execution
rout config
Action Invoker Model Binders Authentication Filter Authorization Filter Action Filter Action Execution Action Filter Action Result

After Getting the call from controller the action Types of Filters Model Binders Action Result
will be initiated, In the action cycle there are This is used to synchronize class property name After Performing the action the it will give a
few filters now these filters are used to we can 1. Inbuilt Filters :- Authorization Filter, Authentication Filter, Exception Filter,
Action Filter, Output Cache and HTML Control Names result it is an return type and gives return type
modify how the action works. These filters can which contains following output types.
2. Custom Filters :- They can be created using appropriate filter Interface – action
also be applied to controllers
filter attribute class, There are methods which can be overridden for creating custom
Filters

You might also like