How to Open an MVC project in Visual Studio 2010
Example IsapiRewrite4.ini File for IsapiRewrite4
– Redirect attacks
RewriteCond %{REMOTE_ADDR} 10.10.1.0
RewriteRule ^/(.*)$ /$1 [F]
– Redirect from http://foo.com to http://www.foo.com
RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]
Duplicate VM for Hyper-V
- Shutdown the VM that you want to duplicate
- Make a copy of the VHD file
- Create a new VM that joins to the copied VHD file
- Start the VM
- Launch SysPrep (c:\windows\system32\sysprep.exe) over the new VM once started
- Relicense Windows, rename Machine Name
Regular Expressions Cheat Sheet (V2)
Eric Hexter’s Current .NET Application and Tooling Stack
Current .Net Application and Tools Stack
Along with Rhino Mocks
Liked “The Conversation Prism”
Roadmap to web 2.0 in healthcare organizations: Slideshow
Twitter Use Examples
WCF Service Project configuration for https
Rowan has spent alot of time on WCF and has a good understanding of WCF services. In this example, I wanted to host a WCF service on a website and use it with https. Below is the configuration necessary to do that.
In web.config file create the serviceBehaviors, bindings, and services section:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="MembershipProviderHelperBehavior">
<serviceMetadata httpsGetEnabled="true" httpsGetUrl="" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="TheConfig">
<security mode="Transport"/>
</binding>
</basicHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="CustomClassHelperBehavior" name="CustomClassHelper">
<host>
<baseAddresses>
<add baseAddress="https://ssl.texmed.org/Services/CustomClassHelper" />
</baseAddresses>
</host>
<endpoint address="" binding="basicHttpBinding" contract="ICustomClassHelper" bindingConfiguration="TheConfig">
</endpoint>
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>
Three Secrets to Make a Message Go Viral
Taken from: http://www.fastcompany.com/magazine/135/made-to-stick-getting-your-ideas-to-fly.html
Excerpt from article on viral marketing:
Viral marketing has become a hip, low-cost way to reach a lot of people very quickly — with little effort.
It’s emotional — in fact, if you believe it, it’s terrifying.
There’s another emotional angle: When someone shares this legend with you, they feel like they’re doing a public service. They might believe they’re saving your life. And that’s the second trait of viral ideas.
Rosen calls this a "trigger," and it’s the third trait of a viral idea. A trigger is an environmental reminder to talk about an idea.
