Search code examples
asp.net-coreazure-blob-storageazure-storage-explorer

how to read html file from azure storage explorer


how to read .html file from Azure storage explorer. through connectionstring can able to access blob. string Template = bloburl + "file.html";


Solution

  •                         var url = TemplateMain;
                            var httpClient = new HttpClient();
                            var html = await httpClient.GetStringAsync(url);
    

    i have tried using GetStringAsync and its working fine.

    GetStringAsync