I am using .NET 3.5.
Both solutions described here (property "genericUriParserOptions"in the configuration file and constructor parameter "dontEscape") do not work for .NET 3.5.
I want the constructor URInot to be deleted (which means I want you to have shielded parts URL). Now I can not use the configuration file with
genericUriParserOptions="DontUnescapePathDotsAndSlashes"
bacause this property is available only for .NET 4.0. But I can not use the parameter "dontEscape"in the constructor URI, because the constructor is deprecated in .NET 3.5 and always false.
How can I create URIwith escaped string in .NET 3.5?
source
share