Choose your language:

France
Germany
Hong Kong
India
Ireland
Japan
Malaysia
Netherlands
New Zealand
Singapore
Sweden
United Kingdom
United States

ASP.NET MVC 5 Using C#

Course Code

IN1612

Duration

3 Days

Prior development experience
This three-day course provides participants with practical hands-on experience creating web applications using ASP.NET MVC 5. The course emphasizes separation-of-concerns and testability and is packed with best practice examples gleaned from years of developing real-world applications as well as demonstrations of the many extension points where the framework can be extended and customized.
This course is designed for developers.

In this course, participants will:

  • Create web applications using ASP.NET MVC 5
Introduction to MVC
Web Pages vs. MVC
Separation of Concerns
Testability
Visual Studio’s MVC Project Template
MVC Conventions, Razor and Layouts
Dynamic Data and Passing Data to the View

MVC Development and Security
Creating a View Model
Adding Controller Methods
Designing a View and Cross-Site Scripting
Processing Posted Form Data and Cross-Site Request Forgery
The Model Binder and Overposting
Validating Form Data

Data Access and Models
Using Entity Framework to Access Data
Scaffolding Options with Entity Framework as Model
Validating Forms That Use Entities
Creating View Models That Use Entities

Unit Testing in MVC
Creating Unit Test project using MS Test
Testing Models
Testing Controllers
Dependency Injection and Mocking Frameworks (MOQ)
Inversion of Control and MVC

HTML and URL Helpers
Data Display Helper Methods
Form Helper Methods
Validation Helper Methods
Link Generation Helper Methods
Creating custom Helper Methods

Advanced Views
Partial Views
Custom Display Templates
Custom Editor Templates
Complex Editor Templates

Advanced Controllers
Custom Controller Base Classes
Passing Additional Data to Views
Controllers and Action Filters
Custom Attributes

Routing in Depth
Routing vs. URL Rewriting
Defining Routes
Route Resolution
Methods of Link Generation
Non-Standard Route Segments
Attribute Routing

MVC and AJAX
AJAX Helper Methods
Retrieving Content Asynchronously
Retrieving Data Asynchronously
JavaScript Disabled? Degrading Gracefully

Real-World MVC
Areas
Bundles
Error Handling
Global Filters and Filter Overrides
Output Caching
Send Us a Message
Choose one