e.g. it may not need Razor & WebPages. The idea is to reduce the memory footprint.
We should be able to these references from Kudu.Services:
You mean none of these are used at runtime? e.g. I'm pretty sure we use at least XmlSettings.
In Kudu.Service.Web not all odata references are used.
Maybe this package 'Microsoft.AspNet.WebApi.OData' can be split.
I think some of those assemblies are used dynamically even if they're not direct references. Specifically, they get used in this action:
public IQueryable<DeployResult> GetDeployResults()
when you pass an OData query on the URL.
We actually need the Mvc/WebPages references for the WebAPI help page. But in Azure, we disabled that and those DLLs are excluded.