Using Bing Maps in a Windows 8 Metro style app

The recently released Bing Maps controls for Windows 8 (available in the Visual Studio Gallery) actually contains two separate map controls to support the two types of Windows 8 applications. One is a port of our existing Javascript map control and is used to write html/javascript applications, the other is written in native C++ and…

0

Shrinking .NET assemblies by removing unnecessary attributes

.NET assemblies contain a rich set of metadata for use by the run time, debugger, and compiler. This information is stored in the assembly whether it will be used or not which for certain types of shipping assemblies is unnecessary. For example when you create a new automatic property: public int MyProperty { get; set;…

0

It's 10 pm, do you know what your JITter is doing?

Ever have that awkward feeling like you don’t know what actually gets executed as a result of your managed code? Visual Studio allows you to inspect the JITted code easily but does require a few tweaks first: First set your project to build in Release mode. Next go to Tools|Options|Debugging and uncheck both Suppress JIT…

0

OutOfMemoryException is special

Consider the humble OutOfMemoryException and its most common usage. If it is thrown when the system is well and truly out of memory then how would the system allocate enough memory to create a new instance of OutOfMemoryException? Luckily this problem has a simple solution: OutOfMemoryException is allocated up front so it’s available when it…

0