S
S
shvedovea2018-08-11 07:07:16
.NET
shvedovea, 2018-08-11 07:07:16

ASP Core 2 DI implementation, right?

Good afternoon, tell me if I implemented the dependency correctly in asp net core 2. I
created an interface, created a class to implement the interface and wrote the line: "services.AddTransient();" in startup.
This all works great, but did I miss something else in writing the dependency? Or is everything correct?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question