Skip to content

Investigate whether Kudu service has some unused references we can yank #216

davidebbo opened this Issue Nov 15, 2012 · 5 comments

3 participants

projectkudu member

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:

  • Microsoft.AspNet.Mvc
  • Microsoft.AspNet.Razor
  • Microsoft.AspNet.WebPages
  • Microsoft.Web.Infrastructure
  • WebActivator
  • XmlSettings
projectkudu member

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.

projectkudu member

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.

@davidebbo davidebbo was assigned Nov 26, 2012
projectkudu member

We actually need the Mvc/WebPages references for the WebAPI help page. But in Azure, we disabled that and those DLLs are excluded.

@davidebbo davidebbo closed this Jan 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.