Goals
- Master the development of ASP.Net MVC applications with the Razor view engine
Program
Pattern MVC: architecture, contributions
Creation of web applications .Net
ASP.Net MVC: presentation, versions, technologies used
Structure of an ASP.Net MVC project, choice of view engine
Global configuration: dependencies, bundles, filters, class of global configuration
Available resources (documentation)
Workshop: Creation of an ASP.Net MVC project, detail of the structure
ASP.Net controller: implementation,
Route naming : default configuration, syntax
Passing and retrieving parameters in controller actions
Parameter mapping and routing modification in RouteConfig
Choice of the type of result of the action: ActionResult, FileContentResult,. ..
Download management
Workshop: Creating controllers, routing and retrieving parameters
Management of redirects from the controller: to a view, to an action, to a stream
Razor view engine: presentation, syntax
Templating views: _ViewStart (default template), custom _Layout
Access to bundles: styles, scripts
Creation of views: association with a template, structure of the
Bootstrap page : responsive design grid, main classes, available components
Management of CSS of the view
Creation of model classes, sending in the controller and retrieving in the view
Creation of forms: basic controls, restoration of values after Postback
Validation of entries: management in the model and display of errors
Generation of views associated with a model with the
Internationalization of the view
Management of HTTP sessions, access in the view
Manipulation of global variables
Creation and retrieval of cookies
Management of the upload
Management of asynchronous AJAX requests
View debug: helpers (ServerInfo , ObjectInfo)
Workshop: Implementation of a complete MVC CRUD, validation of entries and imports / exports
Authentication management: available methods, selection criteria
Implementation of an authentication strategy, management of roles
Authentication filters
Security of forms against
AntiForgeryToken injections : interest, implementation
Workshop: Implementation of an authentication strategy, secure forms against injections
Setting up a cache
Traffic analysis
Resource management (Minify, Bundle) in a Razor view
Publishing the application
Workshop: Setting up a cache, multiple optimizations of the application
Duration
3 days
Price
£ 1995
Audience
.Net Developers (C # or VB.Net)
Prerequisites
Mastery of the object (C # or VB.Net), knowledge of HTML / CSS / JS
Reference
.NE1104-F
Sessions
Contact us for more informations about session date