Archive for September, 2009

WPF Login Demo with MVVM pattern – update (2009-9-30)

After the first example posted, here are some improvements:
1. Moved business layer into separate project for testing
2. Added a quick test project (with some BDD flavors)
3. Tests are targeting only the ViewModel.
4. Refactored the intentional first naive ICommand implementations (towards Prism via DelegateCommand, although RelayCommand or SimpleCommand can be used also).
5. Still DIDN’T added yet [...]

Database Projects error: “An error occurred trying to load the project properties window. Close the window and try again.” (2009-9-25)

 
I’m using Visual Studio 2008 SP1, Team Foundation Server 2008 and Database Edition GDR.
Suddenly, my desktop builds doesn’t work anymore. The issue was related to my database project (an Sql Server 2008 Database project). Trying to get database project properties window leads to that error:
An error occurred trying to load the project properties window.  Close [...]

Simple WPF Login demo, with MVVM pattern (2009-9-23)

There is a newer version here.
I was offering myself to prepare a quick WPF Login demo (having a minimum set of best practices) for a colegue, so here it is. (I’ll update it with more details and, perhaps, new versions):
It uses the MVVM pattern, no code behind (except the lines in which the DataContext is set), [...]

Highlight selected row in ASP.NET MVC: it’s about requirements (2009-9-21)

This is more a view from a different angle than a technically post: suppose you have an ASP.NET MVC application with a simple table with products (let’s name the view Products). Clicking on any product “Details” link, you should see the same table but with the product clicked previously highlighted and the product details.
How would [...]

“Object expected” jquery error: last place to look (or why you should look carefully at the META tags) (2009-9-17)

That’s will help others for sure: ever happen to work on localhost on a legacy application (no matter if on Apache or IIS) and to have some missing images, css files or js files? Even if you are sure that there are in right place, accessible by the web server?
Here is my Error Console from [...]

ASP.NET MVC routing for IIS 6, why ending extension is bad? (2009-9-15)

Deploying an ASP.NET MVC application to production (on IIS 6) makes the nice looking URL to not work as expected.
Without going into too much details, the issue is ASP.NET needs the .aspx to be present into the URL, in order to be triggered.
So, an URL like
http://www.mycompany.com/Romania/English/Services will lead to a 404 error. Recommended solutions are [...]

My Reasons to host the WordPress blog instead of using the WordPress.com service (2009-9-15)


After first look and the quick setup at WordPress.com (I learned meanwhile that there is a WordPress.com and a WordPress.org), I became picky:

what happens if I would like to move the blog to my own host?
why there is no meta keywords, descriptions tags in my posts?
why I can’t add AddSense to my posts?
why I don’t [...]

First blog post, just to test Windows Live Writer (2009-9-14)

With the latest update of the Windows Live Messenger, here comes the Windows Live Writer. Never had a blog and wanted to give it a shot.
Technically, this post is written with a desktop application and published directly to WordPress. Probably, WordPress expose a set of web services to allow that.
Nice thing is that the Live [...]