9/06/2013

Understanding Enhanced Protected Mode

Every release of Internet Explorer includes new security enhancements to help keep you safe as you browse the Internet. The new Enhanced Protected Mode in Internet Explorer 10 helps keep your data safe even if an attacker has exploited a vulnerability in the browser or one of its add-ons. Read More...

1/16/2013

Don't blindly trust WCF logging

I have been looking into WCF message logs to reverse engineer an existing BizTalk service and was wondering why there are extra Action and To tags in the envelope's header. If I copy and paste the exact envelope from WCF logs into SoapUI my server never gets the message; however, if I remove the and tags then it works. It looks like WCF logger injects these extra headers and if you use Fiddler or just WCF Trace logging, you won't see those!

Yaron Naveh's Web Services 2.0 Blog: Don't blindly trust WCF logging

11/28/2012

Custom Activities not showing up in VS2012

This issue was driving me crazy for couple of months. I had to explicitly add my assemblies to the toolbox every time I added or removed custom activities in my project. I googled it and found a few posting with similar problems but no one seems to have found a solution. After some tweaking I was able to fix it by narrowing it down to a single project in my solution that caused custom activities not showing up in the toolbox even for those custom activities defined in a different project belonging to the same solution. It turns out that the "$(SolutionDir) in the .csproj was set to wrong relative path. I think I have been moving the project around from one folder to folder before I was finally happy with its location. To investigate this, I removed the project from the solution, and created another one at the same folder hierarchy relative to the solution folder and then added the new project to the solution and then compared the .csproj files between the new and bad project. This is how I found that the "$(SolutionDir) was messed up in the bad .csproj file. Regardless, shouldn't it have been updated automatically? I went from this: ..\..\..\ To this : ..\ And now all my custom activities show up. To make sure this is the cause I reverted the change and I got the toolbox not refreshing problem again.

6/18/2012

Using stored procedures with Entity Framework

It looks like Entity Framework uses Dynamic SQL under the cover. This post shows how to make EF use Stored Procedure instead for better performance.

Using stored procedures with Entity Framework in an ASP.Net application - Nikolaos Kantzelis ASP.Net Blog

Useful netsh commands

To see blocked ports on your system:  netsh interface ipv4 show excludedportrange protocol=tcp For more info visit: https://ardalis.com/atte...