DEV Community

Cover image for Net Core important Features implementation

Net Core important Features implementation

Jai on April 09, 2019

As .Net core(version used here is 2.1) is becoming popular day by day, here are some projects I created which might come handy. (added comments in ...
Collapse
 
jai00271 profile image
Jai

Thanks Wiliam. I'll fix it soon.

Collapse
 
glenmccallumcan profile image
Glen McCallum

Clean the way you moved the service injection logic outside of ConfigureServices into ServicesExtensions class.

Collapse
 
jai00271 profile image
Jai

Hi Glen,

thanks for your reply. May I know which project are you referring to? Is it BasicProjectSetup.

If yes, do you mean to keep both below lines in one method call instead of 2 in startup:

services.ConfigureCors();
services.InjectServices();