Magic Studio

专心做有逼格的APP!

12 2010 档案

Web Server and ASP.NET Application life Cycle in Depth [转]
摘要:Web Server and ASP.NET Application life Cycle in Depth By Massimiliano Peluso "PeluSoft Limited" | 21 Dec 2010 | Unedited contributionIntroductionIn this article we will able to understand what’s happen when the user submit a request to ASP.NET web app. There are lots of article that explain 阅读全文

posted @ 2010-12-22 16:32 Mr 布鲁斯 阅读(463) 评论(0) 推荐(0) 编辑

How to: Define a Conversion Operator [msdn]
摘要:because of my project, learned something about VB.NET. and now by chance, find this stuff. it's pretty cool.Visual Studio 2005Other VersionsIf you have defined a class or structure, you can define a type conversion operator between the type of your class or structure and another data type (such asIn 阅读全文

posted @ 2010-12-22 13:43 Mr 布鲁斯 阅读(275) 评论(0) 推荐(0) 编辑

详细解说IIS运用程序池以及运用程序池回收【转】
摘要:from:http://blog.csdn.net/TQY2008/archive/2008/09/14/2841350.aspx什么是应用程序池呢?这是微软的一个全新概念:应用程序池是将一个或多个应用程序链接到一个或多个工作进程集合的配置。因为应用程序池中的应用程序与其他应用程序被工作进程边界分隔,所以某个应用程序池中的应用程序不会受到其他应用程序池中应用程序所产生的问题的影响。 Windows 2003同时支持两种工作模式,默认为ISS 6.0工作进程隔离模式。工作进程隔离模式防止一个应用程序或站点停止了而影响另一个应用程序或站点,大大增强了IIS的可靠性。那么如何设置两种工作模式呢? 启 阅读全文

posted @ 2010-12-21 16:08 Mr 布鲁斯 阅读(499) 评论(0) 推荐(0) 编辑

ASP.NET Session丢失问题原因及解决方案[转]
摘要:不得不老调重弹正常操作情况下会有ASP.NET Session丢失的情况出现。因为程序是在不停的被操作,排除Session超时的可能。另外,Session超时时间被设定成60分钟,不会这么快就超时的。现在我就把原因和解决办法写出来。ASP.NET Session丢失原因:由于Asp.net程序是默认配置,所以Web.Config文件中关于Session的设定如下: sessionState mode='InProc' stateConnectionString='tcpip=127.0.0.1:42424' sqlConnectionString='data source=127.0.0 阅读全文

posted @ 2010-12-21 11:17 Mr 布鲁斯 阅读(308) 评论(0) 推荐(1) 编辑

在项目中使用不安全代码【转】
摘要:from:http://bingya.javaeye.com/blog/657978Unsafe code may only appear if compiling with /unsafe文章分类:.net编程要在vs.net中使用unsafe code 我们必须在项目的属性中设置一下,设置方法如下:点项目属性(Properties)-生成(Build)-常规(General)中:钩上允许不安全代码(Allow unsafe code)C#代码 publicstaticvoidMain(string[]args){inti=99,y=200;unsafe{swap(&i,&y);}Con 阅读全文

posted @ 2010-12-14 15:49 Mr 布鲁斯 阅读(356) 评论(0) 推荐(0) 编辑

导航

统计信息

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