Hot answers tagged

3 votes

What is considered best practice for managing dependency injection for multiple libraries with ASP.NET Core Web API?

I think we have to let Microsoft be the authority on "Best practice" here, so yeah, write an extension method, assume the user knows the namespace for it, read the config by magically ...
Ewan's user avatar
  • 72.3k
1 vote
Accepted

What is considered best practice for managing dependency injection for multiple libraries with ASP.NET Core Web API?

But that would mean that the first project would have to have a reference to the third project and would have to provide a connection string. Is the API project supposed to be aware of the database ...
Flater's user avatar
  • 47.5k
1 vote

Implementing a selectable requirements with level of advancement in a web app

The tech world is constantly and rapidly changing. This means that whatever technologies you decide to list on your job board, tomorrow there will be a recruiter who wants to list a technology you ...
Bart van Ingen Schenau's user avatar
1 vote

Separating Application (Business Logic) Layer to Multiple Module Layers in Clean Architecture

I haven't found any resources that mention to separate multiple Application Module Layers. That's probably because those components are usually not called "layers", just modules or "...
Doc Brown's user avatar
  • 203k
1 vote
Accepted

How should I handle docker containers and SSL certificates

I think i would have to say that best practice here is to use an application gateway to do the ssl and not have any ssl on the containtered services themselves. ie client -> https -> app gateway ...
Ewan's user avatar
  • 72.3k
1 vote

Is it a bad practice to use Singleton for DI in Asp.net rather than Scoped, Transient whenever possible?

To put it mildly, what these engineers are proposing, is pure cancer. In an effort to make the data repository and business services thread-safe by making every one of them singletons, the engineers ...
David Sopko's user avatar
1 vote

Why would anyone use multipart/form-data for mixed data and file transfers?

Realize that multipart/form-data was standardized by an RFC in 1995. (For comparison, this is over a decade earlier than the first RFC for JSON.) The priorities were substantially different than they ...
Paul Draper's user avatar
  • 5,992
1 vote

Polling versus push notifications

The question remains unanswered. What he is saying is that , what is the cost of keeping the client connection alive, for the server to push data to the client (as event notification). Push ...
Johnson Isreal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible