Extend .NET Development with DotNetExtensions
DotNetExtensions is an intuitive library of .NET extension methods and functions that
provide at-your-fingertip:
- AES Encryption
- bytes.Encrypt("pwrd")
- strng.Encrypt("pwrd", "pubKey")
- Array instance functions
- array.IndexOf(item)
- array.Sort()
- array.SortPair(array2)
- array.IndexOfSequence(seq)
- array.JoinToString()
- Regular Expressions
- strng.IndexOfRx(@"regex")
- strng.FindAllRx(@"regex")
- strng.RxMatches(@"regex")
- String extensions
- strng.GetBytes()
- strng.IndexOfAll("value")
- strng.Save()
|
- Linq to Xml extensions
- elem.Elements("Nm", "Attr", "Val")
- orders.Elements("order")
.At("priority", "urgent");
- elem.ElementsAfterSelf
("order", "priority", "urgent")
- Serialization and Deserialization
- byte[] serialized = XObj.Serialize(type)
- XObj.Serialize(custType,
SerializationType.SOAP);
- XML Validation and Transformation
- xdoc.GetSchema()
- elem.Validate("xsdPath")
- elem.XslTransform("xsltPath")
- Compression
- strng.ZipX()
- bytes.Unzip(CompressionType.GZip)
- And More ...
|
Blazing Fast Performance, Simple to Use
DotNetExtensions combines the concern for fast performance with
the desire for simplicity, ease of use and concise code.
All this while making available hundreds of useful and intutive
functions. Consider some of our
highly performant extension methods for arrays such
as IndexOfAll,
IndexOfSequence
and SequenceIsEqual.
We also make available many of the powerful System.Array
functions provided by .NET - such as BinarySearch, IndexOf,
Sort, and ReverseArray - directly from array instances.
Enhance your Productivity with our Intuitive Functions
With DotNetExtensions you can do in one line of code
what often takes three or more. For instance, if you're fond of
Linq to Xml (as we certainly are!), you'll love how our
extensions simplify queries:
//Sample element within a collection: <order zip="28233" priority="urgent" />
XElement urgentOrder1 = orders.Element("order", "priority", "urgent");
// The regular query without DotNetExtensions
XElement urgentOrder2 = (from e in orders.Elements("order")
where ((string)e.Attribute("priority")) == "urgent"
select e).FirstOrDefault();
Likewise, with DotNetExtensions your Encryption
and Compression tasks couldn't get simpler, all
while being fast and highly performant:
byte[] zipped = strng.ZipX();
string zipped = strng.ZipToBase64(); // or Zip directly to a Base64 string
byte[] encrypted = strng.Encrypt("secret!");
// Many will enjoy the following kind of approach which DotNetExtensions thrives at:
strng.ReplaceRx("findRx", "replaceRx", RegexOptions.IgnoreCase)
.ZipX(CompressionType.DeflateStream)
.Encrypt("secret!")
.Save("path");
Take full advantage of .NET's
powerful regular expressions engine with functions like
FindAllRx.
With this and other DotNetExtension methods, regular expressions are as at-your-fingertips as they are
in Perl:
string[] allPhones = memoString.FindAllRx("phoneRx");
Get that extra
edge with DotNetExtensions today!
Purchase – Download