URL Encode in .Net
C#: (ASP .Net)
System.Web.HttpUtility.UrlEncode()
C#: (Client/Server Environment)
Uri.EscapeUriString()
References
MSDN, WebUtility Classhttp://msdn.microsoft.com/en-us/library/system.net.webutility.aspx
MSDN, Uri Classhttp://msdn.microsoft.com/en-us/library/system.uri.escapeuristring.aspx
MSDN blogs, http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
Posted on January 13, 2011, in Programming & Development and tagged .net, c#, client app, client application, client server, client server app, client server application, clientside, code, decode, dev, development, encode, encoding, escapeuristring, httputility, program, programming, system, system.web, system.web.httputility, uri, url, urlencode, urn, vb, web, web application, website. Bookmark the permalink. Leave a comment.
Leave a comment
Comments 0