Assembly Binding Redirect Not Working


Assembly Binding Redirect is a .NET mechanism allowing developers who's application was compiled against a certain strongly-named assembly version to swap that assembly with a different version without recompiling the entire assembly. One of the methods for achieving this goal is by placing a special directive in the application’s configuration file, as described on MSDN. .NET Ignores My Assembly Binding Redirect An example of such a configuration section can be seen below: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="myAssembly" publicKeyToken="1234abcd1234abcd" ...
tags: ,
no comments

Windows Phone 8 Emulator Hardware Requirements & SLAT


Windows Phone 8 SDK was released during the BUILD conference about 3 weeks ago, and an increasing number of developers are actively developing new apps for the new platform. This post focuses on the software and hardware requirements for running the Windows Phone 8 Emulator, and specifically the requirement for hardware Second-Level Address Translation (SLAT) support. Hyper-V and SLAT Hyper-V is Microsoft’s virtualization platforms which allows creating, managing and operating virtual machines on top of a host OS. Up until Windows 8, this platform was only available on Windows Server operating systems while the client OS was...
no comments

The async Keyword and Thrown Exceptions


async is a new keyword in C# 5.0 which allows us to easily author methods which execute asynchronously in regards to the calling code. The calling code can call the async method and continue its execution until it decides to join with the called method at a later stage. The async Trap Consider the following method: public void Process(string s) { if (s == null) throw new ArgumentNullException("s"); ProcessCore(s); } private void ProcessCore(string s) { for (int len = 1; len <= s.Length; len++) { ...
no comments

BUILD 2012 – Day 4


The BUILD party has passed, and the final day of BUILD has unfortunately arrived. This day had some interesting sessions which I’ll summarize in this post. Remember – all BUILD sessions are available for free on MSDN Channel 9. BUILD Session – Deep Dive Into the Kernel of .NET on Windows Phone 8 Unfortunately, the session with this promising name ended up not providing the deep-dive that some of us expected, but I did pick up an interesting pointer. As it turns out, when you deploy a .NET application to Windows Phone 8, the application does...
no comments

BUILD 2012 – Day 3


The BUILD conference’s third day was devoted fully to breakout conferences, with the BUILD party at the end of the day (and Microsoft has shown before that they know to throw a party). As always – all BUILD sessions are available on MSDN channel 9. BUILD Session – Tips and Tricks for Developing Connected Applications This session focused on issues regarding the development of applications which require a data connection, whether it be a server or a pee-to-peer connection and has shown some tricks accomplishable with the new Windows 8 API (WinRT): Peer-to-Peer Communication ...
no comments

BUILD 2012 – Day 2


Day number two of BUILD has passed on by with some great content. In this post I’ll highlight some issues I encountered today at some of the professional sessions, which were all related to Windows Azure. You should note that all BUILD sessions are available for free on Channel 9. BUILD Keynote – Windows 8 & Cloud-Connected Apps Today’s keynotes focused on Windows Azure and the various application types it can support, including device centric applications, web centric applications and cloud-scale applications. Many of the demonstrations rehashed some of the last months’ announcements but nonetheless it...

BUILD 2012 – Day 1 (Part II)

In a previous post, I highlighted BUILD’s first day keynote main topics, and on this post I would like to focus on my highlights from the professional sessions of the day. By the way – all BUILD sessions are available for free on Channel 9. BUILD Session - Bringing Existing C++ Code to Windows Store Apps Ever since the previous BUILD last year, along with the completion of C++ 11, C++ is having a kind of renaissance and is making a comeback to the center of the development stage. While Windows Store application developers have a...
no comments

BUILD 2012 – Day 1 (Part I)

BUILD has finally begun on Tuesday, after a long wait. CodeValue is here at BUILD in full strength with 10 experts at the conference itself, and one more disappointed expert who unfortunately got stuck at home due to hurricane Sandy (Pavel, we’re with you at heart). By the way, if you missed it I am also publishing short updates on my twitter account @eranstiller. BUILD Keynote – Steve Ballmer & Friends The day began with Steve Ballmer’s. Steve has a lot of energies on stage (“Developers, Developers, Developers” anyone?), and it was very exhilarating...
no comments