Securing user passwords

An application that stores user credentials has a responsibility to secure them; beyond the need to keep integrity of your own application.  No matter how often users are discouraged from reusing passwords, some number of users are still going to do it; and probably with

Read more…

NuGet package build a solution of projects

Have you ever created a .Net shared library solution with project references between them; and then wanted to share the projects as individual packages in a NuGet feed? When you run the NuGet ‘pack’ command on a project that has a project reference to another

Read more…

AsyncUI MVC with Progressive Enhancement

The top concerns for any site are having basic functionality, having it perform as fast as possible, and then working for as many customer browsers as possible. Asynchronous User Interfaces are the latest technology to achieve the ultimate in performance. Alex Maccaw: Web developers are

Read more…

Provider Model Layered architecture

In a previous article I mentioned that Provider model can be used as a business rules layer or as a repository layer.  I will show how this has been done as a portion of a real project and show all the relevant code for that

Read more…

SQL Server Parsing a string into a table

Recently someone asked how to break apart multiple values stored together in a single field.  I’ve written a number of variations of functions that perform this task in SQL Server. Purpose Some of you may ask why would you ever do such a thing.  You

Read more…

Provider Model is a SOLID pattern

I have read lots of articles in the past couple years about provider model being either an anti-pattern, or not a pattern at all.  Most people would agree that you should strive for SOLID code when working in a languages that supports object oriented programming.

Read more…

Provider Model Enhanced

Provider Model was introduced in 2004 during the beta’s for .net 2.0. Rob Howard: “The pattern itself is exceedingly simple and is given the name “provider” since it provides the functionality for an API. Defined, a provider is simply a contract between an API and

Read more…

ASP.Net MVC Render a partial view as a string for a PDF generation tool

Generally in MVC you want to render views using a view engine with a standard action result response that lets MVC deal with the view engine. But in a couple circumstances you may need to render that view to a string. One case I’ve seen

Read more…