'How to publish different solutions (and repositories) to the same project?

I have an Azure DevOps project that contains a solution that is published to an URL like custom.mycompany.com. Is it possible to publish another solution in a different repository to otherapp.custom.mycompany.com?

If so, how could I do this?



Solution 1:[1]

You can create a new git repository (as many as you want per project) using this guide: https://docs.microsoft.com/en-us/azure/devops/repos/git/create-new-repo?view=azure-devops

The question is why? Only one project into your solution is a web project.

You can use the same solution for multiple projects and websites mapping to alternate domains.

You can also create multiple folders/solutions into the same repository.

The repository organisation is a complex design. There are monorepo trends and multi repo trends. You can check pros and cons on various resources around the web.

Solution 2:[2]

I just find out how to do this.

You can create several App Services in a single App Service Plan. Then, it is possible to create repos and connect those repos with each App Service you have in an App Service Plan.

Then you have a lot of apps inside the same project.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Athanasios Kataras
Solution 2 Vinícius Mendonça