ASP.NET Core API Routing

ASP.NET Core API Routing When creating a new API controller in a Web Application the template code created if you choose to include read/write actions provides a good overview of how to pass values through to the API methods and return results. The template assumes that the controller only has Read more…

Select List Enum Tag Helper

Select list enum tag helper. If you want to have a select list in a web page which is based on all the values in an enum then you can use the built in function “Html.GetEnumSelectList” with a tag helper. public enum PushType { Notification, Image, Action } <div class=”row”> Read more…