Hands on ASP .Net Core 2
In this course we’ll explore the basics of building applications in .NET Core 2. This modern cross platform framework is gaining popularity fast, and we will learn this framework through actual building of applications.
Together we will install the tools we need to develop .NET Core applications, build several types of .NET core applications, and deploy them to a server.
In this course we’ll use Windows, OSX (Mac) and Linux to build our applications.
If this new framework is a mystery to you, this course will help you get up and running with .NET Core fast. We don’t cover a lot of theory and useless details here, we’ll build real applications and learn how easy and powerful this new technology can be.
Is this course right for you? Watch this before enrolling to see if it's right for you.
Getting Started with .Net Core
An introduction to the getting started chapter
In this lecture we set up Visual Studio 2017 on your machine so you can develop applications with C# 7 and .Net Core
A brief overview of .Net Core and how it's structured.
Setting up ASP.Net Core on a Server
In this lecture we learn how to communicate with your servers from Windows, including sending files. We cover Windows and Linux servers.
In this lecture we will install Microsoft SQL Server in a Linux environment so you can run database backed applications in .Net Core.
Using the .Net Core CLI
In this section we’re going to use the dotnet CLI to scaffold new applications. We will use dotnet to scaffold a console application
Then we’ll build a class library.
Then we’ll build a unit test project to test it.
Then we’ll scaffold an ASP.Net MVC Application
Next we’ll do a Web API application
We’ will build a new Angular application
And finally we’ll examine some other other dotnet functions.
In this lecture we’re going to scaffold a class library. We’ll build a sample class library and create a runner to test it out.
In the last lecture we created a class library. We used a console application to test it out, but this isn’t the best way to test it. In this lecture we’ll create a unit test project for it.
When the ASP MVC package first hit the internet it was a big splash. These days people don’t use MVC projects as much but they are still a great and powerful tool. You can build MVC pages in .Net Core as well, and use the .Net CLI to do it.
The web API framework is by far my favorite with .Net Core. In this lecture we’ll use the dotnet cli to create a Web API application.
Angular is one of the most popular web frameworks in use today. It revolutionized the front end architecture movement and it’s available with the dotnet CLI
We covered some of the basics in this section, but there are a few more other important .Net Core CLI Functions
Slides for Section 5
Writing Console Applications in .Net Core
In this section we’re going to learn how to build console applications in .Net core We will:
- Write a basic .net core console application.
- We’ll learn how to debug .Net core console applications.
- We’ll learn how to display and format text
- Handle user input
- Read files
- Write to files.
- Then we’ll read a rest API from the console.
Writing a console application in .NET Core isn’t too different from console applications in conventional .Net development., we’ll explore how console applications work, and write a simple example.
We’ve been building a few applications now, and they’ve worked pretty well, because they’re extremely simple. With real applications you’ll need to do some debugging, and we’ll take a look at that.
In this lecture we'll learn how to handle input, and build an old school DOS style menu in .Net core
In this lecture we'll build a .Net Core application that will read CSV files and display the output.
In this lecture we'll be writing to files, including creating a csv file from a text file.
In this lecture we'll read data from a REST API and out put it to the console.
We covered a lot in this section.
- We wrote a basic .net core console application.
- Then we learned how to debug these applications.
- We learned some different ways to display and format text.
- We handled user input and built an old school menuing system for our app.
- We then read from files and put the data into our application.
- Then we wrote data to files.
- And finally we read from a REST api with a console application.
Thank you for joining me on this journey, and now we’re off to the next section!
Project: Building an ASP.NET Core MVC Web Application
In this course, we're going to build an application to keep track of what kind of food everyone is going to bring to our Thanksgiving dinner.
In this lecture we’re going to go over the basics of MVC in ASP.Net Core. What it means, and how it works with .Net Core.
For this section of lectures we’re going to develop a simple application in ASP.Net Core using MVC. We’ll examine what we want to accomplish with this application.
In this demo we’re going to use the .Net Core CLI to scaffold our application and get it ready.
In this demo we’re going to get our MS SQL database ready for our application.
In this demo we’re going to create a model for our turkey time application.
In this demo we’re going to connect our application to the database with Entity Framework Core 2.0
In this demo we’ll create an index view to show all of our food items
In this demo we’ll show how to make a create page, which is the page you’ll see when you want to create a new food item.
In this demo we’ll create the page you see when you go to delete a food item
In this demo we’ll tie it all together with our controller, and make this application work.
Conclusion and summary of this section.
Writing Web API Applications in .Net Core
In this lecture we’re going to create our ASP.Net Core Web API Project. We’ll do this with the Visual Studio Wizards instead of the Core CLI so you can get experience doing it both ways.
In this lecture we’re going to configure our MS-SQL database. We did it by hand before with SQL statements, but in this lecture we’ll use SQL Server manager to make it a little easier.
In this lecture we’re going to create the model for our library application.
In this lecture we’re going to connect to our database with Entity Framework Core.
In this lecture we’re going to connect to tie everything together with our controller. However, this time we’re going to use Visual Studio’s wizards to do it.
In this lecture we’re going to smoke test our API to check the functionality. This is a good way to quickly check if our API is operating the way we expect.
Learn how to build a simple ASP.Net Core application and publish it to Azure