Reusable units of the application:

  • Early -> assemblies
  • Now -> Nuget package

Nuget package:

  • It’s a ZIP file
  • Contains one or more assemblies
  • Include configuration information (because using libraries can sometimes mean configuration changes)
  • Include Powershell scripts (to take advantage of some features through scripts)
  • It can be obtained from Microsoft or third parties
  • It is available on the Nuget server at www.nuget.org

Nuget Package Manager:

  • Allows packages to be searched and added to the application
  • Allows searching for packages that have not yet been published
  • You can decide which Nuget server to search for packages on
  • One place to search for packages is in your own shared directory, which holds packages for internal use

Before using the Nuget package, note the following:

  • Check the link information for the project
  • Check the source of the package. For example, Microsoft and.net, packages from this source are Microsoft-supported packages, which also include microsoft-supported third-party packages
  • Use third-party packages that have not yet been released with caution