dotnetomaniak.pl

dotnetomaniak.pl - Artykuły z tagiem RestEase

In my last post, I wrote about great HTTP client for .NET Core called RestEase and I showed how to use it as a simple proxy between API Gateway and microservice. Today I’ll present how this library can also simplify writing part of integration tests.  Unit test vs integration test I assume that for some of you the term „integration test” may sounds odd, therefore I’d like to explain it first to avoid the possible confusion with a unit test later in this artic...

Źródło: foreverframe.net
Dziel się z innymi:
Writing integration tests for ASP.NET Core app with xUnit, RestEase and TestHost - Forever F[r]ame

Sztuka programowania 173 dni, 13 godzin, 50 minut temu dpawlukiewicz 117 rozwiń

There are some common questions when it comes to microservices. One of them is „how to forward request from API gateway to the particular microservice?”. There’s no rule of thumb here because everyone has a slightly different approach, but the most popular solution I know is:For writes, so creates, updates and deletes (CUD) create a command and publish it to the service bus based on a queue like RabbitMQ.For reads (GET) forward the HTTP request to the internal API (not p...

Źródło: foreverframe.net
Dziel się z innymi:
Microservices, HTTP forwarding and RestEase - Forever F[r]ame

Programowanie rozproszone 181 dni, 15 godzin, 10 minut temu dpawlukiewicz 103 rozwiń

.NET DeveloperDays 2018

wrzesień

21.
Dev#
Gdansk, Stary Manez
Dodaj nowe Zobacz wszystkie

Najaktywniejsi

1

Paweł Łukasik (32 873,58)

2

macko (32 816,53)

3

pzielinski (27 178,29)

4

gordon_shumway (21 178,88)

5

paduda (20 336,33)

6

psz750 (13 018,14)

7

rroszczyk (10 393,71)

8

Damian (9 610,27)

9

danielplawgo (7 646,1)

10

arek (6 807,95)

11

burczu (6 214,22)

12

PaSkol (5 393,84)

13

lukaszgasior (4 097,38)

14

jj09 (3 833,06)

15

dpawlukiewicz (3 770,26)

16

AdrianBystrek (3 500,85)

17

spetz (3 433,34)

18

jedmac (3 318,39)

19

http://jakub-flor... (3 224,66)

20

KonradKokosa (2 970,13)