我希望能够根据每项要求执行一些法典,将数据输入GisData。 目前,我有一个基地控制员阶层,所有我的控制者都继承,我凌驾于行动上,在那里这样做。
我对这种做法的唯一关切是,谁永远会创造新的控制者,哈维尔将继承基类。
是否有办法在全球登记一些东西。 就像你对习惯模式约束器一样,这种约束会满足每一项要求? 如同全球行动过滤器或某种东西。
我希望能够根据每项要求执行一些法典,将数据输入GisData。 目前,我有一个基地控制员阶层,所有我的控制者都继承,我凌驾于行动上,在那里这样做。
我对这种做法的唯一关切是,谁永远会创造新的控制者,哈维尔将继承基类。
是否有办法在全球登记一些东西。 就像你对习惯模式约束器一样,这种约束会满足每一项要求? 如同全球行动过滤器或某种东西。
与使用基底控制器类别(我认为这是大多数假设情景的最佳选择)相反,你可以使用_custom actionquotr。 我是从你需要的外衣中固有的行动推论和 sp缩中得出的。 在全球评估启动期间,你登记了援引者的行动。 • 经济、社会、文化权利委员会 例如,你可以在一些观点中利用“执行”来补充。 当时,你知道已完成的行动,也知道行动类型。
在global.asax
中,您可在Application_BeginRequest
上添加手稿,这些手稿在每次“吉卜赛人”申请之前就已提交。 您也可创建custom HTTP模块,处理同样的问题。
I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I ve done to make that happen is that I added a namespaces node to the WebForms web.config: <pages ...
I m using ASP.NET MVC and Entity Framework. I m going to pass a complex entity to the client side and allow the user to modify it, and post it back to the controller. But I don t know how to do that ...
What I want to reach is a way to add a script and style placeholder in my master. They will include my initial site.css and jquery.js files. Each haml page or partial can then add their own required ...
let s say we have something like this public class Person { public string Name {get; set;} public Country Country {get; set;} } public class PersonViewModel { public Person Person {get; ...
I started out this morning working with my ASP.NET MVC project like normal and everything worked. I added a new class and some functions and it still worked. Then, all of a sudden, while I was ...
I have an BLL that does validation on user input then inserts a parent(PorEO) and then inserts children(PorBoxEO). So there are two calls to the same InsertJCDC. One like this=>InsertJCDC(fakePor)...
So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...
i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...