10 2012 档案

摘要:数据库访问使用entityFramework,第一次访问数据库比较慢,后续速度还行,当站点闲置20分钟后,iis会自动回收工作进程。这时候再访问站点如同第一次一样,会非常慢。解决方案 1、打开 IIS 管理器。 2、在“连接”窗格中,展开服务器节点,然后单击“应用程序池”。 3、在“应用程序池”页中,选择要为其指定闲置超时设置的应用程序池,然后单击“操作”窗格中的“高级设置”。 4、在“闲置超时(分钟)”框中,键入1740,然后单击“确定”。 阅读全文
posted @ 2012-10-23 17:49 虎头 阅读(10549) 评论(0) 推荐(1) 编辑
摘要:1、book.xml文件如下<?xml version="1.0" encoding="utf-8" ?><bookstore xmlns="http://www.books.com"> <book genre="asp.net" publicationdate="2012" ISBN="1-861003-11-0"> <title>asp.net 本质论</title> <author> <fir 阅读全文
posted @ 2012-10-13 16:09 虎头 阅读(4242) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.IO.Compression;namespace byteCompress{ class Program { static void Main(string[] args) { Console.WriteLine("请输入文件的路径:"); string path = Console.Read... 阅读全文
posted @ 2012-10-10 10:04 虎头 阅读(2667) 评论(0) 推荐(0) 编辑

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