受欢迎的博客标签
RSS

博客

缓存在高并发场景下的常见问题

缓存在高并发场景下的常见问题   缓存一致性问题 当数据时效性要求很高时,需要保证缓存中的数据与数据库中的保持一致,而且需要保证缓存节点和副本中的数据也保持一致,不能出现差异现象。

这就比较依赖缓存的过期和更

ASP.NET Core中间件实现分布式 Session

1.1. 中间件原理

1.1.1. 什么是中间件

中间件是段代码用于处理请求和响应,通常多个中

NopCommerce 4.x (4)-How to Generate a rss in ASP.NET Core

A rss is good for SEO because it tells search engines what pages of your site it should index. But how do we create a

VS C# 调用C++ dll 调试dll设置详细步骤

This tutorial shows how to debug native code(dll) from a managed app。

Debug both C# and C++ code

vs c++ 将一个class写成DLL,导出整个类

在写C++程序时,时常需要将一个class写成DLL,供客户端程序调用。这样的DLL可以导出整个class,也可以导出这个class的某个方法.

一、导出整个class

方法很简单,只需要在类的头文件中

C# 检查客户端Cookie是否启用及解决办法

C# 检查客户端Cookie是否启用 发现 System.Web.HttpBrowserCapabilities 类有个属性 Cookies,以为这个属性是侦查目标浏览器是否启用了Cookie的,结果一试才知道根本不是那么回事。上网搜

ASP.NET Core实战记录:asp net core改变缺省wwwroot到制定目录和指定目录浏览

1.asp net core改变缺省wwwroot到制定目录和指定目录浏览

//改变缺省wwwroot到制定目录

app.UseStaticFiles(new Stat

custom Static Content middleware in ASP.NET Core

ASP.NET Core Architecture
The architecture of ASP.NET Core allow us to be at any time, part of

Authorization Policies and Middleware in ASP.NET 5

  http://odetocode.com/blogs/scott/archive/2015/10/06/authorization-policies-and-middleware-in-asp-net-5.aspx.

CQRS with Mediatr and ASP.NET Core Implementing basic CQRS with ASP.NET Core

https://www.stevejgordon.co.uk/cqrs-using-mediatr-asp-net-core