会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yangxu.pro
Rust, Go 技术专栏
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
下一页
2018年3月16日
依赖反转原则DIP 与使用了Repository模式的asp.net core项目结构
摘要: DIP 依赖反转原则 Dependency Inversion Principle 的定义如下: 高级别的模块不应该依赖于低级别的模块, 他们都应该依赖于抽象. 假设Controller依赖于Repository的实例/实现, 而不是interface: 这个例子里面Controller是高级别模块
阅读全文
posted @ 2018-03-16 14:45 yangxu-pro
阅读(1651)
评论(3)
推荐(11)
2018年3月15日
Git基本命令 -- 别名 + 忽略 + 推送
摘要: 别名. 我可以使用这个命令查看repository的历史 git log --all --graph --decorate --oneline: 这个命令可能比较常用, 但是又比较长. 这时我可以创建一个自己的命令, 作为上面命令的别名. 假设我想使用git hist这个命令: git说这个命令不存
阅读全文
posted @ 2018-03-15 16:36 yangxu-pro
阅读(486)
评论(0)
推荐(0)
Git基本命令 -- 历史
摘要: Git基本命令 -- 历史
阅读全文
posted @ 2018-03-15 12:01 yangxu-pro
阅读(727)
评论(2)
推荐(0)
2018年3月14日
Git基本命令 -- 基本工作流程 + 文件相关操作
摘要: Git基本命令 -- 基本工作流程 + 文件相关操作 包括git pull, git push, git commit -am, git ls-files, git add的各种参数, git reset HEAD, git checkout, git mv, git rm.
阅读全文
posted @ 2018-03-14 20:59 yangxu-pro
阅读(672)
评论(0)
推荐(2)
2018年3月13日
Git基本命令 -- 创建Git项目
摘要: git基本命令 -- 创建项目. 用三种方式创建git项目. 并介绍了涉及的命令.
阅读全文
posted @ 2018-03-13 21:10 yangxu-pro
阅读(2134)
评论(0)
推荐(2)
2018年3月12日
Entity Framework Core 2.0 入门
摘要: 比较入门级别的介绍... 使用的是dotnet cli 和 VSCode, 我使用Mac和Windows10三台电脑写的文章, 所以里面的命令行截图不太一样.
阅读全文
posted @ 2018-03-12 10:32 yangxu-pro
阅读(11127)
评论(7)
推荐(15)
2018年3月10日
用VSCode开发一个asp.net core2.0+angular5项目(5): Angular5+asp.net core 2.0 web api文件上传
摘要: 使用angular 5 和 asp.net core web api 上传文件, 添加验证, 显示进度等. 还有一点Chrome等技巧.
阅读全文
posted @ 2018-03-10 16:20 yangxu-pro
阅读(2716)
评论(5)
推荐(8)
2018年3月9日
用VSCode开发一个asp.net core 2.0+angular 5项目(4): Angular5全局错误处理
摘要: 这部分主要介绍了 angular到全局异常处理, 以及会遇到到问题(ErrorHandler里面注入Toastr服务), 涉及到Zone的概念. 后边还介绍了sentry.io这个Logging云服务.
阅读全文
posted @ 2018-03-09 21:38 yangxu-pro
阅读(2858)
评论(0)
推荐(8)
用VSCode开发一个基于asp.net core 2.0/sql server linux(docker)/ng5/bs4的项目(3)
摘要: 这部分主要写了 asp.net core 下使用 entity framework core 进行集合的增删改操作.
阅读全文
posted @ 2018-03-09 14:30 yangxu-pro
阅读(1548)
评论(6)
推荐(5)
2018年3月1日
用VSCode开发一个基于asp.net core 2.0/sql server linux(docker)/ng5/bs4的项目(2)
摘要: 使用VS Code, 在mac(linux也可以)/win10上面开发一个基于asp.net core 2.0/sql server linux版/angular 5/bootstrap 4的小项目. 这里还用到了docker. 第2篇文章主要介绍了Entity Framework core的集成, 数据库迁移, 建立web api, 使用rest client做测试, 使用viewmodel和automapper, 还有配置angular前台项目, 添angular cli命令, zencoding, 路由, httpclient等. 还有vscode一些快捷操作. 我用的是mac.
阅读全文
posted @ 2018-03-01 21:15 yangxu-pro
阅读(1998)
评论(6)
推荐(3)
上一页
1
···
11
12
13
14
15
16
17
18
19
下一页
公告