摘要: using ImageUpload.Auth;using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Web;using System.Web.Mvc;namespac... 阅读全文
posted @ 2015-05-27 20:22 crazyair 阅读(425) 评论(0) 推荐(0) 编辑
摘要: content1 content2 content3@section Scripts{ } 阅读全文
posted @ 2015-05-17 12:28 crazyair 阅读(230) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls... 阅读全文
posted @ 2015-04-19 17:37 crazyair 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: static TEntity MapEntity(SqlDataReader reader) where TEntity : class ,new() { var pros = typeof(TEntity).GetProperties(); ... 阅读全文
posted @ 2015-04-19 11:11 crazyair 阅读(151) 评论(0) 推荐(0) 编辑
摘要: akurl http://developer.baidu.com/map/index.php?title=car后台csusing System;using System.Collections.Generic;using System.IO;using System.Linq;using Syst... 阅读全文
posted @ 2015-04-18 13:51 crazyair 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 新建一个WxHandler.ashx public class WxHandler : IHttpHandler { public static string Msg; public void ProcessRequest(HttpContext context... 阅读全文
posted @ 2015-03-12 08:03 crazyair 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 去微软官网下载这个补丁 http://www.microsoft.com/en-us/search/DownloadResults.aspx?q=urlscan+3.12、安装urlscan_v31_x64.msi3、打开C:\Windows\System32\inetsrv\urlscan目录下u... 阅读全文
posted @ 2015-03-09 11:37 crazyair 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: 新建控控制台程序nuget 输入Install-Package EntityFramework 回车;Program.cs只 添加using ConsoleApplication18.Migrations;using System;using System.Collections.Generic;u... 阅读全文
posted @ 2015-02-06 13:44 crazyair 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Database1Entities db = new Database1Entities(); protected void Page_Load(object sender, EventArgs e) { var ddd = from a in ... 阅读全文
posted @ 2015-02-01 11:27 crazyair 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1首先这个demo是针对net版本是4.5的 SignalR 获取的是2.2的2新建一个mvc项目 3 Nuget 搜索SignalR 安装如图的一项4新建一个 集线器类修改新建的 类 [HubName("demo")] public class ChatHub:Hub { ... 阅读全文
posted @ 2015-01-19 17:30 crazyair 阅读(476) 评论(0) 推荐(1) 编辑