简体   繁体   English

在开始的项目上采用CSLA.NET

[英]Adopting CSLA.NET on started project

Im considering use CSLA.NET 3.8 for example for Security and Identity Management on a started Windows Forms Fx 3.5 Project, this will be considered as a good practice? 我正在考虑将CSLA.NET 3.8例如用于已启动的Windows Forms Fx 3.5项目上的安全性和身份管理,这将被视为一种好的做法吗?

Im looking for : 我在找 :

- Namespace : Csla.Security -命名空间:Csla.Security

  • MembershipIdentity MembershipIdentity
  • BusinessPrincipalBase BusinessPrincipalBase

- Namespace : Csla -命名空间:Csla

  • BusinessBase BusinessBase
  • PropertyInfo 的PropertyInfo

My question is about how much will cost on a started project to adopt this framework if the security schemma is not defined yet (on the solution) and Where to begin to deal with this (I mean, how to attack the changes or be ready for any real complex refactorization), I'm worried about this issue, cause I see that CSLA.NET is so complex, but If anyone will share experiences I'll be glad 我的问题是,如果尚未(在解决方案上)定义安全模式,那么在开始的项目中采用此框架将花费多少?以及从何处开始进行处理(我的意思是,如何应对更改或为更改做好准备)任何真正复杂的重构),我担心这个问题,因为我看到CSLA.NET是如此复杂,但是如果有人能分享经验,我会很高兴的


Any response will be helpfully 任何回应都会有所帮助

I would highly recommend checking out our CSLA 3.8 templates . 我强烈建议您查看我们的CSLA 3.8模板 They come in both a VB.NET and a C# flavor. 它们具有VB.NET和C#风格。 We provide a means for active generation and generate authorization rules with partial method hooks for complete customizations. 我们提供了一种主动生成的方法,并通过部分方法挂钩生成授权规则,以实现完全自定义。 This makes customizing your rules a breeze. 这使自定义规则变得轻而易举。 Since its template based you could refactor the template, regenerate and make your rule changes in seconds instead of hours or days. 由于基于模板,因此您可以重构模板,重新生成并在几秒钟而不是几小时或几天内更改规则。

Thanks -Blake Niemyjski (Author of the CodeSmith CSLA Templates ) 谢谢-Blake Niemyjski( CodeSmith CSLA模板的作者

CSLA and I do not get along so I may be the wrong person to answer this. CSLA和我不相处,所以我可能是回答这个问题的人。 We've been useing a small portion of it at work for about two years and spend a great deal of time being annoyed by it. 我们已经在工作中使用了其中一小部分,并且花了很多时间使它烦恼。 I would recommend you weigh other options. 我建议您权衡其他选择。 just my 2 cents. 只是我的2美分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM