ASP.NET Core Fundamentals

This course will cover the fundamentals of what you need to know to start building your first ASP.NET Core application with the MVC framework.
Course info
Rating
(776)
Level
Beginner
Updated
Nov 9, 2017
Duration
5h 49m
Table of contents
Course Overview
Building Your First ASP.NET Core Application
Startup and Middleware
Controllers in the MVC Framework
Models in the MVC Framework
Using the Entity Framework
Razor Views
ASP.NET Core Authentication and Authorization
Front End Frameworks and Tools
Description
Course info
Rating
(776)
Level
Beginner
Updated
Nov 9, 2017
Duration
5h 49m
Description

Hello! Have you ever wanted to learn how to build an ASP.NET Core application from scratch? My name is Scott Allen, and in my Pluralsight course ASP.NET Core Fundamentals, you’re going to learn the fundamentals of what you need to know to start building your first ASP.NET Core application with the MVC framework. You’ll learn topics like middleware, tag helpers, view components, supporting SQL Server using the Entity Framework and user registration with the Identity Framework. You'll also see novel techniques for working with front end frameworks like Bootstrap and JavaScript libraries like jQuery. Before you begin, though, make sure you’re already familiar with the C# programming language, some knowledge of HTML, and web programming in general.

About the author
About the author

Scott has over 15 years of experience in commercial software development and is a frequent speaker at national conferences, and local user groups. Scott is a Microsoft MVP and has authored books on several Microsoft technologies, including ASP.NET, C#, and Windows Workflow.

More from the author
More courses by Scott Allen
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music playing) Hi, this is Scott Allen, and welcome to my course on ASP. NET Core. ASP. NET is the new web framework for Microsoft. It's been redesigned from the ground up to be fast, flexible, modern, and work across different platforms. Moving forward, ASP. NET Core is the framework you want to use for web development with. NET. In this course, we will build an application by starting from an empty project, so you can see how all the pieces come together. We'll install middleware to build a processing pipeline, and then move on to work with the MVC framework. If you have any experience with MVC or web API over the last few years, you'll notice some familiar features. We still have models, views, and controllers, but I'll also show you what's new, as we look at tag helpers, view components, and how dependency injection is a first class design pattern. You'll also see how to work with SQL Server using the new entity framework, implement forms authentication using the ASP. NET identity framework, and install and use CSS and JavaScript libraries like Bootstrap and jQuery. By the end of the course, you'll have everything you need to start using ASP. NET Core and write an application that can create, edit, and view data from a database. I do expect that you are already familiar with the C# programming language, and have some knowledge of HTML and web programming in general. If not, we have lots of C# and HTML courses to choose from on Pluralsight, and after the course look for new courses covering even more details of programming with ASP. NET Core.

Building Your First ASP.NET Core Application
Hi this is Scott and this course will help you build your first application with ASP. NET Core. In this course, we'll be using the new ASP. NET Core Framework version 2. 0 to build a web application with APIs that can display and edit restaurant information. I'm assuming you already know how to work with the C# language, because we're going to spend our time together focusing on the ASP. NET Core Framework. In this first module, I will show you a couple different techniques that you can use to get started with your first project.

Startup and Middleware
In this module, we're going to move forward with our application and set up our middleware. Middleware in ASP. NET Core controls how our application responds to HTTP requests. Middleware is also how we display error information, and it's a key piece in how we authenticate and authorize a user to perform specific actions. We're going to learn a bit about how middleware works in this module and how to set up middleware during application startup. By the end of the module, we'll have a processing pipeline that allows us to use ASP. NET MVC.

Controllers in the MVC Framework
Hi, this is Scott, and in this module we will start learning the ASP. NET Core MVC Framework. The MVC Framework gets its name from a popular design pattern, which we will also learn about, and then we'll go into the mechanics of how to use controllers to process HTTP requests. We'll see that controllers can produce text, serialize objects into JavaScript, and render HTML to the client.

Models in the MVC Framework
Hi, this is Scott Allen, and in this module, we're going to take a closer look at models in the MVC Framework, and working with data in general. It turns out there's actually a couple different types of models that we can use in an ASP. NET application, and in this module, I want to introduce you to the concept of a View Model, both input and output View Models. Let's get started by looking at an overview of a View Model.

Using the Entity Framework
Hi, this is Scott, and in this module, we're going to set up and configure our application to save and read data from a SQL Server database. To work with the database, we're going to use the entity framework core. This is a rewritten version of the entity framework to work with the new. NET Core framework, although if you have worked with the entity framework in the past, you'll see many familiar pieces. To get started, let's first talk about your SQL Server installation.

Razor Views
Hi, this is Scott, and in this module we will be focused on features of the Razor view engine. Although we've already been using Razor to render HTML with our model data, we can make some improvements to the application using some features we haven't looked at yet and some features that are new for ASP. NET Core. The first feature we will look at is a feature to give us more consistent structure across the application, and this feature is the layout view feature.

ASP.NET Core Authentication and Authorization
Hi, this is Scott, and in this module we will look at how to authenticate and authorize our application users. Authentication is how we establish the identity of a user, while authorization is how we make sure a given identity is allowed to perform some specific action in the application. There's many options to choose from for user authentication. You can use the ASP. NET Identity framework to manage user logins that are specific to your application, and you can also trust third parties to provide a user's identity. These are third parties like Microsoft and Google, as well as social providers like Facebook and Twitter. In this module, we'll take a quick tour of the ASP. NET Identity framework, but then focus on modern web authentication techniques using a protocol known as OpenID Connect, or OIDC for short.

Front End Frameworks and Tools
Hi, this is Scott, and in this module we will turn our attention to front-end JavaScript and CSS libraries. We're going to look at the tools that we can use to manage and install these libraries and frameworks that will allow us to add some style to the application and support client-side validation in development, as well as production. Let's get started with an overview of the tools that we're going to use.