question

FelipePeretti-2815 avatar image
0 Votes"
FelipePeretti-2815 asked PramodValavala-MSFT answered

Application Service or Azure Functions???

Hello, I need to host a static website (html, css, js) in azure and integrate it with the database. However I am in doubt if I build an API with application service or with the functions of azure. Another question would be, if the hosting of a static website could only be performed by the application service.

azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@FelipePeretti-2815 Azure Static Web Apps are a solution designed for scenarios like this that leverage Azure Functions for APIs. Azure Functions can achieve anything a regular App Backend can with slight differences in how they can be implemented.

The actual decision would depend on factors like any existing code you have and/or the language of choice. As far as scale is concerned, both should have similar performance based on the chosen plan.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.