当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: C# ---------------------
 

 

    摘要: in this article, a simple web based editor is built for the web.config file of asp.net. this article will cover the basics of the new web.config file structure, as well as helping the reader t......
 ·保护xmlweb服务免受黑客攻击(3)    »显示摘要«
    摘要: matt powell microsoft corporation 2001 年 9 月 19 日 在上一篇文章中,我们讨论了不同种类的攻击,以及如何进行配置以免受到攻击。本文中,我们将集中讨论如何进行设计和开发,以免受到攻击。 首先,我想介绍两个非常好的新工具,它们是 microsoft® 开发的,可使您的 web 服务器获得最大的安全性。asp?url=/technet......


使用DES加密解密代码(C#&vb.Net),已经调试成功,支持中文加解密,公布!
c# ----------------------------------------------- //名称空间   using  system;   using  system.security.cryptography;   using  system.io;   using  system.text;   //方法   //加密方法   public    string  encrypt(string  ptoencrypt,  string  skey)   {              descryptoserviceprovider  des  =  new  descryptoserviceprovider();              //把字符串放到byte数组中                    //原来使用的utf8编码,我改成unicode编码了,不行              byte[]  inputbytearray  =  encoding.default.getbytes(ptoencrypt);              //byte[]  inputbytearray=encoding.unicode.getbytes(ptoencrypt);              //建立加密对象的密钥与偏移量              //原文使用asciiencoding.ascii方法的getbytes方法              //使得输入密码必须输入英文文本              des.key  =  asc
...   下一页
 ·可靠的xmlwebservice(2)    »显示摘要«
    摘要: 标头的作用 在查看代码之前,我们需要了解一下 soap 主题,即标头。soap 1.1 规范中谈论最少的内容之一就是 soap 标头。标头提供了一种扩展消息处理体系结构的简单方法。soap 1.1 规范中提到:标头在实现与消息主体没有特定关系的处理规则(例如验证和事务管理)时非常有用。对任何类型的消息来说,soap 标头都是以独立方式对可靠性信息进行编码的完美解决方案。规范中还概述......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE