ASP.NET Core 6 REST API Tutorial | MongoDB Database

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 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!

  • @moianemario
    @moianemario Год назад +3

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

  • @dimasjimenez3396
    @dimasjimenez3396 11 месяцев назад

    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.

  • @corsaronero5619
    @corsaronero5619 3 года назад +11

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

  • @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.

  • @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

  • @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.

  • @pankajm
    @pankajm 3 года назад +2

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

  • @bhuvaneshwarans8555
    @bhuvaneshwarans8555 3 года назад +1

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

  • @odogwujonas9501
    @odogwujonas9501 Год назад

    This is awesome!! Classic! Classic!!

  • @dontmindme4009
    @dontmindme4009 3 года назад +1

    Great tutorial. Really enjoyed it

  • @surajkumarpradhan667
    @surajkumarpradhan667 3 года назад +2

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

  • @curiouscucumber7162
    @curiouscucumber7162 2 года назад

    Absolute legend!!! Kudos to you sir

  • @LearningCenter001
    @LearningCenter001 3 года назад +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 3 года назад

      checkout the playlist

  • @jeffbroadhurst7315
    @jeffbroadhurst7315 3 года назад

    Really great video. Thanks mate.

  • @arunece100
    @arunece100 3 года назад

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

  • @newbiedevtons
    @newbiedevtons 2 года назад +1

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

  • @Sandeep_Kumar2022
    @Sandeep_Kumar2022 3 года назад

    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.

  • @vickyvishalful
    @vickyvishalful 3 года назад

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

  • @kallaguntaashok
    @kallaguntaashok 3 года назад +1

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

  • @wadson_sm
    @wadson_sm Год назад

    amazing tutorial !!!

  • @honfey
    @honfey 3 года назад +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?

  • @HanishJoseph
    @HanishJoseph 3 года назад +1

    Looking forward to learn mongoDB from you

  • @ProgramTest-i8g
    @ProgramTest-i8g Год назад

    What I have multiaple Collection ? how write DatabaseSettings

  • @jamesdaniels6134
    @jamesdaniels6134 2 года назад

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

  • @henrik7510
    @henrik7510 2 года назад

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

  • @adjaydev
    @adjaydev 2 года назад

    Sir, you are amazing!

  • @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?

  • @chechobecho2177
    @chechobecho2177 3 года назад

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

  • @neerajsingh-xf3rp
    @neerajsingh-xf3rp 3 года назад

    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

  • @kallaguntaashok
    @kallaguntaashok 3 года назад

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

  • @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?

  • @saidhassan1713
    @saidhassan1713 3 года назад

    Welcome back

  • @abhishekbakshi4228
    @abhishekbakshi4228 2 года назад

    What about the address field?

  • @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#

  • @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?

  • @egamingizback444
    @egamingizback444 3 года назад

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

  • @HammadBinSajid
    @HammadBinSajid 3 года назад

    Appreciate it. Thanks

  • @shyamplays
    @shyamplays 2 года назад

    Thank you so much sir :)

  • @raymohmoud2282
    @raymohmoud2282 4 месяца назад

    Why I get response status 404

  • @SuperStarZinMinnLaht
    @SuperStarZinMinnLaht 2 года назад

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

  • @raycarlbrown-amory3509
    @raycarlbrown-amory3509 3 года назад

    Great video

  • @DevixTech
    @DevixTech 2 года назад

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

  • @linting
    @linting 3 года назад

    thank you sir!

  • @msdhoni6419
    @msdhoni6419 2 года назад

    Venkat sir we are missing your videos please upload

  • @sivakumar-pv5ty
    @sivakumar-pv5ty 2 года назад

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

  • @TellaTrix
    @TellaTrix Год назад

    Please use dark theme for your video.😊

  • @moatazal-ali8589
    @moatazal-ali8589 3 года назад

    finally.....
    🤗

  • @rashidtravelvlogs
    @rashidtravelvlogs Год назад

    No new videos since 1 year?

  • @RebelSouls
    @RebelSouls 2 года назад

    Venkaaaaaat. Please create your own React.js

  • @aymandaqa6435
    @aymandaqa6435 3 года назад

    Great

  • @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.