cross-cutting concerns... RRS feed

  • Question

  • Hi all,

    I want to build base components(cross-cutting layer components,i.e.: security,logging,...)  for our newly established enterprise size company...can anybody give me some helps on what I want to do?

    Should I choose an AOP approach? (like PostSharp) . Is it matured enough? (specially for security aspect)
    Is Microsift Enterprise Library good enough?(in all aspects)
    LLBL or EF 4.0?
    Should I use T4 templates for code-generation?


    Friday, December 24, 2010 10:11 PM

All replies

  • What is the software functionality that you are looking for in your software application.


    For the graphical user interface design, please choose Prism framework for the graphical user interface.

    Welcome to the Prism Community


    For the web application : use silverlight with ASP.NET

    Encapsulate Silver light with ASP.NET Controls


    Based on the your software project, please choose wisely from Microsoft Enterprise Library which meets   your software functionality.

    Microsoft Enterprise Library


    Data base   operation , please use The ADO.NET Entity Framework and the link is given below

    The ADO.NET Entity Framework


    Please do follow agile software development methods like scrum for your software project.   If you think you need Windows Communication Foundation (WCF) for your software project , please choose. Before using WCF , please do make a feasibility study whether you need a WCF or not . Also look into the concept of proof of concept for your software project.

    Saturday, December 25, 2010 4:55 AM
  • Thanks PHIJO, specially for Prism!

    My concern is not about Archtypes which are in MAAG 2.0 completely. It is about how to create a good foundation to use it in all of my projects and help the low level developers to code fast.

    But what do you think about EF 4.0 capabilities versus LLBL?... As I read and heard LLBL  is maturer than EF. Specially where EF 4.0 has no any idea about other databases (loke oracle,postgre,...) and also has no any Caching mechanism. Moreover, LLBL says it supports LINQ FULLY...

    Also I want to know about AOP approaches on logging and security. Are current AOP frameworks work good enough to be applied in Enterprise applications?

    And also what about code-generation tools? how they can help us in PL and BL?



    Mahmoud Moravej
    Saturday, December 25, 2010 8:50 PM
  • Hi Mahmoud,


    You could use EF4 with another driver/provider, like dotConnect from DevArt:



    Best regards, Lucas Parreira
    Monday, December 27, 2010 1:04 PM
  • That way you could EF4 with Oracle, Postgre, even MySql....


    Best regards, Lucas Parreira
    Monday, December 27, 2010 1:08 PM
  • But all the problems are not if EF4 supports other databases or not...the most important thing is how these databases are supported. Are they supported with full LINQ features? or just a subset of them?...how about performance?...does the provider minimize ORM/database roundtrips or not? also EF4 does not supports any caching policy(different from lazy loading)...and so on...

    ALSO my question is not just about EF. I also want to know if there is any framework or implementation pattern for code generation to minimize and standardize  developers coding?

    Mahmoud Moravej
    Thursday, December 30, 2010 10:49 PM
  • Greetings,

    one suggestion, always focus on one software technology to deliver  the kind of software solution that you are looking for. 

    It would be best , that you go look into Microsoft based products to achieve the software solution. Please do not beat around the bush - it is simple waste of time.

    What you are looking for and best ways of achieving the possibilities should be your prime importance that is.

    Any doubts , please do contact Microsoft directly and get it clarified. That is it. Of course you need pay for the service.


    Helping People To Solve Technical Problems
    Friday, December 31, 2010 3:42 AM