ASP.NET Core 6 REST API Tutorial | MongoDB Database

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • How to build ASP.NET Core REST API from scratch using Visual Studio 2022, ASP.NET 6 and MongoDB database.
    Use the following link to get started with MongoDB. Use the coupon code (MKT-VENKAT) to get $100 Atlas credit at checkout. Only for the first 10 users.
    bit.ly/Venkat2
    Notes and Slides
    www.pragimtech...
    All our free software training courses
    www.pragimtech...
    Slides, notes and to download our courses
    www.pragimtech...
    Let's gift education together
    / kudvenkat

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

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

    I learned C# from you years ago. Still learning from you. The least I could do was contributing to your PayPal account. I always owe you and LOVE YOU!!!
    Thanks for being the citizen of the earth with me!

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

    hello Sir, you are simply amazing. your explanations are incredibly clear and valuable. thank you for sharing, keep it up

  • @imariomm
    @imariomm ปีที่แล้ว +3

    I still ask my self why this channel did not get 1M subscribers yet... Thank you a lot Sir

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

      Miss you Mr.kudvenkat 😢

  • @dimasjimenez3396
    @dimasjimenez3396 8 หลายเดือนก่อน

    I've been following you for a long time and you keep impressing me with your clear explanations and the effort you put in your videos. A true sensei. May God bless you.

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

    You deserve kudos for publishing these detailed tutorials with code. May God bless you to continue to publish tutorials on different technologies

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

    Good knowledge for quick learning mongo. Awesome 👍👍.
    Thank you for sharing the great content.

  • @federico.r.figueredo
    @federico.r.figueredo 2 ปีที่แล้ว

    Thanks for these new tutorials Mr. Venkat! You're work is amazing good ser, keep it up & kudos from Argentina.

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

    Great tutorial. Really enjoyed it

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

    Watching C# tutorial, yet to go Dot NET, Angular, etc... Thank you very much venkat🤗

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

    Really great video. Thanks mate.

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

    This is awesome!! Classic! Classic!!

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

    Absolute legend!!! Kudos to you sir

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

    Happy new year welcome back, hopefully u will upload more frequently now 🙂

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

    Looking forward to learn mongoDB from you

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

    I have an error when I try to do any request: Value cannot be null. (Parameter 'connectionString'). I don't know how to resolve.

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

    Hey venkat
    Please add video serial number so we can identify video part in future also btw i have learnt so many things from your all tutorial
    Thanks

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

      checkout the playlist

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

    very good strategy of teaching and managing the things like notes ,tutorials over websites I saw first time ever such things.
    I am a CSE student please give me your important suggestion.

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

    amazing tutorial !!!

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

    Hi, thanks will this be continue for a full project using mongodb and .Net 6 api

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

    it will be good if you do this example with asynchronous calls.

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

    Sir, you are amazing!

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

    thanks for the tutorial. But my program.cs file is differrent form yours and i can't use builder variable

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

    Thank you so much sir :)

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

    Appreciate it. Thanks

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

    Thank you Sir for all your hard work and for sharing your knowledge. Can you also create a tutorial on Micro Service and Docker, please?

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

    this session is very useful, if you can create one video on performance & joins it will be a really helpful.

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

    Sir thanks for all your effort. Kindly create a short course on Dapper as well. There is no good course on this topic

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

    Thanks a lot sir, got lot of information from this video and please can you explain how to PATCH update in mongo db c#

  • @raycarlbrown-amory3509
    @raycarlbrown-amory3509 2 ปีที่แล้ว

    Great video

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

    Hello Venkat, It has been a while since we heard your voice hope you are doing well. And will this mongo tutorial continue?

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

    thank you sir!

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

    this tutorial is differ with previous rest api implementation like used with automapper and async.

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

    Welcome back

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

    Make a Video on Patch Request using the same setup please 🤗🤗

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

    Venkat sir we are missing your videos please upload

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

    I had a doubt in controller class. Why use ActionResult and not IActionResult or IHttpActionResult as it an API call ?

  • @ProgramTest-i8g
    @ProgramTest-i8g ปีที่แล้ว

    What I have multiaple Collection ? how write DatabaseSettings

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

    Please use dark theme for your video.😊

  • @moatazal-ali8589
    @moatazal-ali8589 2 ปีที่แล้ว

    finally.....
    🤗

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

    Hey are you using any Webserver like Microsoft IIS, Kestrel or Nginx for this example? Or do you realize it without?

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

    Great

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

    I am getting error 'Cannot dynamically create an instance of type 'StudentManagement.Models.IStudentStoreDatabaseSettings'. Reason: Cannot create an instance of an interface.' can some one help me?

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

    Hi, Sir, besides Student collection, if I wanna have another collection,example course, how should I separate the database connection class, or just add a course collection field to the same class?

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

      I would like to know that too. Somebody?

  • @sivakumar-pv5ty
    @sivakumar-pv5ty 2 ปีที่แล้ว

    Any one know the reason why kudvenkat not posted any video since 8 months?

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

    Should the calls not be asynchronous to the database? Or is this unnecessary?

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

    What about the address field?

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

    Venkaaaaaat. Please create your own React.js

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

    No new videos since 1 year?

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

    How i can give to an specific user the verified badge to my app?

  • @raymohmoud2282
    @raymohmoud2282 หลายเดือนก่อน

    Why I get response status 404

  • @neerajsingh-xf3rp
    @neerajsingh-xf3rp 2 ปีที่แล้ว

    Could you please explain what's that [FromBody] attribute in post method of the controller

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

      It tells ur controller method to read the parameters from request body

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

      It tells ur controller method to read the parameters from request body

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

    hi, how can i connect with you, i need your paid support.

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

    [Solved! See bottom of this comment]
    When I try to run the project I get an error pop-up, saying "No process is associated with this object". My debug console ends with: "C:\Users\User\source
    epos\StudentManangement\StudentManangement\bin\Debug
    et6.0\StudentManangement.exe (process 14612) exited with code -532462766.
    Press any key to close this window . . ."
    Further, I get a debug/breakpoint error box that says: "StudentManangement.Services.StudentService': Unable to resolve service for type 'MongoDB.Driver.IMongoClient' while attempting to activate 'StudentManangement.Services.StudentService'.)'"
    SOLUTION: Thankfully I was able to use @kudvenkat's Notes and Slides (see video description)
    I was missing the "" code in the following in Program.cs:
    builder.Services.AddSingleton(s =>
    new MongoClient(builder.Configuration.GetValue("StudentStoreDatabaseSettings:ConnectionString")));

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

    I try to do this for exercise but I couldn't recieve information about appsettins. It worked when I hard code that info.....
    (this works)
    public class TestStorageSettings : ITestStorageSettings
    {
    public string TestCollectionName { get; set; } = "Test";
    public string ConnectionString { get; set; } = "mongodb://localhost:27017";
    public string TestDbName { get; set; } = "Test";
    }
    What have I missed because naming is equal in appsettings, classes and interfaces but I only recieve empty strings.

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

      Hah I found the reason. It was in program.cs file. First builder service was pointed in interface instead of class. Sorry to boder.