05 2020 档案

该文被密码保护。
posted @ 2020-05-28 16:14 PanPan003 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-27 14:42 PanPan003 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-21 19:15 PanPan003 阅读(8) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices Why unit test? Characteristics of a good unit test Let's speak the sa 阅读全文
posted @ 2020-05-21 12:06 PanPan003 阅读(178) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test This tutorial shows how to build a solution containing a unit test 阅读全文
posted @ 2020-05-21 12:00 PanPan003 阅读(364) 评论(0) 推荐(0) 编辑
摘要:https://www.clariontech.com/blog/why-should-you-use-xunit-a-unit-testing-framework-for-.net Why Should You Use xUnit? A Unit Testing Framework For .Ne 阅读全文
posted @ 2020-05-21 11:23 PanPan003 阅读(198) 评论(0) 推荐(0) 编辑
摘要:Let's unit test a C# extension method using XUnit's [Theory] and [InlineData] attributes, so we can write lots of tests in little time! In this final 阅读全文
posted @ 2020-05-21 10:57 PanPan003 阅读(473) 评论(0) 推荐(0) 编辑
摘要:https://hamidmosalla.com/2017/02/25/xunit-theory-working-with-inlinedata-memberdata-classdata/ xUnit Theory: Working With InlineData, MemberData, Clas 阅读全文
posted @ 2020-05-21 10:39 PanPan003 阅读(482) 评论(0) 推荐(0) 编辑
摘要:While designing Simple Injector we defined a set of rules that formed the foundation for development. These rules still keep us focused today and cont 阅读全文
posted @ 2020-05-20 15:39 PanPan003 阅读(167) 评论(0) 推荐(0) 编辑
摘要:依赖注入问题 The container is locked after the first call to resolve When an application makes its first call to GetInstance, GetAllIntances or Verify, the 阅读全文
posted @ 2020-05-20 15:20 PanPan003 阅读(223) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
posted @ 2020-05-19 14:40 PanPan003 阅读(614) 评论(1) 推荐(0) 编辑
摘要:https://www.cnblogs.com/guolianyu/p/9580626.html?spm=a2c6h.12873639.0.0.5b8968cduViP7W 0、目录 整体架构目录:ASP.NET Core分布式项目实战-目录 一、介绍 此篇文章将会介绍项目的全局异常收集以及采用lo 阅读全文
posted @ 2020-05-19 14:38 PanPan003 阅读(671) 评论(1) 推荐(0) 编辑
摘要:https://developer.aliyun.com/article/686284 简介: 0、整体架构 整体架构目录:ASP.NET Core分布式项目实战-目录 一、介绍ELK 1、说明(此篇ELK采用rpm的方式安装在服务器上)-牛刀小试 承接上一篇文章的内容准备部署ELK来展示asp.n 阅读全文
posted @ 2020-05-19 14:35 PanPan003 阅读(650) 评论(0) 推荐(1) 编辑
摘要:原文链接: https://www.cnblogs.com/lwc1st/p/10009935.html 1、新建一个 ASP.NET Core项目 2、安装Nuge包 运行:Install-Package NLog.Web.AspNetCore 运行:Install-Package NLog 运行 阅读全文
posted @ 2020-05-19 14:28 PanPan003 阅读(609) 评论(0) 推荐(0) 编辑
摘要:https://www.tutorialsteacher.com/core/fundamentals-of-logging-in-dotnet-core .NET Core SDK is a light weight SDK which includes a bare minimum set of 阅读全文
posted @ 2020-05-19 12:20 PanPan003 阅读(207) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.entityframeworktutorial.net/efcore/logging-in-entityframework-core.aspx We often need to log the SQL and change tracking information fo 阅读全文
posted @ 2020-05-19 12:19 PanPan003 阅读(896) 评论(0) 推荐(0) 编辑
摘要:Optimally Configuring Entity Framework Core Lets talk about configuring your Entity Framework Core DbContext for a moment. There are several options y 阅读全文
posted @ 2020-05-19 12:02 PanPan003 阅读(240) 评论(0) 推荐(0) 编辑
摘要:官网链接: Configuring a DbContext https://docs.microsoft.com/en-us/ef/core/miscellaneous/configuring-dbcontext Design-time DbContext Creation https://docs 阅读全文
posted @ 2020-05-19 11:51 PanPan003 阅读(303) 评论(0) 推荐(0) 编辑
摘要:json格式化工具: 阅读全文
posted @ 2020-05-19 11:18 PanPan003 阅读(2022) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-15 16:11 PanPan003 阅读(0) 评论(0) 推荐(0) 编辑
摘要:using TEntityContext context = new TEntityContext(); //foreach(var record in listRecords) //{ //} context.Set<T>().AddRange(listRecords); //context.Ad 阅读全文
posted @ 2020-05-15 15:28 PanPan003 阅读(289) 评论(0) 推荐(0) 编辑
摘要:// 已知 Type type // 已知 string file var method = this.GetType().GetMethod(nameof(ImportDatabaseFromCsv), BindingFlags.Instance | BindingFlags.Public); / 阅读全文
posted @ 2020-05-15 15:25 PanPan003 阅读(1304) 评论(0) 推荐(0) 编辑
摘要:SQLite剖析(5):体系结构 本文整理自http://sqlite.org/arch.html。 本文描述SQLite库的体系结构。这些内容对于那些想了解和修改SQLite内部结构的人将会非常有用。在探索前我们先下载源码包sqlite-src-3071400.zip,在其src目录下包含了所有源 阅读全文
posted @ 2020-05-15 13:50 PanPan003 阅读(593) 评论(0) 推荐(0) 编辑
摘要:SQLite 如何变成 内存数据库 SQLite数据库通常存储在单个普通磁盘文件中。但是,在某些情况下,数据库可能存储在内存中。 强制SQLite数据库单纯的存在于内存中的最常用方法是使用特殊文件名“:memory:” 打开数据库。换句话说,不是将真实磁盘文件的名称传递给sqlite3_open() 阅读全文
posted @ 2020-05-15 12:15 PanPan003 阅读(8244) 评论(0) 推荐(0) 编辑
摘要:用Sqlite的内存数据库对nhibernate进行单元测试 针对数据访问代码的单元测试处在一个尴尬的位置上,如果操作不是针对真实的数据库执行的,就无法捕获数据库特定的错误,比如 sql 语句语法是否正确,操作是否违反了数据库约束,事务是否正确提交。并且,测试之间应该是隔离的,一个测试不能影响另一个 阅读全文
posted @ 2020-05-15 11:38 PanPan003 阅读(914) 评论(0) 推荐(0) 编辑
摘要:SQLite 带你入门 SQLite数据库相较于我们常用的Mysql,Oracle而言,实在是轻量得不行(最低只占几百K的内存)。平时开发或生产环境中使用各种类型的数据库,可能都需要先安装数据库服务(server),然后才能通过代码、命令行或者客户端工具来操作数据库,但是SQLite却有点别具一格, 阅读全文
posted @ 2020-05-15 11:32 PanPan003 阅读(1755) 评论(0) 推荐(1) 编辑
摘要:常用的各种软件统统使用Docker容器化了 https://github.com/jessfraz/dockerfiles 阅读全文
posted @ 2020-05-12 18:32 PanPan003 阅读(192) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lijinze-tsinghua/p/8686264.html Docker容器运行GUI程序的配置方法 0.环境说明 Ubuntu 16.04 docker 1.35 1.Docker的“可视化” Docker本身的工作模式是命令行的,因为主要的使用 阅读全文
posted @ 2020-05-12 18:30 PanPan003 阅读(14853) 评论(0) 推荐(1) 编辑
摘要:https://www.cnblogs.com/ysocean/p/7402385.html 目录 1、引言 2、常规项目开发存在的问题 3、什么是 Maven ? 4、Maven 的历史 5、Maven 的目标 6、Maven 的理念 阅读全文
posted @ 2020-05-12 12:32 PanPan003 阅读(309) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/jingzhunbiancheng/article/details/80994909 容器相比虚拟机更轻量 一 虚拟机 二 容器 一、本质上的区别: VM(VMware)在宿主机器、宿主机器操作系统的基础上创建虚拟层、虚拟化的操作系统、虚拟化的仓库, 阅读全文
posted @ 2020-05-12 12:31 PanPan003 阅读(419) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-12 11:46 PanPan003 阅读(4) 评论(0) 推荐(0) 编辑
摘要:通过 .NET 生成服务器端容器化 Docker 应用程序时,有两种支持的框架:.NET Framework 和 .NET Core。 这两者共享许多 .NET 平台组件,可在它们之间共享代码。 但两者之间存在根本差异,可根据需要实现的目标选择框架。 .NET Framework项目在容器上运行 限 阅读全文
posted @ 2020-05-11 11:05 PanPan003 阅读(1653) 评论(0) 推荐(1) 编辑
摘要:安装完postgres后,默认只能本机访问数据库,下面通过配置实现局域网内访问postgres数据库。 1、修改配置文件 在安装目录的/data文件夹下,打开pg_hba.conf文件,定位到如下文本。 # IPv4 local connections:host all all 127.0.0.1/ 阅读全文
posted @ 2020-05-07 18:55 PanPan003 阅读(2974) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/nicest/p/9577310.html 国外镜像会很慢 可用 get命令查看registry 1 npm congfig get registry 原版结果为 1 http://registry.npmjs.org 用set命令换成阿里的镜像就可以 阅读全文
posted @ 2020-05-07 16:59 PanPan003 阅读(873) 评论(0) 推荐(0) 编辑
摘要:1.postgresql服务启动 2.本地创建数据库 右键=》restore 忘记密码怎么办?=》重置密码,sql如下 alter user postgres with password '*****' 阅读全文
posted @ 2020-05-06 19:04 PanPan003 阅读(1439) 评论(0) 推荐(0) 编辑
摘要:错误信息: System.Security.Cryptography.CryptographicException: 参数错误。 在 System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] o 阅读全文
posted @ 2020-05-06 11:16 PanPan003 阅读(456) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示