Question

I have a local database file (.mdf) in my app_data directory of my C# asp.net mvc program.

If I have many user on my site all reading data from the .mdf file is it thread safe? This would be read only, and updated a few times a week.

Thanks

Était-ce utile?

La solution

Yes, the .mdf is being handled by SQL Server Express which is installed on your machine (or any other machine that uses your application), and SQL Server is thread-safe in that you can throw any number of concurrent requests at it and it won't break under that kind of workload.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top