Raky
Raky

Reputation: 904

ASP.NET Core MVC project and latest Bootstrap

I am new to VS 2022 ASP.NET Core MVC, EF Core 6.0. With lots of struggle surveying, I reached a point of connecting to a database and creating a CURD page. The default styling is not pleasing. So a little more effort, I could find a Nuget command to Nuget package

Install-Package bootstrap

This command installed Bootstrap 5.2.1. But the cosmetics of the html did not change when the program was executed.

I have not made any changes to default files, that is _Layout.cshtml or Program.cs. There is no folder named App_Start or App_Data.

How do we install other such styling bundleand use them in ASP.NET Core MVC ?

I think I am missing some thing here. Didn't have patience for more search and study. So posting here with a hope of getting help.

Upvotes: 0

Views: 1138

Answers (1)

Raky
Raky

Reputation: 904

Seems We can Alter/Modify the Basic Template by Editing the Default Scaffold Templates Files that comes with the VS 2022 or Entitity Framework package. These files are generally located in a folder at location %programfiles%\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Templates.

Located a Good Link of Microsoft which will help readers and programmers.

It is always better to Make a Backup of Original Files before altering them. Also, these files are Read Only. So a person needs to open the Text Editor in Administrative Mode

Upvotes: 2

Related Questions