First Part of new Article Series on N-Layer Design in ASP.NET 3.5 Published!

I am glad to announce the immediate availability of the first part of a brand new article series on N-Layered Design in ASP.NET 3.5!

Many of you are already familiar with my previous and highly popular series on N-Layered Design in ASP.NET 2.0 that I released in early 2007. You may also be aware of the fact I have been announcing a follow up series on this topic. Today the time is finally there: I just published part 1 on my web site. Before I show you the link to the first part, let me briefly provide some background on the new series, and the time-line for the other parts.

Today, November 25, 2008 I published part 1 which contains a brief recap of the previous series and a look ahead of what's to come in the new series. Additionally, this article explains the new design and architecture of the application, showing you the new code organization, project structure, namespace division and much more.

I'll publish part 2, that deals with validation, up or on December 14 2008. After that, I'll publish a new part roughly every two weeks. That means two more articles in January 2009 and two more in February 2009.

Just as usual, I'll provide these articles for free. However, in order to help me pay for the bills to run this web site, I decided to make the entire article series available as a commercial download as well. This means that right now, right here, you can pay a small amount of money for the articles and I'll send them to you by e-mail. How? you say. Read on....

Why Am I Charging Money for these Articles?

I really believe in spreading knowledge for free. It's something I have always been doing and plan to keep on doing as long as I write technical content. I wouldn't know what I know today without the wealth of free information available on the Internet. However, I also have bills to pay. I have a dedicated server up and running 24 hours a day to serve you the content you came looking for here and those things aren't cheap. I tried making up for the bills with Google ads and a PayPal donate button but that didn't help; at all. Since I introduced the Donate button little under a year ago, I received exactly ZERO donations. Not one! Nada, zilch, noppes, nothing, not a cent. Same goes for Google ads; apparently, developers are not the type of people to click banners.

So that's why I decided to offer the entire article series for money, so you can get early access to them. Buy the series now, and you'll be reading them ASAP instead of waiting for weeks before the entire series is out. But you get more than just early access. Here's the deal:

  1. The entire article series consists of around 69 pages of content in a single PDF document.

  2. Together with the PDF file you get the full source of the application (no need to wait for part 2 to appear when I'll publish the code publicly for the first time).

  3. You can buy the entire series on-line now using the PayPal Buy Now button below for only $ 15.00. Depending on what you make as a developer, that equates to anywhere between 4 minutes and an hour of work. If you don't like PayPal or don't have an account, you can also buy something from my Amazon Wishlist. Anything on that list counts as a payment for the article series.

  4. Besides the article and the full source, you also get the Unit Tests project I used to test out my application and architecture. It's not a complete set of unit tests, but it's more than enough to better understand the code examples in the articles, run them yourself and learn from them to improve your own unit test writing skills (note: this requires Visual Studio 2008 Professional or up).

  5. On top of all this I'll give you two free "support tickets" where you can contact me directly with on-topic questions regarding this new article and its design. That is, I'll help you answer questions you may have with regards to the article, whether it is about the Contact Manager Application from the article and its design, or about your own application where you apply my principles.

To see what the entire article contains, take a look at its table of contents downloadable as a PDF file. Please note: the actual page count in the TOC is slightly off due to the differences in publishing mechanisms. The final article contains 69 page, of which 67 are the full article and the last two pages contain a list of all links shown in the articles.

So what are you waiting for? Go ahead and click the Buy Now button and buy the entire article series, the full source and free support tickets!

Buy the series now using PayPal for only $15.00! Make sure you enter a valid e-mail address where I can send the PDF document and source to and click the Buy Now button. As soon as I have received your payment, I'll send you the document and the full source code.


Alternatively, visit my Amazon wishlist and send me one of the products from the list in return for the article series, source and support tickets. Make sure you specify your e-mail address somewhere in the order so I know where to send your PDF to.

If you have any questions about this purchase, PayPal, my Amazon wishlist or your order, contact me through my Contact page.

Now, if you decide not to buy the articles right now, feel free to check out part 1.

Where to Next?

Wonder where to go next? You can read existing comments below or you can post a comment yourself on this article .

Consider making a donation
Please consider making a donation using PayPal. Your donation helps me to pay the bills so I can keep running Imar.Spaanjaars.Com, providing fresh content as often as possible.

Feedback by Other Visitors of Imar.Spaanjaars.Com

On Thursday, November 27, 2008 10:36:50 PM Tahir Naushad said:
Although the architecture we use in our company is inspired by Rockford's work however I still like a lot of concepts in your architecture, mainly its simple, and that makes it easy to adopt.

I have bought the article but not received the PDF or source code. Not sure how to get it, could you help please?

On Friday, November 28, 2008 9:00:55 AM Imar Spaanjaars said:
Hi Tahir,

You gave me exactly 1.75 mintes to respond and send the PDF and source, which is a little too short for me.... ;-)

