├── Snapshot.png ├── component ├── Console.exe ├── Terminal.dll └── Terminal.tlb ├── package.json ├── LICENSE └── README.md /Snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spikef/NodeAsp-Console/master/Snapshot.png -------------------------------------------------------------------------------- /component/Console.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spikef/NodeAsp-Console/master/component/Console.exe -------------------------------------------------------------------------------- /component/Terminal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spikef/NodeAsp-Console/master/component/Terminal.dll -------------------------------------------------------------------------------- /component/Terminal.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Spikef/NodeAsp-Console/master/component/Terminal.tlb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NodeAsp-Console", 3 | "description": "A window command line tool for NodeAsp debug.", 4 | "version": "0.0.1", 5 | "author": { 6 | "name": "Spikef", 7 | "email": "Spikef@Foxmail.com" 8 | }, 9 | "keywords": [ 10 | "console", 11 | "nodeasp" 12 | ], 13 | "repository": { 14 | "type": "git", 15 | "url": "git+https://github.com/Spikef/NodeAsp-Console.git" 16 | }, 17 | "licenses": [ 18 | { 19 | "type": "MIT" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NodeAsp Console 2 | 3 | NodeAsp命令行调试工具,辅助基于NodeAsp框架进行网站开发。 4 | 5 | ![image](https://github.com/Spikef/NodeAsp-Console/raw/master/Snapshot.png) 6 | 7 | ## Environment 8 | 9 | 需要IIS7.5和.NET4才能运行,其它环境未测试。 10 | 11 | ## Usage 12 | 13 | ### 第一步:注册COM组件 14 | 15 | 以管理员权限打开CMD,使用REGASM命令注册component\Terminal.dll,其中REGASM位于C:\Windows\Microsoft.NET\Framework\v4.0.30319(具体位置与版本号有关)。 16 | 17 | > 如果要更新,可以直接替换dll文件。或者使用/u反注册。 18 | 19 | ``` 20 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\REGASM D:\component\Terminal.dll /codebase 21 | ``` 22 | 23 | ### 第二步:修改注册表,解决 ASP 0177 : 8000ffff 错误 24 | 25 | 对于32位系统,找到如下注册表位置: 26 | > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701 27 | 28 | 对于64位系统,找到如下注册表位置: 29 | > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701 30 | 31 | 选择或者新建项FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701,然后新建DWORD值: 32 | 33 | > 名称:w3wp.exe 34 | > 值:1 35 | 36 | ### 第三步:启动Console 37 | 38 | 双击component\Console.exe,打开服务监视器。 39 | 40 | ## Commands 41 | 42 | ### cls 43 | 44 | 清空屏幕信息,不可恢复。 45 | 46 | ### about 47 | 48 | 显示作者信息。 49 | 50 | ### copylast 51 | 52 | 复制上次输出的内容。 53 | 54 | ### copyall 55 | 56 | 复制所有输出的内容。 57 | --------------------------------------------------------------------------------