All Projects → zHaytam → Smartbreadcrumbs

zHaytam / Smartbreadcrumbs

Licence: mit
A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.

Projects that are alternatives of or similar to Smartbreadcrumbs

Mix.core
🚀 Mixcore CMS is an open source CMS that support both headless and decoupled to easily build any kinds of app/web app/customisable APIs built on top of ASP.NET Core / Dotnet Core. It is a completely open source ASP.NET Core (Dotnet Core) CMS solution. https://mixcore.org
Stars: ✭ 304 (+169.03%)
Mutual labels:  asp-net-core, bootstrap
X.pagedlist
Library for easily paging through any IEnumerable/IQueryable in ASP.NET/ASP.NET Core
Stars: ✭ 625 (+453.1%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Professionalcsharp7
Code samples for the book Professional C# 7 and .NET Core 2.0 (with updates for 2.1), Wrox Press
Stars: ✭ 403 (+256.64%)
Mutual labels:  asp-net-core, asp-net-core-mvc
AspNetCore.Mvc.FluentActions
Fluent Actions for ASP.NET Core MVC are abstractions of regular MVC actions that are converted into MVC actions during startup.
Stars: ✭ 17 (-84.96%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Banksystem
ASP.NET Core banking system with secure communication capability between instances, cards, secure payments, etc.
Stars: ✭ 70 (-38.05%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Home
Asp.net core Mvc Controls Toolkit
Stars: ✭ 33 (-70.8%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+4430.97%)
Mutual labels:  asp-net-core, asp-net-core-mvc
jQuery-datatable-server-side-net-core
A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET 5
Stars: ✭ 71 (-37.17%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Znetcs.aspnetcore.authentication.basic
A simple basic authentication middleware.
Stars: ✭ 40 (-64.6%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Demo.aspnetcore.mvc.cosmosdb
Sample Web API powered by ASP.NET Core MVC, Azure Cosmos DB and MediatR
Stars: ✭ 19 (-83.19%)
Mutual labels:  asp-net-core, asp-net-core-mvc
ASP.NET-CORE-MVC-Sample-Registration-Login
C# Asp.Net Core MVC Sample Registration/Login/Email Activation Form with MsSQL Server/Entity Framework/Onion Architecture
Stars: ✭ 37 (-67.26%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Bootstrap Breadcrumbs
Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template
Stars: ✭ 91 (-19.47%)
Mutual labels:  breadcrumbs, bootstrap
Ext.NET
Ext.NET public Issues.
Stars: ✭ 28 (-75.22%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Nucleus
Vue startup application template that uses ASP.NET Core API layered architecture at the back-end and JWT based authentication
Stars: ✭ 276 (+144.25%)
Mutual labels:  asp-net-core, bootstrap
AuctionSystem
Auction system written in ASP.NET Core
Stars: ✭ 59 (-47.79%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Aspnet.mvc.typedrouting
A collection of extension methods providing strongly typed routing and link generation for ASP.NET Core MVC projects.
Stars: ✭ 460 (+307.08%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Asp-net-Core-Project-with-Admin-Template-Setup
AdminLTE Template Setup with Asp.net Core MVC 2.1 Project
Stars: ✭ 50 (-55.75%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Lib.AspNetCore.Mvc.Ndjson
Lib.AspNetCore.Mvc.Ndjson is a library that provides support for NDJSON (Newline Delimited JSON) based structured data streaming to ASP.NET Core MVC
Stars: ✭ 13 (-88.5%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Electron.net
Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
Stars: ✭ 6,074 (+5275.22%)
Mutual labels:  asp-net-core, asp-net-core-mvc
Piranha.core
Piranha CMS is the friendly editor-focused CMS for .NET Core that can be used both as an integrated CMS or as a headless API.
Stars: ✭ 1,242 (+999.12%)
Mutual labels:  asp-net-core, asp-net-core-mvc

SmartBreadcrumbs 2.0.0

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.

About the 2.0.0 version

When I created SmartBreadcrumbs, it only worked on MVC websites.
Razor Pages then came out and became "more popular", so I rewrote the whole code base, cleaned the project's structure, wrote unit tests and now, SmartBreadcrumbs works on both MVC and Razor Pages websites, even on the same project.
If you're interested in the README of the old version, it's available here: OLD_README.

Informations

Badges
Build Build Status Azure DevOps tests
NuGet NuGet Nuget
License GitHub

Documentation & Example

  • Wiki: A list of all the possible things you can do with SmartBreadcrumbs.
  • RazorPagesAndMvc: An example project containing both MVC and Razor Pages pages. Check it out to see how SmartBreadcrumbs works.

Usage

Install

Install the package using NuGet
Install-Package SmartBreadcrumbs

Initialize

After you have setup your breadcrumbs (using the Breadcrumb and DefaultBreadcrumb attributes), go ahead and add SmartBreadcrumbs in your services:

services.AddBreadcrumbs(GetType().Assembly);

Use

SmartBreadcrumbs comes with a breadcrumb tag that renders the breadcrumbs for you, to use it:

  1. In _ViewImports.cshtml, add @addTagHelper *, SmartBreadcrumbs.
  2. In your _Layout.cshml (or specific pages), use <breadcrumb></breadcrumb>.

Customize

Options

You can specify options when you initialize SmartBreadcrumbs:

services.AddBreadcrumbs(GetType().Assembly, options =>
{
	options.TagName = "nav";
	options.TagClasses = "";
	options.OlClasses = "breadcrumb";
	options.LiClasses = "breadcrumb-item";
	options.ActiveLiClasses = "breadcrumb-item active";
	options.SeparatorElement = "<li class=\"separator\">/</li>";
});

More

Check out the documentation if you need more customization!

  • You can manually create and set breadcrumb nodes, useful when you have dynamic breadcrumbs (e.g. E-Commerce website).
  • You can get access to the BreadcrumbManager and create your own TagHelper for example.

Credits & License

Credits: zHaytam and the contributors.
License: SmartBreadcrumbs is open source, licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].