It's not an automated process, and even if it was I don't think the PDF and source would have reached you by mail in little over a minute.

Anyway, by now I have sent you the PDF and the source by e-mail.


On Friday, November 28, 2008 9:52:02 AM Tahir Naushad said:
Hi Imar,

Sorry for not giving you enough time :) I thought the process would be automated and that is why emailed you quickly.

I will read the article and will get back to you with any questions.


On Wednesday, December 10, 2008 3:44:01 PM Vladimir Kelman said:
I've just bought one, thanks Imar. You helped a lot of people with your articles. To me they they give a perspective and now I'm much more into software architecture things, like N-Tier, DDD, Dependency Injection, ORM...
On Friday, December 12, 2008 1:03:07 PM Chuck said:
I just purchased this set. I love the information you provide in these articles and I am looking forward to receiving the complete set. You know, you should hit up Wrox and ask them if you can write a book similar to ASP.NET 2.0 by Marco Bellinaso using new ASP.NET technologies for a large scale site. :) Thanks!
On Friday, December 12, 2008 7:27:48 PM Imar Spaanjaars said:
Thanks guys; much appreciated!

On Wednesday, December 24, 2008 7:35:29 PM Ameur said:
I have a problem with paypal is there is any way to send u a check for 15$.
I really need this article.
On Thursday, December 25, 2008 10:05:30 AM Imar Spaanjaars said:
Hi Ameur,

You can buy something from my Amazon wish list instead:


On Monday, December 29, 2008 7:15:02 PM Mark said:
Maybe it's just me, but your paypal page is not in English. It looks like it may be some kind of Scandinavian language. I tried from two separate machines.
On Monday, December 29, 2008 8:18:40 PM Imar Spaanjaars said:
Hi Mark,

No, it's not just you. Others have reported it too. It's not Scandinavian, but Dutch - my language. Funny thing is: I see it in English... ;-)

When you log in using Inloggen it reverts back to English...

I looked at my PayPal settings but haven't found a way to switch it to English by default. If somebody has some ideas: I am all ears...


On Tuesday, January 6, 2009 5:04:11 PM Etienne Ngandu said:
Hi Imar,

Great job, I purchased the entire series. You deserve your 15$

On Friday, January 16, 2009 9:47:18 PM Dejia said:
I like your design, and just paid $15 for the full version. But I have not received it yet. Would you help me?

Thank you.
On Friday, January 16, 2009 10:02:24 PM Imar Spaanjaars said:
Hi Dejia,

Pfff, you gave me exactly three minutes to receive your message, read it, find the files, attach them to a reply and send them to you..... ;-)

They're in your mail...

Cheers, and thanks for your support....

On Friday, January 23, 2009 4:12:08 AM Luke Sayaw said:
Hi Imar,

I have already paid by PayPal for the entire articles. So please send me the articles in pdf and the source codes as well.


Luke Sayaw
On Friday, January 23, 2009 1:33:58 PM roberto pardo said:
I just bought the articles thru Amazon wish list. I paid over US$20 because of the shipping.... I hope you give me more knowledge for the excess

