no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
dotNet Core
Multiple Get Methods with the Action Method Selector Attribute in .NET Core
In .NET Core Web Api it is not possible for the routing mechanism to distinguish between two action methods with different query string parameters. But with the help of an ActionMethodSelectorAttribute you can tell the methods apart.
Aug 15, 2017
#
dotNet Core
,
AspNet
,
Routing
,
WebApi
,
ActionMethodSelectorAttribute
Web Api Routing in .NET Core
Full source code available here. Routing in .NET Core Web Api (1.1 and 2) is a little different than in earlier versions. I’ve written about this a few times, you can find those posts here.
Jul 15, 2017
#
dotNet Core
,
AspNet
,
Routing
,
WebApi
Fluent Validation in ASP.NET Core
Full source code available here. I have written about Fluent Validation a couple of times. There is a new library available for .Net Core. How to return to validation messages back to the caller is not immediately obvious.
Jun 7, 2017
#
dotNet Core
,
AspNet
,
Fluent Validation
,
WebApi
«
Cite
×