摘要: HTML Encoding ASP.NET 4.0 offers a new markup syntax that uses the colon character to tell ASP.NET to HTML encode the expression:<%: "<script>alert('I wont be run');</script>"%> When ASP.NET parses this it does the following:<%= HttpUtility.HtmlEncode(YourVaria 阅读全文
posted @ 2011-09-19 17:50 Stopwatch 阅读(191) 评论(0) 推荐(0)
摘要: .NET Framework 原有的功能的一些改变 阅读全文
posted @ 2011-09-19 15:08 Stopwatch 阅读(202) 评论(0) 推荐(0)
摘要: New TypesMemory Mapping Files A memory mapped file maps the contents of a file into memory, allowing you to work with it in a very efficient manner. Memory mapped files can also be used for interprocess communication, allowing you to share information between two applications:1. Add the following us 阅读全文
posted @ 2011-09-19 14:40 Stopwatch 阅读(233) 评论(0) 推荐(0)
摘要: 如何让CodeSmith支持.NET Framework 4.0 阅读全文
posted @ 2011-08-30 11:04 Stopwatch 阅读(368) 评论(0) 推荐(0)