05 2018 档案
摘要:Configure a Pod to Use a PersistentVolume for Storage how to configure a Pod to use a PersistentVolumeClaim for storage. Here is a summary of the proc
阅读全文
摘要:OOMKilled : out of memory (OOM) Memory units The memory resource is measured in bytes. You can express memory as a plain integer or a fixed-point inte
阅读全文
摘要:1.swagger error 有详细的错误信息 自己根据详细信息找问题 2.swagger error 无详细的错误信息 Controller是否重名=》重名,指定不同的 [Route("*****")] Controller必须制定 [HttpPost] 或者 [HttpGet] 3.swagg
阅读全文
摘要:泛型静态类 & function作为参数 静态类的使用 function作为参数的使用 泛型抽象类: 被使用:
阅读全文
摘要:1.NLog.config失效,日志ElasticSearch的Index不匹配 查看项目NLog.config是否正确 =》正确 Kubernets上,pods下NLog.config是否正确 =》错误 查看本地Container历史 =》是自己上传的image image制定的publish目录
阅读全文
摘要:重点: fileupload 、loadImage 引用js: 页面html 页面 js实现:
阅读全文
摘要:SQLite in ASP.NET Core with EntityFrameworkCore ASP.NET Core 2: Using SQLite as a light weight database Step 1: Create your application. Step 2: Get t
阅读全文
摘要:问题(待完成):微服务,失败回滚?保持事务的原子性?多步骤调用,如何来实现
阅读全文
摘要:protected async Task TryOperation(int maxRetryCount,Func> funcGetData) { Exception lastException = null; var fixdMaxRetryCount = maxRetryCount > 1 ? maxRetryCo...
阅读全文
摘要:https://stackoverflow.com/questions/38698350/increase-upload-file-size-in-asp-net-core The other answers solve the IIS restriction. However, as of ASP
阅读全文
摘要:How to: Customize Data Field Validation in the Data Model Using Custom Attributes ValidationAttribute Class The System.ComponentModel.DataAnnotations
阅读全文
摘要:Tag Helpers in ASP.NET Core Tag Helpers in forms in ASP.NET Core HTML Form element ASP.NET Core built-in Tag Helpers Anchor Tag Helper Cache Tag Helpe
阅读全文