Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LIB folder in ASP.NET MVC 6 project

Is the LIB folder under the wwwroot of an asp.net mvc 6 app expected to be checked-into the source control like git or VS Team Services?

Is it expected to be created only on the developers machine through bower, and don't get from source control?

enter image description here

Exclude changes:

enter image description here

like image 789
wonderful world Avatar asked Sep 28 '22 00:09

wonderful world


People also ask

What is the lib folder in wwwroot?

New in ASP.NET Core projects is the existence of the wwwroot/lib folder, which holds collections of static files (CSS, JS, images) from front-end packages.

What is App_Start folder?

The App_Start folder of MVC application is used to contain the class files which are needed to be executed at the time the application starts. The classes like BundleConfig, FilterConfig, IdentityConfig, RouteConfig, and Startup. Auth etc. are stored within this folder.

How can add area folder in MVC?

Add MVC Area with Visual StudioIn Solution Explorer, right click the project and select ADD > New Scaffolded Item, then select MVC Area. Areas are an ASP.NET feature used to organize related functionality into a group as a separate namespace (for routing) and folder structure (for views).

What is wwwroot folder in ASP.NET Core?

By default, the wwwroot folder in the ASP.NET Core project is treated as a web root folder. Static files can be stored in any folder under the web root and accessed with a relative path to that root.


1 Answers

The contents of the lib folder should be populated by bower via your gulp task. So you do not need to check-in/commit these files to source control, because they can be recreated by your "build" process.

like image 126
Karl Anderson Avatar answered Sep 29 '22 13:09

Karl Anderson