开发者

uri manipulation class .net

开发者 https://www.devze.com 2023-01-25 21:37 出处:网络
Is there a decent OSS URI manipulation class for .NET? Please dont suggest the BCL Uri c开发者_运维问答lass, or all other manner of manual hacks I could do around that almost useless thing.

Is there a decent OSS URI manipulation class for .NET?

Please dont suggest the BCL Uri c开发者_运维问答lass, or all other manner of manual hacks I could do around that almost useless thing.

I'm looking for a robust library to handle taking uris of all different forms (relative, absolute, with/without query string etc) that lets me access and manipulate all the fragments in an elegant way.

Thanks


Is System.Uri really that bad? I use it extensively, along with UriBuilder, and have never had any issues with it...


When it comes to URL rewriting there are two ways you can go, you can either do it with a comprehensive IIS extension available at http://www.iis.net/download/URLRewrite . However, if you're using a shared hosting account there's a way do it through asp.net called Routing. you can read more about it here. You can read more about it at msdn.microsoft.com/en-us/library/cc668201.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消