摘要: 一般我们在mvc开发过程中,都会碰到这样的问题。页面总是写在Views文件夹下,而且还只能一个Controller的页面只能写在相应的以 Controller名命名的文件夹下。如果我们写到别处呢?那么肯定会报错。这是mvc中一个约定俗成的一个规定,必须这样写。 1.正常的项目目录,如下图: 我们要访 阅读全文
posted @ 2017-11-07 13:09 晚日照城郭 阅读(254) 评论(0) 推荐(0)
摘要: 使用Entity的时候遇到的一个错 问题出在项目的App.config中 解决: 1.configSections要写在最顶端 2. 其中的incariantName会变成incariantNodeName 这个是安装Entity的时候自动生成的,你如果记得这句话,直接换成incariantName 阅读全文
posted @ 2017-09-20 13:49 晚日照城郭 阅读(376) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.ServiceModel; 6 using System.ServiceModel 阅读全文
posted @ 2017-09-18 16:15 晚日照城郭 阅读(1472) 评论(0) 推荐(1)