Load dynamic controls without dll or project references and assign properties

I recently had to load an instance of a specific control within a masterpage base class that had no direct references but would be available at run-time.   Here is how I approached it. I first used LoadControl via a fully qualified assembly name.  I then used dynamic to set properties to bypass compile time checks:

Host your own NuGet feed

No need to re-write this, Phil Haack has already provided all that is needed.  I did this to test my own NuGet packages locally. Step 1: Create a new Empty Web Application in Visual Studio Step 2: Install the NuGet.Server Package Step 3: Add Packages to the Packages folder Step 4: Deploy and run your [...]