单列模式Singleton
用于存储单个实例。 /// <summary> /// A statically compiled "singleton" used to store objects t Read more
Happy coding everyday~~
用于存储单个实例。 /// <summary> /// A statically compiled "singleton" used to store objects t Read more
要启用SQL自带的备份功能,需要启用SQL Server 代理 服务。 在服务器节点下的管理,右键 维护计划,选择 维护计划向导, 输入计划名称, 选择计划周期, Read more
IIS7+ Url 重写工具 Read more
SQL 语句:truncate table [tablename] 说明: 若要删除表中的所有行,则 TRUNCATE TABLE 语句是一种快速、无日志记录的方法。TRUNCATE TA Read more
平时在切图的时候,比如产品图片,banner 等 后期都会变得,为了方便,使用图片占位Url 来显示图片。有两款,一个是 在线的,一个是本地使用JS的,使用起来都差不多。1,placehold&nbs Read more
1,去除默认命名空间: XmlSerializerNamespaces nameSpaces = new XmlSerializerNamespaces(); nameSpaces.Add("", Read more
IRepository,IDbContext Read more
nuget 控制台无法安装包 Read more
哈希加盐法加密用户密码代码实现 Read more
ClaimsIdentity 身份实现 Read more