1/29/2014
1/08/2014
9/16/2013
How to allow Windows 8 Metro Apps or any app running in the Isolated "AppContrainer" mode to connect to any local end point
I was working on an IE extension that sends data to a local Windows service when I noticed that the 64bit version of my extension running under Enhanced Protected Mode fails to make connection to the local service. I found this article that also includes a utility to remove this restriction for any "AppContainer" in the system. See more...
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
Yaron Naveh's Web Services 2.0 Blog: Don't blindly trust WCF logging
12/14/2012
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.
8/30/2012
Using Common Instance Factory to Abstract Away the Dependency Injection Factory itself.
Great article by my favorite Developmentor Author Tony Sneed.
Use Common Instance Factory to Abstract Away the D
Use Common Instance Factory to Abstract Away the D
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
Using stored procedures with Entity Framework in an ASP.Net application - Nikolaos Kantzelis ASP.Net Blog
Subscribe to:
Posts (Atom)
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...