Create a gist now

Instantly share code, notes, and snippets.

Running Vue.js on ASP.NET Core Web Application
[Route("api")]
public class ApiController : Controller
{
[Route("hello")]
[HttpGet]
public IActionResult Hello()
{
var msg = new { Message = "Hello World" };
return this.Ok(msg);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment