Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Folder structure in asp.net

Still on my early days of learning ASP.NET. Just wondering is there a best practice way to structure your folders in ASP.NET? i know the convention or standards in an MVC project. is there anything similar in pure ASP.NET?

If there are no standards. please kindly let me see how you(experienced asp.net gurus) structure your projects with explanations.

Thanks

like image 996
oliverdejohnson Avatar asked Sep 02 '26 08:09

oliverdejohnson


1 Answers

Normally, you will see

  • /App_Data (Standard)
  • /App_Start (Standard - New)
  • /App_Themes (Standard - Old)
  • /Content (Standard - New)
  • /Controls
  • /Images
  • /Scripts
  • /MasterPages

The rest are personal preferences.

However, we normally keep authorized aspx pages in separate folder, so that we can use web.config to restrict access.

Here is DotNetNuke 06.02.03's folder structure.

enter image description here

like image 120
Win Avatar answered Sep 05 '26 07:09

Win