Referencing the GAC When Compiling C# Code in Code
If you need to compile C# code from within code, a very common approach is to use the CSharpCodeProvider class.
Unfortunately, the compiler invoked by this class does not automatically reference the GAC for compilation.
If you know which specific DLLs you need to reference, you can add them to the CompilerParameters.ReferencedAssemblies collection.
Otherwise, you can follow the suggestions in this thread.
Connecting to the Windows Internal Database
We were troubleshooting some Identity Federation related issues last week, and one thing we needed to do was connect to the internal Windows Internal Database. The instructions aren’t easy to find so here they are:
Open SQL Management Studio on the server as an administrator, and connect to the database with the following settings:
- Server Type: Database Engine
- Server name: \.\pipe\mssql$microsoft##ssee\sql\query
- Authentication: Windows
- Connection Properties -> Network Protocol: Named Pipes
http://www.bugshooting.com/
The test team has begun to adopt this little piece of software here. Makes taking and dealing with screenshots a whole lot easier!
Trusting a self-signed cert for WCF
Not that we’d ever recommend doing this for any site that you don’t trust/own, but if you need to make an https request to a WCF service with an untrusted certificate, you can use this approach to make your WCF client behave like the “Proceed” button on your browser.
The Wall of Apprendans.
Each Apprenda employee gets two jerseys with their name and employee number on them. One is to wear; the other hangs proudly on the Wall of Apprendans in our headquarters in NY.
Apprenda - the Deploy Anywhere .NET PaaS

