Posted on: 9/6/2015 11:02:00 AM | Views : 758

Hello all,  I'm fairly new to web development with .net, so bear with me.  When adding a view for a controller, I'm adding some test code that responds with a string when I hit it with a get request.  This responds with the appropriate string.
// // GET: /HelloWorld/ public ActionResult Index() { return View(); } //GET: /welcome/ public String welcome(String name, int id = 1) { return HttpUtility.HtmlEncode("Hello " + name + ", id: " + id); } //GET: /ID_only/ public String ID_only(int id = -1) { return HttpUtility.HtmlEncode("hello id " + id); } After that, I've been trying to add a .cshtml view, and have it return the view when I hit the server with the appropriate get&nb ...

Go to the complete details ...