-
-
Save justinyoo/a8d49594556e0afd53da7eec10488d86 to your computer and use it in GitHub Desktop.
Running Vue.js on ASP.NET Core Web Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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