Skip to content

ASP.NET MVC Fluent Routing is a thin wrapper around the ASP.NET MVC attribute routing engine. With Fluent Routing you can define your routes using a fluent interface, but with the full power of the attribute routing engine (inline route constraints, optional URI parameters and default values).

License

Notifications You must be signed in to change notification settings

dotarj/FluentRouting

Repository files navigation

ASP.NET MVC Fluent Routing

ASP.NET MVC Fluent Routing is a thin wrapper around the ASP.NET MVC attribute routing engine. With Fluent Routing you can define your routes using a fluent interface, but with the full power of the attribute routing engine (inline route constraints, optional URI parameters and default values), for example:

routes.For<HomeController>()
    .CreateRoute("").WithName("my route name").To(controller => controller.Index())
        .WithConstraints().HttpMethod(HttpMethod.Get);

Where can I get it?

Open the Visual Studio Package Manager Console and run the following command:

Install-Package FluentRouting.Mvc

How do I get started?

Check out this blog post for an introduction to ASP.NET MVC Fluent Routing.

About

ASP.NET MVC Fluent Routing is a thin wrapper around the ASP.NET MVC attribute routing engine. With Fluent Routing you can define your routes using a fluent interface, but with the full power of the attribute routing engine (inline route constraints, optional URI parameters and default values).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages