At which layer (Model, View, Controller) of MVC should permission logic be handled?
Let me clarify that a bit.
Obviously the UI (View and Controller) need to be able to access permissions to show/hide components and to handle the permission denied scenario. It also seems obvious that the permissions should be persisted to the database ...
Hello I have a ASP.net page with lot of controls and validations. I need to allow users to Save the application into the database.
I have a Master table Called Customer and 5 different child tables with Customer_ID being foreign key.
Once the user hits save I need to insert a record into customer table and then insert records into rele...
I will designing a couple of web applications shortly. They will probably be done in asp.net mvc.
In my existing web apps, done in delphi, the data access layer is seperated out into a completely separate application, sometimes running on a different server. This is done more for code reuse than for architectuaral reasons. This won't...
I've been designing quite a few Windows Forms applications lately (data-entry apps, office integration, etc), and although I've always designed with logical tiers in mind, the "middle tier" business logic layer has always been hosted on the desktop PC (i.e. physical client-server).
As I approach more complex applications, I find myself ...
Recently I have been debating on the best way to handle communication up the chain in n-tier architecture.
Currently the methods I am doing is throwing and handling exceptions between layers for errors, and using events/delegates for other communication (to update progress bars and such). Are these the best way or is there another metho...
Many of us, who have designed and developed systems from scratch, have been in situations where you had to make tough decisions about the architecture of a project. Where did you, or would you, draw the line on taking the "next step" in building an architecturally sound, and scalable system?
I've built a large scale web site that was r...
I have the following structure in my web solution:
Domain
DataAccess
ApplicationServices
Web
Tests
I have some application services that I am using to abstract some web services that I am using. (Specifically, I am bundling some shipping web services together into a single application service.) Should my Application Services laye...
I am working on splitting out an existing, working application that I currently have in order to better understand n-tier structures. This app uses a custom membership & role providers w/ forms authentication.
All Data access and business logic are all within the same ASP.Net solution currently.
I have built a Business Logic Layer (...
Here’s a really really super-basic question.
Say I wanted to build – today – an enterprise CRUD application in .NET that had an n-tier architecture. What data access approach should I use? I want interoperability, so DataSets are out (and I suppose it’s not 2003 anymore, either). Likewise, .NET RIA Services’ advertised method of expo...
I'm using a basic 3-tier design. For flexibility (and testing) purposes, I wanted the data layer to be abstract and specify the concrete class in my code. But, how should I pass this along to my business objects. Here's an example (pseudo code):
abstract class IDataLayer
{
PersonData GetPerson(int); //PersonData would be a row of da...
I'm wondering about the best approach to designing a DB connection manager for a load-balanced n-tier system.
Classic n-tier looks like this:
Client -> BusinessServer -> DBServer
A load-balancing solution as I see it would then look like this:
+--> ... +--+
+--> BusinessServer +--+-...
in this answer he said that i can use RIA services while creating my 3 tiers solution, how it can help me and how it can save me time, because when i checked it on msdn i found that RIA is something tied to silver light, while i am creating a normal asp.net website.
...
Lets say I have an ASP.Net MVC App and this app (UI) references a Business Logic Layer (BLL) and the BLL references my Data Access Layer (DAL).
I am utilizing a Custom Membership and Role provider for Authorization.
I am trying to determine what layers need to reference my Membership provider.
In MVC you can perform Authorization ch...
I have an existing .Net single tier web app that is built using declarative data binding in the markup using EntityDatasource objects. I am in the process of extracting out the layers (Business Logic, Data Access) from the UI and migrating this to a ntier app.
This app is using Declarative data binding. e.g.:
<asp:DropDownList ID="...
If want to learn how to program n-Tiered/Distributed applications in .net, what technology should I start my learning with COM+/Remoting/Web Services/WCF?
Are these technologies complementary or exclusive and to what degree?
...
I am currently working on a n-tier (3 tiers) ASP.NET web application with the .NET 3.5 framework.
I would like to know how to load the data in a list control and drop-down list in the fastest way possible utilizing 'best practices' for n-Tier applicaqtions.
What are the best practices using latest and feasible technologies (ASP.NET MVC...
I would like to learn how to do n-tier development. I would likd to separate my web application to multiple layers:
Presentation Layer
Business logic layer
Data Access Layer
Does anyone have any advice on any resources that would help me learn how to build applications in this manner?
Note: Some programmers have advised me to use "S...
My team is in the process of designing a domain model which will hide various different data sources behind a unified repository abstraction. One of the main drivers for this approach is the very high probability that these data sources will undergo significant change in the near future and we don't want to be re-writing business logic w...
As a software engineer, I have a strong bias towards writing business logic in the application layer, while typically relying on the database for little more than CRUD (Create Retrieve Update and Delete) operations. On the other hand, I have run across applications (typically older ones) where a large amount of the business logic was wri...
Hi, using the IRepository pattern is really convenient in a single tier app (web app, rich client), but how to use this pattern in a distributed application?
I should probably implement an IRepository, which will delegate everything to the server (probably using WCF)
anyone has any experience in this?
thanks in advance,
Erik.
...