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 website technical layout versus classic ASP

ASP.NET website technical layout versus classic ASP

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpasp-netcom
4 Posts 2 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.
  • P Offline
    P Offline
    PeteConc
    wrote on last edited by
    #1

    Hello. I've read some articles in internet concerning this subject but, as far, I haven't reached to a conclusion. The topics I would like to clarify are the following: - In classic ASP all the code is written directly in the ASP pages. If changes have to be made, only the corresponding page will be updated. In the other hand, an ASP.NET project generates a DLL file with all the code behind compiled. When a single ASP codebehind file is updated, the DLL has to be recompiled and replaced. If two persons are working in different pages in the same project they are working on the same dll file, although the changes are for different pages. Will this constitute a problem that may generate inconsistencies? When developing a website, is it advisable to sub-divide it in many projects in order to have many independent DLLs, or just one project with the whole website code in it, and thus just one DLL file? - In classic ASP the pages may access components that are registered in COM+ Component Services Manager. This ensures the support for object pooling (the reusability of component instances) and distributed transactions. In ASP.NET, apparently there isn't a direct support for these features on .NET managed components. The alternative I've found is to use .NET Enterprise Services to wrapp the managed components so that they are visible to COM+. From what I've read, the disadvantage of this solution is the overhead of the communication between managed and unmanaged environments. If there are many simultaneous connections to the website and a lot of intensity in component instance creation it may lead to bad performance. In actual enterprise scenarios what is the common layout, or what is best advisable for assuring performance (object and connection pooling) and distributed transactions in a .NET website? Thanks for your help.

    C 1 Reply Last reply
    0
    • P PeteConc

      Hello. I've read some articles in internet concerning this subject but, as far, I haven't reached to a conclusion. The topics I would like to clarify are the following: - In classic ASP all the code is written directly in the ASP pages. If changes have to be made, only the corresponding page will be updated. In the other hand, an ASP.NET project generates a DLL file with all the code behind compiled. When a single ASP codebehind file is updated, the DLL has to be recompiled and replaced. If two persons are working in different pages in the same project they are working on the same dll file, although the changes are for different pages. Will this constitute a problem that may generate inconsistencies? When developing a website, is it advisable to sub-divide it in many projects in order to have many independent DLLs, or just one project with the whole website code in it, and thus just one DLL file? - In classic ASP the pages may access components that are registered in COM+ Component Services Manager. This ensures the support for object pooling (the reusability of component instances) and distributed transactions. In ASP.NET, apparently there isn't a direct support for these features on .NET managed components. The alternative I've found is to use .NET Enterprise Services to wrapp the managed components so that they are visible to COM+. From what I've read, the disadvantage of this solution is the overhead of the communication between managed and unmanaged environments. If there are many simultaneous connections to the website and a lot of intensity in component instance creation it may lead to bad performance. In actual enterprise scenarios what is the common layout, or what is best advisable for assuring performance (object and connection pooling) and distributed transactions in a .NET website? Thanks for your help.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Sorry, I answered this at length and CP lost my answers to the 'sorry, too many users' message. Short version - you have nothing to worry about, you should definately not use ASP - it is crap. Christian Graus - Microsoft MVP - C++

      P 1 Reply Last reply
      0
      • C Christian Graus

        Sorry, I answered this at length and CP lost my answers to the 'sorry, too many users' message. Short version - you have nothing to worry about, you should definately not use ASP - it is crap. Christian Graus - Microsoft MVP - C++

        P Offline
        P Offline
        PeteConc
        wrote on last edited by
        #3

        oh that's too bad those posts were lost. Anyway, the main question would be (just to put it in a simple direct topic): Should Enterprise Services and wrapping .NET components to COM+ be used or not? Thanks.

        C 1 Reply Last reply
        0
        • P PeteConc

          oh that's too bad those posts were lost. Anyway, the main question would be (just to put it in a simple direct topic): Should Enterprise Services and wrapping .NET components to COM+ be used or not? Thanks.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          PeteConc wrote:

          Should Enterprise Services and wrapping .NET components to COM+ be used or not?

          We use Windows Services for some tasks, there's no tangible performance hit for doing so. But overall, I'd do that only where I needed a backgroun task that ran independently of the web site. Otherwise, I'd steer clear of COM interop if I could, just because I don't see a reason to use it if I can stick to managed code. Christian Graus - Microsoft MVP - C++

          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