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).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
samples/FluentRouting.Mvc.Demo
src/FluentRouting.Mvc
test/FluentRouting.Mvc.Test
.gitattributes
.gitignore
FluentRouting.sln
License.txt
Notice.txt
README.md

README.md

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.