Hi Team
I am struggling to route to my page, what could i be missing below? I keep on getting this Error/Application.
- // Route to Courses.
- routes.MapRoute(
- name:"Courses",
- url:"courses-registration/",
- defaults: new {controller="Home", action="CoursesRegistration", url=UrlParameter.Optional}
- );
- //GET/Courses-List
- public ActionResult CoursesRegistration()
- {
- return View();
- }
- class="modal-footer">
- class="btn btn-secondary" data-dismiss="modal">Cancel
- class="btn btn-large btn-success" id="fire" href="@Url.Action("Courses-Registration","Home")">Create Courses

Jenith ThakkarRank #789 · 2.9K reputationPosted Aug 18, 2020, 4:26 AM EDT
Pankajkumar PatelRank #181 · 13.4K reputationPosted Aug 17, 2020, 7:22 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Aug 18, 2020, 1:33 AM EDT
Guest UserRank #877 · 2.5K reputationPosted Aug 18, 2020, 12:57 AM EDT
Navaneeth KrishnanRank #1,172 · 1.5K reputationPosted Aug 18, 2020, 4:48 AM EDT