ASP.NET MVC – building web applications (ASP1)

Microsoft, Programming

In this course you will learn to build dynamic ASP.NET MVC web pages using Visual Studio .NET, applying the MVC design and common techniques like routing, validation and AJAX to create maintainable, testable web applications.

The course mixes theory and practice to show view Razor templates, model binding, validation, and controllers. You will learn routing, data access patterns and how to avoid common pitfalls in larger projects using debugging and best-practice extensions.

THIS TRAINING COURSE WILL HELP YOU:

  • Build dynamic ASP.NET MVC web applications
  • Create Razor views and reusable layouts
  • Implement routing, model binding and validation
  • Add authentication and debug larger projects

WHO SHOULD ATTEND?

  • C# developers building web applications
  • Web developers learning server-side MVC
  • Frontend devs using Razor and client validation
  • Software architects planning ASP.NET projects

COURSE LOCATION AND AVAILABLE DATES



Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • MVC architecture
    1. Introduction to the architecture
    2. Reasons for its emergence and benefits
    3. Capabilities and limits of HTTP and HTML
  • ASP.NET MVC
    1. Basic overview
    2. Request lifecycle
    3. Comparison with ASP.NET WebForms
  • Project setup
    1. Installing and integrating ASP.NET MVC
    2. MVC project hierarchy
  • Request routing
    1. Theory and purpose of routing
    2. Basic (default) route declarations
    3. Route placeholders and their use
    4. Advanced purpose-specific routing
  • View templates - Razor engine
    1. Razor syntax
    2. Comparison with aspx pages as templates
    3. Strongly-typed templates
    4. Implementing layouts
    5. Using partial views
    6. View localization
  • Data logic
    1. Principles of data logic
    2. Using Linq2Sql and Entity Framework as models
    3. Using ViewModel data objects
  • ASP.NET MVC principles
    1. Creating and using controllers as functional units
    2. Ways to connect application layers
    3. Passing parameters between form and code
    4. Handling more complex data structures
    5. Extending functionality with attributes
  • Application debugging
    1. Stepping through actions and template generation
    2. Inspecting values of the current request
  • Validation
    1. Validation principles in ASP.NET MVC
    2. Direct validation in code
    3. Integrating validation frameworks
    4. Client-side unobtrusive validation with jQuery
  • Request authorization
    1. Authentication mechanisms
    2. The [Authorize] attribute
    3. Using Forms authentication
    4. Building a login module
    5. Using Windows authentication
    6. Options for extending complex authorization
  • Extending ASP.NET MVC
    1. Additional attributes
    2. Extending helper classes
    3. Custom RouteConstraints
    4. Custom action filters
Prerequisites:
Knowledge of C# and HTML/CSS; JavaScript is an advantage.
Recommended previous course:
C# – Fundamentals of Programming (CNET1)
Schedule:
3 days (9:00-17:00)

Training and learning environment