The Open/Closed Principle Software entities (classes, modules, etc) should be open for extension, but closed for modification The Liskov Substitution Principle Liskov’s notion of “subtype”…
Bubble Heap Insertion Merge Quick Selection Shell Which sorting algorithm has the best asymptotic runtime complexity? Heap Sort https://en.wikipedia.org/wiki/Sorting_algorithm
ThreadPool.QueueUserWorkItem(new WaitCallback(LoadUsers)); private void LoadUsers(Object stateInfo) var site = new SPSite(testHarnessSettings.Url); var web = site.OpenWeb(); foreach(SPUser user in web.AllUsers) { if (usersListBox.InvokeRequired) { usersListBox.Invoke(new MethodInvoker(delegate…
Databases SSODB — Enterprise Single Sign-On database BizTalkRuleEngineDB — Repository for your business rules BizTalkMsgBoxDb — Storage for a multitude of BizTalk activities, notably messages…
WcfServiceExample.zip (7.57 mb) The above example uses Windows Communication Foundation (WCF) Integration Facility The main idea here is that WCF should get the service…
PerformanceTestingUsingACountingSemaphore.zip (980.66 kb) Running some performance tests using Fitnesse to test the limits of a new Sharepoint DMS solution produced this solution. The code we…
SharePoint main objects SPSite = Site Collection SPWeb = Site Web SPSite siteCollection = new SPSite(“http://localhost/sites/sitename”); SPWeb web = siteCollection.OpenWeb(); Features Features define a mechanism…
Download source files:DBDeployExample.zip (4.81 mb) Here is a quick example of how to use DB Deploy This example uses NANT to run DBDeploy which in…
Download Project source files:ExampleFakeRepository.zip Introduction Here is a simple example of how to use fake repositories in test driven development. By using Fake Repositories generated…