Hacking the Roslyn code has been fun. It is a very impressive piece of well engineered code.
The first experiment I’m about to present in this post is a simple code editor (similar to the acclaimed LINQPad) that uses two parts of Roslyn: the Script Engine and Completion Service.
One of the goals in concurrent programming is to reduce contention. Contention is created when two (or more) threads contend for a shared resource. The performance of synchronization mechanisms can vary considerably between contended and uncontended cases.
The .NET Monitor class (used by C#’s lock keyword) provides a hybrid synchronization solution that is highly optimized [...]
Hosting WCF services in AppFabric has its benefits, but it can cause a lot of pain as well. I was trying to resolve the following error which kept appearing at one of my customers:
There is no compatible TransportManager found for URI ‘net.pipe://<some address>’. This may be because that you have used an absolute address [...]
WPF enables you to develop great looking applications very fast. But sometimes with this rapid approach one can overlook an important aspect – performance. It’s very common for developers to look into UI performance last, especially in LOB applications, but performance can have a significant effect on how professional your application is perceived to be.
Last month I gave a series of lectures in various campuses around Israel about Windows Phone and Azure.
The lecture included an introduction to Silverlight, Windows Phone, and a short overview of the Windows Azure Toolkit for Windows Phone.
During August 11-12 there will be a workshop for any student who needs assistance in submitting [...]
In WCF we can use the APM pattern to create an asynchronous client. For example, consider the following service contract:
public interface IHello
string Greet(string name);
An APM-enabled version of this interface would look like this:
[ServiceContract(Name = "IHello")]
public interface IHelloApm
You’ve all read about the asynchrony promise of C# 5 (if you haven’t, I highly recommend reading Eric Lippert’s series about the subject or this post won’t make much sense). I think it’s a great step forward, and it would make asynchronous programming all a lot easier.
We already know how to think in [...]
This allows you to browse through our blogs, and to filter them by tags, dates and authors.
Today I’m saying goodbye to Sela. I’ve been a senior consultant at Sela for the past 9 months, and it has been a good experience for me; I’m much more experienced with giving lectures and teaching classes. I’ve also had a chance to meet and work with some of the leading experts in their fields.
Tags.NET 4 Animation AppFabric Async Axum Blog C# ClearType Cloud CLR CodeValue Contests Deep Zoom Experiments Generics Google Ink Lectures Modeling Performance Personal Pivot Prism Programming Languages Prolog Reflector RTL Sela Silverlight The Arbel Network Themes Threading Tips Visual Studio WCF Windows 7 Windows 2003 Windows Azure Windows Forms Windows Phone Windows Vista Windows XP WPF XAML Zune
- May 2013
- February 2013
- June 2012
- May 2012
- June 2011
- November 2010
- August 2010
- July 2010
- June 2010
- March 2010
- December 2009
- November 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- November 2007
- September 2007
- June 2007
- May 2007
- February 2007
- November 2006
- October 2006
- February 2006
- August 2005
- February 2005
- August 2004
- July 2004
- June 2004
- May 2004