Articles : Page 1 of 2

  • Using SignalR to broadcast a slide deck

    Using SignalR to broadcast a slide deck

    Dec 11
    06

    Last week, Ive discussed Techniques for real-time client-server communication on the web (SignalR to the rescue). Weve seen that when building web applications, you often face the fact that HTTP, the foundation of the web, is a request/response protocol. A client issues a request, a server handles this request and sends back a response. All the time, with no relation between the first request and subsequent requests. Also, since its request-based, there is no way to send messages from the serv...


  • Techniques for real-time client-server communication on the web (SignalR to the rescue)

    Techniques for real-time client-server communication on the web (SignalR to the rescue)

    Nov 11
    29

    When building web applications, you often face the fact that HTTP, the foundation of the web, is a request/response protocol. A client issues a request, a server handles this request and sends back a response. All the time, with no relation between the first request and subsequent requests. Also, since its request-based, there is no way to send messages from the server to the client without having the client create a request first. Today users expect that in their projects, sorry, experience...


  • A first look at Windows Azure AppFabric Applications

    A first look at Windows Azure AppFabric Applications

    Jul 11
    07

    After the Windows Azure AppFabric team announced the availability of Windows Azure AppFabric Applications (preview), I signed up for early access immediately and got in. After installing the tools and creating a namespace through the portal, I decided to give it a try to see what it’s all about. Note that Neil Mackenzie also has an extensive post on “WAAFapps” which I recommend you to read as well. So what is this Windows Azure AppFabric Applications thing? Before answering that question, le...


  • Delegate feed privileges to other users on MyGet

    Delegate feed privileges to other users on MyGet

    Jun 11
    29

    One of the first features we had envisioned for MyGet and which seemed increasingly popular was the ability to provide other users a means of managing packages on another user’s feed. As of today, we’re proud to announce the following new features: Delegating feed privileges to other users – This allows you to make another MyGet user “co-admin” or “contributor” to a feed. This eases management of a private feed as that work can be spread across multiple people. Making private feeds privat...


  • Enabling conditional Basic HTTP authentication on a WCF OData service

    Enabling conditional Basic HTTP authentication on a WCF OData service

    Jun 11
    28

    Yes, 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...


  • MyGet now supports pushing from the command line

    MyGet now supports pushing from the command line

    Jun 11
    01

    One of the work items we had opened for MyGet was the ability to push packages to a private feed from the command line. Only a few hours after our initial launch, David Fowler provided us with example code on how to implement NuGet command line pushes on the server side. An evening of coding later, I quickly hacked this into MyGet, which means that we now support pushing packages from the command line! For those that did not catch up with my blog post overload of the past week: MyGet offers ...


  • Creating your own private NuGet feed: MyGet

    Creating your own private NuGet feed: MyGet

    May 11
    31

    Ever since NuGet came out, Ive been thinking about leveraging it in a corporate environment. I'veseen two NuGet server implementations appear on the Internet: the official NuGet gallery server and Phil Haacks NuGet.Server package. As these both are good, theres one thing wrong with them: you can't be lazy! You haveto do some stuff you dont always want to do, namely: configure and deploy. After discussing some ideas with my colleague Xavier Decoster, we decided its time to turn our heads into...


  • Referencing Routes in ASP.NET MVC The Rails Way

    Referencing Routes in ASP.NET MVC The Rails Way

    May 11
    30

    Routing is probably the most confusing aspect of working with ASP.NET MVC. It’s hard to craft a groovy URL - even harder to link properly off to that groovy URL. Rails leans on Ruby’s forgiving and friendly nature to make this a bit more simple - C#4 allows to get close to this as well. With Rails 3  you define a route in your config/routes.rb like this: match "order/receipt/:id" => "orders#receipt", :as => :receipt # receipt_url You can access this route anywhere in your application ...


  • A Glimpse at Windows Identity Foundation claims

    A Glimpse at Windows Identity Foundation claims

    May 11
    10

    For a current project, I’m using Glimpse to inspect what’s going on behind the ASP.NET covers. I really hope that you have heard about the greatest ASP.NET module of 2011: Glimpse. If not, shame on you! Install-Package Glimpse immediately! And if you don’t know what I mean by that, NuGet it now! (the greatest .NET addition since sliced bread). This project is also using Windows Identity Foundation. It’s really a PITA to get a look at the claims being passed around. Usually, I do this by putt...


  • 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...