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

Topics: Web Client Software Factory
Developer
Jan 23, 2007 at 2: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:
http://staff.southworks.net/blogs/mariano/archive/2007/01/21/How-to_3A00_-Register-services-declaratively-using-a-custom-_5B00_Service_5D00_-attribute.aspx

Any feedback is welcome.

Cheers,
Mariano Szklanny
http://staff.southworks.net/mariano
Jan 23, 2007 at 8:05 AM
I do understand why you are working for this team. Again, good work, and a excellent article.