This project is read-only.

RazorC Folder Structure


RazorC uses the ASP.NET WebPages framework which does not have a strict file folder structure so you can create any folder you like, however RazorC has a decent structure so you can easily manage your website.


This is the default structure, I will talk about each folder and its purpose.



This is where your login form is, note this is the default location ASP.NET will redirect users if they access a page which requires authentication. RazorC uses a simple plain text authentication and not the WebSecurity Class.


This is a secure ASP.NET folder, it contains all classes and functions and helpers for your website.


This is a secure ASP.NET folder, this stores your SQL Server CE database. (NOTE: This folder requires read / write permissions when you publish your website!).


This contains assemblies (DLL files).


This folder contains all addons you have added to your website, place addons in this folder!


This is the backend administration section for your website.


This is where you store your website layouts.


This is where you store templates, (Widgets). By default razorC contains a few templates which are:

  • _rcHTML.cshtml – Use this template to render out HTML content.
  • _rcSideBar.cshtml – Use this template for sidebar content (The data will appear in <li> tags).
  • _rcSlogan.cshtml – Use this for your website title.
  • _rcStandard.cshtml – This is what all pages are based on, this will render your main content.


Pretty easy to guess this is just an open-source HTML editor so you can edit and create pages.


This is where you should upload files if you wish to make them public. (NOTE: This folder requires read / write permissions when you publish your website!)


This is a required file, it is a special file in ASP.NET WebPages it stores settings for database connection, email settings and routing. DO NOT DELETE OR RENAME IT.


This file is used to retrieve the pages from the database, by default when you start your website it looks for a default page called “default” in the database. if not data is returned you are redirected to the error page.


By default if an error occurs users are redirected here.


This is used in nearly all ASP.NET websites and is used to store your website settings (like custom error pages, URL rewriting etc)


If you wish to learn more about ASP.NET WebPages please see this tutorials:

Last edited Jul 31, 2013 at 3:14 AM by RazorKnight, version 4


No comments yet.