什么是ASP.NET
What is ASP.NET
ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is part of the .NET Framework, and when coding ASP.NET applications you have access to classes in the .NET Framework. You can code your applications in any language compatible with the common language runtime (CLR), including Microsoft Visual Basic, C#, JScript .NET, and J#. These languages enable you to develop ASP.NET applications that benefit from the common language runtime, type safety, inheritance, and so on.
ASP.NET includes:
A page and controls framework
The ASP.NET compiler
Security infrastructure
State-management facilities
Application configuration
Health monitoring and performance features
Debugging support
An XML Web services framework
Extensible hosting environment and application life cycle management
An extensible designer environment
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/chimomo/archive/2009/09/04/4519542.aspx
相关文档:
1.URL传值
这是经典的传值方式,这种方法的使用非常简单,不过所传递的值是会显示在浏览器的地址栏上的,而且不能传递对象。所以这种方法一般用于传递的值少且安全性要求不高的情况下。在*.aspx页面开发中可以使用超级链接文本进行传值
2.Session传值
这种方法将每份数据存储于服务器变量中,可以传递比较多的数据,并 ......
由于 asp.net ajax 封装了很多很好的方法,所以使用这个框架调用webwervice变的非常简单。
第一步
webservice 类的方法需要有scriptService的 attribute.
namespace ServiceTest
{
/// <summary>
///WebService 的摘要说明
/// </summary>
[WebService(Namespace = "http://tem ......
第一步:
将某个页面的方法 有 webmethod attribute;
[WebMethod]
//只能是 public static 的方法
public static DateTime GetCurrentTime()
{
return DateTime.UtcNow;
}
第二步:
页面有一个ScriptManager 设置它的enablepagemethod=true;
asp:ScriptManager ID="Scri ......
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 ......