String Description from EnumC# / .NETGet 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 MethodC# / .NETMVC 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 columnsC# / .NETSQL 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 ValidatorC# / .NETMVC 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 scriptsC# / .NETSQL 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 databasesC# / .NETSQL 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