Artwork

Treść dostarczona przez Jeffrey Palermo. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Jeffrey Palermo lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.
Player FM - aplikacja do podcastów
Przejdź do trybu offline z Player FM !

.NET 6 using Onion Architecture - Part 5 - Adding a Blazor User Interface- Episode 9

43:29
 
Udostępnij
 

Manage episode 407163533 series 3558420
Treść dostarczona przez Jeffrey Palermo. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Jeffrey Palermo lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

Code Sample

In this episode, Jeffrey is going to cap off the basic Onion Architecture implementation on .NET 6 by adding to the application a Blazor user interface in the simplest way, to can see how the core of our Onion Architecture structure is created and then add interfaces. First, with an interface to a database. Second, with an interface to a person.

Interfaces are added in the same manner, but the user interface is typically added last because the rest of the structure needs to get up and running first and then wire it in. Interestingly, in .NET UI projects, typically the UI project also has responsibility for starting up the application, which is a very, explicit responsibility.

It is important to be aware of two responsibilities here. When adding a project to visual studio, the first responsibility is to start up the application, regardless of what it does. The second responsibility is to have an interface for a user, where a human being is actually bringing up a screen, looking at some things that interact, typing in some text boxes, and hitting some buttons. You’re responsible for starting up the application and letting the user interact with it. The same thing with a web service API application or even a backend job that just listens for messages coming on a queue. That’s the way visual studio tooling is always used and the way the dominant framework works. In Onion Architecture, those are treated differently. You're going to see how to do it and how to make sure not to muddle user interface responsibilities with startup responsibilities.

Thanks to Clear Measure for sponsoring this sample and episode of Programming with Palermo.

This program is syndicated on many channels. To send a question or comment to the show, email programming@palermo.network. We’d love to hear from you.

To use the private and confidential Chaplain service, use the following Gentleman: 512-619-6950 Lady: 512-923-8178

  continue reading

35 odcinków

Artwork
iconUdostępnij
 
Manage episode 407163533 series 3558420
Treść dostarczona przez Jeffrey Palermo. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Jeffrey Palermo lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

Code Sample

In this episode, Jeffrey is going to cap off the basic Onion Architecture implementation on .NET 6 by adding to the application a Blazor user interface in the simplest way, to can see how the core of our Onion Architecture structure is created and then add interfaces. First, with an interface to a database. Second, with an interface to a person.

Interfaces are added in the same manner, but the user interface is typically added last because the rest of the structure needs to get up and running first and then wire it in. Interestingly, in .NET UI projects, typically the UI project also has responsibility for starting up the application, which is a very, explicit responsibility.

It is important to be aware of two responsibilities here. When adding a project to visual studio, the first responsibility is to start up the application, regardless of what it does. The second responsibility is to have an interface for a user, where a human being is actually bringing up a screen, looking at some things that interact, typing in some text boxes, and hitting some buttons. You’re responsible for starting up the application and letting the user interact with it. The same thing with a web service API application or even a backend job that just listens for messages coming on a queue. That’s the way visual studio tooling is always used and the way the dominant framework works. In Onion Architecture, those are treated differently. You're going to see how to do it and how to make sure not to muddle user interface responsibilities with startup responsibilities.

Thanks to Clear Measure for sponsoring this sample and episode of Programming with Palermo.

This program is syndicated on many channels. To send a question or comment to the show, email programming@palermo.network. We’d love to hear from you.

To use the private and confidential Chaplain service, use the following Gentleman: 512-619-6950 Lady: 512-923-8178

  continue reading

35 odcinków

Wszystkie odcinki

×
 
Loading …

Zapraszamy w Player FM

Odtwarzacz FM skanuje sieć w poszukiwaniu wysokiej jakości podcastów, abyś mógł się nią cieszyć już teraz. To najlepsza aplikacja do podcastów, działająca na Androidzie, iPhonie i Internecie. Zarejestruj się, aby zsynchronizować subskrypcje na różnych urządzeniach.

 

Skrócona instrukcja obsługi