unosquare / embedio

A tiny, cross-platform, module based web server for .NET
http://unosquare.github.io/embedio
Other
1.45k stars 175 forks source link

Separate general-purpose utility types into their own library / package #550

Open rdeago opened 2 years ago

rdeago commented 2 years ago

EmbedIO.dll contains some general-purpose types that can be useful outside of EmbedIO itself; even more are coming in v4.0. At least some of those types may be useful also in applications that do not use EmbedIO.

Hence, version 4.0 will feature an EmbedIO.Utilities library (plus, obviously, a NuGet package of the same name).

Among the features implemented by EmbedIO.Utilities will be a completely rewritten argument validation solution[^1], in addition to nearly all the types in the EmbedIO.Utilities namespace in v3.x.

Comments and criticisms are heartily welcome, as usual.

[^1]: It's more complete and more powerful than the Validate class we have in v3.x. XML docs are already written; proper docs coming soon after v4.0-preview.1.