Module 1 Summary

In this lesson, we'll summarize what we did in module 1.

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

This lesson preview is part of the The newline Guide to Fullstack ASP.NET Core and React course and can be unlocked immediately with a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to The newline Guide to Fullstack ASP.NET Core and React with a single-time purchase.

Thumbnail for the \newline course The newline Guide to Fullstack ASP.NET Core and React
  • [00:00 - 00:11] Finally, we have finished module 1. I understand it was too much for someone who is new to .network and I don't expect you to remember all the steps and the sequence.

    [00:12 - 00:21] This project is a big one. We are going to make more controllers, use more services so it's very difficult to not get used to it.

    [00:22 - 00:32] Now let's recall everything we did in this module. First of all, we created solution files web API projects, class libraries using the command line interface.

    [00:33 - 00:40] API project is our web API and our main project. The other two projects, entity and infrastructure are class libraries.

    [00:41 - 00:54] Entity project is where we will store all our model properties such as the course model and all the interfaces to our methods which we'll create in the future lessons. Infrastructure project is taking care of our database related methods.

    [00:55 - 01:04] It is where we have created store context which is responsible for database creation. We then added this as a service in our startup class.

    [01:05 - 01:17] We store the default connection in app settings.development.json file. We then migrated our database which created these three files inside migrations folder.

    [01:18 - 01:32] Using the migration files here, we created our database. After that, we seeded initial data inside the database using raw data file courses.json and a static function inside store context seed.

    [01:33 - 01:44] We de-sterilized the data and added it to our database. After which we went to program file and added the migrate method before we actually run the server.

    [01:45 - 01:55] Finally, we created our own API controller called courses controller and added two methods through which we received the data from our database. So this was it.

    [01:56 - 02:07] I hope you enjoyed it so far and in the next module, we will create our front end using React and show these courses on the browser. So that was it for module one and I'll see you in the next one.