The template is missing the standard Startup.cs class which is used for dependency injection. We should include a blank Startup.cs which is a standard in Microsoft's official Web API Templates.
public class Startup : IDnnStartup
{
public void ConfigureServices(IServiceCollection services)
{
// register services
}
}
Thanks @ahoefling - I'll get this done. I had it on my list already but just didn't get a chance to add it yet since I was focusing on the MVC project yesterday. 😉
The template is missing the standard
Startup.cs
class which is used for dependency injection. We should include a blankStartup.cs
which is a standard in Microsoft's official Web API Templates.