You must Sign In to post a response.
  • Category: .NET

    What is N-Tier architecture ?


    Are you looking for a way to know What is N-Tier architecture ? want to know then which architecture to followed in project ? then read this thread to know how to do it



    Hi,

    Could you please explain how to answer below question in interview by considering n-tier application in .net project ?

    Explain which architecture you have followed in your recent project ?
  • #745241
    Hi trupti,

    How we know which architecture you are follow in your project.? They are expecting what type of architecture you are following in your project. Whether that is 3-tier architecture or n-tier architecture.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #745243
    hi,

    They are aksing about the architecture you used like n-tier, 3-tier mvc or simple code behind.
    your answer will be one out of this which you follow in your last project.

    Hope this helps you.

    Regards
    Shalini

  • #745246
    You just have to explain the architecture you are using.

    if it is a multiple layer application then explain each layer and how are you communicating between them.

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #745254
    N-Tier architecture gives us many things like, scalability, security, fault tolerance etc.
    In N-Tier architecture we have different layers like Presentation layer, data access layer, database layer, business logic layer etc.
    When all layers are working to-gather it will form a N-Tier Architecture, surely, we get 2.Better and finer security control to the whole system. Basically decoupled layers are logic software component groups mainly by functionality so it will really easy for software development, Loosely-coupled component groups are usually implemented in more general ways so it will increase the reusability

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #745256
    Basically interviewer is asking you to explain something about the architecture of the project. You may start something like below,

    All windows application are client server applications where client directly interacts with the server.

    Layered Architecture - There is no physical separation in the code. It is separated by logical concept like Database Access Layer, Business Logic Layer and User Interface Layer etc.

    In three tier architecture you will be having 3 tiers like, Presentation, Business and Data Access layers.

    Since it is a very vast area I would like you read below articles for detailed explanation and sample projects
    http://www.dotnetspider.com/resources/19462-Tier-Architecture-NET-Sample-Application.aspx
    http://www.dotnetspider.com/projects/811-Tier-Architecture-ASP-NET.aspx


    Regards,
    Asheej T K

  • #745261
    Hai Trupti,
    If the interviewer asks about this question, then they are expecting that what is the structure of your application and how you have developed it as per the real time is concerns.
    If you want to explain about the n-tier architecture, then you should explain that how you have used it and what all the layers were there in your application.
    In a typical n-tier architecture, we mainly make the 4 layers or more as below:
    1. UI Layer(this is your application UI part and main application). This could be your windows app, web app, console app, mobile app etc
    2. Business object Layer- This could be your library project and contains all the business objects of your application.
    3. Business Access Layer- Another library project which cna be used for the business logic layer. The data will be passed through this layer from your UI
    4. Data Access layer- Another Library project which contains the data access part. All the communication from the database happens here.The BAL calls this to get the database related stuff.
    Apart from this, there could be other layers like Utilities, Connection, Message which can be the supporting classes of the project depending on how you want to make the separation between the layers.
    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com

  • #745348
    Hi,
    N-Tier architecture comprise of 4 layers, Database as a layer and remaining layer as used in 3 tier architecture. The advantage of having
    N-Tier architecture is any changes in the database side does not have to change all the solution. Since all project will be of class Library type project. The changes in the DAL side will automatically gets updated to all it's reference.

    All is well.
    Thanks,
    Dharma
    Editor,Mentor,MVM
    Try and fail but don't fail and try

  • #745414
    http://forums.asp.net/t/1939410.aspx?Interview+Question+What+kind+of+Architecture+did+you+use+for+this+project+


    Hope it will be helpful to you.


  • Sign In to post your comments