Articles : Page 1 of 1

  • ASP.NET Web API (Part 1)

    ASP.NET Web API (Part 1)

    Feb 12
    24

    Earlier this week I blogged about the release of the ASP.NET MVC 4 Beta. ASP.NET MVC 4 is a significant update that brings with it a bunch of great new features and capabilities. One of the improvements I’m most excited about is the support it brings for creating “Web APIs”. Today’s blog post is the first of several I’m going to do that talk about this new functionality. Web APIs The last few years have seen the rise of Web APIs - services exposed over plain HTTP rather than through a more f...


  • Rewriting WCF OData Services base URL with load balancing & reverse proxy

    Rewriting WCF OData Services base URL with load balancing & reverse proxy

    Nov 11
    08

    When scaling out an application to multiple servers, often a form of load balancing or reverse proxying is used to provide external users access to a web server. For example, one can be in the situation where two servers are hosting a WCF OData Service and are exposed to the Internet through either a load balancer or a reverse proxy. Below is a figure of such setup using a reverse proxy. As you can see, the external server listens on the URL www.example.com, while both internal servers are ...


  • Announcing the Web Standards Update - HTML5 Support for the Visual Studio 2010 Editor

    Announcing the Web Standards Update - HTML5 Support for the Visual Studio 2010 Editor

    Jun 11
    15

    Folks have been asking When will VS2010 support HTML5? I've been saying, jokingly, that the answer is yesterday as there's nothing keeping you from creating HTML5 in Visual Studio or ASP.NET today. However, there's no intellisense and there's lots of squiggly lines that make people uncomfortable. Combine all that with the fact that HTML5 is a moving target, and it's unclear. We've said before that the next version of Visual Studio will have better support HTML5, but what about today? Today,...


  • NuGet for the Enterprise: NuGet in a Continuous Integration Automated Build System

    NuGet for the Enterprise: NuGet in a Continuous Integration Automated Build System

    May 11
    25

    I had the pleasure of speaking at TechEd 2011 North America last week in Atlanta. You can see ALL the videos of all the sessions on Channel 9. As an aside, you might notice that they are in the process of organizing video archives of ALL Microsoft developer events at http://channel9.msdn.com/Events. You can even see PDC 1999 if you like or see sessions by Speaker at http://channel9.msdn.com/Events/Speakers. Here are all my talks with a horrible headshot that I plan on asking Duncan to swap ou...


  • Using dynamic WCF service routes

    Using dynamic WCF service routes

    May 11
    09

    For a demo I am working on, I’m creating an OData feed. This OData feed is in essence a WCF service which is activated using System.ServiceModel.Activation.ServiceRoute. The idea of using that technique is simple: map an incoming URL route, e.g. “http://example.com/MyService” to a WCF service. But there’s a catch in ServiceRoute: unlike ASP.NET routing, it does not support the usage of route data. This means that if I want to create a service which can exist multiple times but in different con...


  • How To Find Out Which NuGet Packages Depend on Yours

    How To Find Out Which NuGet Packages Depend on Yours

    Feb 11
    24

    Renaming a package ID is a potentially destructive action and one we don’t recommend doing. Why? Well if any other packages depend on your package, you’ve effectively broken them if you change your package ID. For example, today I wanted to rename a poorly named package, MicrosoftWebMvc, to Mvc2Futures. What I ended up doing is recreating the same package with the new ID and uploading it. That way existing packages that depend on MicrosoftWebMvc aren’t broken. But now, I have two packages ...


  • Building a Self Updating Site Using NuGet

    Building a Self Updating Site Using NuGet

    Jan 11
    16

    For those of you who enjoy learning about a technology via screencast, I’ve recorded a video to accompany and complement this blog post. The screencast shows you what this package does, and the blog post covers more of the implementation details. A key feature of any package manager is the ability to let you know when there’s an update available for a package and let you easily install that update. For example, when we deployed the release candidate for NuGet, the Visual Studio Extension M...


  • ASP.NET and HTML5 Local Storage

    ASP.NET and HTML5 Local Storage

    Jan 11
    12

    My favorite feature of HTML5, hands-down, is HTML5 local storage (aka DOM storage). By taking advantage of HTML5 local storage, you can dramatically improve the performance of your data-driven ASP.NET applications by caching data in the browser persistently. Think of HTML5 local storage like browser cookies, but much better. Like cookies, local storage is persistent. When you add something to browser local storage, it remains there when the user returns to the website (possibly days or month...


  • NuGet CTP 2 Released!

    NuGet CTP 2 Released!

    Nov 10
    09

    My team has been hard at work the past few weeks cranking out code and today we are releasing the second preview of NuGet (which you may have heard referred to as NuPack in the past, but was renamed for CTP 2 by the community). If you’re not familiar with what NuGet is, please read my introductory blog post on the topic. For a detailed list of what changed, check out the NuGet Release Notes. To see NuGet in action, watch the talk that Scott Hanselman’s gave at the Professional Developer’s ...



  • 1