Simple Aurelia Application with Web API – 2

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

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.

Web API

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:

Simple Aurelia Application with Web API

Hi. I’m very excited because this post will be the second post I wrote about aurelia. In this post I’ll show Simple Aurelia Application with Web API. If you don’t know what’s it Web API you can click this link.

Requirements

As you might guess you need to install Aurelia and Dotnet Core. If you use Windows don’t worry about it. Because you have everything to create sample application with dotnet core when you install VS 2017. If you use Mac or Linux be relax. Because there is a Visual Studio for Mac.

Linux Users? I’m so sorry but
Devamını Oku