WCF service and Remoting on same appdomain?
-
Hello, I am migrating my .net app using remoting to wcf. i was host remoting in IIS. now i have added a new dll which has wcf service and hosting it parallel to remoting objects in iis(same bin folder). In the web.config file along with <...remoting> node i added <...servicemodel> with end points and added a svc file. Now, 1. does both services run on single process/appdomain? 2. how to find whether they are running in same appdomain? 3. what is the best authentication mode for wcf service in this scenario? (Windows integrated?) Thanks.
-
Hello, I am migrating my .net app using remoting to wcf. i was host remoting in IIS. now i have added a new dll which has wcf service and hosting it parallel to remoting objects in iis(same bin folder). In the web.config file along with <...remoting> node i added <...servicemodel> with end points and added a svc file. Now, 1. does both services run on single process/appdomain? 2. how to find whether they are running in same appdomain? 3. what is the best authentication mode for wcf service in this scenario? (Windows integrated?) Thanks.
I tested and found that both the services are running in same app domain. The way i tested is returned appdomain id from both services and checked whether they are same. And regarding authentication mode am planning to use IIS authentications (windows integrated, digest or basic) as the services are hosted in IIS, but not sure yet. (return AppDomain.CurrentDomain.ID;)