updated readme

This commit is contained in:
TomPallister 2016-09-07 21:57:46 +01:00
parent 4fdd694003
commit 912063fe77
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,22 @@
# Ocelot # Ocelot
Attempt at a .NET Api Gateway Attempt at a .NET Api Gateway
This project is aimed at people using .NET running
a micro services / service orientated architecture
that need a unified point of entry into their system.
In particular I want easy integration with
IdentityServer reference and bearer tokens.
We have been unable to find this in my current workplace
without having to write our own Javascript middlewares
to handle the IdentityServer reference tokens. We would
rather use the IdentityServer code that already exists
to do this.
Priorities
- Route configuration
- IdentityServer reference & bearer tokens
- Output Caching

View File

@ -41,7 +41,6 @@ namespace Ocelot.Library.Middleware
var downstreamUrl = _urlReplacer.ReplaceTemplateVariable(downstreamRoute.Data); var downstreamUrl = _urlReplacer.ReplaceTemplateVariable(downstreamRoute.Data);
//make a http request to this endpoint...maybe bring in a library
using (var httpClient = new HttpClient()) using (var httpClient = new HttpClient())
{ {
var httpMethod = new HttpMethod(context.Request.Method); var httpMethod = new HttpMethod(context.Request.Method);