c# - Multi-Threading in web service -
is possible created function in web service have multiple threads, 1 returns value user, , 1 continues process transaction? i've never used multithreading before , seems able running transaction asynchronously. no code has been written yet. trying see if possible before begin coding.
although can fire off threads , like, other .net application have take account operating environment.
any long running process should handed off process windows service web server worker processes can , recycled , goes threads. you're tying threads used further service requests web application.
in regards paul abbot said, in principle if had way of returning kind of work id client poll status of processing in request, , can apply within same process or out of process in external service.
Comments
Post a Comment