How to make Web API routing ignore parameters when matching — Capable Devs


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 […]

via How to make Web API routing ignore parameters when matching — Capable Devs

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s