문제

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