質問

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

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top