随笔分类 -  asp.net

asp.net web开发
C#.Net 较完美随机验证码 [转]
摘要:using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.... 阅读全文

posted @ 2008-11-06 20:14 starspace 阅读(211) 评论(0) 推荐(0)

Links: ASP.NET, ASP.NET AJAX, jQuery, IIS
摘要:Here is the latest in my link-listing series. Also check out my ASP.NET Tips, Tricks and Tutorials page and Silverlight Tutorials page for links to popular articles I've done myself in the past. AS... 阅读全文

posted @ 2008-11-06 00:47 starspace 阅读(330) 评论(0) 推荐(0)

关于C#中timer类 在C#里关于定时器类就有3个 [转]
摘要:来源:http://www.cnblogs.com/wang123/archive/2006/08/19/481335.html ·关于C#中timer类 在C#里关于定时器类就有3个 1.定义在System.Windows.Forms里 2.定义在System.Threading.Timer类里 3.定义在System.Timers.Timer类里 System.Wind... 阅读全文

posted @ 2008-11-05 00:36 starspace 阅读(261) 评论(0) 推荐(0)

System.Timers.Timer 多线程问题[转]
摘要:[已解决问题] System.Timers.Timer 多线程 ,同时首次进 声明: System.Timers.Timer timer = new System.Timers.Timer(); timer.Elapsed += new ElapsedEventHandler(timer_Elapsed); button按钮事件: timer.AutoReset = true; ... 阅读全文

posted @ 2008-11-05 00:16 starspace 阅读(1231) 评论(0) 推荐(0)

Can't seem to add XmlIgnore override on inherited property
摘要:11/22/2005 9:09:19 AM Can't seem to add XmlIgnore override on inherited property By the way, I also posted this on DotNet Framework General. I'm trying to serialize, via the XmlSerializer, an... 阅读全文

posted @ 2008-11-01 23:58 starspace 阅读(332) 评论(0) 推荐(0)

web.config中配置字符串中特殊字符的处理
摘要:配置文件中往往要用到一些特殊的字符, Web.Config默认编码格式为UTF-8,对于XML文件,要用到实体转义码来替换。对应关系如下: 字符 转义码 ... 阅读全文

posted @ 2008-10-28 00:57 starspace 阅读(235) 评论(0) 推荐(0)

在网络中传输数据 [转]
摘要:我们都曾经出去旅游,并且会带回一些纪念品。一般情况,这些纪念品可以放在随身带的旅行包中带回家,甚至因为纪念品足够小,可以放在口袋里带回来。如果你到巴黎旅行,看到埃菲尔铁塔,觉得非常壮观,你很想同你的朋友分享,那么拍下照片,寄给朋友。 假设一切允许,法国政府允许你把埃菲尔铁塔带回你的国家,展览数月,那么你怎样带回去呢? 不要告诉我说,找世界上最大的船王给你造一艘可以... 阅读全文

posted @ 2008-10-27 20:59 starspace 阅读(403) 评论(0) 推荐(0)

