Lean what it means to decouple code, with a comparison of tightly-coupled and decoupled code in the demo application.
- [Instructor] Decouple your code.…You may have have heard it often,…but not really understood what it means.…Let's start with what coupling means…in the context of software architecture.…When components depend directly on other components…those components have to be in place to test that code.…Coupling is when a component depends on a component…it depends on a component.…They have to come together as a package.…Given some web request, it depends on authentication,…a database, maybe another web service, some business logic.…
All of these pieces are required…to return the result of the call.…Tightly coupled code means that all of these things…have to be in place to see if the action works.…This means, big complicated integration tests…with a lot of different outcomes.…The first step to writing unit tests…is to isolate dependencies from one another…so they can be tested and mocked out independently.…This is decoupling.…Code with significant dependencies…or more than one responsibility is hard to test.…
- What is good application architecture?
- Real-world software and the SDLC
- Common knowledge and maintenance
- Choosing an architecture
- Design patterns with EF
- Debugging and error handling
- Architecture for the web with ASP.NET
- Designing for unit testing
- Strategies for dealing with common performance issues
Skill Level Advanced
Deploying ASP.NET Core Applicationswith Nate Barbettini57m 57s Intermediate
Microsoft SQL Server 2016 Essential Trainingwith Martin Guidry3h 18m Intermediate
1. Why Do All of This Architecture?
2. Design Patterns with EF
3. Error Handling
4. Architecture for the Web with ASP.NET
5. Designing for Unit Testing
6. Entity Framework Mistakes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.