dotnet / dotnet/aspnetcore

Let me map all routes (including Blazor components) from the application part to the specific path.

Open
#54,839 0 comments 0 reactions 0 assignees View on GitHub
area-mvc
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I'd like to develop modular monolith, so each module can be easily extracted into its own application.
I can have serverel APIs, WebUIs and I want to isolate them by url segments:
```
https://my-site.com/MuduleX/...
https://my-site.com/ModuleY/...
```

### Describe the solution you'd like

Currently, [`AddApplicationPart` method](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.mvccoremvcbuilderextensions.addapplicationpart?view=aspnetcore-8.0) does not let me specify path prefix. But I'd like to have this option.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.