Browse Source

Merge branch 'rel-4.0' of https://github.com/abpframework/abp into rel-4.0

pull/6437/head 4.0.0-rc.5
erolarkat 6 years ago
parent
commit
5c6dbc7627
  1. 4
      docs/en/Domain-Driven-Design-Implementation-Guide.md
  2. 7
      framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs

4
docs/en/Domain-Driven-Design-Implementation-Guide.md

@ -1971,8 +1971,8 @@ Application Services can directly work with repositories to query, create, updat
## Reference Books
If you are seriously interest in the Domain Driven Design and building large-scale enterprise systems, the following books are recommended as reference books;
If you are more interested in the Domain Driven Design and building large-scale enterprise systems, the following books are recommended as reference books;
* "*Domain Driven Design*" by Eric Evans
* "*Implementing Domain Driven Design*" by Vaughn Vernon
* "*Clean Architecture*" by Robert C. Martin
* "*Clean Architecture*" by Robert C. Martin

7
framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/DynamicHttpProxyInterceptor.cs

@ -121,7 +121,12 @@ namespace Volo.Abp.Http.Client.DynamicProxying
return (T)(object)stringContent;
}
return JsonSerializer.Deserialize<T>(await responseContent.ReadAsStringAsync());
if (stringContent.IsNullOrWhiteSpace())
{
return default;
}
return JsonSerializer.Deserialize<T>(stringContent);
}
private async Task<HttpContent> MakeRequestAsync(IAbpMethodInvocation invocation)

Loading…
Cancel
Save