Archive

Archive for April, 2012

How To Use An External Assembly Without Referencing it

var ass = (IClass1) Assembly.LoadFrom(@”testLibrary.dll”).CreateInstance(“testLibrary.Class1”);

Advertisements
Categories: DEV Tags:

Setup SQL 2008 unattended mode

SQLEXPR_x86_ENU.exe /q

/ACTION=Install 

/INSTANCEID="AEEXPRESS"

/INSTANCENAME="AEEXPRESS"

/FEATURES=SQLENGINE,CONN 

/SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" 

/SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"

/SQLSVCSTARTUPTYPE="Automatic"

/SECURITYMODE=SQL

/SAPWD=Password01

http://msdn.microsoft.com/en-us/library/ms144259%28v=sql.100%29.aspx#Install

Categories: Infrastructure Tags: ,

MimeTypes for standard video files

<system.webServer>
 <validation validateIntegratedModeConfiguration="false"/> 
<modules runAllManagedModulesForAllRequests="true"/> 
<staticContent> 

<mimeMap fileExtension=".mp4" mimeType="video/mp4" /> 
<mimeMap fileExtension=".ogg" mimeType="audio/ogg" /> 
<mimeMap fileExtension=".oga" mimeType="audio/ogg" /> 
<mimeMap fileExtension=".ogv" mimeType="video/ogg" /> 
<mimeMap fileExtension=".webm" mimeType="video/webm" /> 

</staticContent>
 </system.webServer> 
Categories: Infrastructure Tags: ,