locked
ASP.NET WEBFORM APPLICATION RRS feed

  • Question

  • User-2068115303 posted

    Hello everyone

    i made an asp.net web forms application recently and i used aspx.cs and aspx.designer.cs files with SQL server for database. what is the architecture of the application in my case ? and thank you

    Friday, May 24, 2019 4:31 PM

All replies

  • User-242834995 posted

    Hi,

    I'm not clear by your question can you elaborate (detail) what you are asking here?

    Thanks 

    Friday, May 24, 2019 4:48 PM
  • User-2068115303 posted

    i mean is the application can be a 3 layered architecture ?

    Friday, May 24, 2019 4:53 PM
  • User-821857111 posted

    The aspx and aspx.cs files are part of a presentation layer. If that is all you used, then your application is a single layered application. 3 layered applications have presentation, business logic and data access layers.

    Friday, May 24, 2019 6:45 PM
  • User-242834995 posted

    .aspx.designer files are pre-built bridges for C# Code Behind(Test.aspx.cs) and Mark Up files(Test.aspx).

    The bridge is nothing but it allows Visual Studio to give user an Intellisense in the code behind to access server control ID's 

    3 Layered Architecture : The three-layer architecture is a software design pattern and well-established software architecture which consists of user interface, business logic and data access layer which are maintained as independent modules on separate platforms.

    you can check this link for detail explanation: https://www.c-sharpcorner.com/UploadFile/4d9083/create-and-implement-3-tier-architecture-in-Asp-Net/

    Friday, May 24, 2019 9:17 PM
  • User-2068115303 posted

    thanks but how many layers i'm using  in my application

    Saturday, May 25, 2019 2:08 AM
  • User-242834995 posted
    1-Tier I would say
    Saturday, May 25, 2019 3:03 AM
  • User1120430333 posted

    thanks but how many layers i'm using  in my application

    You are not using any layers. You are just using an ASP.NET Web form that has objects tightly coupled  in the code-behind file.

    Saturday, May 25, 2019 8:54 AM
  • User-821857111 posted

    thanks but how many layers i'm using  in my application

    As I said before, one - the presentation layer.

    Saturday, May 25, 2019 8:48 PM