Using a 32bit Native DLL in Windows Azure

With the Mix2009 release of Windows Azure tools, we now support native code execution. This also includes the ability to debug native code. As you would imagine, you can do PInvoke’s to system DLL’s or to your packaged native DLL with your role. The image in Windows Azure runs on a 64bit OS. Role hosts…

4

Getting rid of Warning VSP2013 in MSBuild

Running instrumentation and tests as part of the build machine could produce the VSP2013 warning. Our build machine is 64 bit and the VSInstr.exe tool seems to only work on platform dependent assemblies instead of just platform diagnostic as usually your assemblies are built using the platform (Any CPU). The default vsinstr.exe used is the…

0

Statement Translation using Functional Programming in C#

I will demonstrate here how we can use the functional programming feature in C# to program something like a statement/expression translation. Basically, we will translate a statement tree into a function that we can call to run the program. I am not using Linq Expression as demonstrated in my previous blog. Instead, I will show…

1

Silverlight debugging in Windows Azure

To debug silverlight applications and controls in Windows Azure, you need to have the following components installed: 1- SilverLight 2 and SilverLight tools for Visual Studio (Most likely you already have these since you are developing Silverlight in Visual Studio. 2- January 2008 CTP of both the Azure SDK and Visual Studio Tools. To enable…

1

Generating the Lambda Expression dynamically

The last post, I showed a simple way to build a lexicon scanner in .NET. We can now extend on the scanner and build a parser that generates a Lambda expression that can be compiled and called for further use. The parser I used is just a top-down recursive parser that builds up the Expression…

2

Writing a simple lexicon scanner in .NET

I came across Linq and the new Lambda Expression classes in .NET 3.0. I thought, it would be a good idea to dynamically build a lambda expression from a math string, something like: (a + b) * 1.5. The string is parsed into a lambda expression and then is compiled into a delegate. Then, if…

1