philzhou

导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页

2011年9月26日 #

Virtual Box 使用技巧

摘要: 1. 虚拟磁盘克隆。当你在virtual box中安装了一个虚拟机后,你想再克隆一个的时候,如果你只是简单的复制vdi文件然后再将其导入virtual box 是会报错的,因为你复制的vdi文件跟原有的vdi文件拥有相同的guid,virtual box会提示你,该盘片已存在。在virtual box 的安装目录下有一个VBoxManage.exe的工具,在命令行下 输入VBoxManage.exe /?可以查看帮助信息,或者打开安装目录下的帮助文档。可以找到该命令 VBoxManage.exe clonehd <disk_origin> <disk_cloned> 该 阅读全文

posted @ 2011-09-26 19:13 philzhou 阅读(423) 评论(0) 推荐(0)

2011年9月6日 #

aspnet mvc 2 DataAnnotation Client and Server Validation

摘要: Asp.net mvc 使用DataAnnotation标签来做验证。public partial class PatternMeta { public int id { get; set; } [Required] [DisplayName("名称")] public string name { get; set; } [Required] [DisplayName("编码")] public string code { get; set; } [Range(1,20)] ... 阅读全文

posted @ 2011-09-06 19:14 philzhou 阅读(321) 评论(0) 推荐(0)

2011年8月27日 #

easyui 1.2.4 +aspnet mvc常见问题

摘要: easyui + aspnet mvc 常见问题 阅读全文

posted @ 2011-08-27 15:26 philzhou 阅读(587) 评论(0) 推荐(0)

2011年7月5日 #

IIS7.5 windows server 2008 部署网站 访问文件无权限

摘要: IIS7.5 + windows server 2008 部署了网站,该网站是一个cms,有读写文件的操作,部署好后在读写文件操作时,会有如下异常: 异常信息: 异常类型: System.UnauthorizedAccessException 异常消息: 对路径“C:\website\search.aspx”的访问被拒绝。根据此异常我判断是用户权限不够导致的此异常,于是将要读写文件的文件夹读写权限赋给Users,然后该异常就消失。 阅读全文

posted @ 2011-07-05 17:32 philzhou 阅读(798) 评论(0) 推荐(0)

2011年6月22日 #

Encrypt and Decrypt Data with C#(转摘)

摘要: IntroductionWell most of the beginner and intermediate programmers like to play with cryptography. This is the part that took me to some trouble in my life. A good encryption and decryption code is easily findable in the Internet and even on The Code Project. Why another? I didn't find a suitabl 阅读全文

posted @ 2011-06-22 14:38 philzhou 阅读(362) 评论(0) 推荐(0)

2011年6月16日 #

使用HttpWebRequest模拟Web请求

摘要: http post 请求: string uri = "http://www.XXXXXXX.com/Default_Login.aspx?usercode=admin&password=123"; // Get an new instance from factory method. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); HttpWebResponse response =(HttpWebResponse) request.GetResponse(); Stream str 阅读全文

posted @ 2011-06-16 16:05 philzhou 阅读(867) 评论(1) 推荐(0)

2011年5月27日 #

转载 :SQL Server 2005 Recursion and WITH Clause

摘要: Recursive queries have been added to T-SQL in SQL Server 2005 in the form of the WITH clause and CTE. The books online documentation is pretty straight forward but a few people have asked me to work up a few useful samples to help get them going. Simply copy/paste these samples into a query window and execute. 阅读全文

posted @ 2011-05-27 15:52 philzhou 阅读(235) 评论(0) 推荐(0)

2011年5月17日 #

转 The identity crisis in replication

摘要: 原文ScriptThis article discusses three common problems DBAs are likely to encounter when columns have the identity property, which is defined as an attribute of int, smallint, bigint, decimal, numeric or tinyint columns that will auto-increment their value when data is inserted. These problems are hum 阅读全文

posted @ 2011-05-17 20:03 philzhou 阅读(403) 评论(0) 推荐(0)

2011年5月4日 #

转MSDN 用于 Web 应用程序项目部署的 Web.config 转换语法

摘要: 用于 Web 应用程序项目部署的 Web.config 转换语法.NET Framework 4 Web.config 文件通常包括根据应用程序的运行环境而必须不同的设置。例如,在部署 Web.config 文件时,您可能必须更改数据库连接字符串或禁用调试。对于 Web 应用程序项目,ASP.NET 提供了一些工具,用于自动完成在部署这些项目时更改(转换)Web.config 文件的过程。对于要部署到的每个环境,您将创建一个转换文件,该文件仅指定原始 Web.config 文件和适用于该环境的已部署 Web.config 文件之间的差异。 转换文件是一个 XML 文件,该文件指定在部署 Web 阅读全文

posted @ 2011-05-04 09:54 philzhou 阅读(296) 评论(0) 推荐(0)

2011年4月27日 #

转载 A low-level Look at the ASP.NET Architecture

摘要: A low-level Look at the ASP.NET Architecture --asp.net 系统架构底层探秘Getting Low LevelThis article looks at how Web requests flow through the ASP.NET framework from a very low level perspective, from Web Server, through ISAPI all the way up the request handler and your code. See what happens behind the sc 阅读全文

posted @ 2011-04-27 11:57 philzhou 阅读(211) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页