Skip to content

Instantly share code, notes, and snippets.

@sainture
Last active March 27, 2019 05:09
Show Gist options
  • Select an option

  • Save sainture/28e0020de1a5228f065ea82520fbd6a3 to your computer and use it in GitHub Desktop.

Select an option

Save sainture/28e0020de1a5228f065ea82520fbd6a3 to your computer and use it in GitHub Desktop.
// .NET core is built from scratch
// Main method is the entry point to the application
// Startup class is the enhanced way to configure your pipeline as well as dependency injection
// The project file is now "csproj" file (project.json/xproj is replaced with csproj file in .NET core 2, project.json was not compatible with MS build (DevOps platform))
// wwwroot folder for static files
// ConfigureServices method in Startup class configures any dependency injection (like providers in Angular)
// NuGet is used for managing packages.
// NPM can also be used for client side packages ..
// MVC had a dependency on System.Web (which is tied to IIS and Windows)
// Microsoft didn't want to tie Web API with System.Web
// in .NET Core, the combined functinality of MVC and Web API is now called .NET Core MVC which is independent of System.Web
// Tag helpers - angular like directives to add logic in html
// View components - partial views with mini controllers (partials alone don't have controllers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment