9 references to UseDefaultFiles
Microsoft.AspNetCore.StaticFiles (2)
DefaultFilesExtensions.cs (1)
46return app.UseDefaultFiles(new DefaultFilesOptions
FileServerExtensions.cs (1)
85app.UseDefaultFiles(options.DefaultFilesOptions);
Microsoft.AspNetCore.StaticFiles.Tests (7)
DefaultFilesMiddlewareTests.cs (7)
20using (await StaticFilesTestServer.Create(app => app.UseDefaultFiles(new DefaultFilesOptions { FileProvider = null }))) 64app.UseDefaultFiles(new DefaultFilesOptions 103app.UseDefaultFiles(new DefaultFilesOptions 143app.UseDefaultFiles(new DefaultFilesOptions 212app.UseDefaultFiles(new DefaultFilesOptions 257using var host = await StaticFilesTestServer.Create(app => app.UseDefaultFiles(new DefaultFilesOptions 312using var host = await StaticFilesTestServer.Create(app => app.UseDefaultFiles(new DefaultFilesOptions