Build a RESTful API in ASP.NET 6.0 in 9 Steps!

preview_player
Показать описание

Build an entire RESTful API with ASP.NET Web API 6.0 in just 9 steps and only 12 minutes? Find out how in this video! Restful API In ASP.NET using Visual Studio and C#. Want to learn more about ASP.NET 6.0?

Here you got the link!

What is ASP.NET?
Free. Cross-platform. Open-source.
A framework for building web apps and services with .NET and C#.
.NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.

ASP.NET extends the .NET developer platform with tools and libraries specifically for building web apps.

REST is an acronym for REpresentational State Transfer and an architectural style for distributed hypermedia systems. Roy Fielding first presented it in 2000 in his famous dissertation.

Like other architectural styles, REST has its guiding principles and constraints. These principles must be satisfied if a service interface needs to be referred to as RESTful.

The six guiding principles or constraints of the RESTful architecture are:
· Uniform Interface
· Client-server
· Stateless
· Cacheable
· Layered system
· Code on demand

Timestamps
00:00 - 00:35 Intro
00:35 - 01:04 Step 1: Setting up our project
01:04 - 01:25 Step 2: Removing default stuff
01:25 - 02:10 Step 3: Creating our model
02:10 - 04:43 Step 4: Setting up a database
04:43 - 06:00 Step 5: Creating a controller
06:00 - 08:25 Step 6: Create/Edit
08:25 - 09:27 Step 7: Delete
09:27 - 11:04 Step 8: Get
11:04 - 12:05 Step 9: Get all
12:05 - 12:31 Outro

In recent years, it has become clear that HTTP is not just for serving up HTML pages. It is also a powerful platform for building Web APIs, using a handful of verbs (GET, POST, and so forth) plus a few simple concepts such as URIs and headers. ASP.NET Web API is a set of components that simplify HTTP programming. Because it is built on top of the ASP.NET MVC runtime, Web API automatically handles the low-level transport details of HTTP. At the same time, Web API naturally exposes the HTTP programming model. In fact, one goal of Web API is to not abstract away the reality of HTTP. As a result, Web API is both flexible and easy to extend. The REST architectural style has proven to be an effective way to leverage HTTP - although it is certainly not the only valid approach to HTTP. The contact manager will expose the RESTful for listing, adding and removing contacts, among others.

So in this video we will Build an entire RESTful API with ASP.NET Web API 6.0 in just 9 steps and only 12 minutes, watch it and find out how!

#restapi #api #aspnet #visualstudio #csharp

TAGS

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор

Unlike other videos wasting the time on Youtube, your video is short, useful, and right to the point. Thank you!

MortezaMadadi
Автор

I can't tell you how long I've been looking for a resource to teach me how to build an API like I didn't already know how. Thank you so much for this!

robertmurrell
Автор

This was actually very helpful. A nice overview, of a subject that can be complex depending on the scale of the project.

dragonfalcon
Автор

I really like how simple and useful this is! Your explanations made RESTful API so easy to understand

SheCreatesGames
Автор

Thank you ! super beneficial in just 12 minutes

weamhaleemi
Автор

Excellent video, I especially like how short and to the point it is.

estar
Автор

Thank you very much your tutorial makes it easy and also pretty understandable. I can now provide basic API in C#

jll
Автор

Very good tutorial... keep the videos coming....🙏

ramseykarr
Автор

Really like this style of video. It may not be for absolute beginners how to setup the IDE etc- but there are so many videos covering those topics, we need more hands-on THIS IS HOW TO DO IT videos! lol

publicalias
Автор

Helpfull video. Thanks and love to watch more to increase my knowledge.
If someone was a bignner he can easy learn from this video.

arsarsarsable
Автор

Compact and easy to understand. Thanks

gustigusti
Автор

you did a great job on this video thank you

paultaylor
Автор

Thank you for the nice teaching. I had watched another longer video before this one, so was able to understand better than a newcomer would. I had to slow down the video though since it was too fast for me. suggestion - If possible please add a description of what Swagger is and what it does. Thanks

Tty
Автор

Excellent and very helpful video. Thanks a lot.

FG-ukin
Автор

Hi, thank you so much, content is very helpfull.

aq
Автор

Thank you, very helpful.... Can you help create a tutorial on how to consume a web service to be used in web api application?

TaiwoAdefala
Автор

Great video, I've been running this code and trying to get the update to work, it seems as though everything is passed correctly but it never updates. Would you be able to provide any feedback on what could be causing this?

Thomaskbird
Автор

One of the principles of the Restful api is not to use verbs in the Uri so instead of /GetAll it should be /all

KwidzaxD
Автор

This is a really good video. I feel that MS unnecessarily made that DbCotext creation lengthy.

jasper
Автор

Thank you for uploading an easy and quick api learning tutorial. Now i would appreciate if you make another video and connect the same api with sql server db using stored procedure with authentication and authorization. Also the update not working please check.

yasirsaddiqui
visit shbcf.ru