自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (19)
  • 收藏
  • 关注

转载 利用 ASP.NET 的内置功能抵御 Web 攻击

ASP.NET 开发人员应当始终坚持的做法如果您正在阅读本文,可能就不需要再向您灌输 Web 应用程序中的安全性愈来愈重要这一事实了。您需要的可能是一些有关如何在 ASP.NET 应用程序中实现安全性的实际建议。坏消息是,没有任何开发平台 — 包括 ASP.NET在内 — 能够保证一旦采用了该平台,您就能够编写百分百安全的代码。谁要是这么说,一准在撒谎。好消息是,就 ASP.NET 来说,AS

2008-02-27 17:25:00 537

转载 How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings

Most scripting exploits occur when users can get executable code (or script) into your application. By default, ASP.NET provides request validation, which raises an error if a form post contains any H

2008-02-26 17:24:00 555

转载 ASP.NET 2.0页面框架的几处变化

新增的页面事件: 在ASP.NET 2.0中,一个ASP.NET页面的生命周期主要为(红色字体表示ASP.NET 2.0新增加的阶段页面事件):客户端请求页面—》预初始化(OnPreInit)—》初始化(OnInit)—》完成初始化(OnInitComplete)—》载入ViewState(LoadViewState)—》处理回送数据(IPostBackDataHandler)—》Pa

2008-02-25 16:13:00 429

转载 FrontPage Server Extensions 定义(国外的好文章)

 FrontPage Server Extensions DefinedThe FrontPage Server Extensions are actually a group of programs which run on a server. Your local server has them, and if your webs are on an Internet Server w

2008-02-20 17:33:00 818

原创 Front Page Server Extensions 是什么?

Front Page是MS开发的用来开发网页的工具。工具虽然不怎么被用了,不过他自身的服务扩展还是沿用至今。举个例子,用VS.Net 创建一个web site的时候,会让你选择站点的type。有四个类型: file.   FTP.  local HTTP, Remote HTTP.这里的remort HTTP就用是利用 Front page server Extension来直接对page ser

2008-02-20 17:32:00 2381

转载 DataView 使用技巧 [转]

1.GridView中使用超链接的技巧   GridView中的超级链接,可以设置一个模版列,放入超级链接的控件,设置绑定参数即可。 数据绑定方式有两种,如下示例: ◆Eval方式     ◆Bind方式    推荐使用第一种方式,可以在一个里放入多个绑定,而第二种只能如此绑定一个值 做超级链接的控件,我们也有多种选择: ◆asp:LinkButton 示例 runat="serve

2008-02-20 10:07:00 763 1

原创 ASP.NET 2.0加密Web.config 配置文件 (终极版)

概述:使用受保护配置来加密Web 应用程序配置文件(如 Web.config 文件)中的敏感信息(包括用户名和密码、数据库连接字符串和加密密钥)。对配置信息行加密后,即使攻击者获取了对配置文件的访问,也可以使攻击者难以获取对敏感信息的访问,从而改进应用程序的安全性。使用方法:在asp.net2.0中新增了对web.config中的部分数据进行加密的功能,可以使用 RSAProtectedConfi

2008-02-05 10:08:00 760

转载 Ajax基础教程 (相当好,适合温习)

  Ajax基础教程 内容介绍:Ajax 技术可以提供高度交互的Web应用,给予用户更丰富的页面浏览体验。本书重点介绍Ajax及相关的工具和技术,主要内容包括XMLHttpRequest 对象及其属性和方法、发送请求和处理响应、构建完备的Ajax开发工具、使用

2008-02-04 10:25:00 576

转载 使用ASP.NET 2.0 Profile存储用户信息

使用ASP.NET 2.0 Profile存储用户信息 作者: Stephen Walther 原文地址:http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp 译者:Tony Qu (来自BluePrint翻译团队)概要:许多ASP.NET应用程序需要跨

2008-02-04 10:17:00 875

毕马威:《2023年中国便利店发展报告》(pdf下载)

毕马威:《2023年中国便利店发展报告》(pdf下载)

2024-02-21

毕马威:《零售及消费品行业:变革、转型与突破》系统报告之八

毕马威:《零售及消费品行业:变革、转型与突破》系统报告之八

2024-02-21

毕马威:中国经济观察:2023年四季度(pdf下载)

毕马威:中国经济观察:2023年四季度(pdf下载)

2024-02-21

毕马威:2024中国消费50白皮书报告(第三届)(130页).pdf

第三届消费50 榜单企业评选范围为新经济周期中深得消费者喜爱并实现韧性增长的消费品及零售行业企业,包括但不限于个护/ 美妆、便利店、咖啡、宠物、家居生活、康养/ 健身、服装配饰、母婴、综合食品、连锁餐厅、预制菜/ 烘焙、饮料/ 乳品以及服务提供商等行业企业。 通过对第三届毕马威消费50 企业的调研分析,我们发现企业愈发注重数字化转型及消费者需求,并在相关领域积累了成功实践。 数字化贯穿运营管理六大创新维度 更多企业将以消费者为核心的运营管理提升至战略高度

