ASP.NET
文章平均质量分 79
cnlike
这个作者很懒,什么都没留下…
展开
-
ASP.NET应用中用C#实现基于表单的认证
如何:在您的ASP.NET应用中用C#实现基于表单的认证(Q301240) 本文讨论的内容属于: 微软ASP.NET (包括.NET框架) 微软Visual C# .NET (2002) 微软SQL Server 2000 (所有版本) 微软SQL Server 版本7.0 如果您需要查阅本文的Microsoft Visual Basic .NET版本,请参见Q308157。 本文引用转载 2004-07-19 17:00:00 · 1143 阅读 · 0 评论 -
javascript 技巧集 (ZT)
javascript 技巧集 (ZT) 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event.c转载 2005-05-26 23:29:00 · 1319 阅读 · 0 评论 -
Run ASMX Without IIS
Aaron SkonnardDownload the code for this article: ServiceStation0412.exe (165KB) When the Microsoft® .NET Framework first shipped, it introduced a breakthrough Web services framework known as ASMX转载 2004-11-22 13:12:00 · 2303 阅读 · 0 评论 -
asp.net页面刷新事件
基于功能更丰富的基础类构建您自己的 ASP.NET 页面发布日期: 11/4/2004 | 更新日期: 11/4/2004Dino EspositoWintellect适用范围:Microsoft ASP.NETMicrosoft ASP.NET 2.0摘要:通过继承可以在通用 Microsoft ASP.NET 类(例如 Page 类)中添加功能。这为您提供了转载 2004-11-05 11:03:00 · 3428 阅读 · 0 评论 -
ASP.NET 应用程序安全设计原则
设计原则有若干重要原则适用于后面各章中提供的指导说明。您应当学会这些原则并在自己的应用程序设计中予以应用: •采用最少权限的原则.运行脚本或执行代码的进程应当尽可能用权限最少的帐户运行,从而在危及进程安全时限制可能造成的破坏。如果恶意用户设法将代码注入某个服务器进程,那么授予该进程的权限会在很大程度上决定该用户可执行的操作类型。应当将需要更多信任(和更高权限)的代码分别转载 2004-10-11 14:13:00 · 1186 阅读 · 0 评论 -
ASP.NET中提示客户端下载文件
Response.ContentType="application/msword";Response.AppendHeader("Content-Disposition","attachment;filename=test.txt");Response.Write("asdf");Response.End(); ContentType可以从Server 2003的IIS管理器属性中查看转载 2004-07-19 17:36:00 · 626 阅读 · 0 评论 -
ASP.NET 数据库缓存依赖
ASP.NET 数据库缓存依赖 By Peter A. Bromberg, Ph.D. 在ASP.NET中,Cache类最酷的特点是它能根据各种依赖来良好的控制自己的行为。以文件为基础的依赖是最有用的,文件依赖项是通过使用 Cache.Insert 并提供引用文件的 CacheDependency 对象添加的 Cache.Insert("MyData", Source, new Cac转载 2004-07-19 17:27:00 · 725 阅读 · 0 评论 -
Script Callbacks in ASP.NET
Script Callbacks in ASP.NET Dino Esposito Download the code for this article: CuttingEdge0408.exe (127KB) I f youre involved in Web development you may have faced a problem转载 2004-07-24 14:18:00 · 1384 阅读 · 0 评论 -
Serving Images from .NET Assemblies
Serving Images from .NET Assemblies Morgan SkinnerMicrosoft Developer Services June 2003 Summary: Most if not all Web sites require images for their user interface, and these are usually stored on转载 2004-07-19 17:26:00 · 1214 阅读 · 0 评论 -
Using Windows Forms Controls in Internet Explorer
This document describes how to successfully execute Windows Forms controls within Internet Explorer (IE). Windows Forms controls within IE are activated without user prompt, require no registration an转载 2004-07-19 17:11:00 · 1029 阅读 · 0 评论 -
在安装期间将应用程序重定向到不同的 XML Web services
在安装期间将应用程序重定向到不同的 XML Web services Steve HoagVisual Studio TeamMicrosoft Corporation 2001 年 11 月 摘要:本文介绍了如何在 Visual Basic? .NET 中创建一个 Web 应用程序,通过使用 URL Behavior 属性、Installer 类和 Web 安装程序项目将该应用程序重定向到不同转载 2004-07-19 17:01:00 · 865 阅读 · 0 评论 -
将集成Windows认证并使用了身份模拟的ASP.net应用改成Form认证
先在Web.config里设置成Form认证: 当然还得使用Session: 以及配置站点/虚拟目录为匿名认证 然后是一个身份模拟的辅助类:public class ImpersonateHelper{ public const string SystemUserToken = "Syste原创 2007-06-29 14:41:00 · 1740 阅读 · 0 评论