Avatar of Murray Brown
Murray Brown
Flag for United Kingdom of Great Britain and Northern Ireland asked on

ASP.net Latest bootstrap for mvc core web app

Hi
I am new to ASP.net much core in Visual studio 2022. I want to find out how to install the latest bootstrap for a responsive website an great looking data tables etc. What should I use?
ASP.NET

Avatar of undefined
Last Comment
Murray Brown

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Scott Fell

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Murray Brown

ASKER
Thanks Scott. 
Scott Fell

Your welcome.

Take some time and just play with making some pages with Bootstrap using just static HTML to get the hang of it. Try and recreate one of your pages with static data. Once you have that, then work on incorporating bootstrap into your razor code. The reason for this is Bootstrap (actually creating a responsive site) can be hard to wrap your head around at first because you are creating two to three versions of the page at the same time. It confuses people at first and when you add that to mixing in razor pages, I think it just makes things more confusing.

There are some example pages to work off of https://getbootstrap.com/docs/5.1/examples/  Keeping it simple you have
<header></header>
<section class="container">
      <div class="row">
             <div class="col-md-6">left / top</div>
              <div class="col-md-6">right/ bottom</div>
           
      </div>
</section>

Open in new window

What happens above is there will be two columns on medium and larger screens. On a small or extra small screen, the left will stack on top of the right side.  This is over simplified of course. But once you have this down, then build your razor pages to incorporate the bootstrap classes. 
Murray Brown

ASKER
That is great advice. Thanks again
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23