没有合适的资源?快使用搜索试试~ 我知道了~
首页ASP.NET Core in Action--2018
ASP.NET Core is a re-imagining of the .NET Framework that frees developers from Visual Studio and Windows. ASP.NET Core in Action is for C# developers without any web development experience who want to get started and productive using ASP.NET Core to build web applications.
资源详情
资源评论
资源推荐
Useful .NET CLI (dotnet) commands.
Use --help to see all the optional arguments
Command Description Run from
dotnet restore Restores the NuGet packages for all the
projects in the solution.
Solution folder
dotnet build Builds all the projects in the solution. To
build in
Release mode, use the -c
switch.
Solution folder
dotnet run Runs the project in the current folder. Use
during development to run your app.
Project folder
dotnet publish -c Release –o
<Folder>
Publishes the project to the provided
folder. This copies all the required files to
the provided output folder so that it can be
deployed.
Project folder
dotnet test Builds the project and executes any unit
tests found in the project. Requires the
.NET Test SDK and a testing framework
adapter (see chapter 20).
Project folder
dotnet add package <Name> Installs the NuGet package with the pro-
vided name into the current project.
Optionally, specify a package version, for
example -v 2.1.0.
Project folder
dotnet new --list Views all the installed templates for creat-
ing ASP.NET Core apps, libraries, test proj-
ects, solution files, and much more.
Anywhere
dotnet new --install
<PackageName>
Installs a new template from the provided
NuGet package name. For example,
dotnet new --install
"NetEscapades.Templates::*"
.
Anywhere
dotnet new <Template> –o <Folder>
-n <NewName>
Creates a new item from the provided tem-
plate, specifying the folder in which to
place the item, and the name for the item.
Anywhere, empty
folder for new
projects
dotnet ef --help Displays help for managing your database
and migrations using EF Core. Requires
the EF Core tools (see chapter 12).
Project folder
dotnet ef migrations add <Name> Adds a new EF Core migration to the proj-
ect with the provided name.
Project folder
dotnet ef database update Applies pending EF Core migrations to a
database. Warning—this will modify your
database!
Project folder
www.allitebooks.com
剩余713页未读,继续阅读
白鸽-小蛋
- 粉丝: 10
- 资源: 167
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 27页智慧街道信息化建设综合解决方案.pptx
- 计算机二级Ms-Office选择题汇总.doc
- 单链表的插入和删除实验报告 (2).docx
- 单链表的插入和删除实验报告.pdf
- 物联网智能终端项目设备管理方案.pdf
- 如何打造品牌的模式.doc
- 样式控制与页面布局.pdf
- 武汉理工Java实验报告(二).docx
- 2021线上新品消费趋势报告.pdf
- 第3章 Matlab中的矩阵及其运算.docx
- 基于Web的人力资源管理系统的必要性和可行性.doc
- 基于一阶倒立摆的matlab仿真实验.doc
- 速运公司物流管理模式研究教材
- 大数据与管理.pptx
- 单片机课程设计之步进电机.doc
- 大数据与数据挖掘.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0