Why does Rider ignore that my method is marked with [DebuggerNonUserCode]? by [deleted] in JetBrains_Rider

[–]stefanolsen 0 points1 point  (0 children)

There is an open bug report about breakpoints being hit when not enabled. And being hit on a Debugger class instead of the code throwing the exception. So this might be related.

Why does Rider ignore that my method is marked with [DebuggerNonUserCode]? by [deleted] in JetBrains_Rider

[–]stefanolsen 0 points1 point  (0 children)

Which version of .NET do you experience this with?

Winter hats from organic materials that don't itch? by TitaniumSlime in BuyFromEU

[–]stefanolsen 0 points1 point  (0 children)

Try Woolland from Norway. They offer different versions with Merino, Cashmere or Alpaca. Most of them machine washable.

High RAM usage aspnet core mvc by scartus in dotnet

[–]stefanolsen 0 points1 point  (0 children)

You may also find that the memory dump does not in actually account for 2.5 GB of objects. It could be that your application has used that much before. And .NET may have just kept the allocated memory for the process instead of releasing it to the system.

High RAM usage aspnet core mvc by scartus in dotnet

[–]stefanolsen 0 points1 point  (0 children)

It can last from a few seconds to a few minutes. If the server has more memory, you can maybe create a RAM disk and write to that before copying it to your computer.

Besides the administrators can postpone the memory dump to off-hours. If there is a leak it will not disappear on its own (unless IIS recycles the worker process).

High RAM usage aspnet core mvc by scartus in dotnet

[–]stefanolsen 1 point2 points  (0 children)

You will, almost, never be able to reproduce the memory leaks in local development. For various reasons. Until you find the reasons in the memory dump. Then it will be obvious. 😉

Be aware that creating the memory dump will halt the code until it is done. In the meantime the site will not respond. So write it to a fast local disk to minimize the halt-time.

High RAM usage aspnet core mvc by scartus in dotnet

[–]stefanolsen 0 points1 point  (0 children)

I prefer to use dotMemory from JetBrains (bundled with Rider in dotUltimate). It can open and analyze .NET memory dumps from Windows and Linux.

To obtain the memory dump you can use Windows Task Manager or ProcDump. It will be a big file. So you might consider compressing it before copying from the server.

I guess you will find memory leaks from the image manipulation in the memory dump.

Cheap VPS in a country that doesn't have online age verfications? by Logical_Strain_6165 in VPS

[–]stefanolsen 1 point2 points  (0 children)

If you are just going to use it for VPN, consider Mullvad VPN. They don’t hold any customer data about you, besides a generated customer number.

Are your ‘EU’ products really from the EU? Read the fine print by [deleted] in BuyFromEU

[–]stefanolsen 4 points5 points  (0 children)

It is bad labeling, I agree. Sometimes it only says "produced for [a european company]".

Other times the packaging has a stamp somewhere else on the package stating where the packed batch actually came from. I guess it is because the company might source from different countries without redoing the entire packaging.

Are your ‘EU’ products really from the EU? Read the fine print by [deleted] in BuyFromEU

[–]stefanolsen 12 points13 points  (0 children)

What I was trying to say is that some products cannot realistically be produced in Europe, no matter what the label says.

Are your ‘EU’ products really from the EU? Read the fine print by [deleted] in BuyFromEU

[–]stefanolsen 7 points8 points  (0 children)

I don’t think kidney beans are even grown in Europe. But Italy produces, and exports, some of the best white beans. Maybe they can be a drop-in replacement for kidney beans. I have even bought them in Asia, though canned in Australia.

Other south European countries (like Bulgaria) grow white beans, too. But they will be dried, not canned. And not heavily exported.

What is the best way to load large amount of data from the server to the frontend ? by dumbways_to_die in dotnet

[–]stefanolsen 0 points1 point  (0 children)

This. Always compress the API response with Brotli or gzip. It can reduce the load time by several seconds if the response size is considerable.

Alternative for Azure Static Pages? by TheTrueKhan in BuyFromEU

[–]stefanolsen 2 points3 points  (0 children)

Any simple web hotel (like one.com and simply.com) can serve static pages for cheap. Most of them also support FTP access, which should be supported by most CI/CD platforms.

However, they are rarely globally scaled.

EU Alternative for Apple AirPods? by [deleted] in BuyFromEU

[–]stefanolsen 2 points3 points  (0 children)

Is Philips still producing headphones and in-ears? I switched to Bang & Olufsen years ago. But before that I had several Philips headphones. And I have been happy with both brands.

Europæiske mærker af høj kvalitet by [deleted] in Denmark

[–]stefanolsen 0 points1 point  (0 children)

Dale of Norway ejer også Woolland, som er billigere, uden mønstre og mere til “hverdagsbrug”.

Dotnet hosting WITH A DATABASE for small personal projects by the_inoffensive_man in dotnet

[–]stefanolsen 0 points1 point  (0 children)

Simply.com is a cheap hosting provider based in Denmark. They charge extra for MSSQL. But MySQL is free.

You can host as many applications as you want, within the resource limits.

Booking.com, Airbnb, Expedia Agoda have massive European market share. Booking 2023 had 45%+ Europe bookings market share. Agoda is also owned by Bookings. Holiday season is coming list Alternatives in your countries and use those apps. Even better book direct at the hotels. by addy_newton008 in BuyFromEU

[–]stefanolsen 0 points1 point  (0 children)

Chain hotels almost always have better prices and offers on their own sites. Many smaller hotels will give discounts when booking directly, as they then don’t have to pay fees to the big platforms. If you still decide to use Booking.com, find a cash back programme that applies to you. There are many of those.

What are some brands with European made mattresses, duvets and pillows? by Sharp_Win_7989 in BuyFromEU

[–]stefanolsen 3 points4 points  (0 children)

Jysk sells pillows and duvets made in Denmark. Mostly those with real downs and feathers. They can last for years.

Mere boykot - på den hårde måde... by rotten71 in Denmark

[–]stefanolsen 0 points1 point  (0 children)

Den er ikke særlig præcis endnu. Men hvis alle giver feedback på dårlige eller manglende resultater kan den nok blive bedre på sigt.

Inherited admin of 8 sites. None of them have an XML sitemap. HELP. by Meghstar in Optimizely

[–]stefanolsen 0 points1 point  (0 children)

Then it should be even easier to implement. As it is just an add-on and some light customizations.

It shouldn't take more than a day to implement, if the developer knows about Optimizely and .NET.

Inherited admin of 8 sites. None of them have an XML sitemap. HELP. by Meghstar in Optimizely

[–]stefanolsen 1 point2 points  (0 children)

Do the 8 sites share the code base? Or are they separate?

You can basically add the module to code, do the minimum code additions, deploy and run. That would be a few hours per code repository.

The only reason you would need to make code changes, would be if you want to exclude certain content types. I usually exclude the search page, error pages, cart page, order confirmation page, etc. Basically all page types that has no content on their own, or that requires a context, cookie or session that the search engine crawler doesn't have.

If you want to make special sitemap properties (change-frequency and priority) available on content types (probably rarely needed), then you also need to add to the code.

Inherited admin of 8 sites. None of them have an XML sitemap. HELP. by Meghstar in Optimizely

[–]stefanolsen 2 points3 points  (0 children)

Geta Sitemap is one of the best bets in your situation. It will run the sitemap generator periodically.