0.1.1 • Published 9 years ago

fis-command-aspnet v0.1.1

Weekly downloads
2
License
WTFPL
Repository
github
Last release
9 years ago

Note: Use this link to read the English version of Readme.md.

fis-command-aspnet

用于为 FIS 预览 ASP.NET 项目的服务器提供程序。

FIS, 即前端集成解决方案,是由百度前端团队开发的一个前端框架,它可以让开发者和部署工程师更方便地测试和发布前端资源。

此 asp.net 服务器提供程序是 FIS 的扩展,它根据运行环境的不同,自动启动 iisexpress、DevServer 或基于 Mono 的 XSP 来为 ASP.NET 项目提供预览服务。

安装

npm install fis-command-aspnet

您可能需要使用 cd 命令将命令行上下文路径切换至 FIS 安装目录。

当正确地安装了 FIS 之后,您也可以直接从 Github 站点下载此扩展,将文件夹命名为 fis-command-aspnet 并置于 fis 的安装目录的 node_modules 中,即可使用其功能。

使用

用法: fis aspnet options

命令列表:

start                  start server
stop                   shutdown server
restart                restart server
info                   output server info
open                   open document root directory
clean                  clean files in document root

start 命令支持的参数:

-p, --port <int>               port for the server to listen
--root <path>                  root path of the preview project
--clr <version>                specify .net clr version, 2 or 4
--document <default_document>  default document to navigate
--include <glob>               clean include filter
--exclude <glob>               clean exclude filter

协议

此项目基于 WTFPL 开源:即您可以以任何方式使用它。

0.1.1

9 years ago

0.1.0

9 years ago