my asp project run well when try to debug my asp project and connect it with its database , its Database is placed on godaddy Server .
-
- var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
-
- var userID = UserManager.FindByName(model.userName)?.Id;
-
but not run well when try to connect my asp project with local database that placed on SQL Server in my muchine,
-
- var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
-
- var userID = UserManager.FindByName(model.userName)?.Id;
-
Note One - Two Databases has the same schama and Data because I Create the local Database from script of the external database. I Generate the Script of Schama and Data.
too, I check that browase the data of these databases are the same togerther .
Note Two - I am using Database First Approach
I am confused please help.