In this course section, we'll create our own ASP.NET Core Web API using RESTful principles. We'll use the
dotnet new tool to quickly scaffold an API-only application. Our API will serve data about animals from the Cretaceous period, so we'll call our API the Cretaceous Park API.
Later in the course section, we'll use the
dotnet new tool to scaffold an ASP.NET Core MVC frontend that we'll build out to make API calls to our Cretaceous Park API.
Here are the topics we'll explore:
dotnet newscaffolding tool
dotnet newuses to scaffold projects
You're also be tasked with doing further exploration:
With this being the last section of new material for the C# and .NET course, one of our main goals for this section is to foster growth in your ability to independently learn and troubleshoot. This means the further exploration will be exactly that: exploration. Once you begin active development in the industry, there will not always be step-by-step guides for exact implementation of concepts that fit neatly into your projects. It is critical that you have the opportunity to get experience in diving into documentation, modifying code snippets you find online to fit your needs, looking up error messages you receive, and solving problems with patience and trial-and-error.
In this section, we will reaffirm a point from the student handbook:
Although teachers may be willing to talk broadly about these further exploration concepts with you, do not expect any teacher guidance on these principles. It may be frustrating in the moment to feel like you are on your own in finding these answers, but it's the best preparation we can give you for the world waiting for you after Epicodus. This course section is an opportunity to differentiate yourself through your unique implementations of these concepts.
This sentiment will be repeated in the actual lesson introducing these further explorations. Remember to be patient with yourself, be confident in yourself, and be proud of yourself when you figure out how to use these tools!
At the end of this section, you will complete an independent project. Your code will be reviewed for the following objectives:
.gitignorefile and is not to be tracked by Git, and includes instructions on how to create the
appsettings.jsonand set up the project.