上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页
摘要: <div class="radio-div"> <div style="width: 100px; float: left;"> <input name="typeName" type="radio" value="1"> <label><em></em><span>集团</span></label 阅读全文
posted @ 2020-11-18 15:40 RookieCoderAdu 阅读(232) 评论(0) 推荐(0)
摘要: 1.高可用性 可用性的含义就是能够保证程序一直都正常运行,哪怕某一个服务挂掉,依然可以访问。 nginx可以将请求转发给多个端口,有一个端口失败之后,它以后就不会再请求该端口 2.具有一定伸缩性 也就是可以动态增减请求端口,提升程序的处理能力。 但是需要手动配置,不能自动增减。所以只是一定能力。 修 阅读全文
posted @ 2020-11-18 08:51 RookieCoderAdu 阅读(194) 评论(0) 推荐(0)
摘要: 语法如下: SELECT STUFF((select ','+c.MR_RolName from 查询语句 FOR XML PATH('')),1,1,''); 解释如下 1.STUFF函数。表示截取拼接函数 第一个参数表示原字符串 第二个参数表示从哪个坐标开始,参数从1开始 第三个参数表示截取几位 阅读全文
posted @ 2020-11-17 11:43 RookieCoderAdu 阅读(3104) 评论(0) 推荐(1)
摘要: 我绑定端口之后,直接启动nginx服务。输入我绑定的端口居然没有跳转到我想要的地方。 直接报错400. 我还是直接避开了80这个常用端口,用的8085,结果还是嗝屁了。 打开日志 An attempt was made to access a socket in a way forbidden by 阅读全文
posted @ 2020-11-16 23:03 RookieCoderAdu 阅读(81) 评论(0) 推荐(0)
摘要: 1.Nginx下载,解压 2.跳转 解压目录/comf/nginx.conf 打开 3.找到server, 修改listen监听端口为8085(随便) 4.找到localtion / 修改内容为 proxy_pass http://backend. 表示转发路径,别名为backend 5.在serv 阅读全文
posted @ 2020-11-16 22:48 RookieCoderAdu 阅读(132) 评论(0) 推荐(0)
摘要: //读取连接字符串 string conn =System.Configuration.ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString; //读取appsetting配置 string GrpC 阅读全文
posted @ 2020-11-16 14:17 RookieCoderAdu 阅读(364) 评论(0) 推荐(0)
摘要: 我需要写一个方法,只提供地址,后台自动发送请求,获取数据,然后返回给我 public static string InvokeApi(string url) { using(HttpClient client=new HttpClient()) { HttpRequestMessage messag 阅读全文
posted @ 2020-11-15 23:28 RookieCoderAdu 阅读(246) 评论(0) 推荐(0)
摘要: .net core支持从文件夹启动。 首先打开项目的文件夹。找到项目的启动项目。一般情况下是包含Controller,Views的MVC项目 依次找到/bin/Debug/.netcoreapp3.1 使用cmd跳转到这个文件夹 使用命令: dotnet 项目名.dll --urls="http:/ 阅读全文
posted @ 2020-11-15 22:22 RookieCoderAdu 阅读(214) 评论(0) 推荐(0)
摘要: <div id="typeRadio" class="ipt"> <div class="radio-div clearfix"> <div style="width: 100px; float: left;"> <input name="typeName" type="radio" value=" 阅读全文
posted @ 2020-11-13 14:49 RookieCoderAdu 阅读(421) 评论(0) 推荐(0)
摘要: 非原创。 获取各种页面高度,比较有用,记录一下。 转载地址:https://blog.csdn.net/sunshineboysy/article/details/96385090 另外还有 $(window).height()代表了当前可见区域的大小,浏览器页面高度$(document).heig 阅读全文
posted @ 2020-11-13 14:38 RookieCoderAdu 阅读(381) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 31 下一页