In the last post we created new aurelia and web api projects. In this series I’ll show how to create aurelia routes and web api endpoints. Aurelia Application with Web API series will continue.
Aurelia Application with Web API – Routing and Api Endpoints
I think you know what’s the route. But you don’t know how to create route with aurelia and endpoints with C#. Firstly I’ll show Web API endpoints.
We need to understand Controller class. Because our endpoint will be in the controller class. Each Controller class should start like this: MyEnpointController. For example: