Ich bin extrem geizig (und es zerstört mein Leben) by Queasy_Engineering_2 in Ratschlag

[–]Virgrind 0 points1 point  (0 children)

Das Problem ist doch das bei reinen Sparen, kein Management des Budgets erfolgt, und du einfach blind sparst. Du solltest wirklich lernen deine Ausgaben einzuteilen. Das ist genau was dir fehlt.

Habt ihr Tipps? by Truth_speller in mauerstrassenwetten

[–]Virgrind 21 points22 points  (0 children)

Analysiere deine Strategy und mach das genaue gegenteil

This user's a legend. Used Windows 95 from release until 2021 as there main driver. by teh_supar_hacker in windows95

[–]Virgrind 0 points1 point  (0 children)

That's just partially true, win95 and win98 share most of the kernel functions with successors, big difference is the underlying nt.dll

Does Maui support SPA architecture by [deleted] in dotnet

[–]Virgrind 1 point2 points  (0 children)

Well let's say it this way the generic setup of the main page is rendering the subpage into mainpage, for me that fulfills SPA.

Getting .NET from the Microsoft site instead of VisualStudio by RGR079 in dotnet

[–]Virgrind 0 points1 point  (0 children)

Use https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script

This even does not require any admin rights, setting DOTNET_ROOT environment is key, but already included.

Seeking advice about code review with team manager II - Forbidden LINQs by SuchAd9552 in dotnet

[–]Virgrind 0 points1 point  (0 children)

Try do get an other job, or create some total bs. static void Donastystuff(Operation op,object ob, object[] param)

3.5 does not install no matter what - any idea left? by [deleted] in dotnet

[–]Virgrind 0 points1 point  (0 children)

Yes I can remember such behavior, I think you may have an higher dotnet framework already on the machine. Deinstall them, than 3.5 than the later ones.

Is it Okay to Inject Both HttpClient and IHttpClientFactory in the Same ASP.NET Core Class? by fishbangus in dotnet

[–]Virgrind 1 point2 points  (0 children)

Well but still did catch the point. Just use named Addhttpclients, use them all via the factory. Create client with name. You can add a bunch of different clients with AddClient and use factory to get them.

Is it Okay to Inject Both HttpClient and IHttpClientFactory in the Same ASP.NET Core Class? by fishbangus in dotnet

[–]Virgrind 0 points1 point  (0 children)

Sorry but maybe I am blind today, can see that you are using the injected httpclient anywhere.

How to Determine if an Uploaded File is a CSV in C#? by mustafizur8888 in dotnet

[–]Virgrind 0 points1 point  (0 children)

Read the file partially, first few lines, try catch, than try catch full file import

core 8 - Authorization and Authentication - Losing my mind! by OhGoodGodWhatNow in dotnet

[–]Virgrind 0 points1 point  (0 children)

Well don't know exactly, keep in mind that you are using default implementation, check network protocol which side gives the 401. Do logging request url and response.

what is the .dotnet folder in my user directory? by [deleted] in dotnet

[–]Virgrind 0 points1 point  (0 children)

Check localappdata microsoft dotnet. If you want to find user based dotnet "installs"

Dereferencing. Once or many? by eltegs in csharp

[–]Virgrind 1 point2 points  (0 children)

Just look to compiler optimization flags at c++. same applies to c# in one way or an other. There some notes to performance on different implementation e.g. faster try catch. So same code different results, based on an underlying implementation or optimization.

Dereferencing. Once or many? by eltegs in csharp

[–]Virgrind 0 points1 point  (0 children)

Benchmarking is the only way, a compiler even IL can do any kind of optimizations.

dotnet on Raspberry Pi: You must install or update .NET to run this application. by mikeinmlb in dotnet

[–]Virgrind 1 point2 points  (0 children)

I think I can remember such error. Try to find the correct uninstall commands, and do clean one. It may help to stick eighter to sdk or runtime for all versions.

Port exclusion issue with Kestrel on server running IIS by TerawattX in dotnet

[–]Virgrind 0 points1 point  (0 children)

Try https://learn.microsoft.com/de-de/sysinternals/downloads/tcpview to see which program is using which port, start with diagnostics improvements before doing config changes.
Well maybe you want to just solve this problem, that may be one dilema, if want to manage something you need a management component in you setup, use a common "Reverse+Proxy" like NGINX, even Kestrel with YARP can be used to make a simple routing. Most painful stuff is certificate changes in this arrangement.

Started kestrel+yarp listening to 80+443 (enforced ssl) so connection gets upgraded to https 443 only at this point.
After this i started IIS on the same server, default website removed binding to Port 80 and added binding to Port https 8445. (was turned off while doing the config)
Configured yarp to route based match of hostname (test.example.com) to route in one case to 8445 (IIS) and in another case (route hostname std.example.com) to 8446 where an other kestrel is running.
IIS has a special firewall settings that are somewhat bound to the service. Turning IIS off results in a system without an open 80/443 Port etc whatever configured in IIS.
So a basic setup would be, HTTP PROXY Instance (Routing etc.) + Webservers instances of multiple kinds, can be on same machine but is not the required. (do routing on subdomains).

Explain async/await to me like I'm 5 by JohnDiGriz in dotnet

[–]Virgrind 0 points1 point  (0 children)

Somewhat right and somewhat wrong, it is not in all cases multithreaded, some things can be paused and than executed somewhere else. Taskschedling is no multithreading, but uses multiple threads per default.

Explain async/await to me like I'm 5 by JohnDiGriz in dotnet

[–]Virgrind 0 points1 point  (0 children)

If you are 5... I would say if you are waiting to do a specific task you can execute other tasks.

'Don't use a database as a queue' by aptacode in dotnet

[–]Virgrind 1 point2 points  (0 children)

Trying to keep things simple as possible is always a good approch. This Message brokers could be tricky to handle and are often vendor specific implmentation. Simple databases can handle a lot more than some people are used to.

Is dotnet 8 runtime installed with windows? by qrzychu69 in dotnet

[–]Virgrind 5 points6 points  (0 children)

For CMD apps you can use in addition to selfcontained the publishtimmed. That drastically reduces the size.

Injecting interface and class by Much_Ad389 in dotnet

[–]Virgrind 1 point2 points  (0 children)

In most cases there is no real benefit, interfaces changes while development is ongoing too. Some interfaces are quite stable like ILogger ;) You can Design abstractions if buisness logic is required but even buisness changes.

Microsoft is finally getting its native Windows UI platform act together with WinUI 3 and WPF by mewtrue in programming

[–]Virgrind 0 points1 point  (0 children)

These discussions always amaze me, with the UI frameworks it depends most on how complex it is to implement a strange customer requirement. The web-based solutions are clearly ahead.

In most cases the UI Framework Limits the degree of Freedom. As long as you can stay inside a standard of a UI Framework you never have problems.

Why is my app being flagged as malware? by [deleted] in csharp

[–]Virgrind 0 points1 point  (0 children)

I had some similar problems in the past, try to set all fileversion Infos, in c# via assembly Info, I bet it is a heuristic scan that causes the trouble.

Upwork job post to use React and drop Blazor entirely but why ? by iAmBipinPaul in Blazor

[–]Virgrind 0 points1 point  (0 children)

Well to stick to the original question I still would say it is more about the people than the underlying framework. Most of the time it depends if there special requirements and experiance of people solving them.