python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Virtual Directory accessible from IIS, but not from website
I am completely new to IIS and would like to host a website with a virtual directory.
I've got a working website A with domain https://mydomain.lan:3002, hosted using IIS in C:\inetpub\wwwroot.
I woul...
Iridium
Votes: 0
Answers: 0
mapping virtual path to physical path asp net core
Given an url http://localhost:5000/UploadFolder/filename.pdf as a virtual path, i want to get the physical path name that is connected to the virtual directory that i've made.
how to read the files i...
stucknubie
Votes: 0
Answers: 0
Virtual Directory Path in ASP.NET Core and C#
I've created a virtual directory in IIS, and I have a file that I want to get - like example.pdf. How do I get the virtual directory path and read the file in bytes? server.MapPath doesn't work in ASP...
stucknubie
Votes: 0
Answers: 1
ReadAllBytesAsync(path) path always combined with the contentrootpath
I want to return a files from virtual path directory, currently this is my code in C# asp net core.
var path = GetConfig.AppSetting["VirtualDirectoryPath:PathLocal"] + "/" +
...
stucknubie
Votes: 0
Answers: 1