Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


dotnetframework (6) Versions 0.1.0

Installs/Configures .NET Framework

cookbook 'dotnetframework', '= 0.1.0', :supermarket
cookbook 'dotnetframework', '= 0.1.0'
knife supermarket install dotnetframework
knife supermarket download dotnetframework
Quality 0%

Dotnetframework cookbook

Installs and configures the .NET framework 4, 4.5, 4.5.1, 4.5.2, or 4.6 runtime


Tested on Windows Server 2008 R2 and Windows Server 2012R2. The selected .NET
runtime should work on versions of Windows supported by the associated .NET

  • Windows 2008
  • Windows 2008 R2
  • Windows 2012
  • Windows 2008 R2


Include the default recipe in your run list. The default recipe will install
the specified .NET framework version.



  • node['dotnetframework']['version'] - defaults to '4.5.2' Acceptable values: '4.0', '4.5', '4.5.1', '4.5.2', '4.6'.



Installs the .NET Framework.


This recipe register .NET with IIS so that IIS can host .NET application
associated with the specified intalled .NET version. This recipe currently
does not support Windows 2012 or higher. For Windows 2012 or newer its
recommended that you use the IIS cookbook to register the .NET version.


You can include the mini-tests in your runlist to verify .NET was successfully
installed, however .NET will not work until you reboot.

.NET 4.6 minitests will fail until you reboot, so its best to run Chef with
only dotnetframework in your runlist, reboot, then include dotnetframework
again with the minitest-handler.


  • Install .NET using the windows_feature resource if the current OS supports it.
  • Support older versions of .NET < 4.0.
  • Support installation over WinRM (i.e. native scheduled task support).
  • Abstract .NET installation to a Chef resource.


Author:: Shawn Neal (

Dependent cookbooks

windows >= 1.2.6

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for dotnetframework

This file is used to list changes made in each version of dotnetframework.


Initial version released on Supermarket.

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.0 failed this metric

FC009: Resource attribute not recognised: /tmp/cook/dee24609cf69ad9886ee92f8/dotnetframework/recipes/default.rb:38