How to make Web API routing ignore parameters when matching

I recently had a scenario where I was using an action filter to pass parameter values into a Web API controller's parameters.  The problem I ran into is that unless you do some hacky stuff, there isn't an option to do this OOTB.  By hacky, I mean defaulting values like [HttpGet] [Route("")] public IHttpActionResult Get(string... Continue Reading →

Advertisements

Referencing different resources via configuration

Minifying and obfuscating your resources (CSS/JS) is a great practice.  It reduces bandwidth and makes it harder for users to look at what your JS is doing.  However, you don't want that in your dev or QA environments where you probably need to look at the JS to debug an issue.  And, chances are, staging... Continue Reading →

Create a website or blog at WordPress.com

Up ↑