n-tier

How to improve speed of 3-tier application?

My friend use to developed 2-tier application which application connect directly to database, now he need to move to 3-tier application but he has issue about speed of the application. This new application need to generate a lot of reports at client side so he worried about speed of this process which need to call to business layer to qu...

Does an n-tier system make "sense" for large data set processing?

I recently became a part of the team of developers writing our "flagship" product. Its primarily a read intensive web app (asp.net(c#) and oracle) implemented in an N-tier system. Most of the writes in the DB are done through external services (not through the webapp). Instead of scheduling normal batch jobs in the DB for data aggrega...

Don’t know enough to know if this design is a great idea or an incredibly dumb one …

Using C#, asp.net 3.5, SqlServer 2005, Trying to incorporate some inversion of control together with 3-tier architecture into my current assignment. Don’t know enough to know if this is a great idea or an incredibly dumb one: I have created a User Interface Layer, a Business Layer, and a Data Layer. The UI collects 4 values, News a...

Nhibrnate POCO objects with relationships but no collections - Mutli tier

Hi, This is a bit of conceptual questions but I think it’s the right place to ask it. i am working with NHibernate for some time but I find it difficult to use the collections within the POCO objects 1. I think the proxy concept is nice but when you want o use it in multi tier architecture it become a challenge. 2. I want to add a busin...

Entity Framework book

Can you recommend a good Entity Framework book? I'm interested in using Entity Framework in a layered application so I would like a book that deals with such a scenario. ...

mixing NHibernate with 3 tier developing

I have a 3 tiered app: 1st layer: SQL DB. 2nd layer: App Sever (dotnet) 3rd layer: smart wpf client. I'm using NHibarnate (fluent) as the data source for the application server layer (App server- 2nd layer talks to DB using NH) Application layer talks to the client using WCF. Do I benefit anything from using NH - as WCF doesn't suppo...

Using WFS-T in n-tier application

I need to integrate WFS-T (Web Feature Service-Transactional) in my 3-tier .net application. Not sure about the best practice to do such task, so I would appreciate any help... ...

addclass to first-level elements only

HTML: <table id="table-1"> <tr> <td> <table> <tr> <td>content</td> <tr> </table> </td> <td>Content</td> </tr> </table> Is it possible to addclass 'td-1' to ONLY first-level TD's of #table-1 and not all? Thanks ...

Should POCOs be derived from DTOs or better not?

Hi, When creating an n-tier solution, I don't want to expose my business objects, but use DTO's instead of this. On the other side, I don't want to doubly define objects and write copy-code all the time. Now my idea would be to write DTOs that contain all necessary fields and properties, but no logic (only state). Then I would derive ...

WCF based WinForms app in standalone mode

Hi, I have a windows application that has its business logic layer implemented as a WCF service. This service is currently hosted on IIS. I wanted to know that if there's a way where I could optionally run the application in standalone mode when a service isn't available/feasible. ...

How To Maintain Transaction in N-Tier Architecture

I am developing application in N-Tier Architecture. as we all know that we need to implement transactions while insert/update/delete operation. please tell me how to use transaction in c#.net in N-Tier architecture. my architecture is like this Applicationform->middle_Layre->Factory->DataAccessLayre->StoredProcedure->Table in application...

DDD Concepts in N-Layer Development

After spending a couple months studying DDD methodology, I've now began to apply these concepts into actual products at my company. In fact, I've been tasked with creating a suitable and maintainable architecture for future development. We have decided to make use of the following technologies: EF4 (really v2), Unity The amount of inf...

How to pass data between BLL and UI in 3-layer (single tier) application?

I am a fairly rookie programmer who is trying to learn the basics of n-layered architecture (DAL, BLL, UI). The application I am programming is a single tier, 3-layer application written in VB.NET (.Net 3.5). Layers as follows: DAL BLL UI COMMON - contains DTO's right now. I am having trouble determining what to pass between my BL...

Exposing Entities Outside The Assembly

I'm looking for opinions on best practices with regards to passing entities beyond assembly boundaries. I'm using Linq-To-SQL, but the same question would apply to Entity Framework, NHibernate, etc. I have an assembly that I want to reuse in multiple projects. In it there are several entities which I have so far kept internal, however I...

LINQ 2 SQL N-Tier Application

Hello all, im trying to test and then implement LINQ 2 SQL as my Data Access to my N-Tier Application, as i read some info today, i added to my database a DateTime column as this reflected in my L2S Designer i changed the TimeStamp property of each "column" in the designer to true and this forced AutoGenerated Value to true as well. But ...

Where to place Business Entities, Enums, Custom exceptions?

I'm trying to figure out how to share my entities between the data, business, and UI tiers. Is it best to create a separate project for these entities that will be referenced by all the tiers? What about Enums and custom exceptions? I have some enums used only by the UI project, and some that are used by the Business. Does this mean ...

Entity Framework via the middle tier

Ok this one is might not have a straight forward answer but lets see. I am trying to design a DAL that will sit on the network and serve EF objects to developers who are writing clients that need to use our database. For example: The DAL has some EF objects called PERSON and DEPARTMENT. A developer wants to write a client that can ...

Server architecture question. (WCF+NServiceBus)

First of all i will describe current state: Server consists of several WCF services, hosted in one or several win services on diffirent machines. Service responsible for recieving data from diffirent devices. Communication with devices is implemented using sockets. Service instance mode - singleton. Data broker service - respons...

What's the naming convention for classes in the DataAccess Project?

I usually name by classes in the Business project as Manager.cs, like BaseManager.cs, CommentsManager.cs, ProfileManager.cs, etc... How do you name your classes in the DataAccess project? Do you call it CommentsDA, CommentsDB, or what? Just curious...BTW, I'm using .NET C#. ...

Current WCF technology alternatives for .NET-to-.NET services?

I'm splitting up an N-tier stack to allow independent scaling of the tiers, better deployment independence, and I'd like to know what people are currently choosing for service-boundary communication technologies. The service itself and all of the "clients" to the service will have access to one another over an internal network and are c...