If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
Gael Fraiteur shows how to use the Metalama extension from PostSharp to reduce boilerplate code and architecture erosion.
Chapters
00:00 - Introduction and an overview of PostSharp and Metalama
04:40 - Boilerplate code reduction and using the Log attribute
07:40 - Viewing generated code along with your code
08:55 - Using the Retry attribute
13:00 - Logging with parameters (complex templates)
15:30 - Using the Id attribute
16:20 - Discussion of customizing the templates
19:30 - Validation of source code and using the ForTestOnly attribute
21:30 - Code fixes and customizing the ToString attribute
25:00 - Wrap-up
Recommended resources:
Learn more about Metalama: https://www.postsharp.net/metalama
Documentation: https://doc.metalama.net/
Online sandbox: https://try.metalama.net/
Slack community: https://metalama.slack.com/join/share...…...more
Gael Fraiteur shows how to use the Metalama extension from PostSharp to reduce boilerplate code and architecture erosion.
Chapters
00:00 - Introduction and an overview of PostSharp and Metalama
04:40 - Boilerplate code reduction and using the Log attribute
07:40 - Viewing generated code along with your code
08:55 - Using the Retry attribute
13:00 - Logging with parameters (complex templates)
15:30 - Using the Id attribute
16:20 - Discussion of customizing the templates
19:30 - Validation of source code and using the ForTestOnly attribute
21:30 - Code fixes and customizing the ToString attribute
25:00 - Wrap-up
Recommended resources:
Learn more about Metalama: https://www.postsharp.net/metalama
Documentation: https://doc.metalama.net/
Online sandbox: https://try.metalama.net/
Slack community: https://metalama.slack.com/join/share...…...more