Welcome to Valex – ASP.NET CORE8 & MVC5 Tailwind CSS Admin & Dashboard Template
Created Date : 29/May/2024
Author : Spruko
Company : Spruko Technologies Private Limited
Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com.
Introduction
Welcome to Valex – ASP.NET CORE8 & MVC5 Tailwind CSS Admin & Dashboard Template
Valex - ASP.NET CORE8 & MVC5 Tailwind CSS Admin & Dashboard Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page
Because the template is built using HTML5, CSS3, Tailwind CSS framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.
If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊
Template Description
Valex - ASP.NET CORE8 & MVC5 Tailwind CSS Admin & Dashboard Template, using modern and minimal design. It is fully flexible user-friendly and responsive. Valex Modern template is powered with CSHTML, SASS, & Tailwind CSS which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 150+ CSHTML Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it.
This template using Tailwind CSS framework. After Purchased this template you will get All CSHTML Files, CSS, SCSS and JS Files.
It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.
It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices
Once you Purchase Valex - CORE8 & MVC5 Tailwind CSS Admin & Dashboard Template, you will be able to get free download of all future updates.
Template Features
Dark Theme Ready
RTL Version
Boxed Layout
12 Differen Dashboards
Authentication Pages
Error Pages
150+ CSHTML Pages
Easy to Customize
Tailwind CSS Framework
Form Elements
Draggable Cards
Ratings
Reviews Page
About us
Faqs
Todo List
Gallery
Task
Grid JS
Data Tables
Edit Tables
Apex Charts
Chartjs Charts
Echarts
Full Calendar
Sweet Alerts
Swiper JS
Timeline
Stepper
Skeleton
Blog Pages
Mail App
Chat
File Manager
Invoice
Landing
Pricing
Profile
Team
24 * 7 Professional Company Support
Ecommerce Pages
Under Construction Page
Color Theme Support (Primary and Background)
Neat, clean and simple design
W3C Validated
Switcher Features :
Theme Styles
Light & Dark Themes
LTR & RTL
Vertical & Horizontal Navigation Styles
Menu Click & Hover Styles
Icon Click & Hover Styles
Page Regular, Classic Styles & Modern styles
Layout Full Width & Boxed
Menu Fixed & Scrollable
Header Fixed & Scrollable
Sidemenu Closed
Icon Text Menu
Icon Overlay
Detached
Double Menu
Theme Colors
Menu Light
Menu Dark
Menu Color
Menu Gradient
Menu Transparent
Header Light
Header Dark
Header Color
Header Gradient
Header Transparent
Theme Primary
Theme Background
Menu With Background Images
Minimum Requirements
esbuild:- 0.20.2
node:- 20.10.0
npm :- 10.7.0
Visual Studio Code or Visual Studio 2022 (latest version)
C# for Visual Studio Code (latest version)
.NET 8 SDK (latest version)
Installation Process of .NET SDK
Step1: Please visite the Official Web Site of the .NET SDK
Step2: Click on the Download .NET SDK button
Step3: Now your .NET SDK file has downloaded and installed in your computer.
Installation Process Of ASP.NET CORE8 & MVC5
Here we are using the "ASP.NET CORE8 & MVC5 " download
If you know how to create ASP.NET CORE8 & MVC5 project you can skip this step.
Assuming that you have already installed .NET SDK on your computer.
First, you need to create an environment at your project location For example:C:\project\projectname>
Use for ASP.NET MVC
This project folder path can be used to open the command. Now execute the command dotnet new mvc -o Projectname It creates a new ASP.NET MVC project in the Project Name folder.
Navigate to your project root path: C:\project\projectname>
Run the command: npm install -D tailwindcss postcss autoprefixer to install tailwindcss and its peer dependencies.
Run the command: npx tailwindcss init -p to generate both tailwind.config.js and postcss.config.js successfully.
Use for ASP.NET CORE
This project folder path can be used to open the command. Now execute the command dotnet new webapp -o projectname It creates a new ASP.NET CORE project in the Project Name folder.
Navigate to your project root path: C:\project\projectname>
Run the command: npm install -D tailwindcss postcss autoprefixer to install tailwindcss and its peer dependencies.
Run the command: npx tailwindcss init -p to generate both tailwind.config.js and postcss.config.js successfully.
Trust the HTTPS development certificate by running the following command dotnet dev-certs https --trust .
Now you are sucessfully installed ASP.NET CORE8 & MVC5 project.
Visual Studio Code
If you are using Visual Studio Code.
Go to your root project location path, then open the project file in your editor.
Open the command prompt, then use " cd /path-to-your-project ".
Enter the command dotnet watch run to get ASP.NET CORE8 & MVC5 development server.
Visual Studio
If you are using Visual Studio.
Open the Visual studio, then click on "Open a Project or Solution."
Go to your root project location path, then you will see inside the folder projectname.sln. Select it, and then open the project file.
Now, press the key F5 to get ASP.NET CORE8 & MVC5 development server.
First, unzip the project folder that you received from us.
Navigate as shown Example: C:\projectname\ Views in that project folder in will have 14 folders and in 150+ cshtml files.
Navigate as shown Example: C:\projectname\ Controllers in that project folder will have 14+ Controller.cs pages.
Navigate as shown Example: C:\projectname\Views\Shared\Layouts Open folder there you will find _footer.cshtml, _header.cshtml, _scripts.cshtml, _sidebar.cshtml, _styles.cshtml, and _switcher.cshtml files etc.
Here _Layout.cshtml file is the base file for all the cshtml pages.
Here _LayoutAuth.cshtml file is the base file for Authentication pages ex: createpassword_cover.cshtml, lockscreen_cover.cshtml, signin_cover.cshtml, and etc...
Here _LayoutError.cshtml file is the base file for error pages ex: error404.cshtml, error500.cshtml, error501.cshtml, createpassword_basic.cshtml, signin_basic.cshtml, and etc...
Here _LayoutLan.cshtml file is the base file for landing.cshtml page.
First, unzip the project folder that you received from us.
Navigate as shown Example: C:\projectname\ Pages in that project folder in will have 15 folders and in 150+ cshtml files and 15 cshtml.cs files.
Navigate as shown Example: C:\projectname\Pages\Shared\Layouts Open folder there you will find _footer.cshtml, _header.cshtml, _scripts.cshtml, _sidebar.cshtml, _styles.cshtml, and _switcher.cshtml files etc.
Here _Layout.cshtml file is the base file for all the cshtml pages.
Here _LayoutAuth.cshtml file is the base file for Authentication pages ex: createpassword_cover.cshtml, lockscreen_cover.cshtml, signin_cover.cshtml, and etc...
Here _LayoutError.cshtml file is the base file for error pages ex: error404.cshtml, error500.cshtml, error501.cshtml, createpassword_basic.cshtml, signin_basic.cshtml, and etc...
Here _LayoutLan.cshtml file is the base file for landing.cshtml page.
Valex comes with power of Esbuild
Esbuild:
Esbuild is a cutting-edge JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying
JavaScript and CSS files, optimizing images, and more. Esbuild allows developers to define tasks that process files in a project,
and then run those tasks automatically when files are changed or when specific commands are issued.for more information about Esbuild
Check here.
Prerequisites
Please follow below steps to install and setup all pre requisites:
Nodejs
Make sure to have the Node.js installed
& running in your computer. If you have already installed nodejs on your computer, you
can skip this step, otherwise install nodejs on your computer,
Note : If you are using the latest version of Node JS or want to install and use the latest version, click here
Esbuild
To get started with esbuild, you need to install globally on your system. You can install it using npm by running the following command npm install --save-dev esbuild from
your terminal.
Installation
To setup, follow below mentioned steps:
Install Prerequisites
Make sure to have all above pre requisites installed & running in your computer
Install Dependencies
Open your terminal, go to your folder and enter the command npm install. This
would install all required dependencies in node_modules folder.
Install Dev Dependencies
npm i esbuild-sass-plugin
npm i postcss
npm i autoprefixer
npm i fs-extra
npm i path
npm i postcss
npm i sass
npm i sass-loader
npm i tailwindcss
npm i @tailwindcss/forms
npm i tailwind-clip-path
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory ( valex/ ) of the project to run the project locally or build for production use:
npm run build
Note:-
please ensure that you have installed all node_modules requried to run Esbuild tasks .
SCSS & CSS
Here we provided package.json and esbuild.config.js files in your project, you just need to run npm install in your terminal in your project root path.
After compilation of download, you can compile your SCSS files into CSS files by following below procedure.
Command
Description
npm run build
In Valex template npm run build command is used for, whatever the changes made in scss files, will watch and compiled into css files.
Compiling Styles
1. In the assets folder you will see css, iconfonts,
images, js, libs, scss, video
2. Now you can compile or customize your styles in
scss files that are present in the
assets folder.
3. Once the changes made in the files in order to
apply those changes to your template you need to
run the esbuild commands in the same terminal or
command prompt that you have set your project root
path.
4. After Compilation, all your .scss files are converted into .css.
How to run ASP.Net CORE8 & MVC5 in Localhost Development Server
Visual studio code
First, unzip the project folder that you received from us.
Go to your root project location path, then open the project file in your editor.
Open the command prompt, then use " cd /path-to-your-project ".
Now execute the command: dotnet watch run to get ASP.Net CORE8 & MVC5 development server.
Visual studio
First, unzip the project folder that you received from us.
Go to your root project location path, then open the project file.
Just double click on the file valex.sln inside the project folder.
Now, press the keyF5 to get ASP.Net CORE8 & MVC5 development server.
The ASP.NET template starterkit is a resource that helps developers kickstart their ASP.NET web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building ASP.NET-based websites or applications.
Purpose of the ASP.NET Template Starter Kit:
The purpose of the ASP.NET template starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in ASP.NET projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.
Benefits of Using the ASP.NET Template Starter Kit:
The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.
Before using the ASP.NET template starter kit, developers should have a basic understanding of ASP.NET and web development concepts. Additionally, they should have a web server environment ASP.NET installed on their local machines or a hosting server. Familiarity with HTML, CSS, and JavaScript is also beneficial for frontend development aspects.
Starterkit Overview
You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Valex have more than 150 CSHTML pages.
We have provided all the pre-build layouts like Sidemenu, Header, Footer and Scripts etc in the Starterkit.
For further information or support regarding the template, please contact us using the provided link.
Take a quick look at the folder structure of the "Starterkit."
Integration of your customized CSHTML pages becomes easy when using the "Starterkit."
The "Starterkit" provides all the layouts, related assets, and plugins.
To explore the contents of the "Starterkit," unzip the project folder received after purchase.
Navigate as shown Example: C:\projectname\ Views in that project folder in will have one folder and in one cshtml file and Add your folders here if you have more.
Navigate as shown Example: C:\projectname\ Controllers in that project folder will have one Controller.cs page and Add your controllers here if you have more.
Navigate as shown Example: C:\projectname\Views\Shared\Layouts Open folder there you will find _footer.cshtml, _header.cshtml, _scripts.cshtml, _sidebar.cshtml, _styles.cshtml, and _switcher.cshtml files etc.
Here _Layout.cshtml file is the base file for all the cshtml pages.
Take a quick look at the folder structure of the "Starterkit."
Integration of your customized CSHTML pages becomes easy when using the "Starterkit."
The "Starterkit" provides all the layout components, related assets, and plugins.
To explore the contents of the "Starterkit," unzip the project folder received after purchase.
Navigate as shown Example: C:\projectname\ Pages in that project folder in will have one folder and in one cshtml file and one cshtml.cs file and Add your folders here if you have more
Navigate as shown Example: C:\projectname\Pages\Shared\Layouts Open folder there you will find _footer.cshtml, _header.cshtml, _scripts.cshtml, _sidebar.cshtml, _styles.cshtml, and _switcher.cshtml files etc.
Here _Layout.cshtml file is the base file for all the cshtml pages.
Versions :
Tailwind CSS : 3.4.3
preline : 2.1.0
.NET : 8.0.300
esbuild : 0.20.2
node : 20.10.0
npm : 10.7.0
Switcher?
ASP.NET MVC5 Switcher?
If you want to remove switcher to your template follow the below process.
And add the Your Selected font-family in tailwind.config.js file inplace
of old font
Example:
fontFamily: {
roboto: ['Roboto', 'sans-serif'], //place your font here
},
Step 4:
And add the Your Selected font-family to body that is font-roboto in custom.scss file
(rootpath :- wwwroot/scss/tailwind/_custom.scss) file inplace of old
font
Note : After Changing styles you must run the command i.e, npm run build
2) How to Change Logo ?
Go To "wwwroot/assets/images/brand-logos" folder and replace your
logo with Previous Logos within in image size.
note: Please don't increase logo sizes. Replace your logo within given
image size. otherwise the logo will not fit in particular place it
disturbs the template design.
3) How to Change Menu icons ?
By default menu icons are Box Icons if you want to change icons please follow below steps
Step 1 :
To change Menu icons, Shared/layouts/sidebar.cshtml pages open and go through sidebar
section, in that section you will find Box Icons of menu in i
tag, there you can replace previous icon with your icon. Example as shown in below
Switcher Styles
Theme Styles
You can change the Theme Styles by adding the attribute to the html tag in _Layout.cshtml file.
To set sidemenu layout style Double Menu - *Does not work for horizontal
Theme Colors
You can change the Theme Colors by adding the attribute to the html tag in _Layout.cshtml file.
Attribute
Description
data-menu-styles="light"
To set the menu style to light
data-menu-styles="dark"
To set the menu style to dark
data-menu-styles="color"
To set the menu style to color
data-menu-styles="gradient"
To set the menu style to gradient
data-menu-styles="transparent"
To set the menu style to transparent
data-header-styles="light"
To set the header style to light
data-header-styles="dark"
To set the header style to dark
data-header-styles="color"
To set the header style to color
data-header-styles="gradient"
To set the header style to gradient
data-header-styles="transparent"
To set the header style to transparent
bg-img="bgimg1"
To set menu background image1
bg-img="bgimg2"
To set menu background image2
bg-img="bgimg3"
To set menu background image3
bg-img="bgimg4"
To set menu background image4
bg-img="bgimg5"
To set menu background image5
Local Storage
How to clear LocalStorage (cookie)?
Step1:
Open custom-switcher.js file
wwwroot/assets/js/custom-switcher.js
To clear LocalStorage loading functions you need to remove
localStorageBackup2() function in custom-switcher.js as shown
below
function localStorageBackup2(){}
Step2:
To remove complete LocalStorage saving you need to remove all
localstorage related calling functions in custom-switcher.jswwwroot/assets/js/custom-switcher.js files.
LocalStorage related functions like localStorage.setItem,
localStorage.removeItem, localStorage.getItem, localStorage.clear.
Below are the some examples to find out.
To remove complete LocalStorage saving you also need to remove
main.js link present in _Layouts.cshtml Path:Views/Shared/layouts/ and Path:Pages/Shared/layouts/ as shown below
After removing main.js, localStorageBackup2 is not defined console comes. To remove the console, open go to root path wwwroot/assets/js/custom-switcher.js and remove the localStorageBackup2() code; as shown below
After:
if (document.querySelector("#hs-overlay-switcher")) {
localStorageBackup2();
}
Before:
if (document.querySelector("#hs-overlay-switcher")) {
(removing code)
}
Primary Color
How to Change Primary Color?
Please follow the below steps to change Primary Color
Step 1 :
To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below