Share via

App Service / Function App with .NET and Angular at same time

Bruno Caruso 41 Reputation points
2022-12-21T18:02:35.067+00:00

Hi everyone,

I have 2 repos with frontend and backend for my app.

I have a frontend repo made with Angular (with Ionic) for frontend and a .NET backend repo with .csproj file

Can i deploy both repos with Azure Pipelines to a unique Function App?

To enter at the frontend with: MyApp.azurewebsites.net and my backend with: MyApp.azurewebsites.net/api

Thanks!

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author
  1. Michael Taylor 61,206 Reputation points
    2022-12-21T20:35:38.343+00:00

    Function apps aren't for UIs so no. Function apps are basically backend process runners that can either be triggered or scheduled to run. They do some work and then shutting down until triggered (or scheduled) again. There is no UI.

    You can host your front end app in an Azure App Service. It is basically a clouded web server. Your backend can also be hosted in Azure App Service as that makes the most sense here if it is the API for your app frontend. Alternatively you can combine both the front and back end apps into a single project and use App Service to host just one binary. It is up to you.


0 additional answers

Sort by: Most helpful

Your answer

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