随笔分类 -  Asp.net MVC

摘要:About this ProjectTired of your MVC application generating mixed-case URLs likehttp://mysite.com/Home/Aboutorhttp://mysite.com/Admin/Customers/List? W... 阅读全文
posted @ 2016-01-12 23:00 ICupid 阅读(514) 评论(0) 推荐(0)
摘要:第一步:添加nuget包【1】添加 nuget包后,会自动在 webconfig里面 添加配置文件(不用改) 【2】添加nuget包后,会在Global.asax文件里面添加一个注册第三步:combres.xmls ... 阅读全文
posted @ 2016-01-08 19:08 ICupid 阅读(782) 评论(0) 推荐(0)
摘要:public void InitPage(string url, UserInfoBusinessCardView model) { string path = Path.GetDirectoryName(url); string filename =... 阅读全文
posted @ 2014-10-20 15:58 ICupid 阅读(2977) 评论(0) 推荐(0)
摘要:官网参考:http://json.codeplex.com/在程序包管理控制台,键入NuGet命令 install-package Newtonsoft.Json 安装Newtonsoft.JsonPM> install-package Newtonsoft.Json正在安装“Newtonsoft.... 阅读全文
posted @ 2014-10-15 15:09 ICupid 阅读(12785) 评论(0) 推荐(0)
摘要:(菜鸟,勿喷,有错求指正)Asp.net 新建的类库中安装MVC4 。下面是步骤,1+2:打开程序包管理控制台,3:运行Install-Package Microsoft.AspNet.Mvc -Version 4.0.20710命令,4:显示结果,5:查看是否存在System.Web.MVC引用补... 阅读全文
posted @ 2014-10-15 14:22 ICupid 阅读(645) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.Mvc;namespace MyEF.ExtentionHtmlHe... 阅读全文
posted @ 2014-08-24 00:08 ICupid 阅读(330) 评论(0) 推荐(0)