Get BaseURL With Publish Folder Name in IIS

var baseUrl = '@Request.ApplicationPath';
        if (baseUrl == "/") {
            baseUrl = "";
        }
        console.log(baseUrl);

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Microsoft Access Connectivity from C#

Tool 'dotnet-ef' failed to install. dotnet core