Boilerplate free bootstrap admin template for ASP.NET Core 3.1 in a Razor project
Overview:
Admin Web Core RazorBoilerplate is a bootstrap admin template designed specifically for ASP.NET Core 3.1 Razor projects. It provides a ready-to-use structure for web applications based on Razor pages. The template not only includes an organized folder structure but also integrates webapi functionality and documentation using Swagger.
Features:
- Folder Structure: The template offers a well-defined folder structure, making it easier to navigate and manage the project. It includes separate folders for Apis, Pages, Shared, and static files.
- Apis: The template includes an example of an ApiController, already documented with comments to generate XML for Swagger documentation.
- Razor Pages: All the required pages for the web application are included in Razor format. The main file, Index.cshtml, is the starting point for the application.
- Shared Files: Common files for the user interface, such as Layout.cshtml, are located in the Shared folder. This helps in maintaining a consistent UI across the application.
- Static Files: The wwwroot folder contains all the static files required for the application, allowing for easy access and modification.
- CoreUI Template: The template is built on top of the free CoreUI bootstrap admin template, providing a sleek and modern design out of the box.
- Swagger Integration: NSwag.AspNetCore is included as a dependency to seamlessly integrate Swagger documentation into the project. Startup.cs is also configured accordingly to support Swagger.
Installation:
To install the Admin Web Core RazorBoilerplate theme, follow these steps:
- Start by cloning or downloading the theme repository from the provided source.
- Open the solution in a suitable IDE.
- Locate the AdminWebCore folder, which contains the web application.
- Inside this folder, find the wwwroot folder and verify that all the required static files are present.
- If any modifications are required, make the necessary changes to the project.
- Ensure that NSwag.AspNetCore is added as a dependency and that Startup.cs is properly configured to enable Swagger integration.
- Build and run the project to verify the successful installation of the theme.
- Customize the theme as per your requirements and start building your application.
Note: It is assumed that you have a working environment for ASP.NET Core 3.1 and the necessary dependencies installed.
Summary:
Admin Web Core RazorBoilerplate is a feature-rich bootstrap admin template specifically designed for Razor projects in ASP.NET Core 3.1. With its organized folder structure, integration of Swagger documentation, and sleek CoreUI template, it provides a solid foundation for developing robust web applications. Installation is straightforward, and customization options enable developers to tailor the template according to their needs. Overall, Admin Web Core RazorBoilerplate is a valuable resource for developers looking to accelerate their ASP.NET Core Razor project development process.