Highlights
- Understand ASP.NET Core Architecture
- Use Razor Pages to develop applications
- See alternative approach of Model, View and Controller
- Enlist .NET Aspire Orchestration
- Develop for multiple screen formats using ‘Bootstrap’
- Apply testing / mocking principals
- Create REST Based Services
- Utilise Routing including Attribute Routing
- Create ViewComponents
- Apply Dependency Injection
- Learn ASP.NET support for multiple platform hosting
- Exploit ‘Middleware’ to provide modular approach
- Explore useful packages (NuGet)
- Understand security considerations
Course Details
ASP.NET Razor Pages
- What is ASP.NET?
- Development for Windows, Linux and iOS
- Full Framework or Core options
- What are Razor Pages?
- Razor Pages vs Model View Controller (MVC)
- Discuss the rapid development and evolution of ASP.NET including the features/approaches already deprecated!
- Comparison of features for web technologies
- Support for Dependency Injection
- Testability
- Creating your first ASP.NET Web Application
- Configuration Options
- Razor Views
- Building a Responsive Web Site and support for Mobile and Table using ‘bootstrap’
- .NET Core overview
- Introduction to .NET Aspire
Razor Pages
- What are Razor Pages
- Creating Razor Pages
- Postback to Razor Pages
- Adding Code Behind File
- Binding
- Razor Page 'Model'
- Injection Into Razor Page
- Page Handlers
- Async Methods
- Authorization
Views
- Responsibilities of a View and View Engines
- Creating Razor Views
- Layout Page (Razor)
- Strongly Typed Views
- Tag Helpers and Html Helper methods
- View Components
- Validation helpers
Defining Routes
- Introduction and motivation
- Building your routes and defaults
- Attribute Routing
- Route Constraints
Models and Entity Framework
- Using Models
- POCO Types and Strongly Typed Views
- Use of View Models
- Introduction to Entity Framework
- Using Entity Framework
- Extending Entities and validation rules
Modular Design
- Define and use 'Middleware' to modularise Applications
- Separate concerns further with Services
- Use Dependency Injection to Provide access to Services
Bootstrap
- Using Bootstrap to provide a Responsive User Interface
- Layout using Bootstrap
Filters
- Understanding Filters
- Built in Filters
- Creating Custom Filters
- Configuring Filters
- Adding Filters
MVC Alternative
- Using Controllers
- Action Methods
- Working with Parameters
- Introduction to Routing
- Understanding Model Binding and use of View Models
- Task Asynchronous Pattern
Defining Routes
- Introduction and motivation
- Building your routes and defaults
- Attribute Routing
- Route Constraints
Rest Based services
- What is REST?
- Using HTTP verbs
- Previous options for action
- Implementing GET, POST, PUT, DELETE
Security
- Dealing with common security threats in ASP.NET
- Validation Options
- Error Reporting
- Authentication and Authorization
- Securing controllers and actions
- Configuration
Testing and Patterns for Development
- Writing Tests Web Applications
- MS Test and xUnit
- Test Driven Development (TDD)
- Unit Testing best practices
- Enforcing Isolation of tests
- Dependency Injection
Areas
- Partitioning Large Web Applications
- Adding Areas
- Navigation between Areas
Who should attend
ASP.NET developers who want to leverage the power of ASP.NET MVC
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction into .NET core and related technologies. Excellent training on unit testing and entity framework. Fast paced but the instructor never lost any of the delegates"
LK, Software Engineer, MVC, January 2021
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022