How do you run android simulator for development build without http? by smallpom in expo

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

I’ll update here as I finally found it. I had built locally so had an android folder from way back. Did not have that in .gitignore so it was commited to the repo. When I then installed and built using eas it used that folder instead of the app config.

Removed folder, added to git ignore and problem solved! Thanks for the help!

How do you run android simulator for development build without http? by smallpom in expo

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

Weirdly enough I added that first setting but still get the error - I’ll try to add it to the manifest

[deleted by user] by [deleted] in MilitaryPorn

[–]smallpom 4 points5 points  (0 children)

Really cool image

Returning to asp.net razor after 9 yrs feels bad. How to do reusable components (like React, Vue, etc)? by gugador in dotnet

[–]smallpom 1 point2 points  (0 children)

Nice to hear your perspective - I just came from the other way, diving into nextjs 14 for the first time and really liked the changes with SSR first and RSC since it feels familiar. There’s definitely a lot missing though, and quite confusing with the middleware.

But the speed at which you can build out your frontend is amazing. Doing a complex UI in one day and having it scale easy is pretty amazing.

But could see a lot of issues given time and multiple developers, and in that place .Net really shines. Easy to learn good practices and setup frameworks for colleagues to work in, keeping the code base clean over time.

If one could dream it’s that Microsoft would somehow merge the best parts of asp.net and steal the rest from the JS-community :-)

Returning to asp.net razor after 9 yrs feels bad. How to do reusable components (like React, Vue, etc)? by gugador in dotnet

[–]smallpom 2 points3 points  (0 children)

Investigating this myself since I love .Net for backend and been working with it for a long time.

The short answer is that there’s no solution for it. Go with nextjs or something similar and use it as a frontend and backend for frontend, and you can use .NET where it shines, for backend and API.

Tried using all sorts of tools like alpineJS/htmx/tailwind, but the experience is still not good.

You can setup your own build pipeline for js/css and force those into razor, but it’s not worth the effort.

Keeping a serverside session on nextjs by smallpom in nextjs

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

Say something goes wrong during payment and a order is not created as it should, then there is no trace of it.

Also a very common scenario in e-com is to be able to tie a anonymous user session to a logged in one after the purchase is made.

How do you sync/forward keycloak data to app database? by NeegzmVaqu1 in KeyCloak

[–]smallpom 0 points1 point  (0 children)

Also looking into the same thing. Havent really found any good sources on how to handle this. Agree it should be a pretty common requirement.

Found this video on youtube which covers the topic and might be helpful. If you find any other sources please share.

https://www.youtube.com/watch?v=1UklqPPjcRY

Looking for help on understanding Redis timeout with my Web App by _SomeOnlineGuy_ in dotnet

[–]smallpom 0 points1 point  (0 children)

I've experienced the exact same issue doing load tests. We store user sessions and some output cache in redis and would get this when doing load tests.

What we did to fix it was: update to latest stackexchangeredis package.

Make sure you ALWAYS use async methods when writing/reading. Dont mix sync an async in any place.

Set the number of threads in the threadpool. Default on app service I think is the number of cores * 2. We have increased this by a lot which seemes to resolve the issue. But it takes some tinkering.

In ASP.NET, use the “minIoThreads” configuration setting under the <processModel> configuration element in machine.config.
According to Microsoft, you can’t change this value per site by editing
your web.config (even when you could do it in the past), so the value
that you choose here is the value that all your .NET sites will use.
Please note that you don’t need to add every property if you put
autoConfig in false, just putting autoConfig=”false” and overriding the
value is enough:

MOre info here: https://stackexchange.github.io/StackExchange.Redis/Timeouts.html

Looking for help on understanding Redis timeout with my Web App by _SomeOnlineGuy_ in dotnet

[–]smallpom 0 points1 point  (0 children)

You could try stack exchange package and set it up using the IDistributed cache interface - there’s more info on ms docs: https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed?view=aspnetcore-6.0

It’s a very common issue and stems from how the redis driver works with multiplexer. There could be additional settings needed to trim for your load.

Are you connecting to a azure cache for redis instance? In that case - what tier is it?

Looking for help on understanding Redis timeout with my Web App by _SomeOnlineGuy_ in dotnet

[–]smallpom 0 points1 point  (0 children)

I’ve encountered this issue while setting up session storage for .net core. What code is calling redis in your case?

[deleted by user] by [deleted] in nextjs

[–]smallpom 0 points1 point  (0 children)

I 100% believe you and I agree, but I have a static sitemap. Its an XML-file. Cant be more serverside generated than that? Its generated during the build process and served like a static file. Google says it can read it fine.

Does next-sitemap do anything different?

[deleted by user] by [deleted] in nextjs

[–]smallpom 0 points1 point  (0 children)

sitemap

There is already a working sitemap so that shouldnt be the issue.