
Begin building a fast rest api in ASP.NET core 9 for absolute beginners, covering hello world, calculator, and product database projects with swagger and entity framework.
Explore the structure and purpose of rest api and how http enables data sharing across devices. Learn common methods like get, add, update, and delete.
Create your first rest api project in Visual Studio 2022 using C#, ASP.NET Core Web API, set dotnet 9, add a Weather Forecast controller, and view JSON responses.
Create your first restful api in asp.net core 9 by building a hello world controller with an http get action, returning a string and exploring route and status codes.
Learn to add parameters to a RESTful API by defining string parameters such as first name and last name, using query strings, handling validation errors, and Swagger UI for testing.
Demonstrates how Swagger provides a graphical user interface to test rest APIs, and shows installing it in a project to inspect requests, responses, and query parameters like name.
Install swagger in an ASP.NET Core 9 project using Swashbuckle, add the necessary NuGet packages, and configure Program.cs to use swagger and swagger UI in development mode.
Create a simple calculator api in a new ASP.NET Core 9 project with a calculator controller and a http get endpoint that accepts two numbers and an action type.
Discover how the entity framework core powers a RESTful api to load, add, update, and delete data through dbcontext, dbset, and models, using json responses.
Learn how to start with entity framework core in Visual Studio for restful api using database first method, install NuGet packages, generate DbContext and models, and scaffold controllers and actions.
Explore creating a SQL Server database for an API using Entity Framework Core, including building a rest api database and a product table with key fields.
Install three required NuGet packages—Microsoft.EntityFrameworkCore.SqlServer, Microsoft.EntityFrameworkCore.Tools, and Microsoft.EntityFrameworkCore.Design—then generate the DbContext and models for the API.
Scaffold a DbContext and models for a rest api in asp.net core, generate DbSet entities, configure SQL Server with Entity Framework Core, and organize outputs in a models folder.
scaffold a product controller and its CRUD actions using entity framework in visual studio, generate get, post, put, delete endpoints, and configure the rest api db context and models.
Register the DbContext in program.cs and use the get products API to load all product records, returning them as JSON via the simple RESTful controller.
Search a product by id with an http get endpoint API/products/{id}, pass the id as a parameter, and fetch the record using dbcontext find async to return a json product.
Implement a post endpoint to insert a new product via the API, sending JSON in the request body, saving changes, and returning the latest record.
Learn to delete a record with the http delete method in an asp.net core 9 api using an id, and handle 404 not found and 204 no content responses.
Update a product by id using http put method in ASP.NET Core 9, validate id against product, mark the entity as modified, save changes, and return 204, 400, or 404.
Add a find by name get action to search products by the product name using a query parameter, then test via swagger and observe the matching results.
Hi There!
Here I am with you to share my knowledge with you.
So
If you try you will be a RESTfull api developer!
If you wanna make a lot of money!
If you wanna find best jobs in programming!
If you Want to learn the ASP .NET Core RESTfull api
If you are beginners or student looking for a tutorial that teach ASP .NET Core RESTfull api with real project in simplest way!
If you want really to be a programmer so it is best place that you can start to learn ASP .NET Core RESTfull api.
This course includes :
What is REST API
Creating first project
Creating first REST Api
Adding parameters
What is Swagger?
Installing Swagger
Creating Calculator
Structure of Entity Framework in RESTful Api
Steps to use Entity Framework
Adding database
Installing Nuget Packages
Scaffolding DbContext
Scaffolding Controller
Register DbContext
Searching for products by ID
Insert Data Using POST Request
Delete Data Using DELETE Request
Update Data Using UPDATE Request
Search a Product by Name
Do not hesitate to start learning ASP .NET Core RESTfull api
Every thing will be discussed with sample project and you will have lot of tips and tricks within my course.
Say Hi ASP .NET Core RESTfull api world and lets go !