Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET MVC Framework

ASP.NET MVC Framework

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharparchitectureperformancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brendan Vogt
    wrote on last edited by
    #1

    Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan

    T R 2 Replies Last reply
    0
    • B Brendan Vogt

      Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      It doesn't matter if you separate your code into a separate project. If you publish the website precompiled then the speed is the same. If you don't precompile then it will be slow when it compiles for the first user only. http://msdn.microsoft.com/en-us/library/cc668225.aspx[^]

      I didn't get any requirements for the signature

      1 Reply Last reply
      0
      • B Brendan Vogt

        Hi, I have been checking out this framework, and I see that they have classes that are part of the web project. I don't like having classes in my web project, but rather as DLLs. Does any one know why this framework does not create DLLs from projects? I think web client software factory makes use of projects for everything. If classes are part of the web project, does it take longer at runtime? I am looking for speed. Please can I hear your comments. Brendan

        R Offline
        R Offline
        Ranjit Viswakumar
        wrote on last edited by
        #3

        The "class" vs. "dll" question is something many people ask themselves. A DLL is a container for classes, therefore when you create a class, it is compiled into a DLL/Assembly. You can simply create another "library" project and move your classes/code from the console project. Once done, then yes, you have to add a reference to that assembly in your console application. As far as speed and performance- it's not really faster either way. The contents of the DLL are made available, but not included. The use a DLL can clean up our code because it allows you to refer to class names without their namespace. You can compile one or more classes to a DLL and clean up your code this way. This may or may not increase your performance as a developer. Have fun!

        Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups