Base solution for your next web application
Open Closed

Tutorial for Implementing an Existing Database #8536


User avatar
0
replink created

We are going to be upgrading an existing applicaiton with a lot of data from an existing database. While we're building new forms and functionality and re-writing some old forms, we'll still be using our old application running side by side with the application. They'll be completley separate projects but they'll use the same database. This database has tons of data, tables, business layer sprocs, and authentication information.

We've done a quick proof of concept with the a demo of aspnetzero. However, this was using the default out of the box aspnetzero entities. Is there a tutorial anywhere to help us integrate a brand new aspnet project but using our existing database. I know we'll have to add aspnetzero table to it, but I was looking for some guidance to do this.

We'll be usign the angular/asp.net Core project. We'll be trying to replace EF with Dapper or direct SQL calls for better performance.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @replink

    Sorry for our late reply but unfortunately, we don't have such a sample. As you mentioned, you need to create AspNet Zero's tables in your database. AspNet Zero uses EF code-first approach, so you can create an initial migration and delete its content to take current schema of your database as the starting point for AspNet Zero.

    If you face specific problems, we can tyr to help you.

    Thanks,