PrimeHotel – passing parameters to actions – assignments

This is a post with assignments to do if you would like to check your knowledge about ASP.NET Core in .NET 5. This one is about passing parameters to controller actions, which is a crucial thing to master when developing micro-services. You don’t need to start from scratch, you can base on a PrimeHotel project,… Continue reading PrimeHotel – passing parameters to actions – assignments

ASP.Net Core 3 – pass parameters to actions

Passing parameters to actions is an essential part of building RESTful Web API. .Net Core offers multiple ways to pass parameters to methods, that represent your endpoints. Let’s see what they are. Pass parameter as a part of an url When passing a parameter in a url, you need to define a routing that would contain… Continue reading ASP.Net Core 3 – pass parameters to actions