David HaydenDavid Hayden
  • Home
  • Blog
  • Contact
  • About

ASP.NET MVC 5 and Bootstrap 3 CSS Framework

ASP.NET MVC 5 uses Bootstrap 3 as the CSS Framework in its default ASP.NET Web Application Tempate. This is a nice touch as most ASP.NET MVC developers have at least played with Bootstrap and are designing responsive websites. I'll mention the use of Bootstrap here briefly as there really isn't much to it. Feel free to read my other ASP.NET MVC 5 Tutorials on the new features in ASP.NET MVC 5: ASP.NET MVC 5 Attribute Routing and Filter Overrides in ASP.NET MVC 5...

Filter Overrides in ASP.NET MVC 5

ASP.NET MVC 5 has a new feature called Filter Overrides, which allows you to clear or replace certain filter types created in higher scopes. For example, if you created a global action filter or controller action filter, you could override those filters on a case-by-case basis at the controller action level. This allows you to set global or controller filters that apply in almost all cases and just override them in the few, specific places where those filters don't apply. I love this new Filter Overrides feature just as much as Attribute Routing in ASP.NET MVC 5. I'll take that same example I used for Attribute Routing and show how to implement Filter Overrides...

ASP.NET MVC 5 Attribute Routing

ASP.NET MVC 5 has a new feature called Attribute Routing that allows a developer to specify the route of controller actions by adding Route Attributes to them. Developers can also add a RoutePrefix Attribute on the controller if each of the controller actions within that controller share a particular route prefix. I'll show a very basic example of this using a ProductsController that will specify both a RoutePrefix on the controller as well as Route Attributes on each controller action...

Available for Hire

I currently have some availability for a small Orchard Core website, custom module, or theme.

Contact Me

OrchardCore.io

I recently started a new website, OrchardCore.io, dedicated to tutorials and resources on Orchard Core. I added a new section for Orchard Core Developer Notes. The notes are bite-size tips and solutions to common Orchard Core challenges. Recent notes include: GraphQL Permissions in Orchard Core, OpenID Connect and Token Validation, the HTML Sanitizer in Orchard Core CMS, and enabling the new Code Mirror Editor for HTML Field and Text Field.

Visit OrchardCore.io
David Hayden

David Hayden is a freelance Microsoft developer in Sarasota, Florida specializing in Orchard Core CMS web applications and websites. David is also fluent in .NET Core, C#, ASP.NET Core MVC, Razor Pages, SQL Server, Web API, and Azure Cloud Services. David also mentors college students in computer science using C, C++, Java, and Python.

David is also a NASM certified Personal Trainer, Nutrition Coach, Corrective Exercise Specialiist, and Weight Loss Specialist. In addition, David is a Precision Nutrition Level 1 Coach and Optimize Level 1 Coach.

Discover OrchardCore.io

I recently started a new website, called OrchardCore.io, dedicated to Orchard Core tutorials and resources.

  • Orchard Core Search and Lucene Search Index
  • Orchard Core Theme - Resume
  • Orchard Core SEO and Media Slugify
  • Monaco editor in Orchard Core
  • Orchard Core .NET5 and C# 9
  • Orchard Core Admin Dashboard
Navigation
  • Home
  • Blog
  • Contact
  • About
  • Site Map
Copyright © 2021 David Hayden.