一、1、文件缓存所谓文件缓存,就是根据逻辑判断,一段时间内某个asp的特定执行将不会很大的变动,因因而将内容以静态html的形式存放,然后以web的重定向技术让客户端访问静态文件,以达到减少CPU、数据库资源等的需求。这样的应用很多,譬如很多论坛就是在回复帖子的时候将整个帖子重新生成一个静态文件,然...
分类:
其他好文 时间:
2014-05-19 21:29:31
阅读次数:
419
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace 异常1{ class Program { static void
Main(string[...
分类:
其他好文 时间:
2014-05-19 20:39:32
阅读次数:
309
public static string checkStr(string html) {
System.Text.RegularExpressions.Regex regex1 = new
System.Text.RegularExpressions.Regex...
分类:
Web程序 时间:
2014-05-19 20:31:20
阅读次数:
385
1.创建服务端Class:ProxyServerRemoting 1 using System; 2
using System.Collections.Generic; 3 using System.Text; 4 using
Inscription.Manadal.EmrPlugIn.NetMes...
分类:
Web程序 时间:
2014-05-19 11:49:35
阅读次数:
347
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Net; 6 using System.IO;
7 8 nam...
分类:
其他好文 时间:
2014-05-19 11:14:32
阅读次数:
369
if
(System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(this.Asset.LocalPath))
&& System.IO.Directory.GetFiles(System.IO.Path.GetDirectoryName(...
分类:
其他好文 时间:
2014-05-19 11:04:02
阅读次数:
217
问题描述,以前做的程序迁移到vs2013后出现500.22问题。HTTP 错误 500.22
- Internal Server Error 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。最可能的原因: 此应用程序在
system.web/httpModules 节中定义配置。可尝试的...
分类:
其他好文 时间:
2014-05-19 10:38:58
阅读次数:
276
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace 静态成员{ class Program { static void
Main(string...
分类:
其他好文 时间:
2014-05-19 10:38:16
阅读次数:
263
定义:
epoll是Linux内核为处理大批句柄而作改进的poll,是Linux下多路复用IO接口select/poll的增强版本,它能显著的减少程序在大量并发连接中只有少量活跃的情况下的系统CPU利用率。因为它会复用文件描述符集合来传递结果而不是迫使开发者每次等待事件之前都必须重新准备要被侦听的....
分类:
系统相关 时间:
2014-05-19 10:13:07
阅读次数:
485
Socket 编程时,单机最多可以建立多少个 TCP 连接,受到操作系统的影响。Windows
下单机的TCP连接数受多个参数影响:最大TCP连接数[HKEY_LOCAL_MACHINE \System \CurrentControlSet
\Services \Tcpip \Parameters]...