Closed silentcross closed 3 years ago
I did the same and I don't see any errors, everything worked fine. What is the exact error message you get?
It say Response status code does not indicate success: 500 (Internal Server Error).
update : thanks for your respond, it seems that the database structure that make the error, i use already made database with aspnetuser generated from default blazor, when is use your migration, it work.
I try to change the sqlite to sql server, but got error 500 Step i done :
services.AddDbContext<ApplicationDbContext>(options => options.UseSqlite("Filename=data.db"));
toservices.AddDbContext<ApplicationDbContext>(options => options.UseSqlServer(connString));
When i register, the input username & password is inserted to database, but it say error 500 I cant login