The Composite Web Client Library Bundle has a nice feature where one can register module and global services via configuration. This is new in the Web Client Software Factory v2.0.
Opening up the Customer Business Module Web.config file in the Responsive Composite Web Client Reference Implementation shows a new Services Configuration Section that allows one to register concrete services using a specific Interface Type and then scoping the service as either Global or Module. In the case below, the CustomerService is registered as ICustomerService and registered as a Global Service.
<module name="Customers" assemblyName="Customers" virtualPath="~/Customers">
<dependencies>
<dependency module="Shell" />
</dependencies>
<services>
<service
registerAs="OrdersRepository.Interfaces.Services.ICustomerService, OrdersRepository.Interfaces"
type="OrdersRepository.Services.CustomerService, OrdersRepository.Services"
scope="Global" />
</services>
</module>
This is a nice enhancement in the Web Client Software Factory v2.0.