- 博客(11)
- 资源 (6)
- 收藏
- 关注
原创 html5 涂鸦板
效果图:HTML5涂鸦板var drawingBrd;var context;var penColor ="#FF0000";var penSize = 1;window.onload = function(){//====================涂鸦板===============
2011-12-28 14:03:29 2407 1
原创 异步发送HTTP请求
Http异步请求AsyncHttpRequestHelperV2.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using Imps.Services.CommonV4;using System.Diagnostics;u
2011-12-27 17:08:32 2778
原创 C# 异步调用代理类
异步调用代理类AsyncInvokeProxy.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace AsyncInvokeDemo{ public class
2011-12-27 16:55:44 1425
原创 HTML5批量拖拽图片到网页
拖拽本地图片到页面指定元素内 function isImage(type) {switch (type) {case 'image/jpeg':case 'image/png':case 'image/gif':case 'image/bmp':case 'image/jpg':return true;default:return fals
2011-12-22 11:07:09 1874
原创 HTML5 拖拽图片到网页内
拖拽本地图片到页面指定元素内 window.onload = function() {/*拖拽事件监听========================================*/ var oDropBox = document.getElementById('dropBox');
2011-12-16 16:04:08 1995
原创 JS 动态增加DIV 的大小
一开始,直接+=了,忘了取到的width和height都是带px的。 记录一下,以后可能能用到document.getElementById("btnLarger").onclick = function(){if(document.getElementById("dropBox").width >= 800 || document.getElementById("dr
2011-12-16 14:29:52 1745
原创 HttpHandler 异步监听请求
在高并发下的服务器端编程,当遇到性能瓶颈时候,往往是同步带来的。监听HTTP请求的时候,异步是必须的。异步监听HTTP请求的基类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using Sy
2011-12-15 14:06:14 2026
原创 Xml CData的使用 获取原始的节点内容
string withoutCdata ="" + "alert(\"\");"; XmlDocument doc = new XmlDocument(); doc.LoadXml(withoutCdata); string value = doc.SelectSingleNode("result/da
2011-12-15 13:21:53 2337
转载 Fiddler 发请求时 设置 cookie
原文地址:http://thedatafarm.com/blog/just-rambling/setting-cookies-in-fiddler/I had a need to do a first stage test of an Astoria Service that has to read some cookies. (Second stage will be
2011-12-05 17:28:10 11982
原创 .net 4.0 A potentially dangerous Request.Form value was detected from the client 的解决方案
这样 validate=false才会生效 有关如何配置 ASP.NET 应用程序的详细消息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --> validateRequest="false" clientIDMode="AutoID"/>
2011-12-02 11:24:37 1593
原创 C# 使用.NET性能计数器示例 绘制出正弦函数图像
代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Diagnostics;namespace PerfCounterDemo{ class Program
2011-12-01 12:30:42 3407
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人