易截截图软件、单文件、免安装、纯绿色、仅160KB

什么是Asp.Net应用程序

ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order" virtual directory on a Web server computer. For IIS the virtual directory can be set up in the Internet Services Manager; it contains all subdirectories, unless the subdirectories are virtual directories themselves.
Each ASP.NET Framework application on a Web server is executed within a unique .NET Framework application domain, which guarantees class isolation (no versioning or naming conflicts), security sandboxing (preventing access to certain machine or network resources), and static variable isolation.
ASP.NET maintains a pool of HttpApplication instances over the course of a Web application's lifetime. ASP.NET automatically assigns one of these instances to process each incoming HTTP request that is received by the application. The particular HttpApplication instance assigned is responsible for managing the entire lifetime of the request and is reused only after the request has been completed. This means that user code within the HttpApplication does not need to be reentrant.


相关文档:

asp.net中cookie的处理

原文:刘武|asp.net中cookie的处理  
使用中发现用Request.Cookies.Remove()无法删除cookie,google了一下发现一般是通过将过期时间设置成过去的时间来完成删除的。顺便整理下cookie的操作:
一 创建
1 单值的创建
C#-Code:
HttpCookie hc = new HttpCookie("Value");
hc.Value = "value";
Response.Appe ......

asp.net用fckEditor出现乱码问题

关键在上传的使用用到了upload.aspx,而这个页面默认的编码统一为utf-8,所以我们要给它改变一下。在你的web.config中增加此字段
  <location path="fckeditor/editor/filemanager/connectors/aspx/upload.aspx">
    <system.web>
      <globalization req ......

如何在ASP.NET页面中嵌入WINFORM控件一

原文:刘武|如何在ASP.NET页面中嵌入WINFORM控件一  
在.NET之前,我们如果想访问客户端的资源,最常见的方式就是在网页里面嵌入ACTIVEX控件。现在有了.NET,我们可以将WINFORM控件嵌入在网页里面,从而直接控制客户端,不过前提是客户端必须安装了.NET库。这有点像JAVA 的APPLET(笔者对JAVA不是很熟,如有问题 ......

ASP.NET客户端注册脚本汇总

第一:
          Response.Write(<script></script>);
第二:
          托一个Literal控件
          Literal(控件名).Text="<script></script>"; ......

asp.net时间格式

DateTime dt = DateTime.Now;
//    Label1.Text = dt.ToString();//2005-11-5 13:21:25
//    Label2.Text = dt.ToFileTime().ToString();//127756416859912816
//    Label3.Text = dt.ToFileTimeUtc().ToString();//127756704859912816
//    Labe ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号