Global Services under WCSF

Topics: Web Client Software Factory, UIP Application Block discussion, User Forum
Aug 31, 2007 at 8:17 AM
Hi All

When to use the gloabl services? For the services such as drop down list (e.g. Sex, Title) lookup, should I build it under global services or still use module services?

BTW, if create gloabl services, how to call it?

Sep 7, 2007 at 2:05 AM
Edited Sep 7, 2007 at 2:06 AM
Alex, you might use global services when your service is used by more than one module
(a shared service). We usually recommend users to store infrastructure services (like auth, authn, logging, etc) as global services.

In order to call a global service, you have the same options as with module services. That means that you can obtains references of the services in a declarative way (using the ServiceDependency attribute) or in programmatically way.

I’d recommend you to read the topic “How to: Register and Use Services” from the WCSF’s Help. (ms-help://MS.VSIPCC.v80/ms.practices.wcsf.2007dec/wcsf/html/03-210-HowToRegisterAndUse_Services.htm)

Let me know if this helps,
Ezequiel Jadib
Sep 8, 2007 at 1:55 PM
Thanks and I will try.