11 references to UseDirectoryBrowser
Microsoft.AspNetCore.StaticFiles (2)
DirectoryBrowserExtensions.cs (1)
46
return app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
FileServerExtensions.cs (1)
90
app.
UseDirectoryBrowser
(options.DirectoryBrowserOptions);
Microsoft.AspNetCore.StaticFiles.Tests (9)
DirectoryBrowserMiddlewareTests.cs (9)
29
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions { Formatter = null }),
36
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions { FileProvider = null }),
84
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
121
app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
158
app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
217
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
261
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
311
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions
359
app => app.
UseDirectoryBrowser
(new DirectoryBrowserOptions