Static Web Sites with Azure Blob Storage, Angular and Serverless Azure Functions verses ASP.NET Core Kestrel Web App

Siegfried Heintze 1,906 Reputation points
2020-11-19T22:18:09.147+00:00

I was please to discover that I could create a cheap web site: storage-blob-static-website-host. Where can I learn more about the features of the the web servers that serve azure blobs?

Let's suppose I create such a web site (as described in the link above) with a common standard Angular CDN and make REST calls to an Azure serverless function to manipulate a database.

What features might I be missing that would normally be available with a site hosted by IIS or a ASP.NET Core Web app that uses Kestrel?

For example, would I have the CORs (cross origin request) feature and session cookies (or any kind of cookies)?

If I got a lot of traffic, would the web server provided by blob storage scale out?

Thanks
Siegfried

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,199 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2020-11-20T18:41:54.183+00:00

    @Siegfried Heintze
    For more information on static websites you can refer to the documentation here. Azure Storage does not yet natively support HTTPS with custom domains; so you will have to use Azure CDN if that is a requirement. There's no way to configure headers as part of the static website feature. However, you can use Azure CDN to add headers and append (or overwrite) header values. CORS is not support for static websites. The website should be able to scale based on the performance of the storage account.

    Hope this helps! Let us know if you have further questions or concerns and we will be happy to help.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2020-12-07T20:07:30.443+00:00

    @Siegfried Heintze My sincere apologies for the delay following up. To add headers and append (or overwrite) header values you can use the CDN rules engine. There is a helpful blog post which walks through setting up a Custom header.

    As for implementing session cookies that is not something I have dealt with. However I did find this StackOverflow thread which might be helpful.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.