Created
May 8, 2020 11:26
-
-
Save CoreProgramm/302850c622921fa4bdf615804f032e3e to your computer and use it in GitHub Desktop.
Difference between AddMVC() and AddMvc() Core
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
public class HomeController : Controller | |
{ | |
public JsonResult Index() | |
{ | |
return Json(new { Name = "John Smith", Country = "USA", Designation = "Software Engineer" }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment