ASP.NET Core Razor Pages CRUD - .NET 6 Razor Pages CRUD Using Entity Framework Core and SQL Server

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 33

  • @RaviSoni-mt7wm
    @RaviSoni-mt7wm Před rokem +2

    I appreciated your help. Really the best stuff on youtube. Thanks, Sameer.

  • @Smart-electrical
    @Smart-electrical Před 2 lety +2

    This is the best place to learn thanks Sameer, look forward to you videos - great content!

  • @thuraiit
    @thuraiit Před 2 lety +1

    Nice Video Sameer. Thanks for posting videos.

  • @SameerSaini
    @SameerSaini  Před rokem

    👉Full ASP.NET MVC Course
    www.udemy.com/course/aspnet-mvc-course-aspnet-core/?couponCode=JUNE2023

  • @Financial_Independence1

    really top video for Beginners

  • @3l3odor
    @3l3odor Před rokem

    Thank you, I have just enrolled for your full course !

  • @jiriblazek1743
    @jiriblazek1743 Před rokem

    Great work, thank you for this video

  • @janpablocortez286
    @janpablocortez286 Před rokem

    I honestly learned a lot from your tutorial videos. Thanks!

  • @mathusudhanan698
    @mathusudhanan698 Před 2 lety +1

    please put video for sorting ,paging Grid using Pages CRUD Using Entity Framework Core and SQL Server

  • @kannankrishnan6072
    @kannankrishnan6072 Před rokem

    hello sir same thing will use stored procedure .it will help for ur upcoming project

  • @paxvostrum4824
    @paxvostrum4824 Před rokem

    thanks for the video, but why haven't you used decimal type for Salary property?

  • @sdstraub
    @sdstraub Před rokem

    Hi. Are you using zencoding to do inline autocomplete of your html tags? Also, why did you create a separate model for adding an employee instead of just using the existing Employee model?

  • @tipsandtricks9104
    @tipsandtricks9104 Před rokem

    To create a view page what are other option that we can use instead of foreach loop to display data from DB or is there any way to improve performance of foreach loop on UI page

  • @cryptotechnical4903
    @cryptotechnical4903 Před rokem

    ทำไมชอบเขียนแบบข้ามขั้นตอน 3 2 แล้วก็ไป 1 ย้อนไปย้อนมาเดี๋ยวเพิ่มตรงนั้นเด๊่ยวแก้ตรงนี้ ทำไมไม่เขียนไล่ขั้นตอนแบบ 1 2 3 ไปเลยทีเดียวล่ะ คุณทำดูเหมือนว่าไม่ได้เตรียมการสอนมาซะอย่างงั้นอ่ะ แต่โอเคแหล่ะว่าเนื้อหาการสอนโดยรวมทำให้เข้าใจอยู่

  • @russsharp3767
    @russsharp3767 Před rokem

    I'm learning a lot...but as I meticulously follow your step-by-step approach, I'm at the 28-minute mark.
    In the "asp-for= portion of the fields, the "Add...Request" portion of the "asp-for" in the

    • @SameerSaini
      @SameerSaini  Před rokem

      Can you let us know what error it's showing when you hover over it?

  • @meganpaterson2567
    @meganpaterson2567 Před rokem

    I am looking to do something similar to this but with a list of identity users - tried using your techniques that are in the video but keep getting an error on the edit part of the tutorial with the public void OnGet(Guid id) part - it doesnt like the Guid - any tips?

  • @sarveshm6779
    @sarveshm6779 Před 2 lety

    what is difference between razorpages and mvc core??? And which one is widely used in real world projects??

    • @SameerSaini
      @SameerSaini  Před 2 lety +1

      MVC was a very popular framework around 5 years ago where everyone was working with MVC, today, Razor pages is the default framework for the ASP.NET Core Web Applications, it provides a very page centric approach to handle small to medium level applications. You can even go large by combining it with WebAPIs or MVC controllers. Yes, you can have 2 frameworks in the same app too.
      Razor pages are very simple to use and gives a better developer experience

    • @sarveshm6779
      @sarveshm6779 Před 2 lety +1

      @@SameerSaini thanks for the reply, sir; but i guess still companies are using web api mvc applications for projects;

    • @SameerSaini
      @SameerSaini  Před 2 lety

      @@sarveshm6779 These are legacy projects, they still have to support them, but I have a video on MVC too :)

  • @bekirguldibi8227
    @bekirguldibi8227 Před rokem

    After running Update -database in Package Manager Console I get this error A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Sertifika zinciri güvenilmeyen bir yetkili tarafından verildi.)

  • @charugupta1689
    @charugupta1689 Před rokem

    Can I create the database by myself in database instead of running migration

    • @tookay5
      @tookay5 Před 3 měsíci

      yes. in the json file, add your connection. Just make sure your DBContext has the DBSets for any tables, and associated model class.

  • @berikkoshkarbay
    @berikkoshkarbay Před rokem

    Hello Sameer and everyone there, I have some problem in method OnPost class EditEmployeeViewModel, object EditEmployeeViewModel is null and I don't know why

    • @berikkoshkarbay
      @berikkoshkarbay Před rokem +2

      I found my mistake, bind property for EditEmployeeViewModel was not set

  • @tookay5
    @tookay5 Před 3 měsíci

    I see no reason why you would create a separate "ViewModel" class. The microsoft tutorials don't do this for razor pages, they simply use the model directly in the CRUD operations. You seem to have an extra layer of complexity which has no relevance in Razor pages....are you doing this as a carryover from your MVC days?

  • @mathusudhanan698
    @mathusudhanan698 Před 2 lety

    please send the post the code