Articles : Page 1 of 1

  • Implementing an Authorization Attribute for WCF Web API

    Implementing an Authorization Attribute for WCF Web API

    Oct 11
    20

    If you’re not familiar with WCF Web API, it’s a framework with nice HTTP abstractions used to expose simple HTTP services over the web. It’s focus is targeted at applications that provide HTTP services for various clients such as mobile devices, browsers, desktop applications. In some ways, it’s similar to ASP.NET MVC as it was developed with testability and extensibility in mind. There are some concepts that are similar to ASP.NET MVC, but with a twist. For example, where ASP.NET MVC has fi...


  • NuGet Package of the Week #9 - ASP.NET MiniProfiler from StackExchange rocks your world

    NuGet Package of the Week #9 - ASP.NET MiniProfiler from StackExchange rocks your world

    Jul 11
    22

    I LOVE great debugging tools. Anything that makes it easier for me to make a site correct and fast is glorious. I've talked about Glimpse, an excellent firebug-like debugger for ASP.NET MVC, and I've talked about ELMAH, and amazing logger and error handler. Now the triad is complete with MiniProfiler, my Package of the Week #9. Yes, #9. I'm counting System.Web.Providers as #8, so phooey. ;) Hey, have you implemented the NuGet Action Plan? Get on it, it'll take only 5 minutes: NuGet Action...


  • Hide HTTP headers Server X-Powered-By

    Hide HTTP headers Server X-Powered-By

    Aug 10
    12

    There are a number of infrastructure details that are passed with your HTTP response headers when serving a page. The security conscious developers out there will be aware that hackers and other malicious people will enjoy learning that information to target their exploits for that framework. If you want to remove the HTTP response headers of Server, X-Powered-By, X-AspNet-Version, X-AspNetMvc-Version or any others I will show you how. I will show you the less hacky ones first. I.e. the ones ...

    • Routing
    • Security


  • 1