30-4 vacation BMT

So great! I have not been on vacation for long time. Usually, when having vacation days, i go to my hometown, staying with my family, It was fine. Thing changed! I took a vacation for 4 days going to Buon Ma Thuat City. The very first word, i want to say thank you to my …

NHibernate first attemp in blog system

As mention in the previous post, i started my application with first try in NHibernate. Wow it was sweat try. Eventually i got it works. After nearly 4 hours fighting with NHibernate and my application, i had these in general: Let says a little bit about them before continuing: AnhDuc.Blog: Web site application AnhDuc.Blog.Business: Project …

Blog system – introduction

So far i have read many articles about web application development. So general speaking, i have tools in hand to build a website in no time with less effort. Just need to structure code and deal with business logic. Here are some: NHibernate: Deal with DataAccess layer and maybe more. AJAX data template , deal …

Error logging with ELMAH

ELMAH stands for Error Logging Modules And Handlers for ASP.NET. Wondering in Scott Hanselman blog i know about this one. Scott Hanselman ELMAH The tool helps us monitoring the exceptions have been happening during the life of web application. Why do you need that? Stack trace and its suffs are useful information in order to …

I was in yahoo-er trap

On Friday last week, while i was in my room, in the company, watching movie ( since out of work already and that was relaxing time). On of my friend on yahoo chat list buzzed me.  Yeah, i had a chat without any doubt about him. Things went a litte bit then he suddenly asked …

My name is not Google!

Today, i read a post on Ayende site quite exiting. What would you do when you have problem? For instance, while programing and you got an exception. Click here Ayende to see what others discuss about this situation. In conclusion, you should google it first, or try yourself with some efforts before asking others to …

Do we need technical design?

Recently, the trend is for XP ( Extreme Programming) and Agile management with Sprint/Scrum, so do we still need technical design for a project? The purpose of Agile developement is to supply the deliverable product sustainably and XP helps team accomplish the goal. Over the internet, we have found many principles, tips, best practises about …

Donot mix up layers in one function

Recently i did some refactoring on the old code. The code works fine as expected. Except that it was hard to test since there were too many dependencies on the implementation. Here what it look like:       public static void Accept(Task task)       {          task.ActualStartDate = CGDateTime.Now;          task.Completed = false;          if (task.ResponsibleResource.ResourceType …

%d bloggers like this: