158
Packages
492,267
Downloads of danielkzu's packages
danielkzu's Profile
Packages
-
Moq
The simplest mocking library for .NET 3.5/4.0 and Silverlight with deep C# 3.0 integration.
-
TagLib#
TagLib# (aka taglib-sharp) is a library for reading and writing metadata in media files, including video, audio, and photo formats.
-
Clide
High-level, composable and testable APIs for working with Visual Studio.
-
NETFx Guard
The only argument validation file you need, with full refactoring support and strong-typing. Examples: Guard.NotNull(() => value, value) Guard.NotNullOrEmpty( () => stringValue, stringValue)
-
NETFx Guard xUnit Tests
xUnit Tests for netfx-Guard
-
NETFx ServiceProvider Generics Extension Methods
Generic overloads to System.IServiceProvider.GetService.
-
NETFx AmbientSingleton<T>
Provides an easy way to implement the singleton (anti?) pattern so that it is ambient-safe, propagates with a call context and can be overriden per ambient (i.e. in tests).
-
NETFx ServiceProvider Generics Extension Methods Tests
Tests for netfx-System.ServiceProvider
-
NETFx HttpEntityClient
Strong-typed Linq to Web API. Builds on top of HttpClient and provides the easiest way to interface with typed REST services that are modeled around typed entities or contracts. Example: var products = client .Query<Product>("products") .OrderBy(x => x.Downloads) .Skip(25) .Take(25) .ToList();
-
NETFx HttpEntityConventionClient
Strong-typed Linq to Web API with resource names conventions. Builds on top of HttpEntityClient and HttpClient and provides the easiest way to interface with typed REST services that are modeled around typed entities or contracts. Example: var products = client // Note: resource path inferred from Product type .Query<Product>() .OrderBy(x => x.... More information
-
NETFx HttpEntityConventionClient Tests
Tests for netfx-System.Net.Http.HttpEntityConventionClient
-
Microsoft Data Connection Dialog
The data connection dialog is a database tool component released with Visual Studio. It allows users to build connection strings and to connect to specific data sources. In order to use the data connection dialog independently of Visual Studio, we have released the standalone source code. You can integrate and redistribute the source code with you... More information
-
Renamed to netfx-Guard (this is obsolete)
This package has been renamed to netfx-Guard, and installing it will actually install netfx-Guard package. This package is for backwards compatibility with existing dependencies.
-
Tracer: System.Diagnostics
Implements the tracing interface on top of the System.Diagnostics.TraceSource capabilities, extending it with log4net-style hierarchical logging and runtime dynamic configurability of trace sources.
-
NETFx SWT Token Support for WIF/ACS
Adds the required source code and Web.config changes to support SWT tokens. Just configure SWT token format in Azure ACS/STS, and add your SwtSigningKey value to the Web.config! Requires: http://kzu.to/wifruntime and http://kzu.to/wif_sdk
-
StringlyTyped: manipulate .NET types as C# type strings
Utilities for rendering .NET types as C# type names, with support for generics, nested types, type name simplification via "using" scopes, etc.
-
StringlyTyped: manipulate .NET types as C# type strings xUnit Tests
xUnit tests for StringlyTyped
-
NETFx Uson
User String Object Notation. Serialize and parse objects from user authored and readable strings. Useful for providing flexible search options for example: foo product:vspro tag:wcf downloads:2000+ author:clarius
-
Renamed to netfx-WebApi.JsonNetFormatter (this is obsolete)
Installing this package actually installs netfx-WebApi.JsonNetFormatter. This package is provided for backwards compatibility with existing dependencies and to provide an upgrade path.
-
NETFx IDictionary<TKey, TValue>.GetOrAdd Extension Method
Provides the GetOrAdd extension method for generic dictionaries, borrowed from the ConcurrentDictionary class.
-
NETFx IDictionary<TKey, TValue>.GetOrAdd Extension Method xUnit Tests
xUnit for netfx-System.Collections.Generic.DictionaryGetOrAdd.
-
NETFx Type Inheritance Tree Tests
Tests for netfx-System.TypeInheritance
-
NETFx Dynamic Reflection
Provides full reflection capabilities using C# 4.0 dynamic syntax, including invoking and accessing public, internal or private, instance or static members including constructors.
-
NETFx Type Inheritance Tree
Allows inspecting the exact type inheritance tree as declared in source, rather than the flattened view that reflection provides (for implemented interfaces, for example). Enables code to determine what are the interfaces implemented directly by a type rather than a base class, as well as determine the "distance" in the hierarchy to those implemen... More information
-
HttpWebService<TService> for Testing Services
Provides an HttpWebService<TService> disposable class to use in tests to host WebApi services and unit test them
-
NETFx Dynamic Reflection xUnit Tests
xUnit tests for netfx-System.Dynamic.Reflection.
-
NETFx AppDomain Data<T>
Provides strong-typed persistence of data in an AppDomain, which can also be transient and automatically removed on dispose. Usage: AppDomain.CurrentDomain.SetData<Foo>(foo); var saved = AppDomain.CurrentDomain.GetData<Foo>();
-
NETFx AppDomain Data<T> xUnit Tests
xUnit Tests for netfx-System.AppDomainData.Tests
-
NETFx Dynamic Xml
Provides a dynamic API over XLinq: var xdoc = XDocument.Load("rss.xml"); var rss = doc.Root.ToDynamic(); // Type conversion, element traversal // using dotted path notation DateTime pubDate = rss.channel.pubDate; // Type conversion, attribute navigation // using indexer notation int port = rss.channel.cloud["port"]
-
NETFx AppDomain Data<T> Tests
Tests for netfx-System.AppDomainData.Tests
-
NETFx Dynamic Xml Tests
Provides unit tests for DynamicXml package.
-
NETFx Stream.GetBytes Extension Method
Easily get all bytes that make up an arbitrary stream.
-
NETFx HttpNameValueCollection Tests
Tests for netfx-System.Net.Http.HttpNameValueCollection
-
NETFx Stream.GetBytes Extension Method Tests
Tests for netfx-System.IO.StreamGetBytes
-
NETFx CovariantExtensions
Provides extension methods that allow to treat collections, enumerables and lists as covariant of a generic type other than their constructed type (i.e. for down-casting collections).
-
NETFx JsonContent
A Json.NET-based HttpContent class for content serialization.
-
NETFx Stream.WriteTo Extension Method
Copies an arbitrary stream to another stream or an output file (buffered).
-
NETFx JsonContent Tests
Tests for netfx-System.Net.Http.JsonContent
-
NETFx CovariantExtensions xUnit Tests
xUnit Tests for netfx-System.Collections.Generic.CovariantExtensions
-
NETFx Stream.WriteTo Extension Method Tests
Tests for netfx-System.IO.StreamWriteTo
-
NETFx Reflection GetCustomAttribute<TAttribute> generic overloads
Allows retrieving custom attributes from assemblies, types, methods, properties, etc. using a generic method.
-
NETFx DelegateCommand
An implementation of WPF ICommand that allows passing delegates/lambdas for the implementation.
-
NETFx Epoch Time Extension Methods
Provides conversion of DateTime and DateTimeOffset into an epoch-relative number value (total seconds). See Unix Epoch in Wikipedia for more information on why this might be needed. Typical uses include using this simplified representation as an expiration time for a token, password or verification code.
-
NETFx DelegateCommand Tests
Tests for netfx-System.Windows.Input.DelegateCommand
-
NETFx Epoch Time Extension Methods xUnit Tests
xUnit Tests for netfx-System.DateTimeEpochExtensions
-
NETFx IEnumerable<T>.EmptyIfNull Extension Method
Hate checking for nulls in Linq queries? Turn any null enumerable into an empty one as needed! var id = schema.Elements.EmptyIfNull().FirstOrDefault(x => x == "Id")
-
NETFx HttpClient.Query<T>
Allows querying WCF Web Api endpoints that expose IQueryable<T>, with full query support for nested relationships, etc. Does not deal with response deserialization. Look for HttpEntityClient for that.
-
NETFx String.FormatWith Extension Method
Readable formatting strings using named parameters and a custom or anonymous object as the context, like "Hello {FirstName} {LastName}".FormatWith(customer).
-
NETFx IEnumerable<T>.EmptyIfNull Extension Method xUnit Tests
xUnit Tests for netfx-System.Collections.Generic.IEnumerable.EmptyIfNull
-
NETFx HttpClient.Query<T> Tests
Tests for netfx-System.Net.Http.HttpClientQuery
-
NETFx String.FormatWith Extension Method Tests
Tests for netfx-System.StringFormatWith
-
NETFx IEnumerable<T>.Traverse Extension Method
Traverse an enumerable tree, depth or breadth first. Example: var dirs = new DirectoryInfo("C:\\") .Traverse(TraverseKind.BreadthFirst, dir => dir.EnumerateDirectories());
-
NETFx Stream.Unpack Extension Method
Allows easy unpacking of contents from an Open Packaging Conventions (OPC) stream such as OOXML, VSIX, NuGet nupkg, etc.
-
NETFx IEnumerable<T>.Traverse Extension Method xUnit Tests
xUnit Tests for netfx-System.Collections.Generic.IEnumerable.Traverse
-
NETFx XmlSerializer<T>
Provides a generics version of XmlSerializer.
-
NETFx Stream.Unpack Extension Method xUnit Tests
xUnit Tests for netfx-System.IO.Packaging.StreamUnpack
-
NETFx Thread Data<T>
Provides strong-typed persistence of data in Thread local storage, which can also be transient and automatically removed on dispose. Usage: Thread.CurrentThread.SetData<Foo>(foo); var saved = Thread.CurrentThread.GetData<Foo>();
-
NETFx KeyValuePair.Create
Provides the missing KeyValuePair.Create static method, following the same approach as the Tuple.Create one to avoid having to type the generic argument parameters and leverage type inference instead: i.e. KeyValuePair.Create("max", 25) creates a KeyValuePair<string, int>.
-
NETFx XmlSerializer<T> Tests
Tests for netfx-System.Xml.XmlSerializer
-
NETFx Thread Data<T> Tests
Tests for netfx-System.Threading.ThreadData
-
NETFx KeyValuePair.Create xUnit Tests
xUnit Tests for netfx-System.Collections.Generic.KeyValuePair
-
NETFx HttpNameValueCollection
A simpler NameValueCollection-derived class that uses HTTP query string semantics and renders to a query string when ToString is invoked.
-
NETFx AmbientSingleton<T> xUnit Tests
xUnit tests for netfx-System.AmbientSingleton
-
NETFx Reflection GetCustomAttribute<TAttribute> generic overloads Tests
xUnit tests for netfx-System.Reflection.GetCustomAttribute
-
Tracer: Interfaces
The interfaces provided by this package allow component authors to provide tracing statements that are agnostic to the actual implementation that will be used when they are used at runtime, which is an initialization concern that belongs to the application initialization or other bootstrapping/configuration code.
-
Tracer: Enterprise Library Logging
Implements the tracing interface with Enterprise Library.
-
Tracer: log4net
Implements the tracing interface with log4net.
-
Tracer: NLog
Implements the tracing interface with NLog.
-
NETFx: Reactive Event Stream Implementation
Provides the implementation of a reactive extensions event stream, allowing trending and analysis queries to be performed in real-time over the events pushed through the stream.
-
NETFx: Reactive Event Stream Implementation xUnit Tests
xUnit tests for netfx-System.Reactive.EventStream.Implementation
-
NETFx: Reactive Event Stream Interfaces
Provides the IEventStream interface of a reactive extensions stream, allowing trending and analysis queries to be performed in real-time over the events pushed through the stream, as well as flexible subscription models.
-
NETFx Adapter Pattern Interfaces
Provides an the public API to perform general purpose adaptation of one type to another via registered adapters
-
NETFx xUnit-like assertion for MSTest.
Use code snippet 'assertion' to get the declaration at the top of the file. Then just use Assert.Equal(...) and the like.
-
NETFx Patterns: Event Sourcing Store for Entity Framerwork
Implements an event store using Entity Framework, with event payloads persisted using the configured serializer.
-
NETFx Smart String Resources
Suplements the built-in Resources .resx C# generator by generating a strong-typed class named Strings from the same .resx file, but exposing format parameters as method parameters and organizing strings in classes according to the resource name if it uses underscores. i.e. User_InvalidCredentials can be accessed with Strings.User.InvalidCredentia... More information
-
NETFx Patterns: Event Sourcing
Provides the core APIs to implement the event sourcing pattern and an application event bus.
-
NETFx Patterns: Event Sourcing xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing
-
NETFx Patterns: Event Sourcing Store Queryable Extensions xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing.Queryable
-
NETFx Patterns: Event Sourcing Store for Entity Framework xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing.EF
-
NETFx Patterns: Event Sourcing Sample
Simple example of a domain object with logic that leverages event sourcing.
-
NETFx Patterns: Event Sourcing Store Queryable Extensions
Provides reusable extensions that make implementing an event store over an underlying IQueryable repository trivial.
-
NETFx Ipsum Generator
Generates Lorem Ipsum words for use in tests.
-
Reflector: strong-typed static reflection
Static reflection via Reflect: // Void static method MethodInfo cw = Reflect.GetMethod( () => Console.WriteLine); // Instance void method MethodInfo mi = Reflect<IView>.GetMethod(v => v.Show); // Boolean returning instance method MethodInfo pi = Reflect<IViewModel> .GetMethod<bool>(v => v.Save);
-
WebApi Json.NET MediaTypeFormatter
A Json.NET-based MediaTypeFormatter for the WebApi that can handle text-based Json as well as binary Json (Bson). To use: var config = HttpHostConfiguration.Create().UseJsonNet();
-
Filtering Reflection Catalog
Provides dinamic filtering of parts and exports from an underlying reflection-based catalog.
-
NETFx WebApi IQueryable Service
Provides support for client-side paging (TotalCount header) and server-side query limits for services that expose IQueryable<T> resources.
-
NETFx Patterns: Event Sourcing In-Memory Store
Useful for testing domains that leverage event sourcing
-
NETFx Patterns: Event Sourcing In-Memory Store xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing.InMemory
-
NETFx Patterns: Event Sourcing Auto Wire
Provides additional behavior to the Event Sourcing package DomainObject partial class to allow auto wiring of event handlers using conventions.
-
NETFx Patterns: Event Sourcing Auto Wire xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing.AutoWire
-
Obsolete: use netx-Reflector
This package has been renamed to netfx-Reflector, and installing it will actually install netfx-Reflector package. This package is for backwards compatibility with existing dependencies.
-
NETFx WebApi Tracing Channel
TracingChannel
-
NETFx Patterns: Domain Commands
Provides a command registry that executes commands with registered command handlers. Typically used in CQRS-style arquitectures.
-
NETFx Patterns: Domain Commands xUnit Tests
xUnit tests for netfx-Patterns.DomainCommands
-
NETFx Patterns: Domain Context for Entity Framework
Implements the Domain Context pattern for EntityFramework 4.1, by extending the DbContext with support for rich domain modeling capabilities for persistence ignorant aggregate roots and dependent entities, including automatic graph saving, logical deletes and more.
-
NETFx Patterns: Domain Context for Entity Framework xUnit Tests
xUnit tests for netfx-Patterns.DomainContext.EF
-
NETFx Clock
An IClock interface and default implementation SystemClock to make time-based logic testable.
-
NETFx Clock xUnit Tests
xUnit tests for netfx-System.Clock
-
NETFx Patterns: Message Store Entity Framework Persistence
Provides an implementation of the message store pattern using Entity Framework code first
-
NETFx Patterns: Message Store Entity Framework Persistence xUnit Tests
xUnit tests for netfx-Patterns.MessageStore.EF
-
NETFx Reactive Event
Provides a covariant enhanced version of the EventPattern<TEventArgs>, in the form of IEvent<out TEventArgs> and Event<TEventArgs> (wihch inherits from EventPattern<TEventArgs>).
-
NETFx Reactive Event xUnit Tests
xUnit tests for netfx-System.Reactive.Event
-
NETFx ICollection<T>.AddRange Extension Method xUnit Tests
xUnit tests for netfx-System.Collections.Generic.CollectionAddRange
-
NETFx Patterns: Linq Query Specifications
Provides the primitives for centralizing and reusing Linq queries across a domain.
-
NETFx ISerializer<TStorage>
Core interface that serializers can implement to serialize and deserialize an object graph to and from a Stream.
-
NETFx ISerializer xUnit Base Tests
xUnit tests for netfx-System.ISerializer, to be used by implementations of ISerializer interface.
-
NETFx JsonSerializer : ISerializer
Implements the core NETFx ISerializer interface using a Json.NET serializer.
-
NETFx Linq Expression Combiner
Allows combining linq expressions using logic operators And, AndAlso, Or and OrElse. Compatible with Entity Framework, NHibernate and Linq to SQL query providers. See http://kzu.to/iT3X73 for more information.
-
NETFx System.ITimestamped interface
Provides an interface that can be implemented by objects that have a timestamp associated.
-
NETFx Typed Reflection for Component Model Attributes xUnit Tests
xUnit tests for netfx-System.ComponentModel.Attributes
-
NETFx XmlSerializer : ISerializer Tests
xUnit tests for netfx-System.XmlSerializer
-
NETFx ValueEventArgs<T>
An EventArgs class that exposes a single Value property of a type T.
-
NETFx Localizable Attributes from System.ComponentModel
DescriptionResourceAttribute, DisplayNameAttribute, CategoryResourceAttribute, etc.
-
NETFx ValueEventArgs<T> Tests
xUnit tests for netfx-System.ValueEventArgs
-
NETFx Localizable Attributes from System.ComponentModel xUnit Tests
xUnit tests for netfx-System.Componentmodel.LocalizableAttributes
-
NETFx DateTime.ToNaturalTime Extension Method
Converts a date time to a readable natural time (i.e. '10 hours', '2 years') or relative time (i.e. '5 days ago').
-
NETFx Patterns: Linq Query Specifications Tests
Tests for netfx-Patterns.QuerySpecs
-
NETFx Reflection GetCustomAttribute<TAttribute> generic overloads Tests
xUnit tests for netfx-System.Reflection.GetCustomAttribute
-
NETFx DateTime.ToNaturalTime Extension Method xUnit Tests
xUnit tests for netfx-System.Collections.Generic.DateTimeToNaturalTime
-
NETFx Dispatcher Invoke Extensions
Allows calling Invoke on the WPF Dispatcher object passing Action and Func<T> lambdas instead of the built-in Delegate untyped parameter.
-
NETFx Patterns: Domain Context Core
Provides the core interfaces to implement a domain context, which is a combination of the repository and the unit of work patterns, leveraging Linq for the aggregate root sets.
-
NETFx IDictionary<TKey, TValue>.Find Extension Method
Finds a value by key in the dictionary, or returns the default value for TValue. Just like Linq FirstOrDefault().
-
NETFx Dispatcher Invoke Extensions Tests
xUnit tests for netfx-System.Windows.Threading.DispatcherInvokeExtensions
-
NETFx Sequential Guid
A safe sequential GUID generator (or Comb) that improves performance of GUID-style identifiers used in persistence.
-
NETFx IDictionary<TKey, TValue>.Find Extension Method xUnit Tests
xUnit tests for netfx-System.Collections.Generic.DictionaryFind
-
NETFx JsonSerializer xUnit Tests
xUnit tests for netfx-System.JsonNetSerializer
-
NETFx Sequential Guid xUnit Tests
xUnit tests for netfx-System.SequentialGuid
-
NETFx Patterns: Domain Context with Event Sourcing for Entity Framework
Implements the event sourcing pattern for entities persisted via EF
-
NETFx BinarySerializer : ISerializer
Implements the core NETFx ISerializer interface using the .NET framework runtime BinaryFormatter.
-
NETFx Linq Expression Combiner xUnit Tests
xUnit Tests for netfx-System.Linq.Expressions.ExpressionCombiner
-
NETFx XmlDecode Extension Method
Adds XmlDecode extension method to strings. Uses XLinq for the decoding, making it compliant with .NET handling of strings in XML attributes and elements.
-
NETFx BinarySerializer Tests
xUnit tests for netfx-System.BinarySerializer
-
NETFx XmlDecode Extension Method Tests
xUnit tests for netfx-System.Xml.XmlDecode
-
NETFx GzipSerializer : ISerializer
An implementation of the core NETFx ISerializer interface that provides stream compression/decompression on top of another serializer.
-
NETFx BsonSerializer : ISerializer
Implements the core NETFx ISerializer interface using Json.NET serializer.
-
NETFx XmlEncode Extension Method
Adds XmlEncode extension method to strings. Uses XLinq for the encoding, making it compliant with .NET handling of strings in XML attributes and elements.
-
NETFx GzipSerializer xUnit Tests
xUnit tests for netfx-System.GzipSerializer
-
NETFx BsonSerializer xUnit Tests
xUnit tests for netfx-System.BsonSerializer
-
NETFx XmlEncode Extension Method Tests
xUnit tests for netfx-System.Xml.XmlEncode
-
NETFx Stream.Clone Extension Method
Clones a stream into an in-memory stream.
-
NETFx ICollection<T>.AddRange Extension Method
AddRange extension method for ICollection<T>
-
NETFx XmlSerializer : ISerializer
Implements the core NETFx ISerializer interface using the .NET framework System.Xml.XmlSerializer
-
NETFx Stream.Clone Extension Method Tests
xUnit tests for netfx-System.IO.StreamClone
-
NETFx Typed Reflection for Component Model Attributes
Provides strong typed access to ComponentModel attributes by using the ComponentModel() extension method over a type, method, property, etc.
-
NETFx Patterns: Domain Context Core
Provides the core interfaces to implement a domain context, which is a combination of the repository and the unit of work patterns, leveraging Linq for the aggregate root sets.
-
NETFx Patterns: Message Store
Provides the core APIs to implement a message store.
-
NETFx Patterns: Message Store xUnit Tests
xUnit tests for netfx-Patterns.MessageStore
-
NETFx: Reactive Event Stream (interface + implementation)
Provides a reactive extensions event stream, allowing trending and analysis queries to be performed in real-time over the events pushed through the stream.
-
NETFx Patterns: Sample Event Sourcing Store for File System
Implements a very simple unoptimized store for the file system.
-
NETFx Patterns: Sample Event Sourcing Store for File System xUnit Tests
xUnit tests for netfx-Patterns.EventSourcing.SampleFileSystem
-
NETFx IEnumerable.ForEach extension method
Exposes a ForEach<T> extension method on IEnumerable<T>, just like List<T> does.
-
NETFx IEnumerable.ForEach extension method xUnit Tests
xUnit tests for netfx-System.Collections.Generic.IEnumerable.ForEach
-
NETFx IFluentInterface
The core interface to implement fluent APIs that hide the default System.Object members, as explained in http://bit.ly/ifluentinterface
-
NETFx Adapter Pattern Implementation xUnit Tests
xUnit tests for netfx-Patterns.Adapter.Implementation
-
NETFx Adapter Pattern Implementation
Provides the implementation of an API and service to perform general purpose adaptation of one type to another via registered adapters.
-
NETFx Adapter Pattern Implementation xUnit Tests
xUnit tests for netfx-Patterns.Adapter.Implementation
-
NETFx Adapter Pattern
Provides both interfaces and implementation of an API and service to perform general purpose adaptation of one type to another via registered adapters
-
Reactive Sockets
Implementing socket-based prototols in .NET has never been easier. Example: from header in socket.Receiver.Buffer(4) let length = BitConverter.ToInt32(header.ToArray(), 0) let body = socket.Receiver.Take(length) select Encoding.UTF8.GetString(body.ToEnumerable().ToArray())