multi thread and appdomains application

D

Daylor

hi.
i have mult thread vb.net application.
it has 30 threads.
each thread serves 1 phone caller.

the question :
is there a reason , to create appdomain for each Phone Service ?
meaning 30 appdomains ?

or , the purpose for creating another appdomains, is diffrent ?
 
M

Miha Markic

Hi Daylor,

You don't need to create different appdomains.
AppDomains should be looked at as a process (to isolate some code). They
come handy also in situations you want to unload an assembly.
Threads are just fine for your task.
BTW, You might consider using ThreadPool to dynamically create threads when
needed instead of using fixed numbers of threads.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top