Added gRPC and HTTP endpoints via config

This commit is contained in:
David Fowler 2023-05-06 16:44:27 -07:00 committed by Reuben Bond
parent d0c710ebdc
commit 69b28c6add
3 changed files with 33 additions and 0 deletions

View File

@ -5,6 +5,17 @@
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5221"
},
"gRPC": {
"Url": "http://localhost:6221",
"Protocols": "Http2"
}
}
},
"OpenApi": { "OpenApi": {
"Endpoint": { "Endpoint": {
"Name": "Basket.API V1" "Name": "Basket.API V1"

View File

@ -5,6 +5,17 @@
"Microsoft.AspNetCore": "Warning" "Microsoft.AspNetCore": "Warning"
} }
}, },
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5222"
},
"gRPC": {
"Url": "http://localhost:6222",
"Protocols": "Http2"
}
}
},
"OpenApi": { "OpenApi": {
"Endpoint": { "Endpoint": {
"Name": "Catalog.API V1" "Name": "Catalog.API V1"

View File

@ -6,6 +6,17 @@
} }
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5224"
},
"gRPC": {
"Url": "http://localhost:6224",
"Protocols": "Http2"
}
}
},
"OpenApi": { "OpenApi": {
"Endpoint": { "Endpoint": {
"Name": "Ordering.API V1" "Name": "Ordering.API V1"