随笔分类 -  .NET

摘要:本文暂时适用于IIS7.5。IIS配置文件路径:"C:\Windows\System32\inetsrv\config\applicationHost.config"1.startMode="AlwaysRunning"完整树级结构 此属性用于IIS进程Wp3p.ex... 阅读全文
posted @ 2015-10-09 17:55 wsion 阅读(346) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Runtime.Serialization.Json;using System.IO;using System.... 阅读全文
posted @ 2015-03-14 17:04 wsion 阅读(251) 评论(0) 推荐(0)
摘要:/// /// Range Helper /// /// public class RangeHelper where T : IComparable { /// /// 为val返回指定范围内合法的值 /// ... 阅读全文
posted @ 2015-02-01 15:13 wsion 阅读(224) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Collections;/// /// Page helper, default page size = 10/... 阅读全文
posted @ 2015-02-01 13:41 wsion 阅读(188) 评论(0) 推荐(0)
摘要:首先,确保目标数据库的is_broker_enabled已经enabled。SELECT name, is_broker_enabled FROM sys.databases如果不是enabled,使用以下语句ALTER DATABASE DB_Name SET ENABLE_BROKERGO使用以... 阅读全文
posted @ 2015-01-05 15:43 wsion 阅读(365) 评论(0) 推荐(0)
摘要:接口的实现很多人都知道,但接口的实现方式分显示实现和隐示实现不知道是不是很多人知道呢!目前常用的方式:public interface IReview{ void GetReviews();}public class ShopReview :IReview{ public void Ge... 阅读全文
posted @ 2013-02-22 10:46 wsion 阅读(242) 评论(0) 推荐(0)
摘要:IIS在接到一个新的http请求后,最终会调用asp.net_isapi.dll的 ISAPI扩展(特指IIS6.0环境,iis7.0的应用程序池默认为集成方式,相对有所变化),然后传递到httpRuntime Pipe(http运行时管道),Asp.Net这时才开始运行(即HttpRunTime是... 阅读全文
posted @ 2013-02-21 16:48 wsion 阅读(206) 评论(0) 推荐(0)