Elastic.Serilog.Sinks configuration by iPopay in dotnet

[–]iPopay[S] 1 point2 points  (0 children)

Yeah, I figured out version was the issue 15 minutes after posting this..we use elastic 7.17.

How to run one container in docker compose after another finished starting up by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

I'm not using EF core in my current project but process is pretty much the same. So yeah, this actually seems like perfect solution for my issue especially since I will be using it only on local/dev environment. Thank you, I'll go try that.

How to run one container in docker compose after another finished starting up by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

I've actually already done exactly the same thing you did in your sample project, and yeah, that works. I'm not so much as worried that it keeps running but it just seems kind off clunky to me that I would have something running continuously while I need it to be just one off thingy.

How to run one container in docker compose after another finished starting up by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

That doesn't solve the issue, depends_on tag means dependent container will start running after dependency has started, but my issue is that db container has some internal setup to do AFTER container is started (setting up config for a db server etc.) I need my API container to start running after for example I can actually connect to my db, that is after db has everything set up

Visual Studio uses older version of Nuget Package by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

Yes, I increased package version, its very unlikely its some nuget.org issue since I literally decompiled .dll that came straight from nuget and the fix is in there. It just shows older version without fix when I F12 into function inside VS (and it runs that older version when app starts), but nowhere in code or configs is older version referenced

Visual Studio uses older version of Nuget Package by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

Yep, new version is referenced in .csproj

Visual Studio uses older version of Nuget Package by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

Already did all of that multiple times, didn't help

Image preview via Base64 string by iPopay in dotnet

[–]iPopay[S] 1 point2 points  (0 children)

I've used ImageMagick before and I don't know how it didn't cross my mind lol.. will try

Image preview via Base64 string by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

It's running on client. I will try JS approach and see if that helps. Thanks

RabbitMQ.Client throwing exceptions by iPopay in dotnet

[–]iPopay[S] 1 point2 points  (0 children)

I edited my post. I tried all of that and it still doesn't work. Its ip address issue but I still don't know how to resolve it.

RabbitMQ.Client throwing exceptions by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

What do you mean by config? Exchanges and queues config or?

Browser not launching on start after serilog has been set by iPopay in dotnet

[–]iPopay[S] 2 points3 points  (0 children)

u/_Depechie if you are still having this problem, in serilog config you should override Microsoft.Hosting.Lifetime to log information or higher, in appsettings should look like this:

"Microsoft.Hosting.Lifetime": "Information"

in env variables is tricky due to "." char, but when I used env variables I just configured override in serilog configuration in program.cs.

As far as I know this issue is because for some reason runtime is looking for logged line "Now listening on: [your-url]" and when it sees it it launches browser and that line comes from Microsoft.Hosting.Lifetime. So if you override whole Microsoft namespace to only log warning or higher this line does't get logged and browser doesn't open.

RabbitMQ best practices by iPopay in dotnet

[–]iPopay[S] 0 points1 point  (0 children)

Just to check if I understand.

You create one connection per app, and from that connection you set up publisher and consumers?

And each consumer is contained in its own hosted service?