2024-02-21

Market Risk Analysis Volume I

Market Risk Analysis 一共四卷,这里提供第一卷, 理论知识, 先读2,3,4,中间需要结合1 来消化 不要看完就还给作者了

2016-04-13

S60 手机证书 制作软件(自己动手不用申请)

S60 手机证书 制作软件(自己动手不用申请) 自己搞,秒做!

2009-10-09

vs2008,VSTS压力测试报告-分析方法

vs2008,VSTS压力测试报告-分析方法 紧跟着上面一个资源,如何手把手教你如何用vs2008做压力测试,性能测试。

2009-07-01

VS2008,VSTS,做压力测试,性能分析

个人收集整理,且中文。国内最全指导书 是doc文档,清晰明了。 手把手教你如何用vs2008做压力测试,并行测试。 第二部分送上分析报告分析方法。

2009-07-01

【经典】VS2008 柔黑色底主题,保护眼睛主题

淡黑色底(纯白,纯黑都伤眼睛) MS的Consale字体,最柔和字体和规范字体 颜色不是过于鲜艳,确对比度比较强烈, 在柔和的环境中创造轻松的变成环境 主柔黑色theme.

2009-07-01

EditPlus 3.1 最新cd-key

EditPlus 3.1 最新cd-key

2009-05-20

sharePoint安装完全手册

sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册 sharePoint安装完全手册

2008-10-28

Refactoring: Improving the Design of Existing Code

Refactoring: Improving the Design of Existing Code Martin Fowler Kent Beck John Brant William Opdyke Don Roberts Publisher: Addison Wesley First Edition June 11, 1999 ISBN: 0-201-485672, 464 pages

2008-10-28

Unit Testing with Mock Objects

Abstract Unit testing is a fundamental practice in Extreme Programming, but most non-trivial code is difficult to test in isolation. It is hard to avoid writing test suites that are complex, incomplete, and difficult to maintain and interpret. Using Mock Objects for unit testing improves both domain code and test suites. They allow unit tests to be written for everything, simplify test structure, and avoid polluting domain code with testing infrastructure. Keywords: Extreme Programming, Unit Testing, Mock Objects, Stubs 1 Introduction “Once,” said the Mock Turtle at last, with a deep sigh, “I was a real Turtle.” (Alice In Wonderland, Lewis Carroll)

2008-10-28

CodertoDeveloper--Tools and Strategies for Delivering Your Software

Table of Contents Coder to Developer—Tools and Strategies for Delivering Your Software Foreword Introduction Chapter 1 - Planning Your Project Chapter 2 - Organizing Your Project Chapter 3 - Using Source Code Control Effectively Chapter 4 - Coding Defensively Chapter 5 - Preventing Bugs with Unit Testing Chapter 6 - Pumping Up the IDE Chapter 7 - Digging Into Source Code Chapter 8 - Generating Code Chapter 9 - Tracking and Squashing Bugs Chapter 10 - Logging Application Activity Chapter 11 - Working with Small Teams Chapter 12 - Creating Documentation Chapter 13 - Mastering the Build Process Chapter 14 - Protecting Your Intellectual Property Chapter 15 - Delivering the Application Index List of Figures List of Tables List of Technology Traps List of Sidebars

2008-10-28

MVP由浅入深(2)

在译文中,作者使用了Northwind数据库的Customer表来作为范例,这个表包含了太多的字段,而且字段类型缺乏变化,只有一个自定义的Country类型,其余均为String类型。这样容易让大家忽视掉MVP模式需要注意的一点,或者说是优势之一:视图部分,通常也就是一个Aspx页面,向用户显示的数据类型只有一种可能,就是字符串。即便你想向用户显示一个数字,比如金额,在显示之前,也会要么显式、要么隐式地转换为了字符串类型;而对象的字段类型却可能是多种多样的。所以,View的接口定义只包含String类型的Set属性,而实际将各种类型向String类型转换的工作,全部在提供器中完成。通过这样的方式,页面的CodeBehind将进一步简洁,连格式转换都移到了单独的提供器类中了。如果上面的加粗的字体你一时不能领悟也不要紧,一点点看下去你自然会明白。

2008-10-28

MVP由浅入深(1)

随着像Asp.Net和Windows窗体这样的用户界面创建技术越来越强大,让用户界面层做多于它本应做的事是很常见的。没有一个清晰的职责划分,UI层经常沦为一个包含实际上应属于程序其他层的逻辑的容器。有一个称为 模型(Model)-视图(View)-提供器(Presenter)(MVP)的设计模式,特别适合解决这个问题。为了表明我的观点,我将为Northwind数据库中的客户建一个遵循MVP模式的显示屏幕(display screen)。

2008-10-28

