Rick van den Bosch - Blog

... on .NET, software architecture, software development and whatnot

Recent Posts

Tags

News

  • Live space

    Photo blog

    Follow me at twitter

    Rick  van den Bosch

    LinkedIn profile

    Add to Technorati Favorites

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Community

Email Notifications

Blogs I read

Interesting links

Archives

Browse by Tags

All Tags » .Net (RSS)
Running code analysis on a custom stsadm command gives errors CA0052 and CA0055
When you want to implement a custom stsadm for SharePoint, all you realy have to do is implement the Microsoft.SharePoint.StsAdmin.ISPStsadmCommand interface. Because I develop on a machine with no SharePoint installed, I (only) copy the assemblies I...
A not so clear Visual Studio code analysis message (CA1308)
While writing a custom stsadm command for SharePoint (more on that in a future post) and having to do something based on the command the user typed in, I used ToLower( CultureInfo.InvariantCulture ) on the command string to be able to check without the...
The absolute minimum every software developer ...
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...
A scenario where LINQ is too dynamic (answered)
The situation I talked about in my previous post had one very big issue: LINQ sometimes just is too dynamic... ;) The fact that I changed the value for the Ranking property for each SpecificObject that got matched, made the primary LINQ query have a different...
A scenario where LINQ is too dynamic
While developing an algorithm to match preferences to possibilities, I had to sort a generic list of a specific object type (SpecificObject). The first x objects would be matched, the rest would be excluded because of the number of available places. To...
Unable to connect publishing custom string handler ...
After developing a custom Web Service to be hosted in SharePoint (based on this HowTo article on MSDN ) and deploying it on a testing environment, I got some entries in the EventLog over there, stating: " Unable to connect publishing custom string...
The number of fractional digits is out of range?
After extending a textbox with a NumberUpDownExtender, which comes with the AJAX Control Toolkit, I recieved the error "the number of fractional digits is out of range". This happened when debugging my web application and using the extender...
Error connecting to undo manager
While developing a web application for a friend of mine, I ran into a Visual Studio error message I hadn't seen before: Error connecting to undo manager of source file 'D:\Development\SomeWeb Application\Default.master.designer.cs'. The error...
Rick van den Bosch .net - part II
It's been a while because I've been so busy lately, but the next (technical) step for my personal website is now online. When browsing to http://rickvandenbosch.net/blog/ , the content of my blog here is displayed sort of mirrored over there....
Selecting all the controls of a specific type, the (built in!) LINQ way
We probably all worked with dynamically generated controls on forms, ASP.NET pages or (user) controls. And I guess we've all written for-each statements to loop through the ControlCollection and filter out all the controls of a specific type, right...
'EntLib Extensions To WSSF' released to CodePlex
Some of my (Dutch!) Avanade colleagues recently released 'Entlib Extensions To WSSF' to CodePlex. Quite a cool addition to the already rich Enterprise Library. Entlib Extensions to WSSF (Web Service Software Factory) is an extension that enables...
LinkButton inside UpdatePanel results in full postback, UpdatePanel not triggered
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...
Error adding an OleDb Data Connection to Visual Studio Server Explorer
The error I'm getting when setting up an OleDB connection to an Access database* via the Server Explorer in Visual Studio 2008 is 'Format of the initialization string does not conform to specification starting at index 0'. The screen doesn't...
DropDownList SelectedIndexChanged doesn't trigger UpdatePanel in SharePoint 2007 SP1
A week ago I had a nice page that was hosted in SharePoint and, among others, contained an updatepanel with a dropdownlist in it. Everything worked, and all was well. Because our testers had found some issues we had delivered two newer versions to our...
Getting the ModalPopupExtender to work in SharePoint 2007
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...
More Posts Next page »