Azure / Azure-Functions

1.1k stars 189 forks source link

Allow HttpTrigger to have empty routes #2473

Open brennfoster opened 2 months ago

brennfoster commented 2 months ago

In ASP.NET Core Web API, I can have an empty route on a controller that resolves when using the root url. When using Azure Function HttpTrigger, an empty route is currently impossible, even when using the ASP.NET Core Integration, and when disabling the home page.

Why is this behavior so different?

I should be able to have empty routes on an HttpTrigger.