摘要: 第一步:发布项目文件。 第二步: 配置Dockerfile. FROM microsoft/dotnet:2.2-aspnetcore-runtimeWORKDIR /appCOPY . .EXPOSE 80ENTRYPOINT ["dotnet", "Septnet.Scanner.OP.dll" 阅读全文
posted @ 2020-01-14 16:00 Mr.Alpha 阅读(418) 评论(0) 推荐(0) 编辑
摘要: # step 1: 安装必要的一些系统工具 sudo apt-get update sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common # step 2: 安装GPG证 阅读全文
posted @ 2019-12-18 16:37 Mr.Alpha 阅读(393) 评论(0) 推荐(0) 编辑
摘要: List<Model> list = HttpPost<List<Model>>(" ", paramModel); if (list != null && list.Count > 0) { DataTable tblDatas = new DataTable("Datas"); DataColu 阅读全文
posted @ 2019-09-24 17:47 Mr.Alpha 阅读(471) 评论(0) 推荐(0) 编辑
摘要: var file1 = Request.HttpContext.Request.Form.Files["file"]; using (Stream fs = file1.OpenReadStream()) { if (file1.FileName.EndsWith(".xls")) { workbo 阅读全文
posted @ 2019-09-24 17:38 Mr.Alpha 阅读(184) 评论(0) 推荐(0) 编辑
摘要: public class RedisManager { private static IConnectionMultiplexer _connMultiplexer; private static string ConnectionName; public static Dictionary<str 阅读全文
posted @ 2019-09-24 17:30 Mr.Alpha 阅读(296) 评论(0) 推荐(0) 编辑
摘要: public class CsredisConfig : RedisHelper { public static Dictionary<string, RedisConfig> RedisConfigs; public CsredisConfig() { RedisConfigs = new Dic 阅读全文
posted @ 2019-09-24 17:29 Mr.Alpha 阅读(470) 评论(0) 推荐(0) 编辑
摘要: public class QRCodePoster { int qrX = 350; int qrY = 480; int qrWidth = 170; int qrHeight = 170; int fontX = 350; int fontY = 670; int fontSize = 50; 阅读全文
posted @ 2019-09-24 17:22 Mr.Alpha 阅读(352) 评论(0) 推荐(0) 编辑
摘要: var request = this.Context.Request; HttpPostedFile files = request.Files["idFile"]; string newname = null; if (files.ContentLength > 0) { try { string 阅读全文
posted @ 2015-08-18 10:09 Mr.Alpha 阅读(3842) 评论(0) 推荐(0) 编辑
摘要: <script> //检查图片的格式是否正确,同时实现预览 function setImagePreview(obj, localImagId, imgObjPreview) { var array = new Array('gif', 'jpeg', 'png', 'jpg', 'bmp'); / 阅读全文
posted @ 2015-08-18 10:01 Mr.Alpha 阅读(469) 评论(0) 推荐(0) 编辑