How to: Register services declaratively using a custom [Service] attribute

Topics: Web Client Software Factory
Jan 23, 2007 at 3:43 AM
I've written an article that might be useful for those of you:
- Willing to extend the factory
- Miss the Service attribute included in CAB :)

"The new service will allow you to register services declaratively using a custom Service attribute as shown in the following code:

// Register the service with the type IService1, as a module service
Service(ServiceScope.Module, typeof(IService1))
public class Service1 : IService1
// ...

Have a look at it at:

Any feedback is welcome.

Mariano Szklanny
Jan 23, 2007 at 9:05 AM
I do understand why you are working for this team. Again, good work, and a excellent article.