Hongye Sun's Blog

ASP.NET Web API OData - Support Composite Key

The default EntitySetController doesn't support composite keys. So if you have composite key models,...

Author: Hongye Sun - MSFT Date: 02/05/2013

Loop Reference handling in Web API

The Issue It's very common to have circular reference in models. For example, the following models...

Author: Hongye Sun - MSFT Date: 09/04/2012

Support $format in ASP.NET Web Api

OData protocal defines $format to support different format:...

Author: Hongye Sun - MSFT Date: 09/02/2012

Single Page Application with Backbone.js and ASP.NET Web API

Spa is quite hot right now. There are many client choices. The reason why I chose backbone.js is...

Author: Hongye Sun - MSFT Date: 08/30/2012

Using Razor Template Engine in Web API Self Host Application

[Update 8/15/2012] Update sample to Web API RTM packages As Web API is released with ASP.NET MVC 4...

Author: Hongye Sun - MSFT Date: 03/12/2012

AutoF5 1.3 Published: Support Dynamically Loading CSS files

If you are first time here, please read my previous post:...

Author: Hongye Sun - MSFT Date: 11/04/2011

Introducing to AutoF5 Nuget Package: Live Editing in ASP.NET

The problem: It is always annoying to switch between Visual Studio and browser back and forth when...

Author: Hongye Sun - MSFT Date: 11/02/2011

Enable TFS Trace

Enable Component Trace in TFS AT How to: Use Web Services to Enable and Configure Trace for Team...

Author: Hongye Sun - MSFT Date: 12/03/2009