String Description from EnumGet a string description from an enumEnums can be very powerful when used appropriately, such as for populating fixed drop-down lists…Alexandru PuiuSeptember 16, 2012 1 min
Execute on each Controller MethodMVC Execute code on each controller methodThe OnActionExecuting method is fired before every Action in a MVC controller. You can use this…Alexandru PuiuSeptember 16, 2012 1 min
SQL Batch alter all columnsSQL Batch alter all columnsSometimes you need to make mass changes to a database, and either add or remove a column, or other…Alexandru PuiuSeptember 16, 2012 1 min
MVC Remote ValidatorMVC Remote ValidatorLet's take a look at a brand new MVC 3 validator - RemoteAttribute. The Remote validator is very…Alexandru PuiuSeptember 16, 2012 1 min
Execute large scriptsSQL Execute large scriptsSQL Server has a stored procedure that accepts a parameter of type text, and executes the code. This…Alexandru PuiuSeptember 16, 2012 1 min
SQL Full Backup all databasesSQL Full Backup all databasesBackups are one of the most important tasks when maintaining a system, and as the complexity of your…Alexandru PuiuSeptember 16, 2012 1 min