Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Best Way to migrate existing DB to aspnetzero structure #3494


User avatar
0
ultimatemm created

Hi, Is there any good ways to migrate existing db ( sp,view,udf ) to aspnetzero structure? Any suggestions would be appreciated.

Thanks & Best Regards


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

    Hi,

    My suggestion is create all entities (poco classes ) in "aspnet zero" prior to your existing database. Run update-database and create an empty database. Then import your existing data to this empty database. Reset old user passwords. Match old roles to new roles.

    The migration will not be so smooth. You may need to write a custom application to handle these logics.