HttpLitener处理http请求和Websocket请求的案例具体步骤如下 1、新建控制台项目TestClientWebsocket 2、选择项目右键添加类HttpAndWebsocket,代码如下 using System;using System.Collections.Generic;u ...
分类:
Web程序 时间:
2019-07-31 16:47:22
阅读次数:
130
转:https://www.cnblogs.com/wenbochang/p/9851314.html 1. SpringBoot启动主程序类: 每次我们直接直接启动这个启动类,SpringBoot就启动成功了,并且帮我们配置了好多自动配置类。 其中最重要是 @SpringBootApplicati ...
分类:
编程语言 时间:
2019-07-31 13:09:07
阅读次数:
72
最近再看zookeeper,有人提到xsync同步配置文件很好用,于是就想装一下,然后就去看hadoop了,看的是一个大家都知道的学习网站的hadoop视频。 视频里的教程是centos6 编译 hadoop2.6还是2.7。我不想重新装虚拟机了,就用之前玩python装好的ubuntu14.接着就 ...
分类:
系统相关 时间:
2019-07-31 12:40:04
阅读次数:
122
using MongoDB; using MongoDB.Bson; using MongoDB.Driver; using System; using System.Collections; using System.Collections.Generic; using System.Linq; ... ...
分类:
数据库 时间:
2019-07-29 11:44:34
阅读次数:
109
https://jenkins.io/zh/download/ Generic Java package (.war) 下载jenkins.war文件 将jenkins.war发布到tomcat服务器 密码:/root/.jenkins/secrets/initialAdminPassword ht ...
分类:
其他好文 时间:
2019-07-26 18:53:50
阅读次数:
164
直接上代码吧! 在窗体上调用的类: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.T ...
分类:
其他好文 时间:
2019-07-26 11:53:08
阅读次数:
100
using Newtonsoft.Json;using RabbitMQ.Client;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.T ...
分类:
其他好文 时间:
2019-07-24 13:35:04
阅读次数:
444
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespac... ...
分类:
编程语言 时间:
2019-07-23 16:56:37
阅读次数:
182
首先创建数据库,建立一个用户登录表 2、visualStudio默认是不支持MySql的,要想通过Ado.Net 操作MySql 需要在管理NeGet包添加对MySql.Data 和 MySql.Data.Entity的引用 3、在app.Config中添加数据库连接信息 4、前端页面代码: 5、c ...
分类:
数据库 时间:
2019-07-22 18:25:24
阅读次数:
133
使用springboot中的logback时候,没有解决的问题 ...
分类:
编程语言 时间:
2019-07-17 09:33:11
阅读次数:
108