On Tuesday, January 27, 2009 4:19:21 PM Adedamola Adeogun- Nigeria said:
How can i Pay for the article series when i don't have a Paypal Account?
Really want those articles.
On Tuesday, January 27, 2009 4:26:34 PM Imar Spaanjaars said:
Hi Adedamola,

You can buy something from my Amazon wish list:


On Wednesday, January 28, 2009 1:24:01 PM Adeogun Adedamola said:
I have made the payment as you wish! ha ha. Via amazon wishlist.
Hope to get the PDFs.
On Sunday, February 1, 2009 7:38:39 PM Amjad said:
hi Imar,

I've ordered the PDF using PAYPAL - it has been around 10 minutes or so - and yet no email with PDF. Today is Sunday - can I expect anything today/tonight - as I've a DESIGN Session Deadline to meet.

Thanks and Regards.
On Sunday, February 1, 2009 7:50:13 PM Imar Spaanjaars said:
Hi Amjad,

I just sent you the files.


On Monday, April 27, 2009 4:18:38 PM Pablo said:
Hi Imar, congratulations, this is a really good article!

I just bought the article using amazon wish list. Please send me the files as soon as posible.

On Wednesday, May 13, 2009 1:48:30 PM Wouter Neuteboom said:
Ook mogelijk om zonder paypal te betalen? ;)
On Thursday, May 14, 2009 9:14:20 PM Imar Spaanjaars said:
Hi Wouter,

Zeker mogelijk. Stuur me maar een mailtje dan laat ik je weten hoe.


On Sunday, May 31, 2009 9:00:29 AM Fredrik said:
Now I have payed with PayPal to give you some "real" creds! These N-layer design-pages are superb!

On Sunday, May 31, 2009 9:14:57 AM Imar Spaanjaars said:
Hi Fredrik,

Excellent, thanks! I just sent you the files.


On Wednesday, July 29, 2009 10:41:59 PM Cort said:
Great stuff Imar. It's beyond me at this point but I wanted to express my  appreciation for this website and for your work on the 3.5 book (and hopefully keep building upward).

I'm looking  forward to your next book - I know Wrox MUST have you working on one. How could they let the author of the number 1 reviewed book on the internet go idle? If you can please let us know what's up.

Thanks, Cort
On Thursday, July 30, 2009 6:32:14 AM Imar Spaanjaars said:
Hi Cort,

You're welcome. Glad you like it so much.

And yes, I am working on a new book; the successor to my Beginning ASP.NET 3.5: More details will follow soon.


On Wednesday, September 16, 2009 9:37:55 PM cesar said:
I buy by paypal good article...
On Wednesday, September 16, 2009 10:03:26 PM cesar said:
I bought by paypal...
good article
On Sunday, February 21, 2010 2:57:58 AM Dan Garvin said:
Really liked what I've read (parts 1 and 2 of the .net 2.0 version). I built a large medical system in winforms and even though this is targeted for web PL, I really got a lot out of the n-tier layout architecture. I've been struggling with this and now I want to do a total re-write because of the answers I've finally found. I'll be doing some major refactoring. I also bought the pdf for reference.

Question: Do you suggest a sane approach for exception handling in the new version PDF? Following advice, I have a ton of try/catch blocks throughout my code and in every layer. I want to trim this down and instead use heavy try/finally and allow exceptions to bubble up to where? BLL or PL? Appreciate your ideas. Thanks and keep it up.

On Monday, February 22, 2010 9:36:14 AM Imar Spaanjaars said:
Hi Dan,

I am not digging into exception handling a lot in these series. Generally, I handle what I can handle at the most specific level (e.g. the concurrency exception) and handle all unhandled exceptions in Application_Error in Global.asax.


On Monday, March 15, 2010 10:22:29 AM Honnie said:
Hi Imar,

I bought your article on the 12-Mar-2010 by Paypal.
But not sure how to obtain the article, please help.

Really like your work... can't wait to read it.

Thanks a lot.

On Monday, March 15, 2010 10:36:39 AM Imar Spaanjaars said:
Hi Honnie,

