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

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top