Quantcast
Channel: Digital Transition » .NET
Viewing all articles
Browse latest Browse all 10

Resolving relative to absolute path in ASP.NET

$
0
0
Resolving relative paths to absolute paths isn’t that hard when you’re working with normal system paths. You can simply use System.IO.Path.GetFullPath("./relative_path"); However when working with ASP.NET, this can be a little trickier. Because the current folder depends on the code that is calling your code, which switches around a bit in ASP.NET. The best way [...]

Viewing all articles
Browse latest Browse all 10

Trending Articles