上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 101 下一页
摘要: 控件来源:http://www.o2sol.com/pdfview4net/download.htm (使用版本:2016年8月31号更新版) 备份链接: https://pan.baidu.com/s/1b6pJ0E 密码: bu3r 里面包含4个文件夹Bin、Help、Samples、Suppo 阅读全文
posted @ 2018-11-20 13:02 龙骑科技 阅读(1838) 评论(0) 推荐(0)
摘要: .NET中加密和解密有两种方式 .NET中加密和解密有两种方式 string file="文件上(传)篇.doc";string Server_UrlEncode=Server.UrlEncode(file);string Server_UrlDecode=Server.UrlDecode(Serv 阅读全文
posted @ 2018-11-20 12:57 龙骑科技 阅读(5641) 评论(0) 推荐(0)
摘要: /// <summary> /// 启动服务监听的ip和端口的主线程 /// </summary> /// <param name="tunnelPort"></param> public void StartService(int tunnelPort) { Port = tunnelPort; 阅读全文
posted @ 2018-11-16 15:53 龙骑科技 阅读(2170) 评论(0) 推荐(0)
摘要: 1、创建WindowsService,如下代码 using System;using System.Net;using System.Net.Sockets;using System.ServiceProcess;using System.Text;using System.Threading; n 阅读全文
posted @ 2018-11-16 12:39 龙骑科技 阅读(1059) 评论(0) 推荐(0)
摘要: Socket通讯案例 #region 服务端 //int port = 1234; //string host = "127.0.0.1"; //IPAddress ip = IPAddress.Parse(host); //IPEndPoint ipe = new IPEndPoint(ip, p 阅读全文
posted @ 2018-11-16 11:33 龙骑科技 阅读(397) 评论(0) 推荐(0)
摘要: /// <summary> /// 判断ftp上是否有指定的文件目录,没有创建 /// </summary> /// <param name="ftpPath">指定路径</param> public void FtpDirectoryAndFile(string ftpPath) { int st 阅读全文
posted @ 2018-11-15 18:18 龙骑科技 阅读(4411) 评论(0) 推荐(0)
摘要: 第一步:新建Webservice接口 主文件方法 using System;using System.Collections.Generic;using System.Web;using System.Web.Services; namespace TestWebApplication{ /// < 阅读全文
posted @ 2018-11-14 18:17 龙骑科技 阅读(1098) 评论(0) 推荐(0)
摘要: 方式1:jsonp解决跨域访问 需要服务和js配合 服务 JS调用 方式2:增加配置处理跨域 如果是在.net下则在web.config中增加配置 在system.webServer下增加可跨域访问 如果是调用webservice在服务端config中增加配置在system.web下增加 服务 前台 阅读全文
posted @ 2018-11-14 13:26 龙骑科技 阅读(309) 评论(0) 推荐(0)
摘要: C# 创建、部署和调用WebService的简单示例 webservice 可以用于分布式应用程序之间的交互,和不同程序之间的交互。 概念性的东西就不说太多,下面开始创建一个简单的webservice的例子。这里我用的是Visual Studio 2015开发工具。 首先创建一个空的Web应用程序。 阅读全文
posted @ 2018-11-14 12:17 龙骑科技 阅读(257) 评论(0) 推荐(0)
摘要: 今天动手写Ajax时遇到的问题:按照下面的顺序来写Ajax,功能是alert出txt文档的内容,在Chrome下可以执行onreadystatechange中的事件,在IE11及以下、FF就不能执行onreadystatechange中的代码。 ajax:1.创建Ajax对象 ——new XMLHt 阅读全文
posted @ 2018-11-14 10:59 龙骑科技 阅读(2327) 评论(0) 推荐(0)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 101 下一页