Developing ASP.NET Core MVC Web Applications
Den här kursen vänder sig till professionella webbutvecklare som vill lära sig använda verktyg och teknologier i .NET Core för att bygga avancerade ASP.NET Core MVC-applikationer.
Fokus ligger på utveckling för att förbättra prestanda och skalbarhet.
Målgrupp och förkunskaper
Den här kursen vänder sig till erfarna utvecklare.
Inför kursen behöver du dessa förkunskaper:
- Erfarenhet av Visual Studio 2017 och .NET Framework.
- Erfarenhet av ADO .NET.
- Erfarenhet av XML och JSON.
För att alltid hålla en hög kvalitet på våra teknikkurser använder vi både engelsk- och svensktalande experter som kursledare.
Kursmaterialet är på engelska, med detta innehåll:
Exploring ASP.NET Core MVC
This module gives you an overview of Microsoft web Technologies and ASP .NET Core MVC.
- Overview of Microsoft Web Technologies
- Overview of ASP.NET 4.x
- Introduction to ASP.NET Core MVC
Designing ASP.NET Core MVC Web Applications
This module introduces students to the typical design process that architects must complete when they plan an MVC application. This includes details such as the overall architecture, Controllers, Views and Models.
- Planning in the Project Design Phase
- Designing Models, Controllers and Views
Configure Middlewares and Services in ASP.NET Core
In this module, you will learn how to leverage the ASP.NET Core framework to handle requests and responses via existing, and custom middleware, and how to configure services for use in middleware and throughout other parts of the application, such as controllers.
- Configuring Middlewares
- Configuring Services
ASP.NET Core MVC uses the Model-View-Controller (MVC) architectural pattern. In this module, you will learn how to develop controllers. The controller is essentially responsible for processing a web request by interacting with the model and then passing the results to the view. The model represents the business layer, sometimes referred to as the domain, and may include data objects, application logic, and business rules. The view uses the data that it receives from the controller to produce the HTML or other output that is sent back to the browser.
- Writing Controllers and Actions
- Configuring Routes
- Writing Action Filters
Views are one of the three major components of the Model-View-Controller (MVC) programming model. You can define the user interface for your web application by creating views. A view is a combination of HTML markup and C# code that runs on a web server. Therefore, to create a view, you need to know how to write the HTML markup and C# code and use the various helper classes that are built into MVC.
- Creating Views with Razor Syntax
- Using HTML Helpers and Tag Helpers
- Reusing Code in Views
In this module, you will learn how to create the code for models. When you write a Model-View-Controller (MVC) web application, you create an MVC model to model the data for your web application. Within this model, you create a model class for each type of object. The model class describes the properties of each type of object and can include business logic that matches business processes. Therefore, the model is a fundamental building-block in an MVC application.
- Creating MVC Models
- Working with Forms
- Validate MVC Application
Using Entity Framework Core in ASP.NET Core
In this module, you will see how to build a database-driven website in MVC. When you write an ASP.NET application you can use the Entity Framework Core (EF Core) and Language Integrated Query (LINQ) technologies, which make data access code very quick to write and simple to understand.
- Introduction to Entity Framework Core
- Working with Entity Framework Core
- Use Entity Framework Core to connect to Microsoft SQL Server
- Using Layouts
- Using jQuery
- Applying Styles
- Using Task Runners
- Responsive design
Testing and Troubleshooting
Traditionally, testers perform most of the testing at the end of a development project. However, it has recently become widely accepted that testing throughout the project life cycle improves quality and ensures that there are no bugs in production software.
- Testing MVC Applications
- Implementing an Exception Handling Strategy
- Logging MVC Applications
This module covers Authentication, Authorization and solutions to some of the most popular attacks.
- Authentication in ASP.NET Core
- Authorization in ASP.NET Core
- Defending from Attacks
Performance and Communication
This module covers performance using caching, state management and the SignalR Framework.
- Implementing a Caching Strategy
- Managing State
- Two-way communication
Implementing Web APIs
Most web applications require integration with external systems such as mobile applications. You need to know how to use Web APIs to promote application interaction with external systems. You can use the Web API to implement Representational State Transfer (REST) services in your application. REST services help reduce application overhead and limit the data that is transmitted between client and server systems. You need to know how to call a Web API by using server-side code and jQuery code to effectively implement REST-style Web APIs in your application.
- Introducing Web APIs
- Developing a Web API
- Calling a Web API
Hosting and Deployment
There are many different technologies which can be used to host your application and you should choose one that is appropriate for your requirements. Deployment is the process where the project code is compiled and then transferred to the hosting server in a way that functions within the requirements of the hosting environment.
- On-premise hosting and deployment
- Deployment to Microsoft Azure
- Microsoft Azure Fundamentals