AU Class
AU Class
class - AU

Programming AutoCAD® with C#: Best Practices

Share this class
Search for keywords in videos, presentation slides and handouts:

    Description

    This class is for the AutoCAD C# developer who wants to improve code quality and maintainability. Learn how to apply good software design patterns to your AutoCAD code, and take full advantage of the advanced features of the C# language. We will cover topics such as the single responsibility principle, reducing duplicate code, abstraction, and dependency injection. We will touch on Windows Presentation Foundation (WPF) and the Model View ViewModel pattern. We will also explore C# features such as LINQ and delegates, and where we can best apply them to the AutoCAD API. My hope is you will walk away with some basic techniques that will make your code more testable, extensible, maintainable, scalable, and reusable.

    Key Learnings

    • Apply abstraction and dependency injection to your C# code
    • Use WPF and the Model View ViewModel design pattern
    • Use delegates to reduce duplicate code
    • Explain how LINQ can be used with the AutoCAD API