13 references to AddDirectoryBrowser
Microsoft.AspNetCore.StaticFiles.Tests (12)
DefaultFilesMiddlewareTests.cs (2)
114services => { services.AddDirectoryBrowser(); services.AddRouting(); }); 154services => { services.AddDirectoryBrowser(); services.AddRouting(); });
DirectoryBrowserMiddlewareTests.cs (10)
30services => services.AddDirectoryBrowser())) 37services => services.AddDirectoryBrowser())) 44services => services.AddDirectoryBrowser()); 90services => services.AddDirectoryBrowser()); 129services => { services.AddDirectoryBrowser(); services.AddRouting(); }); 166services => { services.AddDirectoryBrowser(); services.AddRouting(); }); 223services => services.AddDirectoryBrowser()); 266services => services.AddDirectoryBrowser()); 317services => services.AddDirectoryBrowser()); 365services => services.AddDirectoryBrowser());
StaticFileSample (1)
Startup.cs (1)
10services.AddDirectoryBrowser();