Category Archives: MVC

Javascript And ASP.Net Helpers Are Here To Help

Javascript is an often overlooked language within the development community. A lot developers steer away from Javascript because it is synonymous with client-side programming and design. But it does not have to be scary. Here are a few pointers on how to use Javascript as a helper to C# and MVC.

Javascript and JQuery

JQuery’s catch phrase on their website is “The write less, do more, Javascript library”. And that sums it up perfectly. JQuery is a library that sits on top […]

Send Emails Asynchronously

Sending these emails can often be a bottleneck in your workflow and cause the application to stall temporarily whilst the STMP client is instantiated, the email is generated and sent, then confirmation is returned. I will discuss a better way to do this within an MVC application.

Bootstrap and Transitions

For those of you who use Twitter Bootstrap at all, you may have come across this problem already. If you haven’t seen this issue, here is an explanation so you know what to expect if it does happen. I found an issue where Bootstrap transitions interfere with my later transitions. Here is a fix to make your transitions stick to your elements.

Custom MVC Attributes

The native ASP.Net Membership provider has MVC attributes that we can use to decorate Actions and set permissions. But you may want to extend this security so this article will describe how you can do that.

Object Mappers – Merge Objects Together

The idea of mapping objects together is quite simple. It’s like a “merge” the data from 2 objects into one single object. AutoMapper is one tool that helps you achieve this and I will explain some use cases for it.

Let MVC Concatenate For You

We have all encountered the situation where we want to show user information on a form. Most people have a FirstName and a LastName (unless you’re Prince or Bono). Here is a way to quickly and easily concatenate MVC ViewModel fields without having to use String.Format.

Uncovering Silent Validation

ASP.Net validation is very useful and allows developers to ensure data is correct before it gets sent to a data store. I would like to explain some best practices and suggestions for you when implementing ASP.Net validation.