Compartir a través de


DirectoryBrowserExtensions.UseDirectoryBrowser Método

Definición

Sobrecargas

UseDirectoryBrowser(IApplicationBuilder)

Habilitación de la exploración de directorios en la ruta de acceso actual

UseDirectoryBrowser(IApplicationBuilder, DirectoryBrowserOptions)

Habilita el examen de directorios con las opciones dadas

UseDirectoryBrowser(IApplicationBuilder, String)

Habilita la exploración de directorios para la ruta de acceso de solicitud especificada.

UseDirectoryBrowser(IApplicationBuilder)

Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs

Habilitación de la exploración de directorios en la ruta de acceso actual

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDirectoryBrowser(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseDirectoryBrowser : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDirectoryBrowser (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

Devoluciones

Comentarios

Los archivos se sirven desde la ruta de acceso especificada en WebRootPath o WebRootFileProvider en la subcarpeta "wwwroot".

Se aplica a

UseDirectoryBrowser(IApplicationBuilder, DirectoryBrowserOptions)

Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs

Habilita el examen de directorios con las opciones dadas

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDirectoryBrowser(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::DirectoryBrowserOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DirectoryBrowserOptions options);
static member UseDirectoryBrowser : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.DirectoryBrowserOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDirectoryBrowser (app As IApplicationBuilder, options As DirectoryBrowserOptions) As IApplicationBuilder

Parámetros

Devoluciones

Se aplica a

UseDirectoryBrowser(IApplicationBuilder, String)

Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs
Source:
DirectoryBrowserExtensions.cs

Habilita la exploración de directorios para la ruta de acceso de solicitud especificada.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDirectoryBrowser(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, System::String ^ requestPath);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDirectoryBrowser (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string requestPath);
static member UseDirectoryBrowser : Microsoft.AspNetCore.Builder.IApplicationBuilder * string -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDirectoryBrowser (app As IApplicationBuilder, requestPath As String) As IApplicationBuilder

Parámetros

requestPath
String

Ruta de acceso de solicitud relativa.

Devoluciones

Comentarios

Los archivos se sirven desde la ruta de acceso especificada en WebRootPath o WebRootFileProvider en la subcarpeta "wwwroot".

Se aplica a