URL parsing and manipulation in .NET(damieng.com)

submitted by DamienGDamienG(1405) 5 years, 10 months ago

While .NET has a couple of URI classes they're pretty useless. They don't decode the various parts and you can't manipulate them either. Many projects I've seen (Subtext included) just try and manipulate them via strings which varying degrees of success. Here's a pure C# .NET URL decoder that uses a regex I developed for performance based on a VBScript class I developed a while back.

2 comments |category: |Views: 639

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by DamienGDamienG(1405) 5 years, 10 months ago 0

Sorry Subtext messed with the URL when I revised the article slightly and now refuses to put it at the original URL. Thew new URL is;

http://www.damieng.com/blog/archive/2006/07/07/URL_parsing_and_manipulation_in_.NET.aspx

Reply

posted by gavinjoycegavinjoyce(25.7k) 5 years, 10 months ago 0

I have updated the URL

Reply

information Login or create an account to comment on this story