\n\t
\n\tFinding your way around ASP NET Core<\/strong> In this module, we will together create the File > new project and see what is getting generated. You\u2019ll learn about the new files, workflow and configuration options that come with ASP.NET Core. You will also learn about the dependency injection system and the middleware request pipeline and how these can be configured from the Program.cs class. Along the way, you will learn about static files middleware and how this helps in terms of performance for your application, basic routing and other middleware. You\u2019ll also learn about the different environments that are supported with ASP.NET Core. We will also touch on loading application settings as a means to configure your application.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopic: <\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tExploring a new ASP.NET Core project<\/li> The Program.cs class<\/li> Working with dependency injection<\/li> Using middleware<\/li> Creating an app from scratch and adding DI and middleware<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tCreating our first page<\/strong> In this module, we\u2019ll be building our first ASP.NET Core pages. We\u2019ll start with basic configuration and add a first view, model and a controller. You\u2019ll see how routing works as well as how we can allow users to authenticate with the site. After this module, you\u2019ll already have a good understanding of how an ASP.NET Core MVC app is built and you\u2019ll be able to identify its major building blocks such as controllers, routing and views.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tUnderstanding MVC concepts<\/li> Using the Model with mock data<\/li> Creating a controller<\/li> Adding views<\/li> Using Layouts and view models<\/li> Adding client-side packages<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tAn introduction to EF Core<\/strong> ASP.NET Core comes backed with support of a new version of Entity Framework Core 8. This new version of the framework has been redesigned from scratch to target .NET 8. In this module, we are exploring the new framework. We\u2019ll see how it focuses entirely on code-first approaches and we will change our first pages now to use database interactions. You\u2019ll learn about concepts such as the data context and you\u2019ll start using LINQ to interact with the database.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tUnderstand EF Core as an ORM<\/li> Using the Database Context and unit of work<\/li> Apply LINQ statements to work with the database<\/li> Migrations and data seeding<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n\n\t
\n\t\t\n\tDay 2<\/h2>\t\t\n\t\t\n\t\t\t\n\t <\/svg><\/i>\t\t<\/span>\n\t<\/button>\n\n\t\n\t\t
\n\t\t\t\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tNavigation and Routing<\/strong> Routing is something specific to the ASP.NET Core MVC framework. In this chapter, you\u2019ll learn about the options that are offered by the ASP.NET Core MVC framework to navigate to pages as well as creating well-formatted URLs for reasons of SEO.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tUnderstand the concept of routing<\/li> Tag helpers for navigation<\/li> Routing constrains<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tCreating a Form<\/strong> Forms are the basic building block of the web to accept input from users. Accepting incoming data from the browser can be a tedious and error prone task. That\u2019s one of the reasons why ASP.NET Core comes with model binding. ASP.NET Core also comes with several controls to make it easy to validate the entered data, allowing for visualization of any entry errors made by the user. In this chapter, we will look at the model binding and its many capabilities, all while creating a form in the application.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tCreating a form<\/li> Using form tag helpers<\/li> Using validation<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tAn introduction to ASP.NET Identity<\/strong> ASP.NET Core comes with ASP.NET Identity, a built-in framework that allows authenticating users from different sources. In this module, we\u2019ll explore how we can authenticate users and how we can authorize them to perform actions within our site. We\u2019ll use ASP.NET Core Identity which has many features built-in to perform authentication and authorization tasks.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics: <\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tUsing the scaffolding to create login and registration forms<\/li> Applying authorization to exclude pages from being accessed<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTackling security risks with ASP.NET Core<\/strong> ASP.NET sites will be under attack, that\u2019s for sure. We of course as the developers of the site need to make sure that we tackle risks before it\u2019s deployed. In this module, we\u2019ll see how we can tackle XSS, CSRF\u2026 as the most common security risks in our application.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tProtecting against XSS<\/li> Protecting against CSRF<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n\n\t
\n\t\t\n\tDay 3<\/h2>\t\t\n\t\t\n\t\t\t\n\t <\/svg><\/i>\t\t<\/span>\n\t<\/button>\n\n\t\n\t\t
\n\t\t\t\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tExtending the views in ASP.NET Core<\/strong> We at this point have several pages in our application and basically, creating simple pages will always be the same. In this chapter, we will extend on the view part. ASP.NET Core comes with tag helpers, we\u2019ve already seen those. But we can create them ourselves and we\u2019ll see why that would be useful. Next to tag helpers, view components can also be used to wrap functionality and reuse it. Partial views, also covered in this chapter, will do the same but on a simpler level. Understanding what to choose when is an important task too and that will be explained here as well.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n
\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tCreating custom tag helpers<\/li> Creating and using view components<\/li> Using partial views<\/li><\/ul><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tAdvanced concepts in ASP.NET Core<\/strong> In this chapter, we will cover in more detail several more advanced topics such as model binding (in more depth as it was already covered earlier), complex tag helpers, attribute routing, filters and background services. ASP.NET Core is very extensible and one of the often used extension points is custom middleware. All of these and more are covered in this chapter so that after completing this one, you are capable of creating a real-life ASP.NET Core application.<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n\n\t\t\n\t\t\t
\n\t\t\t\n
\n\t
\n\tTopics:<\/p><\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n\n