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. What is the significance of the new ASP.Net directories

What is the significance of the new ASP.Net directories

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
2 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.
  • R Offline
    R Offline
    rockyl
    wrote on last edited by
    #1

    Hi, I would like know why ASP.Net has introduced the new directories and what is their significance. Are they meant for just logical seperation and to help in easily organising stuff or any other strong reason. And if we consider app_code folder which is meant for code files like .cs, .vb etc. What if I place any codefile outside of this folder.Because when I placed a .cs file in app_code folder and tried to compile it it was not compiling. Can someone let me know what these folders are really for... Thanks:

    Rakesh

    N 1 Reply Last reply
    0
    • R rockyl

      Hi, I would like know why ASP.Net has introduced the new directories and what is their significance. Are they meant for just logical seperation and to help in easily organising stuff or any other strong reason. And if we consider app_code folder which is meant for code files like .cs, .vb etc. What if I place any codefile outside of this folder.Because when I placed a .cs file in app_code folder and tried to compile it it was not compiling. Can someone let me know what these folders are really for... Thanks:

      Rakesh

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      rockyl wrote:

      Are they meant for just logical seperation

      It's ASP.NET 2.0 or later architecture.

      rockyl wrote:

      And if we consider app_code folder which is meant for code files like .cs, .vb etc. What if I place any codefile outside of this folder

      If you want to share some classes in whole application, you can keep them inside app_code. Classes inside app_code will be compiled automatically at runtime. ASP.NET treats whole app_code as single assembly.

      rockyl wrote:

      I placed a .cs file in app_code folder and tried to compile it it was not compiling.

      What was the error you are getting ?


      My Website | Ask smart questions

      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