刹那的菜鸟

博客园 首页 新随笔 联系 管理

2017年8月1日 #

摘要: public static string Post(string url, string data, Encoding encoding) { try { HttpWebRequest req = WebRequest.CreateHttp(new Uri(url)); req.ContentTyp 阅读全文
posted @ 2017-08-01 22:35 刹那的菜鸟 阅读(727) 评论(0) 推荐(0) 编辑

摘要: using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threa... 阅读全文
posted @ 2017-08-01 17:30 刹那的菜鸟 阅读(439) 评论(0) 推荐(0) 编辑

2017年7月28日 #

摘要: 1、先cmd到指定的网站目录, 然后执行 dotnet xxx.dll, 浏览器查看 localhost:5000 确认没有问题之后才去部署到iis 阅读全文
posted @ 2017-07-28 12:05 刹那的菜鸟 阅读(250) 评论(0) 推荐(0) 编辑

2017年7月10日 #

摘要: AppContext.BaseDirectory 获取项目的根目录 阅读全文
posted @ 2017-07-10 19:11 刹那的菜鸟 阅读(2287) 评论(0) 推荐(0) 编辑

2017年7月6日 #

摘要: ftp文件上传 阅读全文
posted @ 2017-07-06 10:19 刹那的菜鸟 阅读(188) 评论(0) 推荐(0) 编辑

2017年7月4日 #

摘要: 贫血模型:是指领域对象里只有get和set方法,或者包含少量的CRUD方法,所有的业务逻辑都不包含在内而是放在Business Logic层。 优点是系统的层次结构清楚,各层之间单向依赖,Client->(Business Facade)->Business Logic->Data Access(A 阅读全文
posted @ 2017-07-04 17:38 刹那的菜鸟 阅读(131) 评论(0) 推荐(0) 编辑

2017年6月30日 #

摘要: 经过反编译log4net 标准库的代码,原本有的数据库链接AdoNetAppender 在core里面引用的,没有掉了。 可能新版本会有。 阅读全文
posted @ 2017-06-30 09:09 刹那的菜鸟 阅读(176) 评论(0) 推荐(0) 编辑

2017年6月26日 #

摘要: 1、了解两个服务器的操作系统等的差异性; 2、了解原服务器上网站所需要的环境:iis、net版本、数据库版本、文件夹权限、第三方支持; 3、对比原服务器跟新服务器的软件差异,数据库同版本的就生成备份或者直接拷贝数据库文件,不同版本以数据库脚本为主; 4、迁移前必须做好备份,两个系统同时并行,测试新服 阅读全文
posted @ 2017-06-26 09:22 刹那的菜鸟 阅读(446) 评论(0) 推荐(0) 编辑

2017年4月29日 #

摘要: Asp.Net Core MVC的开源地址:https://github.com/aspnet/Mvc Asp.net MVC的开源地址:http://aspnetwebstack.codeplex.com/SourceControl/latest net core 原本叫mvc6 后面才改名为 c 阅读全文
posted @ 2017-04-29 17:57 刹那的菜鸟 阅读(139) 评论(0) 推荐(0) 编辑

摘要: /uninstall /force 阅读全文
posted @ 2017-04-29 09:45 刹那的菜鸟 阅读(132) 评论(0) 推荐(0) 编辑