Avatar of ViceroyFizzlebottom
ViceroyFizzlebottom
Flag for United States of America asked on

Http Module for Rendering Hyperlinks to Lowecase (MVC 4, IIS 6)

I currently work on a site which is pretty massive. Anyway, there are a large number of URLs which are getting rendered in mixed case such as "http://mysite.com/mySubDir/someOtherthing"

So basically I need a way to render those links in lowercase. I was looking at a custom HttpModule, but I'm not sure where in the process to put it or what event to respond to etc.

Any assistance is appreciated.
ASP.NET

Avatar of undefined
Last Comment
ViceroyFizzlebottom

8/22/2022 - Mon
GlobaLevel

The order tends to go by the order they're created in the <httpModules>
section. Sometimes.... when you want yours to fire before a built-in
one, so you have to use <remove /> in web.config sometimes then <add /> yours,
then <add /> back in the one that you had previously removed.
ASKER CERTIFIED SOLUTION
GlobaLevel

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ViceroyFizzlebottom

ASKER
Link not too helpful
Your help has saved me hundreds of hours of internet surfing.
fblack61