WCF: "An error occurred when verifying security for the message." and Service Security Audit

23 בינואר 2011

I’ve been struggling with an obscure WCF FaultException that kept popping up from time to time when we worked with my services. Basically I’d get a MessageSecurityException that says:  "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." And the inner FaultException would say:  "An error occurred when verifying security for the message." It turns out that this is a “garbage” exception that potentially hides behind it any exception that might have possibly occurred when WCF tried to enforce security on the server side.  The exception itself is useless when trying to figure out what went...
תגיות: , , ,
אין תגובות

On Backups, Customer Service and the Persistence of Nagging

17 בינואר 2011

I have a "Western Digital My Book World Edition" Home Network Drive drive. It's a single 1TB external hard disk drive that plugs into my router and becomes a NAS server. I can map it as a mapped drive in windows to access files directly, I can stream audio and video from it and it even has a built-in (albeit primitive) torrent client that I can manage from a web interface. It's just home grade product, not very fast but streams media and stores gigs of pictures and videos for me. I quite liked it until it died on...
3 תגובות

Assembly Binding Log Viewer does'nt play nice with ASP.NET Development Server

29 ביוני 2009

I've been experiencing an assembly binding problem when using Castle Windsor in a WCF service that I'm developing. It's a bit of a complex scenario so I won't delve into the details, suffice to say that when I try to inject an IServiceBehavior into my WCF service using Windsor's Wcf Integration Facility get the following exception: "Could not load file or assembly 'System.ServiceModel' or one of its dependencies. The system cannot find the file specified."Seeing as I could'nt get to the bottom of the issue myself, I posted on the Castle Project Users Google Group and was instructed by...
אין תגובות

DevExpress menu disappearing from Visual Studio

23 ביוני 2009

If you've installed DevExpress' CodeRush (aka IDETools) for evaluation but can't find the DevExpress menu in your Visual Studio, look no further. In evaluation mode the DevExpress menu is simply disabled and cannot be made visible unless you enter a valid registration code. In my Visual Studio I can actually see the menu item flicker for a split second and then disappear.Too bad DevExpress chose to do things this way. It certainly won't in courage me to buy the product. The one remedy for this situation is that the keyboard shortcut for the DevExpress Options dialog is still available....
תגובה אחת

Live from Microsoft Developer Academy 3

15 בדצמבר 2008

Good Morning. It's a fine morning here at Microsoft's Developer Academy 3 event at Airpot City, Israel. A large crowd of developers and IT personnel has already gathered at this fanciful convention center and the first lecture is set to beging, fashionably late, at 09:15.I will be live blogging the event via my twitter account. I hope my non-geeky facebook friends are not too annoyed at seeing my tweets appear in my facebook status line throughout the day. Those reading me here in the Microsoft Israel Blogs website can also keep track of my updated through the twitter box...
תגיות:
אין תגובות

Good Read: Design Guidelines for Exceptions

3 בדצמבר 2008

I've often wished for real world guidance on exceptions handling in .net applications. Deciding on a strategy for throwing and catching exceptions is tricky. On the one hand exceptions are said to be the better way of handling execution errors in code. On the other hand, exceptions bring with them the overhead of instantiating them and throwing them which could negatively affect performance.A while ago I've found some good advice in Microsoft's own Design Guidelines for Exceptions section in the MSDN Library. Particularly useful is the page on Exceptions and Performance. The whole thing isn't very long and contains a...
אין תגובות

Why you want to be a part of Alt.Net Israel

9 באוגוסט 2008

I was fortunate today to take part in the first Alt.Net "unconference" to be held in Israel and let me tell you - it was an awesome experience! The concept of Alt.Net is that a group of .net enthusiasts get together and organize a conference by themselves for themselves to discuss .net, its past, present and future. Simply put, the audience organizes and gives the talks. Here's a more profound explanation: http://davybrion.com/blog/2008/08/altnet-what-does-it-mean/ The first Alt.Net Israel meeting was held at the Ramat Gan offices of the Sela Group who were kind enough to host us on short notice. The...

Using MSMQ for ASP.Net Session State?

21 ביוני 2008

Digging a little into MSMQ and how it can help me with a website tracking mechanism I'm working on, I've come up on an original idea posted by Don Demsak in his blog. Don suggests that when you need to have ASP.Net session state distributed across several web servers, you can possibly use MSMQ subqueues (a new feature in MSMQ 4.0) for storage. That is, ASP.Net could have one logical queue for each session its storing and use that to store the session data in a distributed fashion. This might prove to be faster and more scalable that...
תגיות: , ,
אין תגובות

What is this Twitter thing anyway?

17 במאי 2008

One sentence answer: You post a short message on twitter, your friends/followers get a real time instant update of what you've written. A little more verbosely: Twitter lets you post short messages to its web service. The messages can say anything, but are limited to 140 characters only. Typically these are updates on where you are, what you're doing, whatever. They can also contain links to things on the web like, for instance, the picture you just took of a huge duck sitting on top of the Tel Aviv Municipality building. You can post these messages...
תגיות:
תגובה אחת