• Stars
    star
    538
  • Rank 82,538 (Top 2 %)
  • Language
    C#
  • License
    Microsoft Public ...
  • Created almost 13 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.

MvcSiteMapProvider Build Status

MvcSiteMapProvider

MvcSiteMapProvider is a tool that provides flexible menus, breadcrumb trails, and SEO features for the ASP.NET MVC framework, similar to the ASP.NET SiteMapProvider model.

Upgrading from v3 to v4

If you are upgrading from v3 to v4 see the upgrade guide.

What can it be used for?

MvcSiteMapProvider is a tool targeted at ASP.NET MVC that provides menus, site maps, site map path functionality, and more. It provides the ability to configure a hierarchical navigation structure using a pluggable architecture that can be XML, database, or code driven. We have moved beyond a mere ASP.NET SiteMapProvider implementation to provide support for multi-tenant applications, flexible caching, dependency injection, and several interface-based extensibility points where virtually any part of the provider can be replaced with a custom implementation.

Based on areas, controller and action method names rather than hardcoded URL references, sitemap nodes are completely dynamic based on the routing engine used in an application. Search Engine Optimization support is also provided in the form of dynamic sitemaps XML, canonical URL tags, and meta robots tags to ensure you send the search engines consistent - rather than conflicting - information about your URLs.

Documentation

See the documentation

Get it on NuGet!

Stable releases:

Install-Package MvcSiteMapProvider.MVC5
               - or -
Install-Package MvcSiteMapProvider.MVC4
               - or -
Install-Package MvcSiteMapProvider.MVC3
               - or -
Install-Package MvcSiteMapProvider.MVC2
               - or -

Use one of our dependency injection packages.

Prefer continuous integration builds?

Install-Package MvcSiteMapProvider.MVC5 -IncludePrerelease -Source http://www.myget.org/F/mvcsitemapprovider
               - or -
Install-Package MvcSiteMapProvider.MVC4 -IncludePrerelease -Source http://www.myget.org/F/mvcsitemapprovider
               - or -
Install-Package MvcSiteMapProvider.MVC3 -IncludePrerelease -Source http://www.myget.org/F/mvcsitemapprovider
               - or -
Install-Package MvcSiteMapProvider.MVC2 -IncludePrerelease -Source http://www.myget.org/F/mvcsitemapprovider

License

MS-PL License

Building the source

After cloning the repository, run build.cmd.

MvcSiteMapProvider used the psake build engine to build the project. Psake is a Powershell based engine and if it is the first time you execute powershell scripts on your system you may need to allow script execution by running the following command as adminstrator:

Set-ExecutionPolicy RemoteSigned

Contributions

Please read our Contributing to MvcSiteMapProvider guide.

Acknowledgements

The downloads page features an example application. The example code is all based on the excellent ASP.NET MVC Music Store sample application by Jon Galloway.

Unofficial Documentation and Resources

Other places around the web have some documentation that is helpful for getting started and finding answers that are not found here.

Tutorials and Demos

Version 4.x

Version 3.x

Forums and Q & A Sites

Other Blog Posts

More Repositories

1

GoogleAnalyticsTracker

GoogleAnalyticsTracker - A C# library for tracking Google Analytics
C#
290
star
2

rider-content

A curated list of content around JetBrains Rider
199
star
3

memory-demos

Demos used in various .NET memory management demos on my blog
C#
53
star
4

WindowsAzure.Acs.Oauth2

Oauth2 delegation through Windows Azure Access Control Service for ASP.NET Web API
JavaScript
33
star
5

DotNetWatch

Kotlin
27
star
6

phpunit-runner-teamcity

PHPUnit runner for TeamCity
PHP
24
star
7

dotnetcli-init

.NET CLI tool to initialize NuGet metadata in a .csproj file
C#
20
star
8

SignalR.Node

15
star
9

maartenba.github.io

Maarten Balliauw {blog}
SCSS
12
star
10

teamcity-cloud-azure

Microsoft Azure cloud plugin for TeamCity
Java
11
star
11

BrewBuddy

Sample code for my talk "Brewing Beer with Windows Azure" - http://channel9.msdn.com/Events/aspConf/aspConf/Brewing-Beer-with-Windows-Azure
JavaScript
11
star
12

TwilioTestingMinimalAPI

Source code for Twilio blog article about testing ASP.NET Core Minimal APIs
C#
10
star
13

CamoDotNet

CamoDotNet is all about making insecure assets look secure. This is an SSL image proxy to prevent mixed content warnings on secure pages.
C#
10
star
14

rider-plugin-globaljson

Rider plugin that allows setting the .NET Core SDK version for a solution
Kotlin
9
star
15

ChannelsExample

Example used in blog post about System.Threading.Channels
C#
9
star
16

docker-youtrack

This repository contains a Docker image of JetBrains YouTrack
9
star
17

ChocolateyPackages

Packages I maintain on Chocolatey.org
PowerShell
5
star
18

NuGetTypeSearch

Demo code for NuGetTypeSearch
C#
5
star
19

DotNetContrib.Net.Http.Hsts

HTTP Strict Transport Security (HSTS) support for System.Net.HttpClient, enforcing HTTPS when required by the remote host or preload list.
C#
4
star
20

CustomBindingExample

Custom binding example
C#
3
star
21

BookSomeSpace

BookSomeSpace helps you schedule meetings. It eliminates back and forth emails - people can book straight into your calendar!
JavaScript
3
star
22

BenchmarkWithIndex

Can we optimize https://twitter.com/buhakmeh/status/1291029712458911752 ?
C#
2
star
23

DotNetContrib.AspNetCore.Initialization

Add initialization tasks and an optional splash screen to ASP.NET Core web applications.
C#
2
star
24

OpenProvider.Api

A .NET library to access OpenProvider API's.
C#
2
star
25

AirportDetails

Demo app for EF features in Rider and ReSharper
C#
2
star
26

rider-plugin-reversepackagesearch

Rider example front-end plugin. Perform a reverse NuGet package search via packagesearch.azurewebsites.net.
Kotlin
2
star
27

intellij-ngrok

Bringing ngrok tunnels to the IntelliJ ecosystem
Kotlin
1
star
28

myget-documentation

MyGet Documentation on GitBook
CSS
1
star
29

phpmef

PHPMEF - PHP Managed Extensibility Framework
PHP
1
star
30

XamlStyler.dotUltimate

XAML Styler for Rider (and ReSharper)
C#
1
star
31

rider-plugin-xdt

Rider plugin that allows running configuration transformations (XDT)
Kotlin
1
star
32

kotlin-curious-csharp

Demos for conference talk Kotlin for the Curious C# developer
C#
1
star
33

orchard-authentication-federated

Federated authentication for Orchard. This module enables SAML 2.0 authentication in Orchard, for example Windows Azure AppFabric Access Control Service.
1
star