zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

Sequence Contains No Elements #87

Closed clockwiseq closed 3 years ago

clockwiseq commented 3 years ago

I followed the instructions on your main page and all I get is the following:

image

zHaytam commented 3 years ago

Hello, Did you make sure to have a default breadcrumb?

clockwiseq commented 3 years ago

I did not. The instructions here on GitHub don't mention anything about a default breadcrumb or how to use it. I had to find your website and the page for it to know that you have to add the attribute to an action to make it work. I still couldn't make it work for my case as I have areas.

zHaytam commented 3 years ago

It's mentioned in the Wiki. Are you using razor pages?

clockwiseq commented 3 years ago

Razor Views, sorry, I missed the Wiki link at the top.