Enterprise Samples Overview

Here you can find a broad set of samples that demonstrate how to use Concurrency and Coordination Runtime and Decentralized Software Services (DSS) with various technologies including:

  • ASP.NET: Integration with CCR
  • Syndication: Integrating with Atom/RSS (Real Simple Syndication), etc.
  • SQL Server: Integrating with a SQL server for storage
  • Load Balancing
  • Log Synching


This sample is an ASP.NET web page that uses CCR to initiate multiple simultaneous fetches of web pages.

Atom/RSS Syndication

The Atom/RSS (Really Simple Syndication) syndication sample is an example of a complete service that combines many of the features introduced above as a single service. Among other things the DSS Atom/RSS service demonstrates how to take advantage of existing Web infrastructure in the form of Web browsers and RSS readers and merge it with the DSS service model to allow for automatic, service based interactions. See Atom/RSS Service Overview for a detailed description of the service.

SQL Integration

This sample demonstrates how to build a SQL front-end service that enables services to query, manipulate, and store data in a SQL database using DSS. The front-end can be configured to access a Microsoft SQL server database simply by modifying the state of the service without recompilation.

Load Balancing

This sample demonstrates how to load balance a number of consumer services who have subscribed to a set of provider services. Because the consumer services may subscribe unevenly across the provider services the system can end up with highly varying load on each provider services. By load balancing the number of subscribers across all provider services, the system can perform better.

Log Synching

This sample shows a simple examples of how to do scatter/gather operations across a large number of services in a very concise manner. As part of the service initialization, the sample service programmatically creates 1000 service instances and waits for all of them to start. Then it does a GET request against the service instances. When the GET requests are complete, it aggregates the results as part of its own service and then completes the service initialization.




© 2010 Microsoft Corporation. All Rights Reserved.