.Net Core MVC Folder Structure 📂

Understand folder structure of Materio .Net Core MVC and everything contains with description.


Package Folder Structure 📂

Once you unzip the package downloaded from marketplace/store, you will find folder which contains pre-compiled and source code flavors.

📦
├── 📂 AspnetCoreMvcFull                           >  Template with all our features, page, and apps.
├── 📂 AspnetCoreMvcStarter                        >  Starter-kit is a minimal template from where you can start your project quickly
├── 📄 changelog.md                                >  Changelog File
├── 📄 documentation.html                          >  Redirect you to our live documentation
└── 📄 Readme.md                                   >  Readme File
  • AspnetCoreMvcFull : This setup has all the things which you can see in the live demo. Except for that red Buy Now button 😅. Refer to the detailed documentation.
  • AspnetCoreMvcStarter : AspnetCoreStarter is a minimal template from where you can start your project quickly instead of removing stuff that isn't needed. Refer to the detailed documentation
  • Changelog.md : Contains log for all the release of .Net Core MVC.
  • documentation.html : This html file redirect you to our Live documentation.
  • Readme.md : Contains instructions to start with .Net Core MVC template.

Template Folder Structure 📂

Below folder structure is same for AspnetCoreMvcFull and AspnetCoreMvcStarter.

  • src/ folder contains raw fonts, JS, libs, and SCSS files. The Gulpfile.js compiles the files in src/ and outputs the generated assets in wwwroot/vendor during the build.
  • scss/, libs/, fonts/ & js/ folders inside wwwroot/vendors folder contain generated assets, which are the source of this template.
  • wwwroot/ folder contains all static css, js, json, images and media files.
📦
├── 📂 Controllers                                  >  Handle incoming requests, process the logic & returns appropriate response for Views
├── 📂 Models                                       >  Define the data structure and business logic for Views
├── 📂 Views                                        >  Display the UI(Views) based on the data provided by the controller and models for entire template
│   ├── 📂 _Partials                                  >  Contains Logo, Modal & Offcanvas partials
│   ├── 📂 Shared                                     >  Contains basic & master layouts with include sections
│   │   ├── 📂 Sections                                 >  Contains all include files
│   │   │   ├── 📂 Footer                                 >  Contains footer section files
│   │   │   ├── 📂 Menu                                   >  Contains menu section files
│   │   │   ├── 📂 Navbar                                 >  Contains navbar section files
│   │   │   ├── 📄 _Scripts.cshtml                        >  Contains all the core scripts
│   │   │   ├── 📄 _ScriptsFront.cshtml                   >  Contains all the front pages scripts
│   │   │   ├── 📄 _ScriptsIncludes.cshtml                >  Contains all the scripts that we need to include immediate after including styles
│   │   │   ├── 📄 _ScriptsIncludesFront.cshtml           >  Contains all the scripts that we need to include immediate after including front styles
│   │   │   ├── 📄 _Styles.cshtml                         >  Contains all the core styles
│   │   │   ├── 📄 _StylesFront.cshtml                    >  Contains all the front pages styles
│   │   │   └── 📄 _Variables.cshtml                      >  Contains all the core variables
│   │   ├── 📄 _BlankLayout.cshtml                    >  blank layout
│   │   ├── 📄 _CommonMasterLayout.cshtml             >  Common Master layout
│   │   ├── 📄 _ContentNavbarLayout.cshtml            >  Vertical Layout
│   │   ├── 📄 _FrontLayout.cshtml                    >  Front Pages layout
│   │   ├── 📄 _HorizontalLayout.cshtml               >  Horizontal Layout
│   ├── 📄 _ViewImports.cshtml                      >  .Net Core MVC default imports
│   ├── 📄 _ViewStart.cshtml                        >  Base Layout to start with
├── 📂 Properties                                   >  .Net Core MVC properties
│   └── 📄 launchSetting.json                         >  Project specific settings
├── 📂 src                                          >  Contains raw assets i.e fonts, JS, libs, and SCSS
│   ├── 📂 fonts                                      >  All the font assets
│   ├── 📂 js                                         >  All core js i.e. bootstrap, helpers, menu, template customizer etc...
│   ├── 📂 libs                                       >  Contains third-party library assets
│   ├── 📂 scss                                       >  All the core SCSS files
├── 📂 wwwroot                                      >  Contains template static & generated assets
│   ├── 📂 audio                                      >  Template audio files
│   ├── 📂 css                                        >  Demo & Site styles only
│   ├── 📂 img                                        >  Images (jpeg/png)
│   ├── 📂 js                                         >  All JS files i.e config, main, pages & apps
│   │   ├── 📄 main.js                                  >  Template Main JS file (Init)
│   │   ├── 📄 config.js                                >  Template Config JS file for easy customization
│   │   ├── 📄 front-main.js                            >  Front pages Main JS file (Init)
│   │   ├── 📄 front-config.js                          >  Front pages Config JS file for easy customization
│   │   └── 📄 ...
│   ├── 📂 json                                       >  Contains all JSON files like search, apps, tables, locales etc..
│   ├── 📂 svg                                        >  Contains svg images
│   └── 📂 vendor                                     >  Generated assets i.e css, js, fonts & libs
│   │   ├── 📂 css                                      >  Contains generated styles
│   │   ├── 📂 fonts                                    >  All the generated font assets
│   │   ├── 📂 js                                       >  All generated core js i.e. bootstrap, helpers, menu, template customizer etc...
│   │   └── 📂 libs                                     >  Contains generated third-party library assets
├── 📄 .dockerignore                                >  It specifies patterns of files/directories to be excluded from the Docker build context(image)
├── 📄 .editorconfig
├── 📄 .gitignore
├── 📄 .prettierignore
├── 📄 .prettierrc.json
├── 📄 appsettings.Development.json                 >  An application configuration file of Development
├── 📄 appsettings.json                             >  An application configuration file used to store configuration settings
├── 📄 AspnetCoreMvcFull.csproj                     >  Project file to build the ASP.NET MVC application
├── 📄 AspnetCoreFull.sln                           >  .Net Core Full MVC solution(.sln) file
├── 📄 build-config.js                              >  Vendor Assets build configuration file
├── 📄 Gulpfile.js                                  >  Task runner file, defining tasks and workflows for automating web development processes
├── 📄 docker-compose.yml                           >  Simplifies docker container orchestration
├── 📄 Dockerfile                                   >  Isolate applications and their dependencies in a container that can run on any environment
├── 📄 package.json                                 >  Includes template details and dependencies, used for managing and building the template
├── 📄 Program.cs                                   >  Services required by the app are configured
├── 📄 webpack.config.js                            >  .Net Core MVC's webpack file to transpile & bundle JS files.
└── 📄 yarn.lock                                    >  It locks down the specific versions of dependencies to ensure consistent and reproducible
                                                       installations across different environments.
© 2017- ThemeSelection, Hand-crafted & Made with ❤️