Project test (.NETCoreApp,Version=v1.0) will be compiled because expected outputs are missingCompiling test for .NETCoreApp,Version=v1.0Compilation succeeded. 0 Warning(s) 0 Error(s)Time elapsed 00:00:01.8522001Hello World!
yo aspnet? ==========================================================================We're constantly looking for ways to make yo better! May we anonymously report usage statistics to improve the tool over time? More info: https://github.com/yeoman/insight & http://yeoman.io========================================================================== Yes _-----_ ╭──────────────────────────╮ | | │ Welcome to the │ |--(o)--| │ marvellous ASP.NET Core │ `---------´ │ generator! │ ( _´U`_ ) ╰──────────────────────────╯ /___A___\ / | ~ | __'.___.'__ ´ ` |° ´ Y ` ? What type of application do you want to create? Web Application? Which UI framework would you like to use? Bootstrap (3.3.6)? What's the name of your ASP.NET application? WebLW解释
接下来就是一大堆安装提示信息了,并有如下内容
Your project is now created, you can use the following commands to get going cd "WebLW" dotnet restore dotnet build (optional, build will also happen when it's run) dotnet ef database update (to create the SQLite database for the project) dotnet run解释
参考网页:
解释:
遇到问题了,说是需要如下依赖
3、简单例子
新建并初始化,
在此过程中出现了问题,也即Segmentation fault,经咨询 找到了答案。现在处于可以执行的状态,终端显示如下的结果
类似内容,证明 .NET core 在Deepin下安装成功了。
4、安装 Yeoman, Bower, Grunt, Gulp, ASP.NET core 等的生成器本小点内容主要参考该书.
解释
- 假设你已经成功安装了 npm,如需请百度怎么安装。
5、另外一个简单例子解释
- 按照输出提示,新建一个 WebLM 的网站,显示内容如下。
yo aspnet? ==========================================================================We're constantly looking for ways to make yo better! May we anonymously report usage statistics to improve the tool over time? More info: https://github.com/yeoman/insight & http://yeoman.io========================================================================== Yes _-----_ ╭──────────────────────────╮ | | │ Welcome to the │ |--(o)--| │ marvellous ASP.NET Core │ `---------´ │ generator! │ ( _´U`_ ) ╰──────────────────────────╯ /___A___\ / | ~ | __'.___.'__ ´ ` |° ´ Y ` ? What type of application do you want to create? Web Application? Which UI framework would you like to use? Bootstrap (3.3.6)? What's the name of your ASP.NET application? WebLW解释- 接下来就是一大堆安装提示信息了,并有如下内容
Your project is now created, you can use the following commands to get going cd "WebLW" dotnet restore dotnet build (optional, build will also happen when it's run) dotnet ef database update (to create the SQLite database for the project) dotnet run解释如果没有报错,继续使用上面提示的内容
根据提示进入 http://localhost:5000/ 应该可以看到如下的界面了。
6、安装 vscode 及其插件这个比较傻瓜了,直接使用命令即可
其他插件安装可以自行百度。
最后吐槽一下,其他网址博客都开始支持 markdown了,为啥咱们 deepin 这么倔强呢,给用 Linux 一个更多选择不好吗?这个文本编辑器太烂了。