27 packages tagged with “tnx”
CacheManager is an easy helper module allowing you using the Memory Cache with a lambda based notation - Short retention: 1 minute - Long retention: 30 minutes - 24H retention - Sliding retention - Thread-safe - Debug console trace for diagnostics ie: http://www.antonioesposito.it/2018/03/05/tnx-cachemanager-and-rediscachemanager/
[4.0, W8, WP8, SL] Useful extensions methods like: - SplitTo: split an enumerable in smaller enumerables - TakeAround: Task many items in the same IList, starting at the given position, for the given distance - TakeArgument: Takes the given argument value in the standard console-application format - Pivot: creates a pivot table by using dynamic created objects from any enumerable
ResolveIT is a powerful Extension Method allowing you to don't care about null values in an expression tree
Simplified fluent way for accessing a Redis cache now ThreadSafe by design RedisCacheManager: + GetOrDrill + GetOrDrillLong (30 min) + GetOrDrillShort (10 min) + Overwrite + Poison q: info@antonioesposito.it [1.5] - Added thread safety via lock per key - Added explicit Poisoning
[4.0] TNX.CSV assembly adds features like CSV read/write Extensions and feature: + IEnumerable<T>.ToCsvStream + DataTable.ToCsvStream + IEnumerable<T>.ToCsvResponse (HttpResponse) + DataTable.ToCsvResponse (HttpResponse) + Stream.FromCsvDictionarly (enumerable of) + Stream.FromCsvDynamic (enumerable of) + Stream.FromCsvDataTable + Separator configurable (CsvExtensionConfiguration class) + Encoding configurable + Columns on first row configurable Q: info@antonioesposito.it Demo: www.antonioesposito.it
[4.5, RT8, WP8, WP81] RssReader has a useful RssHelper module allowing you reading every standard RssFeed 2.0 or AtomPub in a simple way. Supports async/await pattern. Supports PRISM RDF Site Summary
Base classes for creating ConsoleApplications acting as a runnable Job for eny scheduling system - ConsoleApplication q: info@tnxconsulting.com http://www.antonioesposito.it/2018/01/16/writing-a-local-tcp-listener-with-tnx-applicationjobs-nuget-package-in-a-nutshell/
A Helper module to simplify using the free MaxMind GeoIP database using the MaxMind API and caching the files from the CDN of MaxMind Simple demo: var ip = "213.140.15.199"; var city = FreeGeoIP2.FindCityOrDefault(ip); var country = FreeGeoIP2.FindCountryOrDefault(ip); var asn = FreeGeoIP2.FindAsnOrDefault(ip); q: info@tnxconsulting.com This product includes GeoLite2 data created by MaxMind, available from www.maxmind.com
A message consumer job implementation for RabbitMQ with built-in Json serialization of messages - ConsumeMessageAsync - ConsumeMessageAsync<T> q: info@tnxconsulting.com http://www.antonioesposito.it/2018/01/19/consuming-queued-messages-with-rabbitmq-and-the-tnx-applicationjobs-lib-in-a-nutshell/
Function Modules for Azure WorkerRole - RoleEntryPoint Requires: - .NET 4.6.2+ - Azure SDK 2.8+ Changelog: 1.0.0 - Stable release 1.0.1 - Fix abstract class error when found in satellite assemblies
[4.5, RT8, WP8] NetworkHelper is a useful helper portable class allowing you making: GIS Localization of IP/domains, Resolve my internet IP, Resolve domain to IP, Get Whois data helper class name: NetworkHelper any question: info@antonioesposito.it
DCacheManager is a powerful helper module allowing you using easily the Windows Azure Distributed Cache role or shared role
[4.0, WP8, W8] WorldDictionary is a useful helper module allowing you having access to the most dictionaries in the world. You can: - find an anagram - make an anagram - find the culture for a word - check the word for a given culture - iterate all words for a culture - iterate all words for all cultures any question: info@antonioesposito.it
[4.0, W8, WP8, SL] PasswordDictionary is a useful helper module containing a HUGE password list (> 2M words)! q/a: info@antonioesposito.it
[4.5] Adds simple extensions methods to crypt and decrypt byte[] and string (hex or base64) + ToCryptoBufferAES + ToCryptoBase64StringAES + ToCryptoHexStringAES + FromCryptoBufferAES + FromCryptoBase64StringAES + FromCryptoHexStringAES + ToCryptoBuffer3DES + ToCryptoBase64String3DES + ToCryptoHexString3DES + FromCryptoBuffer3DES + FromCryptoBase64String3DES + FromCryptoHexString3DES + ToCryptoBufferDES + ToCryptoBase64StringDES + ToCryptoHexStringDES + FromCryptoBufferDES + FromCryptoBase64StringDES + FromCryptoHexStringDES To change default encoding set DefaultEncoder property of the DesHelper, TDesHelper or AesHelper static classes q: info@antonioesposito.it
[FX4.0] This module contains BasicAuthenticationHttpModule module that allow you using easily a custom basic http authentication for every IIS/ASP.NET hosted applications, like also WCF REST, WCF SOAP, OData Services & so on...
The 'easiest' object-DB ever made based on SQL Server (any version) Repository class main methods: + Add, Find, Update, Delete, Exists + Indexed search (use KeyAttribute from DataAnnotation) + Ranged search + JSON Serialization + TryCreateDB + TryEnableTableCompression (SQL Ent only) NO partitioning (to now) NO row uniqueness (useless in DWH and object storages) info@antonioespositoit
[4.0] + RuntimeCompiler: a compiler for runtime C# generated code + AppDomainContext: a helper app domain generator context for cross-domain execution www.antonioesposito.it info@antonioesposito.it
TNX Function Module common lib - IContinuousFunction - IParallelFunction - IPriorityFunction
[4.0] Allow you using Bing Services for Geocoding and Reverse-Geocoding. Use BingHelper class as startpoint Write to info@antonioesposito.it for any question
[4.0] - PerformanceCollector Extremely useful class giving ability to easily access performance counters regarding CPU, RAM and LAN usage in realtime with configuration, IDisposable and INotifyPropertyChanged support - HyperVisorPerformanceCollector Same features of PerformanceCollector class + support for REAL CPU HyperV host usage Q: info@antonioesposito.it DEMO: www.antonioesposito.it
FunctionModules package with TcpListener base ContinuousFunction - TcpListenerContinuousFunctionBase q: info@antonioesposito.it
[FX4.0] Helps you using the legacy ADO.NET abstract factory classes in a very simple way. Please use AdoHelper class to begin. Any question: info@antonioesposito.it
a super-easy document database proxy for SQL Server + Repository (class)
ApplicationJobs Tcp listening on local port feature - Add Listen extension method on ConsoleApplication starting job host q: info@tnxconsulting.com http://www.antonioesposito.it/2018/01/16/writing-a-local-tcp-listener-with-tnx-applicationjobs-nuget-package-in-a-nutshell/
New package with inmemory and redis cache, netSTD 2.0 + InMemoryCache (static class for fluid runtime caching) + RedisCache (IDisposable class to handle redis caching in fluid way) better to not mix caches because Redis handle poisoning, while in memory cache no
Different helper methods I use for all my personal projects as Csv import/export, Json export, background execution, fluent locking, etc