Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Update/webshoppingagg webapp builder #2092

Merged

Conversation

erjain
Copy link
Contributor

@erjain erjain commented Apr 24, 2023

Migrate webshoppingagg to webapp builder
Remove Startup.cs

@erjain erjain requested a review from jamesmontemagno April 24, 2023 20:31
@erjain erjain marked this pull request as ready for review April 24, 2023 20:37
@erjain
Copy link
Contributor Author

erjain commented Apr 24, 2023

Adding @ReubenBond to review.

@erjain erjain linked an issue Apr 25, 2023 that may be closed by this pull request
builder.WebHost.ConfigureAppConfiguration(cb =>
{
var sources = cb.Sources;
sources.Insert(3, new Microsoft.Extensions.Configuration.Json.JsonConfigurationSource()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is extremely weird. Hard no on this approach

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be we can remove this section?

.Enrich.FromLogContext()
.WriteTo.Console()
//.WriteTo.Seq(string.IsNullOrWhiteSpace(seqServerUrl) ? "http://seq" : seqServerUrl)
//.WriteTo.Http(string.IsNullOrWhiteSpace(logstashUrl) ? "http://logstash:8080" : logstashUrl, null)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not commit commented-out code. Just delete it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure Reuben

@ReubenBond ReubenBond merged commit 9d38de0 into dotnet-architecture:dev Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebShoppingAgg: Migrate to WebApplicationBuilder
3 participants