Here is the sample code for the article Bootstrap 3.0.0 with ASP.NET Web Forms – Step by Step – Without NuGet Package. I belive, the source code of the default page and the master page are enough to build a sample. But in case if you like to have the full source code of the sample solution, I have a copy of it on GitHub. Below are the details.
Source code of the files:
- Download MyTecBitsBootstrap.Master.
- Download Default.aspx.
Source code of the entire solution:
I’ve placed the entire solution of this sample on GitHub in the repository github.com/mytecbits/ASP.NET-Bootstrap3.0.0-Sample. Download the source code from GitHub and follow the article Bootstrap 3.0.0 with ASP.NET Web Forms – Step by Step – Without NuGet Package to create your first light weight bootstrap web forms application.
Odd that the sample for web”forms” does not have a form tag in it (with or without runat)
Even more hard to explain is how come the version of 3.0.0 bootstrap in the sample is different than what is found at http://maxcdn.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css and the demo only woks with the sample boot strap no the cdn one or newer ones.
Thank you very much for do this. I had know a lot of new style.
I don’t know what is the purpose of this article. I can’t even add an asp:button to the default.aspx page! I get “Control ‘ContentPlaceHolder1_Button1’ of type ‘Button’ must be placed inside a form tag with runat=server.” error, when I added it!