会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
未将对象引用设置到对象的实例
If you want to follow your dreams, you have to say no to all the alternatives
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
12
下一页
2017年11月
linq to sql: 在Entityfamework Core中使用多个DbContext
摘要: 最近在学习DotNetCore并做一个自己的小项目,分为了多个数据库,AccountDbContext和BlogDbContext, 发blog的时候需要用到Account的信息,但是再Blog中只记录了UserID,然后用到了如下代码: 但是目前来说貌似不支持,通过各种搜索,倒是有一个改xml的方
阅读全文
posted @ 2017-11-10 12:51 nil
阅读(1006)
评论(0)
推荐(0)
2017年8月
在microsoft/dotnet:2.0.0-sdk中安装vim编辑器
摘要: 在Docker中安装了dotnetcore 2.0.0 的sdk,没有发现可用的编辑器,该sdk是基于debian:stretch构建的,以前没玩过debian,因为CentOS玩的多一些所以对vim熟一些,所以继续入vim的坑,但是根据搜到的结果执行 没有任何内容,执行 同样无效。 可以先执行 然
阅读全文
posted @ 2017-08-29 18:09 nil
阅读(144)
评论(0)
推荐(0)
Dockerfile 备份
摘要: dotnet core app ngrok cnblogs_app
阅读全文
posted @ 2017-08-17 17:14 nil
阅读(142)
评论(6)
推荐(1)
2017年4月
javascript copy text to clipboard
摘要: 本段代码摘自微软docs网站上,目前需要解决在IE浏览器中触发copy事件的方法,也可以直接调用jquery。
阅读全文
posted @ 2017-04-18 10:44 nil
阅读(451)
评论(0)
推荐(0)
2017年3月
在docker container中运行docker-compose
摘要: 为了保持宿主主机的环境干净,因此将docker compose安装到一个基于centos7.3的容器之中,因为tianchao屏蔽了amazonaws,最后选择了通过pip方式来安装,这也是官方推荐的一种安装方式。https://pip.pypa.io/en/stable/installing/ 第
阅读全文
posted @ 2017-03-28 10:46 nil
阅读(750)
评论(2)
推荐(1)
CoreOS中随着系统启动Docker Container
摘要: Start containers automatically https://docs.docker.com/engine/admin/host_integration/ https://www.freedesktop.org/software/systemd/man/systemd.service
阅读全文
posted @ 2017-03-23 16:13 nil
阅读(1644)
评论(0)
推荐(0)
2017年2月
Centos bash: make: command not found
摘要: 一般出现这个 提示,是因为安装系统的时候使用的是最小化mini安装,系统没有安装make、vim等常用命令,直接yum安装下即可; 直接ssh运行即可,安装make。
阅读全文
posted @ 2017-02-28 18:32 nil
阅读(683)
评论(0)
推荐(0)
2016年6月
System.ComponentModel.BackgroundWorker在WinForm中的异步使用
摘要: 为了防止操作过程中界面卡死,和WinForm搭配最适合的就是BackgroundWorker了。 "BackgroundWorker 类"
阅读全文
posted @ 2016-06-14 20:14 nil
阅读(430)
评论(0)
推荐(0)
2016年3月
SqlServer 添加列并赋值
摘要: 有个需求,需要给某张表添加一列并且赋值,分解需求,一共分两部走: 1. 添加列 2. 赋值 两个功能都不难,很快实现。 运行正常。 但由于脚本是需要提供给客户的,需要能够重复运行而不能够报错,则改为了,如果该列存在,则不进行任何操作。然后加了个if判断 然而很不给力 Msg 207, Level 1
阅读全文
posted @ 2016-03-17 14:35 nil
阅读(16118)
评论(1)
推荐(0)
C# - Dictionary join keys or join Values
摘要: the output references: "https://dotnetfiddle.net/uiFWXo" "How to get the list of key in dictionary"
阅读全文
posted @ 2016-03-07 12:32 nil
阅读(1303)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
12
下一页
公告