Louis Haussknechts' Blog

Louis' adventures in .Net

  Home  |   Contact  |   Syndication    |   Login
  10 Posts | 0 Stories | 0 Comments | 1 Trackbacks

News

Search this blog (Google)

Archives

Post Categories

Sunday, May 03, 2009 #

I moved my blog to www.stuff-for-geeks.com. Check it out and update your links ;)

Thanks stuffforgeeks.net for hosting my blog for the last years!

Thursday, December 22, 2005 #

Placing a control on a Form and on a TabPage with the same Location property set result in different positions on the screen, because there are different points of origin.

I figured out that there are different offsets for x and y axis. (Offest is valid for TabPage/Form on Windows CE)

x) +5

y) +31

 

 


Monday, November 28, 2005 #

I'm wondering why I can't find a search function here?!

Any ideas?


I just wanted to pass a generic KeyValuePair(of String,DateTime) over a webservice. The generated client proxy is:

Partial Public Class KeyValuePairOfStringDateTime

End Class

Well, this is not really what I wanted...., but the classname is nice!


Sunday, November 27, 2005 #

I came over this issue, while extending a webservice written in .net 1.1 with a 2.0 - plugin.

I implemented the correct interface in my plugin, which is needed to be recognized by the plugin loader. Once the plugin was deployed I saw, that the plugin was not loaded at app-startup.

I wanted to investigate, why there was this behavior. So I connected to the iis process and wanted to debug the 1.1 app and the plugin loader method. The problem was, that it is not possible to debug a 1.1 webservice app with Visual Studio 2005. Connecting with VS 2003 works, so I found out, that reflection didn't recognize my plugin (the implemented interface).

I thought that there was something called side-by-side execution for 2.0 and 1.1 assemblies, but it's not working by default for web-apps.

The solution is to go to the inetmgr mmc and switch the ASP.Net version from 1.1 to 2.0 in the ASP.NET tab.

After manually selecting the framework version the 1.1 webservice app was able to recognize my 2.0 - plugin via reflection.

 


Wednesday, August 24, 2005 #

I just read Hannes post about the fictional future of "search engines" and how they work with any given information.

In my opinion there is a general risk for a persons privacy when search algorithms add information such as buying patterns in real life (which is possible with RFID technology) to a personal profile.


Wednesday, August 17, 2005 #

One week ago I switched on ClearType on my desktop system. The system is a dual head system with one crt and one tft connected.

I never heard about ClearType before I got my Axim X5v PDA which has ClearType enabled by default. The reading experience on that device is very nice. Everything is very smooth.

Now I'm using ClearType on my desktop and this is my experience:

Reading E-Books is really great and you're not getting tired of reading many articles.
The desktop looks crappy. The Font of the icons is not suitable for cleartype. I have to mention, that I have a holiday picture as background image, but also with the plain blue background there are shadows around the text.
Coding with Visual Studio is fun and all the text here looks very nice and smooth too.
I have not noticed any performance loss on my machine.

I think I leave ClearType switched on if there are no negative site-effects.

What's your experience on ClearType?


Tuesday, August 16, 2005 #

Last Friday I met my old friend Hannes Pavelka. We had some beer in a really nice pub here in Dortmund (Limericks ) as he talked about unit testing in his current project. They use NUnit throughout the whole developing process. The biggest problem though is that they do not write their test before implementing, because it is to time consuming!

There are different approaches to replace existing API for testing and avoid calling resource intensive objects. One is called "mocking", the other is known as "stubbing". While mocking mimics a specific behavior and expects various actions stubbing only decouples time-consuming actions such as database queries.

Look at an Martin Fowler's article on mocks and stubs here for more information.

As you can see, you should use mock components. The main drawback is that this is a very time-consuming work to create them. For this purpose Ayende Rahien developed his Mock Object Framework Rhino Mocks. It's really worth taking a look at it, because it simplifies life as a developer.


Sunday, July 17, 2005 #

It's 2005. We are in the year of .net 2.0.

Looking around and searching for new projects at http://www.gulp.de I noticed that

there are  110 open projects when entering "Java" as the keyword compared to only 18 projects with "C#".

For me as a consultant who is specialized on .net technology it is a very disappointing result.

Are the Germans so slow when it comes to new technologies such as .net, or are we just afraid of new things?


Well,

 

this is my first post in my own blog. Thanks to the guys at www.geekswithblogs.net for offering me the space.

As a developer and consultant I want to share my experience in building applications with .net technology. The main focus will be on developing software for mobile devices.

I started with .net in 2003. Hannes, a friend of mine, gave me a first introduction in Visual Studio .Net and C#. At that time I had Java know-how and learning C# was not that hard ;-).

Since then I was more and more enthusiastic in programming with the Microsoft .Net - Framework.

It was so joyful to port my last project from Java to .net that I never touched Java again!

So have fun with this blog and stay tuned for new posts!