iIIS 1.0.4
dotnet add package iIIS --version 1.0.4
NuGet\Install-Package iIIS -Version 1.0.4
<PackageReference Include="iIIS" Version="1.0.4" />
paket add iIIS --version 1.0.4
#r "nuget: iIIS, 1.0.4"
// 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
Configures IIS features from custom features synchronously (For more information, please see IIS.ConsoleApp project)
FeatureCommandsCollection commands = Configurator.CreateCommands(Configurator.GetAllFeatures()); commands.Process();
Configures IIS features from custom features asynchronously (For more information, please see IIS.ConsoleAsyncApp project)
FeatureCommandsCollection commands = Configurator.CreateCommands(Configurator.GetAllFeatures()); await commands.ProcessAsync();
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.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.