Automatic port number generation

It has been an age since I updated this, the reason is quite simple – My team has been working hard to get Peer Channel ready to ship. One of my favourite of the features we have added recently is now available in the latest CTP (download here) is the ability to tell the framework to automagically…

0

Is there anybody out there? (Online /Offline and the Peer Channel)

********************************************************* Updated to reflect changes in the February CTP ********************************************************* One of the most frequently asked questions is this: How can I tell if a node is the only member of the mesh?  We addedevents and a property that can be queried to get this information The definition of online status is straightforward: A node…

1

Handling Messages directly

********************************************************* Updated to reflect changes in the February CTP ********************************************************* My previous samples demonstrated using ServiceModel to dispatch messages to a strongly typed message handlers.  There are times when instead of having a seperate implementation for every message you will want to have a centralised message handler (often this handler is called ProcessMessage).  An early version of…

0

Multiple channels

**** One of my colleagues has pointed out a bug in this example **** I have edited this so that it now shows the correct code. The bug is that for Peer channel the configuration for each endpoint needs a distinct address to see what has changed please view the section labeled The Configuration the update…

1

Peer Channel

Updated to reflect Feb CTP changes in the config model. In Longhorn we are implementing many enhancements to the Peer to Peer programming platform one of the most exciting to me is the Peer channel.   The discussion that follows describes pre-release software, specifically it describes the implementation of Peer Channel that ships on the CD…

1

Peer to Peer SDK

At the beginning of this year I joined the Collaboration Technology group.  Our group is charted with creating a platform for developing Peer to Peer applications and for creating experiences on top of that platform.  Windows XP already contains the elements of a Peer to Peer Development platform.  The Peer to Peer SDK contains samples and…

1

Algorithms and .Net collections

Algorithms and .Net collectionsRecently I was asked by a colleague about an InvalidOperation exception with the message:Collection was modified; enumeration operation may not execute.It would seem that my colleague like many of us expected code similar to this to workforeach (Item s in collection){    if (s.expired == true)    {        collection.Remove(s);    }}And yet it gave an…

1

Some thoughts on the Global Assembly Cache and the compatibility of assemblies

Enormous Caveat  —  what follows is my opinion and my interpretation of the opinions of people around me, it does not represent the advice of Microsoft or the .Net Framework team. Over the last month I have been embroiled in a series of long and interesting email threads about whether assemblies should be added to…

0

To foreach or not to foreach that is the question.

Recently email was forwarded to me with a link to a page with some performance tips for developers.  The second performance tip on the page was: foreach foreach through an array is incredibly slow compared to for (int i = 0; i < array.Length; i) This one leapt out at me because it is well…

18

Early Technology Adoption Programs

Microsoft Business Framework team has begun an early Technology Adoption Program that is currently engaging with ISV’s focusing on business applications development. Although the Technology Adoption Program is currently near full there will be other opportunities to engage with the MBF tools. The plan includes the following: Technology Adoption Program for 50-100 ISV’s that have…

6