How to integrate Admin template in ASP .Net Core MVC visual studio 2022 | Program Town

How to integrate Admin template in ASP .Net Core MVC visual studio 2022


Please Subscribe Youtube| Like Facebook | Follow Twitter

Video URL: https://youtu.be/GXSju8O-krU

Introduction

In this article we will integrate AdminLTE template in ASP .Net Core MVC visual studio 2022 step by step. After integrating this template you will be able to integrate any template in your ASP .Net Core MVC visual studio 2022 project.

Steps:

Download AdminLTE Template

Got to https://github.com/ColorlibHQ/AdminLTE and download AdminLTE template

Create VS 2022 Project

Add JS and CSS files

Copy JS and CSS files folder dist (AdminLTE-master\dist) from downloaded AdminLTE template

Paste copied folder in newly created VS 2022 project under wwwroot

Edit _Layout.cshtml

Open _Layout.cshtml page under Views/Shared folder

Remove existing html from _Layout.cshtml

Copy html from blank page of AdminLTE template (AdminLTE-master\pages\examples\blank.html)

Paste copied html in _Layout.cshtml

Add @RenderBody()

Add @RenderBody(); where your want to render your child pages

Run and test your project

Thanks

Please Subscribe Youtube| Like Facebook | Follow Twitter


Leave a Reply

Your email address will not be published.