Does anybody have a clue how to use dependency injection with latest AutoCAD API 2025 where .NET 8 was introduced?
I haven’t found a single word about it on whole internet, yet it should be a very basic way how to handle dependencies if they are going with .NET 8. Is there at least tiny example how to register services, configure some options and build service container for AutoCAD addon and consume it somewhere else like command method? I need to use my previously written services that I use for ASP.NET core WEB API projects for working with Forge APIs inside AutoCAD plugin.
Does anybody have a clue how to use dependency injection with latest AutoCAD 2025 where .NET 8 was introduced?
I haven’t found a single word about it, yet it should be a default way how to handle dependencies if they are going with .NET 8. Is there at least tiny example how to register services and build service container for AutoCAD addon?