I am new to ASP.NET MVC (using 4) and have some basic questions regarding multi-threading.
Right now I have written all the controllers. Should I explicitly create a thread poll and assign a thread to each incoming request? I read something suggesting that this multi-threading is done automatically in MVC, and I shouldn't do my own. Is this true?
Most requests would change the database (i.e. upload a file). This post says
DbContext
is not thread safe, and the chosen answer is to create a new instance for each thread, which I did in my controller. Does this make it safe if MVC automatically creates threads (question #1)?
Thanks!