共用方式為


I know the answer (it's 42)

A blog on coding, .NET, .NET Compact Framework and life in general....

Identifying your Arduino board from code

For my IoT project I needed to write code slightly differently for specific Arduino boards. E.g. for...

Date: 02/21/2016

ESP8266 Wifi With Arduino Uno and Nano

If you are trying to add Wifi connectivity to an existing Arduino project or have serious...

Date: 01/23/2016

Publishing a ASP.NET 5 Web-Application to IIS Locally

I ran into few issues and discovered some kinks in publishing the new ASP.NET 5 Web-Application to...

Date: 12/22/2015

Dual Booting Ubuntu and Windows 10

Even though I hit a ton of online resources outlining the details, I struggled a lot getting this to...

Date: 11/17/2015

How to add a breakpoint in a managed generic method in windbg (sos)

This is not really a blog post but a micro-post. Someone asked me and since I couldn’t find any post...

Date: 10/21/2015

List of Modules loaded

While working on the .NET Loader and now in Bing where I am right now working on some features...

Date: 03/31/2015

.NET RyuJIT Rocks

As the CLR team announced a few days back, CTP for the new fast JIT from .NET (code named RyuJIT) is...

Date: 11/04/2014

.NET Just in Time Compilation and Warming up Your System

One of the primary obstacle we face while scaling our system is Just In Time (JIT) compilation of...

Date: 09/29/2014

Use of SuppressIldasmAttribute

We use ildasm in our build deployment pipeline. Recently one internal partner pinged me saying that...

Date: 09/17/2014

Fastest way to switch mouse to left handed

  I think I was born left handed, unfortunately I was brought up to be right handed. This was...

Date: 06/17/2014

.NET: NGEN, explicit loads and load-context promotion

If you want to know the conclusion and want to skip the details jump to the end for the climax :)....

Date: 02/18/2014

Dad loves Surface

I have given a surface to my daughter. A lot of my friends/family ask me how I like using Surface...

Date: 02/11/2014

.NET: Loading Native (NGEN) images and its interaction with the GAC

It’s common for people to think that NGEN works with strong named assemblies only and it places...

Date: 12/11/2013

NGEN Primer

I am planning to write couple of NGEN/GAC related posts. I thought I’d share out some introductory...

Date: 12/10/2013

.NET: Figuring out if your application is exception heavy

In the past I worked on a application which used modules from different teams. Many of these modules...

Date: 12/06/2013

Bing it on

In early 2008 I joined the CLR team to clean garbage (or to write Garbage Collectors :)). It has...

Date: 12/04/2013

Quick/Dirty Function Coverage using Windbg

To find code coverage at line and block granularity you need a full-fledged code coverage tool....

Date: 10/02/2013

Custom Resolution of Assembly References in .NET

Right now I am helping out a team with an assembly resolution conflict bug. I thought I’d share the...

Date: 09/29/2013

Arduino Fun – Door Entry Alarm

  Arduino UNO based door entry alarm Physical computing and “internet of things” is a super...

Date: 04/30/2013

Moving to Outlook from Google Reader

I am sure everyone by now knows that Google Reader is being shutdown. I am a heavy user of Google...

Date: 03/14/2013

C++/CLI and mixed mode programming

I had very limited idea about how mixed mode programming on .NET works. In mixed mode the binary can...

Date: 11/14/2012

Windows Phone 8: Evolution of the Runtime and Application Compatibility

Long time back at the wake of the release of Windows Phone 7 (WP7) I posted about the Windows Phone...

Date: 11/08/2012

Test Driven Development of a Generational Garbage Collection

These days everyone is talking about being agile and test driven development (TDD). I wanted to...

Date: 10/15/2012

Core Parking

For some time now, my main box got a bit slow and was glitching all the time. After some...

Date: 10/10/2012

WP7: CLR Managed Object overhead

A reader contacted me over this blog to inquire about the overhead of managed objects on the Windows...

Date: 02/02/2012

Delay Sending an Email

Like many engineer I am partially fueled by the engineers angst. I am not always able to vent it in...

Date: 01/05/2012

Windows Phone Mango: Under the hood of Fast Application Switch

Fast Application Switch of FAS is kind of tricky for application developers to handle. There are a...

Date: 10/24/2011

WP7 Mango: The new Generational GC

In my previous post “Mark-Sweep collection and how does a Generational GC help” I discussed how a...

Date: 06/14/2011

WP7 Mango: Mark-Sweep collection and how does a Generational GC help

About a month back we announced that in the next release of Windows Phone 7 (codenamed Mango) we...

Date: 06/08/2011

Emulator updates for the new Windows Phone Mango tools

  GPS One of the most requested feature for the emulator was support for sensor. Developers...

Date: 04/13/2011

Generational GC in Windows Phone Mango

  This is an announcement only post, do subscribe to this blog feed or on to...

Date: 04/13/2011

SIMD/ARM-NEON support in Windows Phone Mango

This is an announcement only post, do subscribe to this blog feed or on to...

Date: 04/10/2011

WP7: When does GC Consider a Local Variable as Garbage

  Consider the following code that I received: static void Foo() { TestClass t = new...

Date: 01/04/2011

Windows Phone 7 App Development: When does the GC run

If you are looking for information on the new Generational GC on Windows Phone Mango please visit...

Date: 07/29/2010

Inside the Windows Phone Emulator

Learn from the dev lead and PM of Windows Phone 7 Emulator on how it works and delivers the awesome...

Date: 05/12/2010

We Believe in Sharing

In Building NETCF for Windows Phone 7 series we put in couple of features to enhance startup...

Date: 04/28/2010

What’s this .NET Compact Framework thingy?

If you are following the latest Windows Phone stories than you have surely heard about the .NET...

Date: 03/18/2010

Comparing Windows Phone with .NET Compact Framework 3.5

In the comments of my previous post Windows Phone 7 Series Programming Model and elsewhere (e.g....

Date: 03/17/2010

Silverlight on Nokia S60 platform

Today at MIX 2010 we announced Silverlight beta for Nokia S60 phones. Go download the beta from...

Date: 03/14/2010

Windows Phone 7 Series Programming Model

Just sometime back I posted on the MIX 2010 announcements. One of the major aspects of the...

Date: 03/13/2010

Back to Basics: Memory leaks in managed systems

Someone contacted me over my blog about his managed application where the working set goes on...

Date: 01/04/2010

.NETCF: The mini Y2K

I am sure most people haven’t yet forgotten the Y2K problem. This year our team faced a mini Y2K,...

Date: 01/01/2010

Next>