2进制、8进制、10进制、16进制...各种进制间的轻松转换(c#)
摘要:在.NET Framework中,System.Convert类中提供了较为全面的各种类型、数值之间的转换功能。其中的两个方法可以轻松的实现各种进制的数值间的转换: Convert.ToInt32(string value, int fromBase): 可以把不同进制数值的字符串转换为数字,其中fromBase参数为进制的格式,只能是2、8、10及16: 如Convert.ToInt32(”... 阅读全文

posted @ 2008-10-27 20:51 starspace 阅读(211) 评论(0) 推荐(0)

.NET自动字符编码识别程序库 NChardet [转]
摘要:什么是NChardet NChardet是mozilla自动字符编码识别程序库chardet的.NET实现,它移植自jchardet,chardet的java版实现,可实现对给定字符流的编码探测。 NChardet是如何工作的 NChardet通过逐个比较输入字符来猜测编码;由于是猜测,所以可能会有不能完全识别的情况;如果输入字符不能确定正确的编码,那么NChardet会... 阅读全文

posted @ 2008-10-21 20:44 starspace 阅读(318) 评论(0) 推荐(0)

IIS 500错误的解决方法 [转]
摘要:目前找到两中错误导致500错误。 1.DTC服务引起 2.IIS中IWAM_用户密码不同步 一、DTC服务引起 1.这种情况,在事件查看器中有如下提示 [1]:服务器无法加载应用程序 '/LM/W3SVC/1/ROOT'。错误是 '没有注册类别'。 有关此消息的详细信息,请访问 Microsoft 联机支持站点: [2]:无法启动 MS DTC 事务管理器。 有关更多信息,请参阅在 htt... 阅读全文

posted @ 2008-10-21 10:39 starspace 阅读(818) 评论(0) 推荐(0)

IIS配置401错误解决方案
摘要:1、错误号401.1 症状:HTTP 错误 401.1 - 未经授权:访问由于凭据无效被拒绝。 分析: 由于用户匿名访问使用的账号(默认是IUSR_机器名)被禁用,或者没有权限访问计算机,将造成用户无法访问。 解决方案: (1)查看IIS管理器中站点安全设置的匿名帐户是否被禁用,如果是,请尝试用以下办法启用: 控制面板->管理工具->计算机管理->本地用户和组,将IUSR_机器名账号启... 阅读全文

posted @ 2008-10-20 23:52 starspace 阅读(409) 评论(0) 推荐(0)

401.1 and 401.2-Authentication Problems (IIS 6.0)
摘要:Typically, HTTP 401.1 and 401.2 errors are encountered when the authentication process fails in some way — either because the mechanism that IIS used to obtain the credentials has failed or because th... 阅读全文

posted @ 2008-10-20 23:52 starspace 阅读(1288) 评论(0) 推荐(0)

MSDN Webcast“深入浅出ASP.NET AJAX系列”
摘要:课程: ASP.NET AJAX深入浅出系列课程(1):ASP.NET AJAX 概述(3月13日):对于ASP.NET AJAX的大致功能进行概述和演示,通过简单的演示让听众了解到ASP.NET AJAX框架的强大之处,以及对于开发带来的便捷。并且对于学习和研究ASP.NET AJAX,以及开发ASP.NET AJAX使用的工具进行简单演示和介绍。(链接)(幻灯片)(示例代码... 阅读全文

posted @ 2008-10-20 21:43 starspace 阅读(250) 评论(0) 推荐(0)

A Look at ASP.NET 2.0's URL Mapping
摘要:Introduction URL mapping - a feature new to ASP.NET 2.0 - enables page developers to map one set of URLs to another. If a request comes in for one of the URLs in the first set, it is automatically re-... 阅读全文

posted @ 2008-10-20 21:40 starspace 阅读(289) 评论(0) 推荐(0)

全面解析ASP.NET2.0下的URL重写[转]
摘要:转自:http://www.nickyma.com/blog/article.asp?id=155 本文将通过实例比较ASP.NET下的三种典型URL重写方案——ISAPI重写(使用开源组件IIRF),ASP.NET2.0内置的urlMappings和基于自定义HTTPModule的URL重写(使用NBear.Web中的UrlRewriteModule实现),并探讨URL重写中可能遇到的陷阱及处理... 阅读全文

posted @ 2008-10-20 21:39 starspace 阅读(238) 评论(0) 推荐(0)

Tip/Trick: Url Rewriting with ASP.NET
摘要:People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications. This blog post summar... 阅读全文

posted @ 2008-10-20 21:36 starspace 阅读(293) 评论(0) 推荐(0)

UrlRewritingNet 完美实现 ASP.NET 2.0 中的URL重写[转]
摘要:原文:http://www.cnblogs.com/aqiang/archive/2008/02/27/1083710.html URL重写好处有很多,如有利于SEO、便于记忆、隐藏真实路径使安全性提高、便于更新等等。本文概要描述了各种URL重写的实现。 ASP.NET 2.0 中实现URL重写有很多方法,如:Global.asax中捕获用Application_BeginRequest请求,... 阅读全文

posted @ 2008-10-20 21:33 starspace 阅读(237) 评论(0) 推荐(0)

在 ASP.NET 中执行 URL 重写
摘要:发布日期 : 8/23/2004 | 更新日期 : 8/23/2004 Scott Mitchell 4GuysFromRolla.com 适用范围: Microsoft® ASP.NET 摘要:介绍如何使用 Microsoft ASP.NET 执行动态 URL 重写。URL 重写是截取传入 Web 请求并自动将请求重定向到其他 URL 的过程。讨论实现 URL 重写的各种技术,并介绍执行 ... 阅读全文

posted @ 2008-10-20 21:25 starspace 阅读(163) 评论(0) 推荐(0)

asp.net用url重写URLReWriter实现任意二级域名[转]
摘要:Asp.net 用url重写(URLReWriter)实现任意二级域名 原文:http://www.cnblogs.com/notus/archive/2007/03/13/673222.html 好久没有写技术文章,如果大家看不明白,就多看几篇,汗,或者,在文章的后面回复(这是最有效的办法),我会尽力帮助大家解答疑惑. 来找这篇文章的,应该都知道什么叫二级域名吧,废话就不说了.但是讨论前,先要明... 阅读全文

posted @ 2008-10-20 21:24 starspace 阅读(199) 评论(0) 推荐(0)

收集ISAPI_Rewrite的中文资料,URL重写,URL静态化,URL简化[转]
摘要:在ASP.NET 中执行URL 重写 除了简化URL 之外,URL 重写还经常用于处理网站重组,以免导致大量链接断开或书签过期。 返回页首请求到达IIS 时将会发生 IIS 可以自行处理请求(如HTML 页面、图像以及其他静态内容),或者将请求路由到ISAPI 扩展。(ISAPI 扩展是一个处理传入Web http://www.aspjs.cn/ASPNET/ASPNETKF/200409/78... 阅读全文

posted @ 2008-10-20 21:23 starspace 阅读(548) 评论(0) 推荐(0)

导航