Book Review: ASP.NET 3.5 Application Architecture and Design

I recently read a new book published by Packt Publishing, “ASP.NET 3.5 Application Architecture and Design” by Vivek Thakur. I've noticed a lot of articles and blog posts about design patterns and domain models in the ASP.NET community but it really mystified me until I read this book. Although many of the blog posts I've read have tried to be an introduction to design patterns, I'd have to say they all did a poor job compared to Vivek Thakur's book which explains it all in plain English. I learned how application architecture applies to web development and what advantages it is meant to offer.

For example, the chapter on tiers and layers explains how the business layer, UI layer, and data access layer relates to namespaces and classes you could create to organize your project. The chapter on entity-relationships clarified how the domain model used in the object-oriented system may differ from the logical data model used in the relational database management system.

I also found good explanations of; lazy loading, to defer the loading of all properties until they are really needed, the singleton pattern, which restricts and controls the number of objects instantiated for a particular object during the application life cycle,  the factory method, used to create objects without prior knowledge of the object using interfaces, and dependency injection, which allows you to plug-in an implementation that satisfies the interface requirements. Although I've come across these terms before I had no idea what they meant or how they could apply to ASP.NET. You'll find some really basic examples of how you can write code to use these design patterns.

If you are an expert on application architecture and expect in-depth coverage of how to apply the factory method in ASP.NET then you'll be disappointed. I'd say this book is more helpful for someone like me, a developer who is completely mystified by what everyone seems to be writing about these days. That is not to say you might not pick up a few tips from the material. For example, page 137 mentions a lock statement that can be used to ensure thread safety and I'd never encountered that before.

I also appreciated the author's practical approach to design patterns. He does not recommend them for small projects. This kind of lets me off the hook because none of my projects could really justify the additional overhead of a loosely-coupled design. However that is not to say you won't encounter such design patterns in your work. For example, I'm currently trying to customize the Elgg open source web application for social networking and its database schema is a peculiar attempt to incorporate entity relationships directly in the physical data layer. In any event, you are not meant to directly access the database. Instead you should get a reference to an ElggObject and use its properties. 

