In .NET 4.0, whats the equivalent function to IO.Path.GetFileName
for urls?
You can use Server.MapPath() to map a physical path from a virtual path.
Additionally, there are a number of methods within the HTTPUtility that will help you map various different types of path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With