samples icon indicating copy to clipboard operation
samples copied to clipboard

WebApi/BasicAuthentication Sample Database.

Open rob-watts opened this issue 4 years ago • 1 comments

In the aspnet\WebApi\BasicAuthentication project the web.config file references a local DB

aspnet-BasicAuthentication-20131121044235.mdf

It's not in the App_Data folder, or anywhere I've been able to find. I didn't notice any documentation for manually creating it.

Can someone tell me where it is, or where the schema is so I can create it?

rob-watts avatar Nov 06 '20 17:11 rob-watts

@rob-watts The application will automatically create the database if it does not exist. You can see the initializer code in UserDbContext.cs

programatt avatar Aug 26 '21 02:08 programatt