为你推荐

一台电脑多个文件夹安装多个Redis服务

思路:在弄Mongodb的时候,可以在不同的文件夹下面运行不同的mongodb实例那么Redis可以吗现在添加一个Redis文件夹,里面放置redis,修改配置端口为6378将以前的那个Redis305文件夹下面的windows服务改名为Redis305新的Redis文件夹下面的安装windows实例Redis接下来启...

Redis 安全性设置

redis安装好后,默认情况下登陆客户端和使用命令操作时不需要密码的。某些情况下,为了安全起见,我们可以设置在客户端连接后进行任何操作之前都要进行密码验证。我这边是安装的window系统,修改redis.windows.conf配置文件#RequireclientstoissueAUTH<PASSWORD>...
代码星球·2020-08-09

IntelliJ IDEA 常用快捷键,maven依赖图,个性化设置,禁用Search Everywhere

查看idea中jar关系图 快捷键:Ctrl+/用于注释,取消注释Ctrl+Shift+F全文搜索Ctrl+F单页面查找Ctrl+Alt+Shift+L 格式化代码===========================CTRL+N      ...

学习JAVA 安装

下载JDK   Tomcat9   Apache   mod_jk1.安装JDK这里就说配置环境变量添加环境变量JAVA_HOME(就是jdk的安装路径)CLASSPATH(这个是java专用查找类路径).;%JAVA_HOME%...
代码星球·2020-08-09

MVC 应用程序级别捕捉异常

捕捉异常:usingSystem;usingSystem.IO;usingSystem.Net;usingSystem.Net.Http;usingSystem.Net.Http.Headers;usingSystem.Text;usingSystem.Web;usingSystem.Web.Http.Controll...

消息队列MQ

基本版本Queue代码:usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Mvc;namespaceRongzi.BZone.Admin.Functions{publicclassMyExceptionFil...
代码星球·2020-08-09

MongoDB的C#封装类

代码:samus驱动usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingMongoDB;usingMongoDB.GridFS;namespaceCo...
代码星球·2020-08-09

Cache封装类

代码:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Web;usingSystem.Collections;usingSystem...
代码星球·2020-08-09

Token的管理

代码:RedisCommonusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingServiceStack.Redis;usingSystem.Conf...
代码星球·2020-08-09

Redis一些基本的操作

代码:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingServiceStack.Redis;usingSystem.Configuration;u...
代码星球·2020-08-09

友盟推送

 代码:byte[]postData=Encoding.UTF8.GetBytes(postString);//编码,尤其是汉字,事先要看下抓取网页的编码方式stringurl="http://localhost/register.php";//地址WebClientwebClient=newWebClien...
代码星球·2020-08-09

Thread 线程

线程Join一线程里面调用另一线程join方法时,表示将本线程阻塞直至另一线程终止时再执行usingSystem.Linq;usingSystem.Text;usingSystem.Threading;usingSystem.Threading.Tasks;usingSystem.Runtime.Remoting.Me...
代码星球·2020-08-09

WebApi 找到了与该请求匹配的多个操作

在同一个命名空间内,报错 错误的路由代码:namespaceCRM4S{publicstaticclassWebApiConfig{publicstaticvoidRegister(HttpConfigurationconfig){config.Routes.MapHttpRoute(name:"Defaul...

一个存储过程,触发器

存储过程:uselms;if(object_id('Proc_MouseWheel','P')isnotnull)dropprocProc_MouseWheelgocreateprocProc_MouseWheel(@currentPagedecimal(18,4),@totalPagedecimal(18,4),@c...

SQL 中 not in 查询不到数据问题

在开发的过程中,遇到过notin始终查询不到数据问题select*fromT_CustomerInfowhereCustomerIDnotin(selectCustomerIDfromT_OrderInfo)后来使用notexists查询select*fromT_CustomerInfoawherenotexists(...
代码星球·2020-08-09