03 2018 档案

摘要:RxJS -- Subscription 简介: 取消订阅, 毁灭函数, 批量取消, retry/retryWhen原理. 阅读全文
posted @ 2018-03-28 11:05 yangxu-pro 阅读(1795) 评论(0) 推荐(1) 编辑
摘要:把EFCore使用的数据库连接字符串放在环境变量里, 在Mac系统会遇到问题, 因为bash里的export不支持环境变量名有冒号: 阅读全文
posted @ 2018-03-26 19:37 yangxu-pro 阅读(680) 评论(0) 推荐(1) 编辑
摘要:上一部分: http://www.cnblogs.com/cgzl/p/8641738.html Subject Subject比较特殊, 它即是Observable又是Observer. 作为Observable, Subject是比较特殊的, 它可以对多个Observer进行广播, 而普通的Ob 阅读全文
posted @ 2018-03-26 11:57 yangxu-pro 阅读(2916) 评论(4) 推荐(4) 编辑
摘要:RxJS in Typescript 速成 (上) 阅读全文
posted @ 2018-03-25 10:09 yangxu-pro 阅读(6854) 评论(9) 推荐(12) 编辑
摘要:Types Casting: Object Shapes: Typescript only cares about the shape of an object. Interfaces: only describe structure, no implementation don't compile 阅读全文
posted @ 2018-03-23 16:02 yangxu-pro 阅读(493) 评论(0) 推荐(0) 编辑
摘要:Lightweight Tags. 如果想标注某个事件/里程碑, 就需要使用git tag tag名. 列出所有的tag: git tag --list. 可以在其它的git命令中使用tag名作为引用: git show myTag: 删除tag: git tag --delete myTag. l 阅读全文
posted @ 2018-03-23 10:41 yangxu-pro 阅读(520) 评论(0) 推荐(1) 编辑
摘要:git stash(储藏) 准备好项目, 然后修改某个文件. 这时, 如果我不准备commit这个文件的话, 我需要立即修改改另外一个文件. 为了保存这第一个变化, 就可以使用git stash命令. “‘stash”“可以获取你工作目录的中间状态——也就是你修改过的被追踪的文件和暂存的变更——并将 阅读全文
posted @ 2018-03-23 09:28 yangxu-pro 阅读(507) 评论(0) 推荐(0) 编辑
摘要:git rebase: 这个命令可以把一个分支上commit的变化放到另一个分支上重新上演一遍. 简单的Rebase例子. 首先准备好一个git项目. 做一个feature分支, 然后做几个commits. 回到master分支, 再做几个commits. 然后 rebase. 最后使之达到这个效果 阅读全文
posted @ 2018-03-22 19:59 yangxu-pro 阅读(489) 评论(0) 推荐(0) 编辑
摘要:Git -- 分支与合并, 包括: 基本命令, Fast-Forward合并, 禁用FF合并, 自动合并, 解决冲突等五部分内容. 里面会使用到p4merge. 阅读全文
posted @ 2018-03-22 13:57 yangxu-pro 阅读(4796) 评论(0) 推荐(2) 编辑
摘要:p4merge, difftool, mergetool, git diff, git difftool, 各种情况的git diff. 阅读全文
posted @ 2018-03-21 20:03 yangxu-pro 阅读(4383) 评论(1) 推荐(0) 编辑
摘要:使用Angular CLI对Angular 2-5进行单元测试和E2E测试. 阅读全文
posted @ 2018-03-21 10:28 yangxu-pro 阅读(3591) 评论(0) 推荐(3) 编辑
摘要:第一篇文章是: "使用angular cli生成angular5项目" : http://www.cnblogs.com/cgzl/p/8594571.html 第二篇文章是: "使用angular cli从蓝本生成代码" : http://www.cnblogs.com/cgzl/p/860546 阅读全文
posted @ 2018-03-20 20:23 yangxu-pro 阅读(11489) 评论(1) 推荐(4) 编辑
摘要:第一篇文章是: "使用angular cli生成angular5项目" : http://www.cnblogs.com/cgzl/p/8594571.html 第二篇文章是: "使用angular cli从蓝本生成代码" : http://www.cnblogs.com/cgzl/p/860546 阅读全文
posted @ 2018-03-20 19:02 yangxu-pro 阅读(7350) 评论(0) 推荐(0) 编辑
摘要:第一篇文章是: "使用angular cli生成angular5项目" : http://www.cnblogs.com/cgzl/p/8594571.html 这篇文章主要是讲生成 Components, Directive, Service, class, interface, enum等等. 阅读全文
posted @ 2018-03-19 22:16 yangxu-pro 阅读(1365) 评论(0) 推荐(0) 编辑
摘要:如果您正在使用angular, 但是没有好好利用angular cli的话, 那么可以看看本文. Angular CLI 官网: https://github.com/angular/angular-cli 安装angular cli: 不过首先要确保您安装了比较新版本的nodejs. 今天主要通过 阅读全文
posted @ 2018-03-18 10:37 yangxu-pro 阅读(6328) 评论(0) 推荐(1) 编辑
摘要:从头编写asp.net core 2.0 web api 基础框架 (5) + 使用Identity Server 4建立Authorization Server (7) 可运行前后台源码 阅读全文
posted @ 2018-03-17 21:15 yangxu-pro 阅读(4111) 评论(13) 推荐(19) 编辑
摘要:DIP 依赖反转原则 Dependency Inversion Principle 的定义如下: 高级别的模块不应该依赖于低级别的模块, 他们都应该依赖于抽象. 假设Controller依赖于Repository的实例/实现, 而不是interface: 这个例子里面Controller是高级别模块 阅读全文
posted @ 2018-03-16 14:45 yangxu-pro 阅读(1638) 评论(3) 推荐(11) 编辑
摘要:别名. 我可以使用这个命令查看repository的历史 git log --all --graph --decorate --oneline: 这个命令可能比较常用, 但是又比较长. 这时我可以创建一个自己的命令, 作为上面命令的别名. 假设我想使用git hist这个命令: git说这个命令不存 阅读全文
posted @ 2018-03-15 16:36 yangxu-pro 阅读(477) 评论(0) 推荐(0) 编辑
摘要:Git基本命令 -- 历史 阅读全文
posted @ 2018-03-15 12:01 yangxu-pro 阅读(716) 评论(2) 推荐(0) 编辑
摘要: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 阅读(662) 评论(0) 推荐(2) 编辑
摘要:git基本命令 -- 创建项目. 用三种方式创建git项目. 并介绍了涉及的命令. 阅读全文
posted @ 2018-03-13 21:10 yangxu-pro 阅读(2078) 评论(0) 推荐(2) 编辑
摘要:比较入门级别的介绍... 使用的是dotnet cli 和 VSCode, 我使用Mac和Windows10三台电脑写的文章, 所以里面的命令行截图不太一样. 阅读全文
posted @ 2018-03-12 10:32 yangxu-pro 阅读(11101) 评论(7) 推荐(15) 编辑
摘要:使用angular 5 和 asp.net core web api 上传文件, 添加验证, 显示进度等. 还有一点Chrome等技巧. 阅读全文
posted @ 2018-03-10 16:20 yangxu-pro 阅读(2698) 评论(5) 推荐(8) 编辑
摘要:这部分主要介绍了 angular到全局异常处理, 以及会遇到到问题(ErrorHandler里面注入Toastr服务), 涉及到Zone的概念. 后边还介绍了sentry.io这个Logging云服务. 阅读全文
posted @ 2018-03-09 21:38 yangxu-pro 阅读(2837) 评论(0) 推荐(8) 编辑
摘要:这部分主要写了 asp.net core 下使用 entity framework core 进行集合的增删改操作. 阅读全文
posted @ 2018-03-09 14:30 yangxu-pro 阅读(1531) 评论(6) 推荐(5) 编辑
摘要:使用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 阅读(1973) 评论(6) 推荐(3) 编辑

点击右上角即可分享
微信分享提示