ideas | discover | explore

Tuesday, February 16, 2010

Validation Application Block for my validation.

As I was sprawling the internet looking for alternatives on adding validation to my winforms app I came across Microsoft Validation Application Block. Its a library I can use in whatever .net application I'm creating whether winforms, asp.net, or services. As I was exploring how to use VAB I found out that there are 3 ways to adding validation in your classes. Its includes decorating your classes with attributes, configuration files, or both. I decided to use attributes for validation on my business objects. It was easy to use and integrate into my current project.

Sunday, January 24, 2010

A day with my talk on working with the DotNet framework.

Yesterday was a great day for me because I was given the opportunity to give a seminar about the DotNet framework. My audience was BSIT 4th year students of Aces Tagum College which is also my alma mater during college. I was very excited and was very surprised to see some of my former students(the time when I was an instructor some years ago) being part of the audience. It was quite some time(about 2 years ago) sinceI last stepped inside the schools computer laboratory. It feels like deja vu for me.

I spent the entire day discussing about DotNet framework, giving introductions to some of it features and things that you can do with it. It was quite a busy day but its all worth it. I was able to share some ideas and thoughts about the topic. Overall, it was a great experience. I hope to do it again in the future and hoping to do it better.

Thank you to everyone who listened and responded.
Code Hard!
Peace!

Wednesday, January 6, 2010

From Castle ActiveRecord to NHibernate

After several days of trying to understand NHibernate I'm finally going to move my current project to it. Currently, my winforms app uses castle activerecord for ORM but since its built on top of NHibernate I thought I'd move to it instead. Its gonna take me quite a while to learn everything about NHibernate but I know I'll greatly benefit from using it.

Code hard!
Peace

Sunday, January 3, 2010

Happy New Year!

Happy New Year!
It's another year for me to get new goals and hopefully achieve something significant this year.

Code hard!
Peace

Sunday, December 27, 2009

Fixing NHibernate and visual studio 2008 problems.

For several days I was trying so hard to get up and running with NHibernate and Firebird on Visual Studio 2008. But, I wasn't very successful. I was always getting an error "could not load assembly system.data.entity" when I try to run my NHibernate application. I googled for so many hours and finally I came across an article that would solve my problem. I immediately downloaded and installed the .net 3.5 sp1 and its updates. After that I was able to finally run my app without any problems.

At last, I can continue with my exploration of NHibernate.

Code hard!
Peace!
Happy New Year!!!

Sunday, August 16, 2009

Castle Activerecord and Firebird DB

After a few jumps and hoops I've finally starting to get the hang of using castle AR. After a few days of learning AR I slowly refactored my current project and immediately I can see the difference. I was going much faster now than before where I was doing everything using pure ADO.net. It was such a pain trying to crash your way through ADO.net. Currently, I'm using version RC 1.03 and I'm happy with it. With the release ActiveRecord 2.0 I just can't wait to use it on my future projects because it has better features.

I've also restructured my application into a layered architecture(3 tier) which is good because it made my development much faster.

Keep coding!
Peace!

Wednesday, July 15, 2009

First run at using castle activerecord and embedded firebird

After a fews of reading and trying to successfully run castle AR with embedded firebird I finally did it. I am yet to get to know more of castle AR in the next few nights. I plan on using it for my project which is currently running on all ADO.net(datatables,datasets, stuff like that).