ASP.Net 面试必背程序,98%通吃所有编程题

ASP.Net 面试必背程序,98%通吃所有编程题

2008-01-17

万能日期正则表达式 (适用于各种日期样式)绝对经典

万能日期正则表达式 (适用于各种日期样式)适用于yyyy(或yy)-(或空格)MM(或MMM,比如Jan,Feb..) dd HH:mm:ss(后面还可以选择性显示时间)顺序也可以是各式各样的可以月份提前 MM(MMM)-dd-yyyy(yy) MM(MMM) dd yyyy(yy)也可以日期提前 dd-MM(MMM)-yyyy(yy) dd MM(MMM) yyyy(yy)位置随便你改变,中间的连接符平常用的是'-'和' '想显示时间就显示时间使用方法:方法GenerateDateTimeReg(string formateType)中传入一个datetime的formate格式,后面的工作就等着取Reg正则表达式吧。哈哈用的话直接用,如果想测试正确性,把返回的Reg字符串里面的“\\”改成“\”就可以了,原因就不说了,只要你编程过应该就知道。

2008-01-10

Using Assemblies in Microsoft .NET and C# Using Assemblies in Microsoft .NET and C#

1. Introduction<br><br>Summary<br>Scope<br><br>2. Setup of the .NET Framework<br><br>Microsoft .NET Framework Software Development Kit<br><br>3. Assemblies<br><br>Direct Use of DLLs<br>Private Assemblies<br>Global Assemblies<br>Compile/Link Cycle<br>View Assemblies - The Intermediate Language Disassembler (ILDASM)<br><br>4. Sample Application<br><br>Steps<br>App.cs<br>Hello.cs<br>GoodBye.cs<br>HowDoYouDo.cs<br>Compile Classes to DLLs - The CSharp Compiler (CSC)<br>Group DLLs in a Private Assembly - The Assembly Linker (AL)<br><br>5. Create Global Assembly<br><br>Generate Key File - The Strong Name Utility (SN)<br>Version Control and Linking<br>Load into Assembly Cache - The Global Assembly Cache Utility (GACUTIL)<br><br>6. Compile and Run Executable (EXE)<br><br>Reference Private and Global Assemblies<br>Add DLLs Directly and Reference Global Assemblies<br>Run it<br><br>7. Loading DLLs on Demand<br><br>Start Debugger<br>List Modules<br><br>8. Step into Private Assemblies<br><br>Private Assemblies are Referencing DLLs<br>Version Control and Signing<br>Correct Version Required<br>Recognition of Tampered Files<br><br>9. Step into Global Assemblies<br><br>Delete Locally Compiled Global Assemblies<br>Remove Assembly from GAC<br>Check Public Key Token<br><br>10. Version Global Assemblies<br><br>Attributes<br>Compile/Link and Load into GAC<br>Same Name but Different Versions<br>Correct Version Required<br><br>11. Appendix<br><br>Commandfile to Build Sample Application<br>Download Sources

2007-11-22

如何用C#在VS2005中创建自己的Exception详解

如何用C#在VS2005中创建自己的Exception详解

2007-11-22

Using Assemblies in Microsoft .NET and C#

1. Introduction <br><br>Summary<br>Scope <br><br>2. Setup of the .NET Framework <br><br>Microsoft .NET Framework Software Development Kit <br><br>3. Assemblies <br><br>Direct Use of DLLs<br>Private Assemblies<br>Global Assemblies<br>Compile/Link Cycle<br>View Assemblies - The Intermediate Language Disassembler (ILDASM) <br><br>4. Sample Application <br><br>Steps<br>App.cs<br>Hello.cs<br>GoodBye.cs<br>HowDoYouDo.cs<br>Compile Classes to DLLs - The CSharp Compiler (CSC)<br>Group DLLs in a Private Assembly - The Assembly Linker (AL) <br><br>5. Create Global Assembly <br><br>Generate Key File - The Strong Name Utility (SN)<br>Version Control and Linking<br>Load into Assembly Cache - The Global Assembly Cache Utility (GACUTIL) <br><br>6. Compile and Run Executable (EXE) <br><br>Reference Private and Global Assemblies<br>Add DLLs Directly and Reference Global Assemblies<br>Run it <br><br>7. Loading DLLs on Demand <br><br>Start Debugger<br>List Modules <br><br>8. Step into Private Assemblies <br><br>Private Assemblies are Referencing DLLs<br>Version Control and Signing<br>Correct Version Required<br>Recognition of Tampered Files <br><br>9. Step into Global Assemblies <br><br>Delete Locally Compiled Global Assemblies<br>Remove Assembly from GAC<br>Check Public Key Token <br><br>10. Version Global Assemblies <br><br>Attributes<br>Compile/Link and Load into GAC<br>Same Name but Different Versions<br>Correct Version Required <br><br>11. Appendix <br><br>Commandfile to Build Sample Application<br>Download Sources <br><br>

2007-11-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除