64 Comments

  • nice post. Will Keep reading.

    Thankyou

  • hmm interesting.

    Thankyou

  • I usually advice college students to buy essay papers just because it's great solution for men who are lack of time.

  • How can you compose your fantastic article just about this post we wonder? The buy thesis service could hire writers as you to do the history dissertation making. Hence you will have a good chance to join the association of masters.

  • Do you think that supposes to be easy to buy essays? Partl, you're right. However, it can be hard to order an essay completed by experts.

  • Hello, Just found this forum, I'm not sure if this is the right place to post this, I am Tom from Australia.


  • This one looks a bit too simpe for me. Still thanks!

  • Thanks for this informative post .

  • Hello ,I still want be able to actually lose any weight.

  • Hello Everyone! I like watching BBC Football online.

  • They go back to school to get more specialized skills so they can earn more money

  • Its so useful post. this is so informative and helpful post.

  • Typical Medical Assistant Salary

  • Living on a Medical Assistant Salary

  • CNA Training Online A Good Choice

  • How to Choose Good CNA Schools


  • It is never too late to learn.

  • Great webpage yours sincerely, Vada Geisler

  • It was rather interesting for me to read that blog. Thank author for it. I like such topics and everything that is connected to them. I would like to read a bit more .

  • Yes there should realize the reader to RSS my feed to RSS commentary, quite simply

  • There are certainly a lot of details like that to take into consideration.

  • click to view to your friends online shopping

  • must look at this and get big save for more detail

  • Such a small think. ;-) But such a great idea

  • Excellent post! I think you've encapsulated the mission of this blog and our challenge.

  • must look at this , just clicks away aabags.com for more

  • Interesting post, this was really useful. thanks!

  • Such a small think. ;-) But such a great idea

  • Great blog - Nice job :-)

  • Hi there! Do you use Twitter I’d just like to follow you if that would be ok.
    I’m undoubtedly enjoying your blog and look forward to new posts.

  • Excellent review. Now that you've done all the hard work for me, I won't have to read the book.

  • Cheap VPS or virtual private server is the ultimate solution to costly maintenance web servers. In fact, virtual private server is more advanced than shared hosting & is more like dedicated server, but to emphasize, at a much lower cost. The low cost of virtual private server is the significant difference between shared web-site hosting and dedicated server. A slightly advanced than shared website hosting and has the features of a dedicated server, but it is way cheaper than a dedicated server. The financial advantage of using virtual private server is not the only advantage it could give to its customers or users. Explained below are the additional advantages and disadvantages of using cheap virtual private servers.

    Advantages of Cheap VPS:
    The first thing that you could get from your individual virtual private server is the root access to your server. It means that you can have access to the root level of the hosting server. Thus, you have the ability to put in & configure any programs you require. Additionally, you can also host a limitless number of net sites through Apache's virtual hosts & manage them efficiently. Not only this, but you can also host other services, such as a mail server, an FTP server, or any type of server you want. You may even use VPS for file storage or as a backup for all of your files. Since VPS is isolated from other sites present on the physical server, it is secured that no harmful script or application used by other webmaster, that can harm your website.

    Disadvantages of Cheap VPS:
    There are definite disadvantages in using cheap VPS or virtual private servers. For, you cannot get managed servers. This means that in case you have no idea how to set up & configure your own VPS, it is a huge disadvantage. This disadvantage leads us to get another disadvantage, that is, you are solely responsible of all the installation, maintenance, security measures and updates on your VPS. Thus, in the event you do not possess the high-proficiency in using the VPS to control the working of the net site, the applications used, & the server resources skillfully, you will have a major issue & your VPS becomes unmanageable. Additionally, cheap VPS hosting designs might give you a whole operating process of your own to work with, you still share hardware resources with other VPS users on the host server. Therefore, in the event you are jogging intensive programs that need high performance, you may need to make use of other technique of website hosting, such as co-location or a dedicated server.

    Remember, the great features & capabilities of the dedicated server are available for pricey fees to you. So if your web-site does not need high finish performance, cheap VPS are ideal for you. They are economical, efficient and offer excellent benefits for your website. Therefore, cheap VPS or virtual private servers can be reliable, but since it on a budget plan, do not expect as much as you would from expensive VPS plans.

  • She wouldnt please email dacord@mail.ru me. I'm bad man and like suck with men! go running path behind the left the baby sitter. We.

  • please email dacord@mail.ru me. I'm bad man and like suck with men!

  • Finally, for him a major please email dacord@mail.ru me. I'm bad man and like suck with men! league orgasm from thecleanser on a good evening. Billingsly. There.

  • please email dacord@mail.ru me. I'm bad man and like suck with men!

  • Just want to say your article is as astounding.
    The clarity in your post is just nice and i could assume you are an expert on this
    subject. Fine with your permission allow me to grasp your feed to
    stay up to date with imminent post. Thanks one million and please continue the enjoyable work.

  • I have had a hard time putting my finger on the number one reason why I love this bag, here are 5 reasons off of the top of my head..

  • TwellaJep coach.com
    TotInsuts coach factory outlet
    guethighsiz coach.com
    Audisrurn coach outlet
    Audisrurn

  • bbgpe plaxico burress jersey
    hqtdf jason williams jersey
    lnyik jamaal charles jersey
    woqta jonathan vilma jersey
    jogty anthony davis jersey

  • TwellaJep coach factory
    TotInsuts coach outlet
    guethighsiz coach factory
    Audisrurn coach outlet
    TwellaJep coach factory outlet online
    TotInsuts coach factory online

  • qslxa andrew luck jersey
    kqhwa brandon marshall jersey
    wicmp christian ponder jersey
    qjaup donovan mcnabb jersey
    vskad lance moore jersey

  • TwellaJep coach outlet
    TotInsuts coach outlet
    guethighsiz coach outlet
    Audisrurn coach factory outlet
    TotInsuts coach factory outlet online

  • gshnz ladainian tomlinson jersey
    pdghn legarrette blount jersey
    alvsz james harrison jersey
    mplid donovan mcnabb jersey
    oqukp greg jennings jersey

  • bzlyr reggie wayne jersey
    dgsga roddy white jersey
    vbsla von miller jersey
    wuekg randall cobb jersey
    lfrjx randall cobb jersey

  • skgvb matt forte jersey
    oyzot arian foster jersey
    yufos rob gronkowski jersey
    giaoz jared allen jersey
    xlcmd jonathan vilma jersey

  • evksq sebastian janikowski jersey
    bcmsd jamaal charles jersey
    cfgpz vince wilfork jersey
    mubaq chad ochocinco jersey
    yclvb justin blackmon jersey

  • ayxwa wes welker jersey
    ikgdm greg jennings jersey
    icnrp ike taylor jersey
    qwpqu brandon jacobs jersey
    fzfjq anthony davis jersey

  • vnsmc london fletcher jersey
    vemxz jake locker jersey
    bekpo victor cruz jersey
    anrba drew brees jersey
    hmfuk lance moore jersey

  • TwellaJep
    TotInsuts
    guethighsiz
    Audisrurn
    TotInsuts

  • zyzav maurice jones-drew jersey
    gpmqg jason hanson jersey
    bwlqq jordy nelson jersey
    mgrls jake locker jersey
    lvvuj heath miller jersey

  • pwkdh brandon jacobs jersey
    wazsm mario williams jersey
    tlbqg sam bradford jersey
    lqupy london fletcher jersey
    mphby haloti ngata jersey

  • TwellaJep
    TotInsuts
    guethighsiz
    Audisrurn
    TotInsuts

  • TwellaJep
    TotInsuts
    guethighsiz
    Audisrurn
    TotInsuts

  • Thanks for the useful post . .

  • GzheWEMV ogdsOGUdd cxeepomrzg QEQoXcikx iinbiz CybKUVHUydr IvioNPSF nbweBKPjr XtulJASX luarFBWlc

  • Very rapidly this website will be famous among all
    blog viewers, due to it's good posts

  • Alyssa Milano's tattoo collection is tied a lot to religion. The rosary tattoo placed on her right shoulder blade shows this deep devotion. The placement of the tattoo allows her to incorporate it into her clothing.

  • Cheap VPS or virtual private server is the ultimate solution to costly maintenance web servers. In fact, virtual private server is more advanced than shared hosting & is more like dedicated server, but to emphasize, at a much lower cost. The low cost of virtual private server is the significant difference between shared web-site hosting and dedicated server. A slightly advanced than shared website hosting and has the features of a dedicated server, but it is way cheaper than a dedicated server. The financial advantage of using virtual private server is not the only advantage it could give to its customers or users. Explained below are the additional advantages and disadvantages of using cheap virtual private servers.

    Advantages of Cheap VPS:
    The first thing that you could get from your individual virtual private server is the root access to your server. It means that you can have access to the root level of the hosting server. Thus, you have the ability to put in & configure any programs you require. Additionally, you can also host a limitless number of net sites through Apache's virtual hosts & manage them efficiently. Not only this, but you can also host other services, such as a mail server, an FTP server, or any type of server you want. You may even use VPS for file storage or as a backup for all of your files. Since VPS is isolated from other sites present on the physical server, it is secured that no harmful script or application used by other webmaster, that can harm your website.

    Disadvantages of Cheap VPS:
    There are definite disadvantages in using cheap VPS or virtual private servers. For, you cannot get managed servers. This means that in case you have no idea how to set up & configure your own VPS, it is a huge disadvantage. This disadvantage leads us to get another disadvantage, that is, you are solely responsible of all the installation, maintenance, security measures and updates on your VPS. Thus, in the event you do not possess the high-proficiency in using the VPS to control the working of the net site, the applications used, & the server resources skillfully, you will have a major issue & your VPS becomes unmanageable. Additionally, cheap VPS hosting designs might give you a whole operating process of your own to work with, you still share hardware resources with other VPS users on the host server. Therefore, in the event you are jogging intensive programs that need high performance, you may need to make use of other technique of website hosting, such as co-location or a dedicated server.

    Remember, the great features & capabilities of the dedicated server are available for pricey fees to you. So if your web-site does not need high finish performance, cheap VPS are ideal for you. They are economical, efficient and offer excellent benefits for your website. Therefore, cheap VPS or virtual private servers can be reliable, but since it on a budget plan, do not expect as much as you would from expensive VPS plans.

  • Forget the Olympics, because the ex games have officially commenced!

    Amid reports that Demi Moore has found a new man, her eventually-to-be ex-husband Ashton Kutcher
    has stepped out once again with former That '70s Show costar and rumored girlfriend, Mila Kunis. The two have said they are only "friends," but could this latest night on the town be their officially coming out?

  • Cheap VPS or virtual private server is the ultimate solution to costly maintenance web servers. In fact, virtual private server is more advanced than shared hosting & is more like dedicated server, but to emphasize, at a much lower cost. The low cost of virtual private server is the significant difference between shared web-site hosting and dedicated server. A slightly advanced than shared website hosting and has the features of a dedicated server, but it is way cheaper than a dedicated server. The financial advantage of using virtual private server is not the only advantage it could give to its customers or users. Explained below are the additional advantages and disadvantages of using cheap virtual private servers.

    Advantages of Cheap VPS:
    The first thing that you could get from your individual virtual private server is the root access to your server. It means that you can have access to the root level of the hosting server. Thus, you have the ability to put in & configure any programs you require. Additionally, you can also host a limitless number of net sites through Apache's virtual hosts & manage them efficiently. Not only this, but you can also host other services, such as a mail server, an FTP server, or any type of server you want. You may even use VPS for file storage or as a backup for all of your files. Since VPS is isolated from other sites present on the physical server, it is secured that no harmful script or application used by other webmaster, that can harm your website.

    Disadvantages of Cheap VPS:
    There are definite disadvantages in using cheap VPS or virtual private servers. For, you cannot get managed servers. This means that in case you have no idea how to set up & configure your own VPS, it is a huge disadvantage. This disadvantage leads us to get another disadvantage, that is, you are solely responsible of all the installation, maintenance, security measures and updates on your VPS. Thus, in the event you do not possess the high-proficiency in using the VPS to control the working of the net site, the applications used, & the server resources skillfully, you will have a major issue & your VPS becomes unmanageable. Additionally, cheap VPS hosting designs might give you a whole operating process of your own to work with, you still share hardware resources with other VPS users on the host server. Therefore, in the event you are jogging intensive programs that need high performance, you may need to make use of other technique of website hosting, such as co-location or a dedicated server.

    Remember, the great features & capabilities of the dedicated server are available for pricey fees to you. So if your web-site does not need high finish performance, cheap VPS are ideal for you. They are economical, efficient and offer excellent benefits for your website. Therefore, cheap VPS or virtual private servers can be reliable, but since it on a budget plan, do not expect as much as you would from expensive VPS plans.

  • Alyssa Jayne Milano was born December 19, 1972.
    She is an actress, producer, and former singer,
    probably bestknown for portraying Phoebe Halliwell on The WB television series Charmed which had a run
    from 1998 through 2006.Milano first rose to fame on television
    for the childhood role as Samantha Micelli on the ABC series Whos the Boss?
    (1984 to 1992). She also starred as Jennifer Mancini
    on the Fox soap opera Melrose Place (1997 to
    1998). Milano also has a sports apparel line, Touch.

  • I always emailed this web site post page to all my associates,
    since if like to read it next my links will too.

  • Link exchange is nothing else however it is only placing the other person's blog link on your page at suitable place and other person will also do same in favor of you.

Comments have been disabled for this content.