Jering.IocServices.System.Net.Http

Inversion of Control Services for Types in the System.Net.Http Namespace.


Keywords
License
Apache-2.0
Install
Install-Package Jering.IocServices.System.Net.Http -Version 0.4.0

Documentation

Jering.IocServices.System.Net.Http

Build status License NuGet

Table of Contents

Overview
Target Frameworks
Installation
Usage
Building
Related Projects
Contributing
About

Overview

This is a generated library that provides inversion of control services for types in the System.Net.Http namespace. This library and its generator are both incomplete and under construction.

Target Frameworks

  • .NET Standard 1.1

Installation

Using Package Manager:

PM> Install-Package Jering.IocServices.System.Net.Http

Using .Net CLI:

> dotnet add package Jering.IocServices.System.Net.Http

Usage

var services = new ServiceCollection();
services.AddSingleton<IHttpClientService, HttpClientService>();
ServiceProvider serviceProvider = services.BuildServiceProvider();
IHttpClientService httpClientService = serviceProvider.GetRequiredService<IHttpClientService>();

Building

This project can be built using Visual Studio 2017.

Related Projects

Projects Using this Library

Jering.JavascriptUtils.NodeJS - A Tool for Invoking Javascript from C#.

Contributing

Contributions are welcome!

About

Follow @JeremyTCD for updates and more.