Browse by Tags
All Tags »
HowTo (
RSS)
One of the posts that is being read quite frequently over here is HOWTO: Encode a password using MD5 in C# (or: howto calculate the MD5 hash for a string) . One of the (many) reactions to that post was from one Simucal, stating: Also, to the original...
When roaming the MSDN forums for unanswered questions for me to answer, I come across a lot of questions about any of the following: Intellisense acting weird Intellisense not showing up at all Menu items that are all garbled up Missing buttons on toolbars...
When you dynamically generate a LinkButton in code that will be placed inside an UpdatePanel, you'll experience that the Click event for the LinkButton results in a full postback in stead of the UpdatePanel being triggered. There's a rather simpel...
Getting the ModalPopupExtender from the Ajax Control Toolkit to work (decently) in SharePoint was not exactly a walk in the park. With a default SharePoint installation, the modal popup is partly positioned 'outside' of the page (you only see...
One of my colleagues pointed out the new Fine-grained password policy feature in Windows Server 2008. As you can see in this post at The Sean Blog, some values have to be entered in the I8 format, which isn't very user friendly. Because of that, he...
In a quick AJAX demo I had to create today, I ran into a (somewhat cryptic) PageRequestManagerServerErrorException. I needed a simple form of the Cascading Dropdown , one that doesn't use a (web)service for its data, but gets it from a simple method...
There are several steps to creating a custom web service to be hosted in SharePoint. The MSDN library has a walkthrough on creating a custom web service . After having followed this walkthrough thoroughly, I though my web service was good to go. Unfortunately...
The MasterPage doesn't have a property for setting the Theme at design time. Despite this, I wanted to set the Theme for a MasterPage, so I decided to set it from code. I was aware of the possibility to set the Theme through the web.config , but that...
Thanks to the MSDN forums (and specifically one Hua Chen), I found a way to disable specific code analysis rules for a team build. In this post I'll combine the steps I followed earlier with the description given at the MSDN forum. I'll start...
After searching a bit, I found a way to disable specific Code Analysis rules for a team build. Or at least I thought so... The RunCodeAnalysis tag in my build.proj file is set to 'Always' to override the individual project settings, and I added...
"Unit Test Adapter threw exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.." This error popped up at one of the testers of our project...
We all encountered them in the field somewhere along the way: pieces of code that are based on assumptions. There's something fundamentally wrong in assuming when writing code....
Sometimes when you're inside a method you would like to know which method called it. Or even which object. For instance when you write a TraceListener , it might be pretty cool to make the TraceListener smart enough to find out what object called him...
Earlier I posted about reading a configfile when using no-touch deployment. Several people have contacted me to post the code, so here it is. private static bool InitializeRemoting() { string configFile; configFile = AppDomain.CurrentDomain.SetupInformation...
If you would like to (for example) make sure all the jpegs on your site are displayed including a copyright text or something like that, you could use the example I posted before . But it would be easier to write a custom httpHandler. Here's a small howto...
More Posts
Next page »