Articles : Page 1 of 1

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


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



  • 1