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

Create a website or blog at WordPress.com

Up ↑