5 references to UseContentRoot
Microsoft.AspNetCore (1)
WebHost.cs (1)
167builder.UseContentRoot(Directory.GetCurrentDirectory());
Microsoft.AspNetCore.Mvc.Testing (2)
WebApplicationFactory.cs (2)
427builder.UseContentRoot(contentRoot); 495builder.UseContentRoot(settingValue);
Microsoft.AspNetCore.Server.IIS (1)
WebHostBuilderIISExtensions.cs (1)
35hostBuilder.UseContentRoot(contentRoot);
Microsoft.AspNetCore.TestHost (1)
WebHostBuilderExtensions.cs (1)
199builder.UseContentRoot(Path.GetFullPath(Path.Combine(directoryInfo.FullName, solutionRelativePath)));