
Join this comprehensive course to design and develop RESTful APIs with ASP.NET Core, guided by Aspen from start to finish.
Build RESTful APIs with ASP.NET Core, mastering CRUD, code-first database, content negotiation, routing, migrations, authentication, authorization, caching, and Azure deployment, with thorough API documentation.
Choose the appropriate tooling for your platform, install the macOS community edition or a Windows machine setup, and ensure C# knowledge to build restful APIs with ASP.NET Core.
Explain what an application programming interface is and how it enables different systems to interact, using airline booking as an example of querying Emirates and receiving tickets via api.
Create a web api project in Visual Studio for Mac by selecting the RESTful API template and naming the project. Explore the Solution window and the project architecture.
Explore the architecture of the asp.net core rest api project, including dependencies, nuget packages, controllers, startup, and program files, and see how dependency injection and mvc services configure the pipeline.
Master the http verbs get, post, put, and delete, and map them to read, create, update, and delete operations in a rest api, using postman to test your calls.
Learn how to add a model in the EPA project by creating a models folder, defining a model with id, title, author, and description, and wiring a controller.
Add an api controller class in controller folder using the ESB dotted core template, naming it to end with controller and preparing to implement edp verbs in the next module.
Implement a http get request by turning the return type into IEnumerable, reading a static course list, and exposing the data via an api controller route for browser or Postman.
Implement a post method in asp.net core to create a record in a static in-memory list from a code object in the request body, tested via postman with application/json.
Learn how to use http put requests to update a specific record by id in ASP.NET Core, using the HttpPut attribute and Postman to send updated data and confirm changes.
Implement the http delete request in the asp.net core rest api by adding a delete method that uses the edp delete attribute with an id to remove the item.
Learn the code first approach in asp.net core rest api development, defining your classes and letting entity framework create the database and tables without a designer.
Learn how to install MySQL server on Mac, set up a user password, download and configure MySQL Workbench, and connect it to the server for building REST APIs.
Install the MySQL NuGet package in the ASP.NET Core Web API project and accept the license agreement. Then configure the connection string to enable database access.
Implement a code-first approach by creating a DbContext with a DbSet for courts, enabling Entity Framework to generate database and perform create, read, update, and delete operations through a controller.
Register the dv context as a service in configure services and define its database connection string for entity framework using a local host server, user, password, port, and database name.
Configure the db context in asp.net core and use ensure created to create the database and schema if missing, then verify by running the app and querying the api courts.
Explore two get methods in ASP.NET Core: return all codes or a single code by id. Use the DbContext and find method with the api/codes route.
Handle a post request by passing a code object to a DB context, adding title, author, and description via a helper method, and saving changes to the database via postman.
Handle a put request in a web api by locating a record by id, updating its title, author, and description, and saving changes with the db context.
Learn how the delete request works by locating a record by ID, removing it with the db context, and validating the change via Postman, completing CRUD in the web API.
Explore ETP status codes as standard server responses that identify why a resource fails to load, and see how to apply these status codes in your API.
Learn to implement a get request in ASP.NET Core by returning IActionResult, using Ok, BadRequest, NotFound, and StatusCode to control 200 and other status codes in a REST API.
Learn how to return status code 201 created for post requests in ASP.NET Core by posting data with Postman and confirming the server creates the record.
Implement status codes for put requests in ASP.NET Core by returning 200 with an updated successfully message, and show no record found against this id when it does not exist.
Add status code handling to the delete method in ASP.NET Core, return not found with a message when the record does not exist, and proceed with deletion when it does.
Explore content negotiation in rest APIs, showing how the accept header lets clients request json or excel formats, with the default json response in asp.net core web api.
Learn how content negotiation selects the appropriate data format, returning json by default and excel when requested, using media type formats in the api pipeline.
Learn why code first migrations are essential when updating a model, as changing properties can break existing data, and compare ensure created versus migrations for future schema changes.
Drop the existing database in your asp.net core rest api project to enable the first migrations, using the terminal to confirm, then prepare the database and schema with migrations.
apply code-first migrations to recreate the database, name the migration (for example initial create), apply updates to reflect changes, and verify via the API that two records appear.
Add data to the database via post requests or direct edits, update records with put, and verify with get requests; implement code first migrations and add a created at property.
Learn the basics of model validation in asp.net core rest api development. See why backend developers must enforce valid data, like correct phone number formats, before hitting the database.
Implement model validations in a web api with data annotations to enforce required fields and string length, validating via model state for post and put operations.
Explore attribute routing in ASP.NET Core, learn how overloaded get methods with route attributes differentiate requests, handle parameters like integers, and resolve errors from multiple actions.
Discover attribute routing in web apis, differentiate get methods with route templates like api/codes and api/codes/{id}, and add custom actions such as api/codes/test/{id}.
Explore sorting concepts in the ESB Dortmund core web, demonstrated with a laptop list and price ascending/descending options, and plan to add date-based sorting to the course API.
Apply sorting to the api get method with a sort parameter to return courses in ascending or descending date order; default returns all when unspecified, and discuss enumerable execution.
Explore how to implement paging in your API to deliver data in chunks for multiple devices, focusing on backend development rather than front-end design.
Implement paging in the rest api by using the skip and take pattern with page number and page size. Use the api/code/page route to fetch paged results from the database.
Explore the search functionality in a web API, understand how typed queries trigger dropdown results, and prepare to implement this search feature in the next module.
Implement searching in the web API by adding a get method search code that accepts a type parameter and filters codes from the database using a lambda, with attribute routing.
Explore caching in the asp.net core rest api, storing frequently requested data in local memory for up to 60 seconds to reduce server calls and boost performance.
Understand how a proxy server caches responses between client and server for 60 seconds, reducing server load and saving bandwidth. Learn to implement response caching in ASP.NET Core Web API.
Configure response caching in a web api by adding the response caching middleware in startup, enabling it in configure, and applying the response cache attribute with duration and location.
Discover how to configure response caching with the response cache attribute for sixty seconds, test with GET and Postman, and understand no-cache headers and serving data from the cache store.
Explore configuring the response cache attribute in asp.net core by selecting cache location (any, client, none) and applying public or private directives for client and proxy caches.
Secure your rest api by implementing authentication and authorization with token-based methods. Learn how to validate end-user credentials and enforce permissions to access resources in an enterprise api.
Learn how to set up an auth0 account by signing up with GitHub, Google, or Hotmail, creating a username and password, and defining our domain name.
Explore the tenant domain setup, create a unique, immutable tenant name, choose a hosting region suffix for Europe or Australia, and manage your account from the dashboard.
Create an Auth0 API in the dashboard, name it, set the identifier and host, choose a signing algorithm, and follow the quick start to configure JWT in your project.
Enable JWT authentication in the ASP.NET Core project by using the Microsoft Authentication Library and configuring services to activate the authentication middleware.
Create a new database connection in the portal, test it, and enable the API to use it; sign up to verify user data storage and prepare Postman tests for authentication.
Set up and test the authentication sign-up endpoint using postman, configure the art domain environment, and access the sign-up and get access token points in the API collection.
Implement a sign up endpoint with Auth0 by posting new user data (client id, email, password, connection) via Postman, and handle success or duplicate user errors.
Implement the resource owner endpoint to obtain an access token from the /token endpoint using client id, audience, username, and password. Then configure the server to support token issuance.
Explain JWT as an open standard that securely transmits information with a digital signature, and outline its header, payload, and signature; show how tokens enable server-verified access.
Learn to protect an ASP.NET Core course controller by applying the authorize attribute, obtain an access token via sign up, and access protected endpoints with the token.
Test authorization by using post, put, get, and delete requests in Postman with an access token. Include the access token in the header to perform protected operations.
Examine a critical flaw in a web API where one user can update or delete another's records with an access token. Resolve these authorization issues in the next module.
Store and enforce per-user data integrity by extracting user id from access token claims and validating ownership during create, update, and delete operations in a rest api.
This lecture shows how to implement a user-specific get method in a REST API, using an access token to filter results and return only the authenticated user's courses.
Enable the AllowAnonymous attribute on a get endpoint, enabling token-free requests, and optionally hide the user ID with the JsonIgnore attribute.
Welcome to the Complete Rest Api's course with Asp.Net Core and C#.
Are you tired of boring outdated and incomplete courses , then let's dive in to this course.Well I'm Asfend Microsoft Most Valuable Professional (MVP) as well as the First Xamarin University Most Valuable Professional at Udemy and in this course I'll explain you every single aspect of rest ful web api's with asp.net core and c#. Yeah I know there're lot of courses over internet but there's never a single guide that teaches you how to create a complete web api's in asp.net core. And the purpose of this course is to train you to build your own Restful web api's in asp.net core.
The main focus of this course is on the Restful Web Api via Asp.NET Core and C#. So if you're familiar with C# , Asp.Net and Entity Framework Or if you want to create the Restful web api's in Asp.Net then this is the right course for you.
If you don't have any idea about Rest Api then don't worry because in this course we'll cover all the Rest Api concepts.
By getting this course, you can be rest assured that the course is carefully thought out and edited. And I'm always happy to make the helpful content for the students.
So by the end of the course, you'll completely understand:
How to create a Rest Api via Entity Framework Code First Approach with all the advanced functions.
Connect Your Rest Api's with MySQL Server
Implement Status Codes
Adding Migrations in Web Api's
Adding Content Negotiation
Implement Validation in Web Api's
How to add the Routing and Custom Methods
Implement Sorting , Paging & Searching
Implement Authentication and Authorization and secure your Api with JWT
Setup Auth0
Adding Caching inside the Rest Api's
Create MySQL Server on Microsoft Azure
Deploy Web Api on Microsoft Azure
Create A Real World Coffee Shop Api From Scratch to End (No Copy paste code I'll explain you each and every single line of code so that you can create a complete Real World Apis in Asp.Net Core happily)
Don’t waste your time
Don't waste another minute of your precious life on poor quality videos courses. Or instructors who you can't understand. Or teachers who have no real world in-person teaching experience. Your time is precious. In this course you'll get a best instructors with carefully crafted content, beautiful outline and proper structured material and learning by doing.
I'll explain you each and every single line of code. I've been in your shoes and every time copy and paste is not a solution and that's why I've tried to create everything in front of you so that you can learn how to solve the errors. We'll learn every thing from scratch.
And before this course you don't need my other courses. If you're a C# developer then you should go ahead with this course.
After this course you'll be very much familiar with Asp.Net Core Web Api's and you'll be able to create any kind of real world web api's in asp.net quite easily as well as efficiently.
Sign up today, and look forward to:
Over 4 hours of HD 1080p video content
Building a Real World fully-fledged Web Api's including ones that use Rest Api Architecture , Access Token , Authentication , Authorization, Caching and much more.
All the knowledge you need to start building any api you want
Remember...
After this course you'll get all the Source Code and along with this I'll also share the links and helping material for the Rest Api's with you but you need your personal Azure Portal where you can launch your web api.
I'm so confident that you'll love this course that we're offering a FULL money back guarantee for 30 days! So it's completely risk free, sign up today with ZERO risk and EVERYTHING to gain.
So what are you waiting for? Click the buy now button and join the world's First Complete Rest Api's Course with Asp.Net Core and C#.