Help transform WPF application to webapp
Hi
Tldr; What kind of project do I need to start on in VS2015/2017 to create a simple CRUD webapp?
I have created a pretty simple WPF CRUD application. It shows data from an existing database to the user, and the user can then execute a stored procedure and the datagrid that shows the data is then updated. The user is also able to add a comments in the datagrid and the comment gets stored on the database.
So I've been wanting to learn how to make a web app, and decided to make the WPF application available as a web app as well. I've been following a course on Pluralsight (Building a Web App with ASP.NET Core, MVC, Entity Framework Core, Bootstrap, and Angular ) to get me started on how thing work. The problem is that course and most others teach code-first and not from database-first.
Following this tutorial: https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db#create-a-new-project I get the same errors as many others have reported in the comments, and I'm not able to complete the tutorial.
I can't believe how difficult it is to setup the database connection just because of the EF Core Framework, compared to how easy it was in the WPF application I made. In WPF you just add the dataconnection and select the tables/view/stored procedures you want, and you're pretty much good to go.
I just want to be able to query the database so I can show some data on a webpage.
Can anyone please guide me in the right direction?
Thanks in advance.
0 comments:
Post a Comment