Feeds:
Posts
Comments

Archive for the ‘Programming’ Category

Strangely, most of Entity Framework examples are for just one table. In real world, it is very rare, unless you use some document database. Often you get a result set from a database which joins two or three tables. There is one example of how to use navigation property. http://msdn.microsoft.com/en-us/library/bb896321.aspx I tried it, and thanks [...]

Read Full Post »

I used Entity Framework for my personal projects for a while but wanted to try NHibernate. Instead of NUnit, I tried MS Test this time. First problem was that MS Test fails, complaining that hibernate.cfg.xml does not exist. It did not copy the file to MS Test out directory. Of course, I set “Copy to [...]

Read Full Post »

Of course, you need to install sqlite or deploy the dll together. Yet I keep forgetting that I need to register “.Net Framework Data Provider for Sqlite” You don’t need it on your dev machine, as Sqlite installation register it with your version of .Net machine.config. If  you not register it, you will have an [...]

Read Full Post »

I work on a few personal projects. Personal projects are fun, because you can choose which technology and tools you are going to use and often you can experiment with the latest fancy things. I once used ASP.Net MVC for my toast manager and became a fan of ASP.NET MVC. Also, my experience with ASP.Net [...]

Read Full Post »

http://www.dasblonde.net/2007/06/24/WCFWebcastSeries.aspx http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/362aaaf6-8eda-4fff-8e4c-8198e3f327f

Read Full Post »

Visual Studio 2008 integrates Sql server 2008 express nicely into App_Data folder. You just create the database using Server Explorer, and it inserts the connection string into web.config for you. I used it when I worked on my toy project – ToastManager. I finished coding and testing on my machine and deployed it to an [...]

Read Full Post »

google’s canonical link

You can come to a same page with the same or similar content with many different urls. Query strings may have user id, session id, and many more. All these varied urls work unfavourably toward SEO. It will be best to clean up your urls, but there is a easy and quick way to get [...]

Read Full Post »

I wrote ToastManager about two months ago, and not try to covert it into ASP.Net. What ToastManager does is to collect people’s toast order for the morning toast run. Why? I just think MVC is cool. It separate programming logic into 3 different layers nicely. The first problem I encountered in writing MVC code was [...]

Read Full Post »

Recently, I had a chance to refactor codes for a system that sends a file to DreamMail. Because we did not touch any FTP functionality, we were complacent and tested it up to where files are exported and sent via FTP. Development is completed and the application was deployed to a testing environment. Very thankfully [...]

Read Full Post »

References How to install and use Selenium RC http://www.jroller.com/selenium/ Very good and complete article on introduction. Selenium Core FAQ Selenium RC FAQ http://seleniumhq.org/projects/remote-control/languages/selenese.html Since 2009, I have used Selenium IDE and core. I love Selenium IDE. It is easy to use and is very handy as I can record test cases and also run them [...]

Read Full Post »

« Newer Posts - Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 135 other followers