Menu

The Scope DI: How Two .NET Developers Ended Up Building a TypeScript DI Library
📰

The Scope DI: How Two .NET Developers Ended Up Building a TypeScript DI Library

DEV Community: dotnet·NickM·about 4 hours ago
#lYXFilPO
#devtodotnet#devto#dev#scope#type
Reading 0:00
15s threshold

From C# generics and Microsoft's Dependency Injection to a scope-based, type-safe DI system for TypeScript.

Two backend developers meet TypeScript

Both John (SvS-JohnC) and I started our professional journeys primarily as backend developers, working extensively with C# and the .NET ecosystem.

Over the years, we gradually became full-stack developers. And, as the old joke goes, one of the worst things that can happen to a frontend application is a backend developer deciding to build its UI.

Well, we were those backend developers.

But we had one particular interest that made our journey into frontend development a little different: we love generics and abstractions .

And when I say we love generics, I really mean it.

We've worked with complicated generic abstractions in backend applications and even experimented with them in game development using Unity. Classes with ten generic parameters? We've seen those.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.