会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
crazyair
博客园
首页
新随笔
联系
订阅
管理
2015年5月27日
Mvc 异常处理 ajax的 和 不是ajax的!
摘要: 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
阅读(432)
评论(0)
推荐(0)
2015年5月17日
选中样式添加移除为选中的样式
摘要: content1 content2 content3@section Scripts{ }
阅读全文
posted @ 2015-05-17 12:28 crazyair
阅读(236)
评论(0)
推荐(0)
2015年4月19日
多级导航菜单 递归
摘要: 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
阅读(1162)
评论(0)
推荐(0)
泛型方法
摘要: static TEntity MapEntity(SqlDataReader reader) where TEntity : class ,new() { var pros = typeof(TEntity).GetProperties(); ...
阅读全文
posted @ 2015-04-19 11:11 crazyair
阅读(156)
评论(0)
推荐(0)
2015年4月18日
wp天气预报
摘要: 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
阅读(252)
评论(0)
推荐(0)
2015年3月12日
微信简单Demo
摘要: 新建一个WxHandler.ashx public class WxHandler : IHttpHandler { public static string Msg; public void ProcessRequest(HttpContext context...
阅读全文
posted @ 2015-03-12 08:03 crazyair
阅读(242)
评论(0)
推荐(0)
2015年3月9日
iis 隐藏 banner
摘要: 去微软官网下载这个补丁 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
阅读(1233)
评论(0)
推荐(0)
2015年2月6日
Codefirst
摘要: 新建控控制台程序nuget 输入Install-Package EntityFramework 回车;Program.cs只 添加using ConsoleApplication18.Migrations;using System;using System.Collections.Generic;u...
阅读全文
posted @ 2015-02-06 13:44 crazyair
阅读(182)
评论(0)
推荐(0)
2015年2月1日
linq 中执行方法
摘要: Database1Entities db = new Database1Entities(); protected void Page_Load(object sender, EventArgs e) { var ddd = from a in ...
阅读全文
posted @ 2015-02-01 11:27 crazyair
阅读(315)
评论(0)
推荐(0)
2015年1月19日
聊天demo SignalR
摘要: 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
阅读(488)
评论(0)
推荐(1)
下一页
公告