随笔分类 -  后端 / 后端开发分享

摘要:前提:webservice文件和项目在一个服务器上 1、一到webservice部署的服务器上,访问接口地址+wsdl 例如:http://localhost:8888/WS.asmx?wsdl 2、ctrl+s保存文件为xml文件,保存到本机 3、vs内添加服务引用,地址选择本机刚刚保存的xml 阅读全文
posted @ 2023-03-01 15:26 热心网友大熊 阅读(273) 评论(0) 推荐(0) 编辑
摘要:1..打开vs编写一个控制台程序,里面写入自己的业务逻辑代码 2.远程连接服务器,右击【我的电脑】属性,打开【任务计划程序库】 右击创建基本任务,选择编译过后的控制台.exe程序,配置完成即可 注:cmd 输入 taskschd.msc 可快捷打开【任务计划程序库】 阅读全文
posted @ 2023-03-01 15:25 热心网友大熊 阅读(25) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Data; using System.Xml; using Syst 阅读全文
posted @ 2023-03-01 15:24 热心网友大熊 阅读(25) 评论(0) 推荐(0) 编辑
摘要:public string getRandomString(string name) { Random rad = new Random(); int value = rad.Next(1000, 10000); string res = value.ToString(); string resul 阅读全文
posted @ 2023-03-01 15:23 热心网友大熊 阅读(11) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// JSON格式化重新排序 /// </summary> /// <param name="jobj">原始JSON JToken.Parse(string json);</param> /// <param name="obj">初始值Null</param> // 阅读全文
posted @ 2023-03-01 15:22 热心网友大熊 阅读(164) 评论(0) 推荐(0) 编辑
摘要:本项目是一个.net core的mvc项目 1.下载kindeditor 4.1.11 解压后将文件夹置于 wwwroot目录下,如图: 2.在HomeController的Index控制器对应的index视图输入一下代码: @{ Layout = null; } <!DOCTYPE html> < 阅读全文
posted @ 2023-03-01 15:21 热心网友大熊 阅读(45) 评论(0) 推荐(0) 编辑
摘要:首先需要引用zxing.dll public void getBarCode(HttpContext context) { int width = DTRequest.GetFormInt("width");长 int height = DTRequest.GetFormInt("height"); 阅读全文
posted @ 2023-03-01 15:18 热心网友大熊 阅读(130) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示