© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
42 replies
Hiranko

Stuck on ASP.NET Razor EF core tutorial

I was learning ASP.NET through a Microsoft tutorial, trying to figure out the cause of the data not being created after I clicked on the 'Create New' button to insert new data and I can't even update the data. However, I can delete the data and the seed data.

Been stuck for almost a week now, I have tried to compare the completed code sample given by following this tutorial, https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-8.0&tabs=visual-studio. But the problem is still the same in part 1. Is it normal for the create new button not create any data? Or maybe something I don't understand and see the problem?

If so, can anyone tell me if it's a problem with the database sync, the package or some new error I don't see? Since I was fine doing razor and MVC tutorials without ef core and redoing the tutorial carefully over and over again without any guidance except watching videos online and used ChatGPT(which doesn't help much).
Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1...
Shows how to create a Razor Pages app using Entity Framework Core
Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ ASP.NET razor
C#CC# / help
17mo ago
✅ ASP.net razor
C#CC# / help
2y ago
ASP.NET Core Blazor + EF error
C#CC# / help
3y ago
✅ ASP.NET API (EF Core) Relationships
C#CC# / help
4y ago