Category: .Net MVC

0

Creating “Short” Urls in ASP.NET MVC

I recently created a site to promote small local coffee shops (LocalCoffee.Rocks). Each coffee shop location has its own profile page. I wanted to make it easy for these shops to point people directly...

0

Adding Password Minimum Requirements for Identity

It is very simple to add validation to check for minimum password requirements when creating an Identity user. Simply add the following data attributes to the model or metadata file. The regular expression attribute...

0

Creating a Null Option in a DropDownList

When scaffolding out views for an entity that is linked to another object Visual Studio will create a drop down list of the values in the linked table so that users can select an...

0

Metadata and Linked Tables

When working with scaffolded forms and metadata in MVC there is one small hiccup that will typically catch most beginning programmers. When using metadata to change the displayed label for a data column from...

0

Creating a Dynamic Shared Dropdown Menu

To provide easy access to content directly from the menu can seem challenging especially when that content needs to be pulled from the database. Placing a dynamic menu on the shared layout however is...

0

Visual Studio Custom Project Templates

After developing a number of web sites we tend to find a design and structure that we default to. We build out the same architecture, use the same design patterns and include many of...

0

Custom Scaffolding

Scaffolding is a great time saver. However, as developers progress they find different patterns and techniques that they consistently use in their projects and will find themselves continually changing scaffolding the same way over...