自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 MVC运行机制

一,第一次程序运行时1,第一次请求的时候 会获取配置文件,同时加载global.asax文件。执行global.asax的Application_Start()方法,调用 RouteConfig.RegisterRoutes(RouteTable.Routes); 来注册路由规则,RouteConfig.RegisterRoutes()方法里,给出的默认规则为{controller}...

2016-08-30 16:07:00 174

转载 JObject对json的操作

一,需去程序集添加using Newtonsoft.Json.Linq;引用using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using...

2016-08-30 14:45:00 97

转载 C#Stopwatch的使用,性能测试

一,先开启开始或继续测量某个时间间隔的运行时间,然后停止,最后重置时间,输出.using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Web;using System.Web.UI;using Syste...

2016-08-29 11:23:00 206

转载 数据库DateTime类型为空的处理

一,写一个辅助类,将该方法设为静态,先装换为object,在转为DateTime,返回DateTime public class DateTimeHelper { public static DateTime ToDateTime(object time) { DateTime dt; ...

2016-08-22 10:45:00 707

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除