-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
251 lines (189 loc) · 20.2 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
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.
Changes in this version v1.0.5
==============================
· Added
-----
- Multiple Repository is used.
- Add support for netstandard2.1
- Add SplitEnumerator ref struct.
- Add support for the use of the ~ character in the iTin.Core.IO library
- ByteReader class rewritten to work with Span in net core projects.
· Changed
-------
- Changed IResultGeneric interface. Changed Value property name by Result (for code clarify).
· This change may have implications in your final code, it is resolved by changing Value to Result
- Update result classes for support more scenaries.
- Library versions for this version
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| Library Version Description |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.AspNet.Web.IIS 1.0.0.5 Internet Information Services Library Calls |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core 2.0.0.7 Base library containing various extensions, helpers, common constants |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.IO 1.0.0.3 Common I/O calls |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Models 1.0.0.3 Data models base |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Logging 1.0.0.3 Logging library |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Registry.Windows 1.0.0.3 Windows registry access |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
v1.0.4
======
· Fixes
-------
- Upgrade Newtonsoft.Json nuget package to version 13.0.1 (without critical errors) and others nuget packages
· Changed
-------
- Changed IResultGeneric interface. Changed Value property name by Result (for code clarify).
· This change may have implications in your final code, it is resolved by changing Value to Result
- Update result classes for support more scenaries.
- Library versions for this version
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| Library Version Description |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.AspNet.Web.IIS 1.0.0.4 Internet Information Services Library Calls |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core 2.0.0.3 Base library containing various extensions, helpers, common constants |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.IO 1.0.0.0 Common I/O calls |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Models 1.0.0.1 Data models base |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Logging 1.0.0.1 Logging library |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Registry.Windows 1.0.0.1 Windows registry access |
•———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————•
· Added
-----
- New delivery published v1.0.4
v1.0.3
======
· Added
-----
- Add new libraries and remove old libraries for compability with another libraries.
- New delivery published v1.0.3
· Removed
-------
- Library removed for this version
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| Library Version Description |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Min 1.0.0 Common calls |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
· Changed
-------
- Uses new IResult implementations in iTin.Core (only for internal use), no affect to existent apps.
- Library versions for this version
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| Library Version Description |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core 2.0.0.0 Base library containing various extensions, helpers, common constants |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.IO 1.0.0.0 IO Supports To Network Drives, Reletive Paths (~), Native IO |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Models 1.0.0.0 XML and Json Models classes |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Registry.Windows 1.0.0.0 Windows Registry Calls |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.AspNet.Web.IIS 1.0.0.3 Internet Information Services Library Calls |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Logging 1.0.0.0 Internet Information Services Library Calls |
•——————————————————————————————————————————————————————————————————————————————————————————————————————————————•
v1.0.2
======
· Fixed
-----
- Fixes an xml schema-related problem that prevents the xml configuration file from being properly processed.
· Added
-----
- Adds support for asynchronous processing calls, please see new projects added to the solution for more information
- Adds two new projects to solution:
\ root
\ src
\ deliverables
· vX.X.X [Windows Installer], where: X.X.X => Version number (current v1.0.2)
\ setup
· iIISFeaturesSetup [Console Test Async App]
· resources [Shared installer resources]
\ util
· vs-extensions [Microsoft Installer Visual Studio Extension (2017/2019)]
Library versions
================
Library versions for current iIIS version (1.0.2)
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| Library Version Description |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Min 1.0.0 Common calls |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.IO 1.0.0 IO Supports To Network Drives, Reletive Paths (~), Native IO |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Core.Models 1.0.0 XML and Json Models classes |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.Registry.Windows 1.0.0 Windows Registry Calls |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
| iTin.AspNet.Web.IIS 1.0.2 Internet Information Services Library Calls |
•————————————————————————————————————————————————————————————————————————————————————————————————————•
Install via NuGet
=================
For more information, please see https://www.nuget.org/packages/iIIS/
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: (Please see async projects for more information)
IISModel model = IISModel.LoadFromFile("~\\resources\\IIS-Features.xml");
FeatureCommandsCollection commands = Configurator.CreateCommands(model);
await commands.ProcessAsync();