adriancs.AutoRoute 1.0.0

dotnet add package adriancs.AutoRoute --version 1.0.0                
NuGet\Install-Package adriancs.AutoRoute -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="adriancs.AutoRoute" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add adriancs.AutoRoute --version 1.0.0                
#r "nuget: adriancs.AutoRoute, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install adriancs.AutoRoute as a Cake Addin
#addin nuget:?package=adriancs.AutoRoute&version=1.0.0

// Install adriancs.AutoRoute as a Cake Tool
#tool nuget:?package=adriancs.AutoRoute&version=1.0.0                

Auto-Route

Automatically Route All Pages at Once in ASP.NET WebForms

The idea of the code behind: https://github.com/adriancs2/Auto-Route/wiki

How to Use This Library

First, add the Nuget package of adriancs.AutoRoute.

Then, add a Global Application Class into the project:

alternate text is missing from this package README image

Open the file:

alternate text is missing from this package README image

To route ASPX pages at specific folder:

protected void Application_Start(object sender, EventArgs e)
{
    // route all aspx pages in the project
    // scan through all folders (including folders of javascript, images, css)
    AutoRoute.RouteAllPages();

    // route all aspx pages in specific folder, including sub-folders
    AutoRoute.Route("~/pages", true);

    // route all aspx pages in specific folder, do not include pages in sub-folders
    AutoRoute.Route("~/pages", false);
}
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 193 5/2/2023

Automatic route all ASP.NET pages (.aspx).