Onion Architecture Example in ASP.NET CORE

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 21

  • @raghubirsingh1276
    @raghubirsingh1276 3 роки тому +20

    This is simple Layer architecture not onion architecture. Repository layer is added for separation between Data access layer and service layer.

    • @sanjayror
      @sanjayror 2 роки тому +1

      Can you please suggest better video for this architecture

    • @Mathurankan
      @Mathurankan Рік тому

      ​@@sanjayrorua-cam.com/video/QkJUd8C7-_I/v-deo.html

  • @bharathalle
    @bharathalle 3 роки тому +6

    This is not a Onion Arch itself

  • @MrBdl32
    @MrBdl32 4 роки тому +9

    No, it is not a great video, he struggle too much explaining the basics, at this moment I wonder if he even knows why this architecture is used, it seems he mechanically follows up another tutorial

    • @delysid604
      @delysid604 4 роки тому +1

      Messed it up isnt it ? data-access layer holding only entity objects, Direct reference from UI to DAL. I dunno what i just watched but this is wrong

  • @tulasiramparuchuri2075
    @tulasiramparuchuri2075 3 роки тому +1

    This another flavour of traditional n layered architecture . If its an onion architecutee the inner most slice is dataaccess and nothing but a poco without any business domain related logic . the data flow is ui -> service -> repository ( dataaccess as a contract ) isnt it a traditional layered architecture ?

    • @sanjayror
      @sanjayror 2 роки тому

      Can you please suggest better video for this architecture

  • @nikhilverma9700
    @nikhilverma9700 2 роки тому +2

    this is not an onion architecture.. your repository has direct dependency with ui project..you must need to know about onion architecture..

    • @sanjayror
      @sanjayror 2 роки тому

      Can you please suggest better video for this architecture

  • @foonlam7134
    @foonlam7134 4 роки тому +2

    Thanks. Great video. Do you have the source code that I can download?

  • @hunqiangng2511
    @hunqiangng2511 3 роки тому

    I would like to ask , is the IRepository is sharing repository for all services ? why we need separate it as 2 project? any one can help me answer thanks

  • @zebcode
    @zebcode Рік тому +1

    This is not Onion architecture, it's N-¬Tier.

  • @balkishan2k11
    @balkishan2k11 4 роки тому

    Where is Uow pattern

  • @dcernach
    @dcernach Рік тому

    Nice try, this is not onion arch itself, it is simple and plain N-Ties arch. The onion architecture is a software design pattern where the code is structured into layers, akin to the layers of an onion. The innermost layer represents the core business logic and data, surrounded by layers for application services, use cases, interfaces, and infrastructure. Each layer only depends on the layer directly beneath it, promoting separation of concerns and making the code more maintainable and testable. The outermost layer acts as a protective boundary, ensuring the inner layers remain secure and isolated from external influences (to keep it stable).

  • @DG-wc8iz
    @DG-wc8iz 3 роки тому +1

    Couldn't understand what he is saying

  • @aligomboz
    @aligomboz 4 роки тому

    Can you translate

    • @daviboysmith
      @daviboysmith 4 роки тому +1

      Translate to what......english! 😃

  • @MrLgbk
    @MrLgbk 3 роки тому

    Haters gonna hate. BTW nice vid

  • @ashish2038
    @ashish2038 Рік тому

    Not correct