CodeSmith Community
Your Code. Your Way. Faster!

NetTiers solution too big?

Latest post 10-09-2007 12:38 PM by Ryan Anderson. 1 replies.
  • 10-09-2007 6:02 AM

    • xas
    • Not Ranked
    • Joined on 09-20-2007
    • Posts 5
    • Points 95

    NetTiers solution too big?

    Hi all,

     I'm working in my first project using NetTiers and I have a couple of questions associated with Visual Studio performance.

     My virtual machine configuration is:

    • 1550Mhz
    • 1.3 GB RAm
    • Win XP professional SP2
    • Latest NetTiers templates
    The consumed database has 163 Tables (we still have no Views, but they will come shortly)
     
    In this context my problem is Visual Studio time response and compilation time. NetTiers generated solution "eats" 600 RAM Mb all alone when I open it in Visual Studio. In addition it lasts at least 3 minutes to compile.
     
    Because I only will write code in Service and Entity layers i've created a solution with this two projects and the DAL (it's nedded to compile). Hence, I've created another solution with the WinForms consumer application which has file references to the Service, entity and DAL libraries. The winforms solutions compiles fast as it's almost empty, and the other solution lasts 1 minute to compile (at least I've won 2 minutes).
     
    I've also tried to use configuration Manager to create a configuration which compiles only the winforms, service and entity layers but... it did'nt work to me. Sad
     
    So my questions are:
    1. Is it normal to consume so much time and memory in a generated NetTiers solution?
    2. What can I do to improve my compilation time? Is there a better approach than mine?
    3. Do I have to break the solution in smaller solutions? Do I have to break the database?
    4. Should I work with a better machine?
     
    Any help will be appreciated, thanks in advance.
     
    Filed under:
    • Post Points: 35
  • 10-09-2007 12:38 PM In reply to

    Re: NetTiers solution too big?

    Not sure if this helps, but I know what you are dealing with.

    It does take a long time to compile. Working with Web Apps mostly, what I end up doing is create a new website in a seperate solutions and reference the nettiers generated dll's as needed. Compilation is normal and fast then for me. The only problem is that whenever there is a DB change you need to recompile the code once again, which is back at your 3 minutes (personally have never experienced a build that long before...).

    Just try to piece ou the only chunks you need and create a solution around those projects and reference the rest.

    Anyone else have solutions from experience?
    RA

     

    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems