Find Jobs
Hire Freelancers

Url to replace space with Hyphen and other special chars in MVC-Razor

$10-30 USD

Cancelled
Posted over 8 years ago

$10-30 USD

Paid on delivery
I am using ASP.NET MVC Razor C# with Attribute Routes In my Category form when I click on Edit. it opens the Url like below: http://localhost:38812/Category/Database%20Design I am trying to change the Url like below http://localhost:38812/Category/Database-Design Here the problem is, when I go to database to search for the category based details..it does not search because there is no category with the name of Database-Design. It exist as Database Design with space. Is there any way to not include the Id in Url and so we can also achieve the below Url? : http://localhost:38812/Category/Database-Design Same query has already been posted here: [login to view URL] Please check the comments also.
Project ID: 8482112

About the project

10 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of INDIA
Sangrur, India
4.8
266
Payment method verified
Member since Oct 26, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.