66020 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

News News News Messages: 0 Messages: 0 Messages: 0 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

New Concurrency and Coordination Runtime Video

Posted by: Paul Ballard on December 08, 2005 DIGG
Channel 9 has a new video discussing the Concurrency and Coordination Runtime, a research project underway in the Advanced Strategies group at Microsoft. This framework is a port and message based solution to managing concurrency in a multithreaded application.
We wish to support scenarios in which there is a very large amount of message-passing (e.g. service oriented programming and web servers). Constraining ourselves to mainstream operating systems, this means that we can not directly use operating system threads to help block on reading values from ports. We propose an alternative work-item scheme which does not use operating system threads which works by implementing a continuation passing scheme for port-based programming. We show how language features in C# can help the programming avoid having to explicitly write continuation passing style code.

The CCR uses a generically parameterized class called a Port to define a FIFO datastructure to hold the values in a port and a list of C# delegates to be excuted when a value enters the list. These continuations can be anonymous delegates or named delegates. The CCR then defines several concurrency based "arbiters" to be executed on the ports to provide the synchronization features.
The choice arbiter allows one to specify that one of two (or more) branches should fire and the others should be discarded. For example:

 activate(p.with(MyIntHandler)
          |
          p.with(MyStringHandler);

will run either MyIntHandler or MyStringHandler but not both. The choice will be determined by the availability of int or string message on the p port and if both types of messages are available then a non-deterministic choice is made.

To learn more, watch the video on Channel 9 or check out the CCR Wiki. You can also read the paper on CCR called An Asynchronous Messaging Library for C#.
 
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET

DSLs and language interop

Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.

VS 2008 Resources

SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.

VB code downloads home

VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.

XAML Learning Guide

Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]

Company uses VSTS DB edition to tame workflow

One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts. (June 24, Article)

Book: Intro to DSL Tools

Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage. (June 24, Article)

I See the Silverlight Shining!

Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server . (June 18, Cartoon)

A look at .NET 3.5

Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps. (June 29, Podcast)

Venkat Subramaniam on AJAX

Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience. (June 25, Tech Talk)

Building a Claims-Based Security Model in WCF - Part 2

In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier. (May 24, Article)

Introducing the Entity Framework

Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year. (May 10, Article)

WCF Security Learning Guide

Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information. (April 24, Article)

Brad Abrams: Patterns for successful ASP.NET AJAX development

TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks. (April 11, Article)

Building a Claims-Based Security Model in WCF

In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services. (March 29, Article)

Authoring workflow using XAML

Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition. (March 22, Chapter Excerpt)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map