02 2016 档案

摘要:public static IApplicationEnvironment GetApplication(this RazorPage page) { var ae = page.Context.RequestServices.GetService(typeof(IApplicationEnvironment)) as IApplicationE... 阅读全文
posted @ 2016-02-25 15:55 乁卬杨 阅读(2314) 评论(1) 推荐(0) 编辑
摘要:1. Startup.cs 类的 Configure方法中, 加入Area路由设置代码: //app.UseMvcWithDefaultRoute(); app.UseMvc(routes=> { // add the new route here. routes.MapRoute(name: ... 阅读全文
posted @ 2016-02-24 10:20 乁卬杨 阅读(1442) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示