iIIS 1.0.4

.NET Standard 2.0 .NET Framework 4.6.1
dotnet add package iIIS --version 1.0.4
NuGet\Install-Package iIIS -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="iIIS" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add iIIS --version 1.0.4
#r "nuget: iIIS, 1.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install iIIS as a Cake Addin
#addin nuget:?package=iIIS&version=1.0.4

// Install iIIS as a Cake Tool
#tool nuget:?package=iIIS&version=1.0.4

What is iIIS?

iIIS is a lightweight implementation that allows you to install and add features to an Internet Information Services (IIS) installation using .NET code.

Usage

Examples

  1. Configures IIS features from custom features synchronously (For more information, please see IIS.ConsoleApp project)

    FeatureCommandsCollection commands = Configurator.CreateCommands(Configurator.GetAllFeatures());
    commands.Process();
    
  2. Configures IIS features from custom features asynchronously (For more information, please see IIS.ConsoleAsyncApp project)

    FeatureCommandsCollection commands = Configurator.CreateCommands(Configurator.GetAllFeatures());
    await commands.ProcessAsync();
    
  3. Configures IIS features from XML configuration file (For more information, please see IIS.ConsoleApp project)

    XML content file used for this example

     <?xml version="1.0" encoding="utf-8"?>
    
     <IIS xmlns="http://schemas.itin.com/utilities/iis/configurator/v1.0">
       <Configuration>
         <Features>
           <Feature Name="WebServerRole"/>
           <Feature Name="WebServer"/>
           <Feature Name="CommonHttpFeatures"/>
           <Feature Name="HttpErrors"/>
           <Feature Name="HttpRedirect"/>
           <Feature Name="NetFxExtensibility"/>
           <Feature Name="HealthAndDiagnostics"/>
           <Feature Name="HttpLogging"/>
           <Feature Name="HttpTracing"/>
           <Feature Name="Security"/>
           <Feature Name="RequestFiltering"/>
           <Feature Name="IPSecurity"/>
           <Feature Name="Performance"/>
           <Feature Name="WebServerManagementTools"/>
           <Feature Name="IIS6ManagementCompatibility"/>
           <Feature Name="Metabase"/>
           <Feature Name="StaticContent"/>
           <Feature Name="DefaultDocument"/>
           <Feature Name="DirectoryBrowsing"/>
           <Feature Name="ISAPIExtensions"/>
           <Feature Name="ISAPIFilter"/>
           <Feature Name="ASPNET"/>
           <Feature Name="CustomLogging"/>
           <Feature Name="BasicAuthentication"/>
           <Feature Name="HttpCompressionStatic"/>
           <Feature Name="ManagementConsole"/>
           <Feature Name="ManagementService"/>
           <Feature Name="WMICompatibility"/>
           <Feature Name="LegacyScripts"/>
           <Feature Name="WindowsAuthentication"/>
         </Features>
       </Configuration>
     </IIS>
    

    .NET synchronous Code:

    IISModel model = IISModel.LoadFromFile("~\\resources\\IIS-Features.xml");
    FeatureCommandsCollection commands = Configurator.CreateCommands(model);
    commands.Process();
    

    .NET asynchronous Code:

    IISModel model = IISModel.LoadFromFile("~\\resources\\IIS-Features.xml");
    FeatureCommandsCollection commands = Configurator.CreateCommands(model);
    await commands.ProcessAsync();
    

Changes

For more information, please visit the next link CHANGELOG

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 178 6/25/2022
1.0.3 284 10/10/2020
1.0.2 279 8/4/2020
1.0.1 409 3/21/2020
1.0.0 393 1/27/2020