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