ASP.NET Core 6 Web API Using Visual Studio 2022 and C# | Rest API with .NET 6 C# Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • In this tutorial an ASP.NET core 6 web API or REST API is being created using Visual Studio 2022 and .NET core 6. The language used is C#. An ASPNET Web API is also called REST API and supports http and https binding. These are light weight and are very good from performance point of view. The database used here is entity framework core in memory database. You can add the corresponding NuGet package to use its full features. In this tutorial I am showing how to add this NuGet package. .NET core 6 is the latest framework offered by Microsoft. When you install Visual Studio 2022, then this will also get installed by default.
    Download the source code for this project from below location:
    github.com/tut...
    The download link to Visual studio 2022 is as below
    visualstudio.m...
    Do you want to learn how to use and interact with the ChatGPT AI language model, one of the most powerful and versatile natural language processing tools in the world? If yes, then you should check out this amazing course that will teach you everything from the basics to the advanced features of ChatGPT. Click on this link to get started and enjoy a special discount from me:
    bit.ly/3E8VEjF

ความคิดเห็น • 29

  • @tutorpraveen
    @tutorpraveen  2 ปีที่แล้ว +1

    Please subscribe to the channel and like the video. I hope you will have a great career ahead 😊.

  • @ebuobasintui988
    @ebuobasintui988 2 ปีที่แล้ว +2

    Your video just saved me 2weeks of work

  • @jhkadvkj17
    @jhkadvkj17 2 ปีที่แล้ว +2

    Nice and simple demostration. good job!

  • @sarangabhoi8535
    @sarangabhoi8535 2 ปีที่แล้ว +1

    Thank you Praveen for this useful videos..

  • @mistrybliss8321
    @mistrybliss8321 2 ปีที่แล้ว +1

    thanks very much .. really interesting

  • @olalekanmohammed512
    @olalekanmohammed512 ปีที่แล้ว +1

    i stumbled on ur video and it truly demystified the whole process. Thank you Praveen. However, do you have a tutorial that connects it to sql server instead of the inMemory

    • @tutorpraveen
      @tutorpraveen  ปีที่แล้ว

      Hi, you can check the following tutorial th-cam.com/video/W0_GFp1hB5Y/w-d-xo.html

  • @rguere
    @rguere 2 ปีที่แล้ว

    Excellent friend!

  • @thomaslamb6161
    @thomaslamb6161 ปีที่แล้ว

    I followed you up to the point of 'Postman', I'm relatively new at this.. what is it and why would I want it? Can I add a 'CountryList" another way to finish off the tutorial? I commend you for your style of explaining the process - thank you!

    • @tutorpraveen
      @tutorpraveen  ปีที่แล้ว

      Hi, Postman is a very popular and powerful tool to test restful apis. If you want to seriously learn and work using web api then I recommend you to learn some basics on postman. There are other tools as well like curl, fiddler but postman is the simplest.

  • @vishalsingh-kz6kw
    @vishalsingh-kz6kw 2 ปีที่แล้ว +1

    Thanks Buddy

  • @akshaygiri2900
    @akshaygiri2900 ปีที่แล้ว

    Sir takes more time to scaffolding new item for controller

  • @ebuobasintui988
    @ebuobasintui988 2 ปีที่แล้ว +1

    Using System.ComponentModel.DataAnnotations;
    [Key]
    public int ID {get; set; }
    do this in your model class if you get a noKey error.

  • @thuytienche1094
    @thuytienche1094 2 ปีที่แล้ว

    "How to connect database in SQL server to the project in Visual Studio 2022 ?" Can you answer me, please!!

    • @tutorpraveen
      @tutorpraveen  2 ปีที่แล้ว

      Thanks for posting your comment. I will come up with another video on that.

  • @nangdalet5994
    @nangdalet5994 2 ปีที่แล้ว

    Sir, Can you demo how to read APIs on asp.net core MVC and then read it on controller and next step push to view using ajax dataTable and don't use html helper.

    • @tutorpraveen
      @tutorpraveen  2 ปีที่แล้ว

      @Nang Dalet I will try to create that in future videos. Thanks for your comments

  • @mageshabde7325
    @mageshabde7325 2 ปีที่แล้ว

    Y don't u use debugger to explain which way code is work?...... otherwise it's nice tutorial sir....

    • @tutorpraveen
      @tutorpraveen  2 ปีที่แล้ว

      Thanks for your suggestion

  • @aravavenkatajyothi3589
    @aravavenkatajyothi3589 ปีที่แล้ว

    getting error in the swagger

  • @appu951
    @appu951 2 ปีที่แล้ว

    How to add authentication and authorisation to this api

    • @tutorpraveen
      @tutorpraveen  2 ปีที่แล้ว

      Will cover in another video. This is an intro video for beginners.

  • @adrianotcc5663
    @adrianotcc5663 2 ปีที่แล้ว

    Hi! What is github link of your code please? Thanks.