Blog
Structuring your projects
At my current project, I’m trying to bring some structure in our visual Studio projects. But I’m finding myself not sure about how far I should go. Maybe you should know I tend to be something of a purist. At the moment, we created a project with a single class, because it didn’t belong anywhere else. So we created a client specific ‘Common’ project and put the one file there.
Blog
Remoting, serialization error, CallContext, Clone()
I couldn’t come up with a decent title for this post, so I just spit out some keywords.
We got an error today, stating the Controller of some object we wanted to put on CallContext needed to be serializable. Not thinking about the weird content of this error, we tried what would happen if we made the controller serializable. We now got a different error, which was even more weird:
Blog
Design guidelines – again
I saw a presentation monday to explain the basics of .NET to some starting developers. In that presentation, I saw a piece of code design I don’t think should be showed. Ever. Especially to people who are about to enter the .NET world. In one cs-file, I saw a base class, two inheriting classes and then again two classes which inherited from on of the former mentioned classes. So there were 5 public classes in one file.
Blog
Advanced remoting – “No assembly associated with XML key”
For my current project I’m trying to implement a factory pattern using remoting. This seems to be more difficult than I imagined. I’ve done the following:
– Create an Interfaces project containing an IProductFactory and an IProduct.
– Create a Class Library which implements Product and ProductFactory and is hosted in IIS through a web.config.
– Create a project which makes a ProductFactory and uses this to create a product, all based on the interfaces.
Blog
Here we go – summer 2005 edition
We landed in Eindhoven this morning after a great holiday in Turkey. I’ve done some resting, got a tan and I’m ready to go for the rest of this year… And not only at my job: I’ll also pick up on blogging about .NET again.
While on holiday I had a strange encounter: we were looking at the window of a jewelery when one of the people who worked there came out and started a conversation.
Blog
Leaving on a jetplain…
I’m leaving for a 2-week holiday next sunday. Or actually, I’m going to a childrens camp as group leader for a week first, and after that I’m in need of a holiday ;). So then I’ll be leaving for 8 days of sun in Turkey. I’ll be back august twentysecond, but the two days after that are filled up with some in-house training, so my blog might be kinda quiet the next few weeks.
Blog
JetBrains ReSharper 2.0 – First impression
Dennis blogged about it earlier today, and as soon as I saw that I couldn’t help myself: I had to try out ReSharper 2.0! Little did I know about the consequences…
I love ReSharper 1. There are some small weird things, but overall I just love it, despite its little quirks. So 2.0 had to be even better! Unfortunately, it doesn’t seem that way. Visual Studio now takes forever to start, the second project I opened made ReSharper crash hard (VS had to be restarted to get life back into it), assembly-parsing is still done in a modal dialog in stead of in the promised background process, it keeps annoying me with two windows I definitely don’t want to see and last but not least: the bar next to the scrollbar now displays an ugly 3D-attempted square.
Blog
Did you know: Visual Studio help ‘tabbed browsing’
Holding down the SHIFT key when you click a link in the Visual Studio help (using external help) opens the topic in a new tab in the help browser. So that’s a form of tabbed browsing. Sweet.
And pretty helpful when you would like to keep open the previous help topic you were in…
Blog
The conditional operator (? :)
Every now and again I see a piece of code where the author has used the conditional operator ? : . It might be my tidyness or it might take some getting used to, but I don’t like it. I don’t like it at all! My gut feeling says it’s nasty, because it’s not easy readable code. Lets look at an example. Imagine you have a property getter for the count of a collection.
Blog
New: post rating
Since we upgraded to Community Server, visitors are now able to rate posts. This way you can let the bloggers here at bloggingabout.net know what you think about the things they post. Give it a go!
Find a post you would like to rate, open the comments of that post and then click ‘Rate’.