VirtualMJ

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 ··· 11 下一页

2016年5月5日

摘要: 1. Go to Web link https://www.nuget.org/packages/Swashbuckle/ and check which version do we want. 2. Open Vs project and go to NuGet Tool Console, typ 阅读全文
posted @ 2016-05-05 12:31 小马过河MJ 阅读(290) 评论(0) 推荐(0) 编辑

摘要: 1. 增加一个WebApi Controller, VS 会自动添加相关的引用,主要有System.Web.Http,System.Web.Http.WebHost,System.Net.Http 2. 在App_Start 下创建 WebApiConfig.cs 并注册路由 3. 在Global. 阅读全文
posted @ 2016-05-05 10:35 小马过河MJ 阅读(6841) 评论(1) 推荐(0) 编辑

2016年3月24日

摘要: 1. 引用Summernote文件 2. 添加 Summernote Div, 因为我是直接从数据库中读取信息,所以直接在Div中显示数据库信息, 数据库中存放着带有html 标签。 3. 初始化 Summernote, 并且重写Image upload, 感觉图片存在数据库中,总觉得有那么点不妥。 阅读全文
posted @ 2016-03-24 16:24 小马过河MJ 阅读(4436) 评论(2) 推荐(1) 编辑

2016年2月5日

摘要: 1.BookDAL 有一个产生string 的方法 public string GetTestString() { string sReturn = ""; string[] sList = { "a", "b", "c", "d", "e", "f","g","h","i","j","k","l" 阅读全文
posted @ 2016-02-05 18:07 小马过河MJ 阅读(248) 评论(0) 推荐(0) 编辑

摘要: 1. WebApi 和WebConfig 设置 using Libaray.DAL.Services; using Libaray.Models.Entities; using System; using System.Collections.Generic; using System.Linq; 阅读全文
posted @ 2016-02-05 11:03 小马过河MJ 阅读(1021) 评论(0) 推荐(0) 编辑

2016年2月3日

摘要: 也许这么做是有意义的。 1. 路由配置 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routin 阅读全文
posted @ 2016-02-03 16:38 小马过河MJ 阅读(2169) 评论(0) 推荐(0) 编辑

2016年2月2日

摘要: 1. NuGet 下载EntityFramework. 2. 定义Context 和 打开NuGet 命令 执行 Enable-Migrations , Libaray.DAL.Migrations.Configuration 要在执行命令后自动产生. using Libaray.Models.En 阅读全文
posted @ 2016-02-02 17:18 小马过河MJ 阅读(1564) 评论(0) 推荐(0) 编辑

摘要: 1. NuGet 下载 PagedList.MVC 2. View Page @model PagedList.IPagedList<Libaray.Models.Entities.BookModel> @using PagedList.Mvc; @{ Layout = "~/Views/Share 阅读全文
posted @ 2016-02-02 17:08 小马过河MJ 阅读(354) 评论(0) 推荐(0) 编辑

摘要: 1. Application_Error namespace Libaray.Web{ public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegist 阅读全文
posted @ 2016-02-02 16:59 小马过河MJ 阅读(319) 评论(0) 推荐(0) 编辑

2007年6月12日

摘要: Sql索引 阅读全文
posted @ 2007-06-12 11:29 小马过河MJ 阅读(185) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 11 下一页