易截截图软件、单文件、免安装、纯绿色、仅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.
发表于 @ 2009年09月23日 14:25:00 | 评论( 0 ) | 编辑| 举报| 收藏
旧一篇:C#如何打开指定文件夹 | 新一篇:GAC Overview
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/chimomo/archive/2009/09/23/4584072.aspx


相关文档:

asp.net性能

 1.关闭不必要的Session
<%@ Page EnableSessionState="flase"%>
2.关闭不必要的ViewState
<asp:DataGrid EnableViewState="false" runat="server">
如果页面级
<%@ Page EnableViewState="false"%>
3.不要使用Exception控制程序流程
  Exception是很耗资源的
4.禁用VB和JScript动态数 ......

asp.net将gridview中的其中一列用textbox格式来显示

  假定有一个Product表,字段有(Id,Name,Quantity,...)将Quantity列用textbox格式来显示:
    首先在Gridview中,Quantity列以TemplateField显示,其他的列属性设为只读,把显示格式设为TextBox
<asp:TemplateField HeaderText="Quantity">
  <ItemTemplate>
  &nbs ......

Asp.net调用webservice

 这是我从别处摘抄的一篇文章,相信大家都很熟悉的,讲的很明白,但是我对其中一点存有疑惑,许久也没有找到答案。
调用webservice时可以返回datatable等复杂数据类型,下面例子中也有的,在前台调用时,其实这些数据类型经过了转换器处理。下面的例子中,返回的datatable被一项一项添加到select上去了,其实我看了就 ......

ASP.NET教程:调用WebService的源码


WebjxCom提示:这里一定要添加WEB 引用菜单步骤如下project->add web reference...,然后输入我们Web Service的路径,这里是http://localhost/WebService1/Service1.asmx,点击添加就OK了。这时你将在类视图中看到localhost命名空间了。
这里一定要添加WEB 引用菜单步骤如下project->add web reference...,然后输 ......

asp.net客户端脚本调用webservice

 由于 asp.net ajax 封装了很多很好的方法,所以使用这个框架调用webwervice变的非常简单。
第一步
webservice 类的方法需要有scriptService的  attribute.
 namespace ServiceTest
{
/// <summary>
///WebService 的摘要说明
/// </summary>
[WebService(Namespace = "http://tem ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号