Sharp Architecture for Winform apps?
Asked Answered
T

3

6

The Sharp Architecture Contrib seems to suggest it is possible. It seemed like they had a dependency on "PostSharp" which has now been replaced with Castle interceptors.

Has anyone used the Sharp Architecture for a non Web project?

How was the experience?

Does that mean one is locked in with castle as the IoC container when using Sharp architecture for non web purposes?

If not Sharp Architecture, then what are some of the favored application frameworks for the non web world [spring.NET?] ?

If one were to start a green field Winforms app, what application framework would be desirable?

Taskmaster answered 18/4, 2010 at 19:39 Comment(1)
am I asking a valid/pertinent question or is it something obvious I am missing?Taskmaster
C
4

You don't need to have PostSharp, which is used for AOP logging I guess. SharpContrib has implement any way to store Nhibernate session. You can download the source code to check. I used it in a proof-of-concept application along with TopShelf (for console or windows services). It works well.

Cryotherapy answered 6/6, 2010 at 2:52 Comment(0)
R
3

I don't think there something like this to WinForms, as WinForms don't support this new principles of design. Instead, use WPF.

You would see a few libraries like this to WPF and silverlight projects.

http://magellan.codeplex.com/
http://caliburn.codeplex.com/
http://compositewpf.codeplex.com/

Ranice answered 20/4, 2010 at 22:41 Comment(0)
L
1

Even though this is an old question, I thought I'd mention MVC#. I had looked at using it for a possible redesign of a VB.NET WinForms app, but we decided to leave the application alone for other reasons (nothing to do with MVC#).

Lathi answered 5/10, 2010 at 23:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.