Shortly after I received the PayPal confirmation I sent you the articles and source to the e-mail address you supplied. Apparently, something went wrong. I'll send them again now. Can you contact me through the Contact page ( if you haven't received the files in, say, 15 minutes or so?


On Monday, March 15, 2010 2:01:09 PM Honnie said:
Hi Imar,

Received everything! Great Stuff!! Thanks again!!!


On Monday, March 15, 2010 2:08:33 PM Imar Spaanjaars said:
Hi Honnie,

Excellent. Have fun!

On Monday, August 16, 2010 1:30:46 PM Mohamed Nabil said:
I've just pay about 17.3 USD for your article through amazon wish list, my order # is 002-3837136-4606622. Now could you send me the pdf and the source code? Thanks
On Monday, August 16, 2010 1:34:16 PM Imar Spaanjaars said:
Hi there,

Can you e-mail me a copy / screenshot of the Amazon order? Then I'll send you the article and source ASAP.


On Monday, August 16, 2010 1:45:46 PM Mohamed Nabil said:
I've just forwarded the amazon order to your email, could you check it and send your material? thanks
On Monday, August 16, 2010 1:48:15 PM Imar Spaanjaars said:
Hi Mohamed,

The files are on their way.

Thank you.

On Wednesday, March 9, 2011 8:53:59 AM Prashanth said:
I Imar , I want to buy this artical . how can i go ahead ?
On Wednesday, March 9, 2011 12:32:03 PM Imar Spaanjaars said:
Hi Prashanth,

Just click the Buy Now button below the article. This takes you to where you can pay for the article.

Cheers, and thanks,

On Thursday, March 10, 2011 10:06:03 AM Prashanth said:
Hi Imar,
I have one doubt..
Everything you have provided here (I mean online) , including source code and good explanation , My question is what extra things are added in PDF ? Or it is the same content exists in PDF also ?
On Thursday, March 10, 2011 10:10:17 AM Imar Spaanjaars said:
Hi there,

Take a look at the section "Why Am I Charging Money for these Articles?" to see what you get when you buy the article.

If you buy the article, you also get the warm, fuzzy feeling that you're helping me keep my site up and running, providing new content as much as possible ;-)

On Saturday, March 12, 2011 12:22:40 PM aras said:
Hi Imar,
Thank you very much, because the first series of articles helpd me a lot and was useful for me

I'm living in Iran and here I don't an international account because Iran is sanctions .
I would like to know how I prepared this collection.
On Sunday, March 13, 2011 1:37:27 PM Imar Spaanjaars said:
>> I would like to know how I prepared this collection.

Is that a question? If so, I don't understand what you're asking.


On Wednesday, June 22, 2011 5:36:50 AM Rob Miller said:
cool site
On Tuesday, November 15, 2011 12:32:10 PM AIMA said:
mr. Imar can use cashio card to buy this project ?

is pdf include full project ?

if you have project using design pattren please contact me


best regard
On Tuesday, November 15, 2011 4:41:40 PM Imar Spaanjaars said:
Hi there,

Yes, the PDF is included; that's the whloe idea of buying this series.

If you mean Credit Card, I think PayPal would support that. Alternatively, you can buy something from my Amazon wish list instead:



Talk Back! Comment on Imar.Spaanjaars.Com

I am interested in what you have to say about this article. Feel free to post any comments, remarks or questions you may have about this article. The Talk Back feature is not meant for technical questions that are not directly related to this article. So, a post like "Hey, can you tell me how I can upload files to a MySQL database in PHP?" is likely to be removed. Also spam and unrealistic job offers will be deleted immediately.

When you post a comment, you have to provide your name and the comment. Your e-mail address is optional and you only need to provide it if you want me to contact you. It will not be displayed along with your comment. I got sick and tired of the comment spam I was receiving, so I have protected this page with a simple calculation exercise. This means that if you want to leave a comment, you'll need to complete the calculation before you hit the Post Comment button.

If you want to object to a comment made by another visitor, be sure to contact me and I'll look into it ASAP. Don't forget to mention the page link, or the QuickDocId of the document.

For more information about the Talk Back feature, check out this news item.