When using WEB API (only) is there a difference between API controller and normal Web Controller? I mean when adding a service like this using one of the lifetime:
services.AddSingleton<IService, Service();
services.AddScoped<IService, Service();
services.AddTransient<IService, Service();
will there be a difference behavior between the services in a Controller that returns a web page or a Controller that returns JSON as REST is stateless?