(iii) NET core Project Package Management

Source: Internet
Author: User

First, create the project

1, how to create a project, refer to the previous article

Second, the package introduction

1, Net core of the package sub-front and back end of the two, the back end with NuGet, the front end with Bower.

2. Unlike NET, when the net core references a NuGet package, the front-end file is not introduced and only the DLL is introduced, even if the package contains a front-end file.

3, CSS, JS components, through the introduction of bower.

Third, NuGet package reference

1, the project was created, has been introduced by default Aspnetcore.all package, expand to see all components.

2. Click: Manage NuGet Packages with dependencies and go to the admin interface.

3. View: Can view all, installed, new version of the package

4. Installation: Take MySQL as an example, select Package, select version, install, accept license.

5. View: After the installation is complete, review the installation package results.

Iv. Bower Package Reference

1, add bower Two configuration files, the content is below. (Here's a question: After I update to the latest version, I can't add it through the new item, which was previously possible.) We'll find a way to add that.

2, after adding the configuration file, the project right-click Management Bower Package, enter the management interface.

3. Select the components to install, select the version, install.

4. After installation, check the installation results.

Bower.json File Contents

{  "name": "ASP.", "  private": True,  "dependencies": {  }}

. bowerrc File Contents

{  "directory": "Wwwroot/lib"}

(iii) NET core Project Package Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.