New answers tagged

4

Do they load all the program code into the memory on application startup? NO You can have as many Assemblies in your project as you need. Assemblies are referenced via the using keyword. Unused assemblies are filtered out at the build time itself. For example, you can have two referenced asssemblies as: using System.Windows.Forms; using ...


1

What you have there seems like a standard architectural solution for MVC applications. Since MVC does not provide a solution for the data layer you have a repository. So the 3-tiers are: Business layer: where your classes appended by "Manager" are Data layer: repository Presentation layer: View and Controller EDIT: You should change the word "Manager" ...


0

I would create a seperate PermissionService that implements methods like isUserAllowedTo(user, PermissionService.Permissiontype.Update, PermissionService.Topic.COMMENT, additionalContextRelevantParameters) and call the PermissionService methods in the controller, where neccessary context info (i.e. from session) is available. You can design your ...



Top 50 recent answers are included