Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebApi/BasicAuthentication Sample Database. #64

Open
rob-watts opened this issue Nov 6, 2020 · 1 comment
Open

WebApi/BasicAuthentication Sample Database. #64

rob-watts opened this issue Nov 6, 2020 · 1 comment

Comments

@rob-watts
Copy link

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?

@programatt
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants