Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


routing and urls in MVC 4

Posted on 2014-08-26
Medium Priority
Last Modified: 2014-08-27
I'm trying to handle my url's in my application. I want the user to be able to put in my application as
http://url/category/ and pass the category over to the Home controller's Index method and work with it from there. This seems it should be simple, but I keep getting 404 errors for the caregory name????

Question by:NickMalloy
1 Comment
LVL 96

Accepted Solution

Bob Learned earned 2000 total points
ID: 40287540
How is are the routes configured in the RouteConfig class?  Are you specifying that you want to include the optional "category" in the URL?

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question