IIS7 / WPAS: Multiple WCF services in same AppDomain?

If host my WCF services in IIS7 or WPAS, is it possible to load up two or more services into the same AppDomain so that they can share static variables?


Sure you can expose as many Endpoints within a Web Application as you want (even of different WCF Services). This should not be limited to either IIS or WPAS.

Doing so will enable you to access any kind of shared data. Even though I would normally advise against using static variables to share information (But of course I don't know your requirements).

Need Your Help

Will Environment.UserName return the same result in Windows 7, Windows 8.x and Windows 10?

c# wpf windows

I need to get the logged in user's name in a WPF application I'm working on. I've seen this question for a few years back. But now I'm wondering about the Environment.UserName command; will it retu...

Recommended add-ons/plugins for Microsoft Visual Studio

visual-studio plugins

Can anyone recommend any good add-ons/plugins for Microsoft Visual Studio? Freebies are preferred, but if it is worth the cost then that's fine.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.