- This was built against dotnet6. It may or may not work against other versions.
Create a new webapi project using
dotnet new webapi
Change Program.cs to:
using Irudd.Api;
var app = ApiApplication.Create();
app.Run();
- Add apis by creating normal controllers but inherit from IruddApiController instead of BaseController.
- You don't need the [ApiController] decoration since that is included on IruddApiController.