Articles : Page 1 of 1
-
ASP.NET Web API (Part 1)
Feb 1224Earlier 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...
-
UGIALT.net conf sessions are published
Dec 1111The voting for the UGIALT.net conference just ended, and just in time for the opening of the registration at noon we published, on the new web site the list of the 19 sessions chosen by the more than 180 voters: Perché a fare i preventivi facciamo così schifo? (Cristiano Rastelli) DDD Brutto Sporco e Cattivo (Alberto Brandolini) Organize your chickens: NuGet for the enterprise (Xavier Decoster) SignalR. Code, not toothpaste. Using SignalR for realtime client/server communication (Maarten ...
-
Rewriting WCF OData Services base URL with load balancing & reverse proxy
Nov 1108When 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 ...
-
Enabling conditional Basic HTTP authentication on a WCF OData service
Jun 1128Yes, a long title, but also something I was not able to find too easily using Google. Here’s the situation: for MyGet, we are implementing basic authentication to the OData feed serving available NuGet packages. If you recall my post Using dynamic WCF service routes, you may have deducted that MyGet uses that technique to have one WCF OData service serving the feeds of all our users. It’s just convenient! Unless you want basic HTTP authentication for some feeds and not for others… After doin...
-
Now Visual Studio 2010 supports new web standards
Jun 1116Today the Web Platform and Tools team (I can see the influence of Mads in this) announced the release of the Web Standards Update for Microsoft Visual Studio 2010 SP1. What sits behind this cryptic name? Shouldn’t Visual Studio already support web standards? Actually, not the latest ones. In January Microsoft released the support for HTML5 in the context of intellisense and validation in VS2010 SP1, but all the other related standards, CSS3 and all the new JavaScript standards were left o...
-
Announcing the Web Standards Update - HTML5 Support for the Visual Studio 2010 Editor
Jun 1115Folks 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
May 1125I 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
May 1109For 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...
- 1

