什么是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.
相关文档:
支付宝的接口调用很不方便,刚做好一个封装,实现了虚拟交易和实物交易。
解决方案中有三个项目以及NDoc生成的文档,简单的序列图:CommonAliPay,封装的支付宝接口。
TestAli,asp.net的测试项目
TestCommonAliPay,Nunit的测试项目。
调用方法:
1、引入CommonAliPay.dll
2、实现支付宝服务接口的方法调用方式:
......
关于控件图标的事,可没少瞎折腾,从前年想入手这方面开始,就没搞定过。N多大虾的贴子都翻烂了,也没找出个头绪来。其实最开始有次真给蒙出来了!不过后来改控件,也不知道改哪了。没了!于是满世界的CSDN、MSDN。。。。NB的人,NB的文章看了眼晕,打死也没有弄出来。昨天项目中遇到问题,看了一哥们的控件(WEBABCD:至今 ......
http://www.cnblogs.com/TerryFeng/archive/2009/02/01/1382123.html
这很常用,搜索了一下博客园的“找找看”和谷歌,看到大部分都是转载于一两篇文章(而且来源还不是博客园),有的是简单的说一点无法运行,给初学者的调试和学习带来不方便,我在这里将jQuery Ajax 调用Aspx.Net WebService 的几个常用的方法 ......
第一:
Response.Write(<script></script>);
第二:
托一个Literal控件
Literal(控件名).Text="<script></script>";
......