Add routePrefix documentation (update host.json sample in wiki)
See original GitHub issueThank you for 0.7 new release with custom routes ✨
One of the new features is :
allow for the default “api” route prefix to be customized or completely removed via host.json
Please update host.json sample in wiki with :
{
"http": {
// The default value is "api". An empty string will completely remove the prefix.
"routePrefix": "api"
}
}
Sources :
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
host.json reference for Azure Functions 2.x and later
Reference documentation for the Azure Functions host.json file with the v2 runtime.
Read more >Routerprefix not working in Azure Functions
Specifying the routePrefix in the host.json file the way you did in your example should be enough. I tested this locally and it...
Read more >Tavenem.Wiki.Blazor.Server 0.5.5-preview
The client package should be installed in your Blazor client app, and the server library can optionally be installed in your host app....
Read more >Lesson 3 - Create a RESTful API
Update the RoutePrefix attribute to wikipedia-management. using Relativity. ... In the sample URL, <host> refers to the Relativity instance's base URL.
Read more >RESTful APIs and Swagger (OpenAPI) in Azure Functions
By default, Azure Functions uses api as its route prefix. ... If we want to customize the prefix, we can edit host.json in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve created a wiki page here, and I also updated the host.json wiki page.
I’m planning on writing up some detailed instructions for http in general in our wiki. I’ll address this as well when I do that.
There are some other host level knobs that we’ve added recently that aren’t included in our existing host.json/function.json doc. I’ll work to address those as well.