172 packages tagged with “netfx”
Provides a generics version of XmlSerializer.
Simple.OData.Client is a multiplatform OData client library supporting .NET 4.x, .NET Standard, .NET Core, iOS and Android. The adapter provides a great alternative to WCF Data Services client. It does not require generation of context or entity classes and fits RESTful nature of OData services. The package Simple.OData.Client contains libraries that can work with OData feeds that implement both V1-3 and V4 OData protocol. Packages Simple.OData.V3.Client and Simple.OData.V4.Client have smaller footprints and target V1-3 and V4 respectively.
Simple.OData.V4.Client is a multiplatform OData client library supporting .NET 4.x, .NET Standard, .NET Core, iOS and Android. The adapter provides a great alternative to WCF Data Services client. It does not require generation of context or entity classes and fits RESTful nature of OData services. The package Simple.OData.V4.Client contains libraries that can work with OData feeds that implement V4 OData protocol. To access V3 OData feeds use Simple.OData.V4.Client or Simple.OData.Client that can consume OData feeds of any version.
The only argument validation file you need, with full refactoring support and strong-typing. Examples: Guard.NotNull(() => value, value) Guard.NotNullOrEmpty( () => stringValue, stringValue)
Assortment of various common types and utilities for Emzi0767's projects.
.NET Framework version of Stl.Fusion.Server. Fusion is a new implementation of "computed observables" designed to power distributed apps. Thread-safe, asynchronous, immutable, and ready to serve replicas of computed instances to remote clients.
Simple.OData.V3.Client is a multiplatform OData client library supporting .NET 4.x, .NET Standard, .NET Core, iOS and Android. The adapter provides a great alternative to WCF Data Services client. It does not require generation of context or entity classes and fits RESTful nature of OData services. The package Simple.OData.V3.Client contains libraries that can work with OData feeds that implement V1-3 OData protocol. To access V4 OData feeds use Simple.OData.V4.Client or Simple.OData.Client that can consume OData feeds of any version.
Readable formatting strings using named parameters and a custom or anonymous object as the context, like "Hello {FirstName} {LastName}".FormatWith(customer).
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();
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.InvalidCredentials, and as a method if it had parameter replacements, which can even be named, like "Invalid email '{email}'". This makes it easier to refactor strings too.
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>();
Provides the GetOrAdd extension method for generic dictionaries, borrowed from the ConcurrentDictionary class.
A safe sequential GUID generator (or Comb) that improves performance of GUID-style identifiers used in persistence.
Strong-typed 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);
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.
.NET Framework version of ActualLab.Fusion.Server. Fusion is a new implementation of "computed observables" designed to power distributed apps. Thread-safe, asynchronous, immutable, and ready to serve replicas of computed instances to remote clients.
.NET Framework version of ActualLab.Rpc.Server.
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.
.NET Framework version of Stl.Rpc.Server.
Installing this package actually installs netfx-WebApi.JsonNetFormatter. This package is provided for backwards compatibility with existing dependencies and to provide an upgrade path.
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"]
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.
Copies an arbitrary stream to another stream or an output file (buffered).
Provides full reflection capabilities using C# 4.0 dynamic syntax, including invoking and accessing public, internal or private, instance or static members including constructors.
Provides dinamic filtering of parts and exports from an underlying reflection-based catalog using a simple lambda expression that can inspect the export, its metadata and its exporting reflected type (part). Example: var filtered = new FilteringReflectionCatalog(innerCatalog) { // Filter all parts that don't have an "IsPublic" metadata PartFilter = part => part.PartDefinition.Metadata.ContainsKey("IsPublic") };
Core interface that serializers can implement to serialize and deserialize an object graph to and from a Stream.
Installing this package actually installs netfx-WebApi.Testing. This package is provided for backwards compatibility with existing dependencies and to provide an upgrade path.
Traverse an enumerable tree, depth or breadth first. Example: var dirs = new DirectoryInfo("C:\\") .Traverse(TraverseKind.BreadthFirst, dir => dir.EnumerateDirectories());
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.
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 implementations. var tree = typeof(Window).GetInheritanceTree(); // Gets just the base class ContentControl, instead // of that plus 9 interfaces implemented on base types Assert.Equal(1, tree.Inheritance.Count); Assert.Equal(typeof(ContentControl), tree.Inheritance.First().Type);