Kristoffer Strube

@kstrubeg.bsky.social

.NET developer, Microsoft MVP, and Blazor Consultant. GitHub: https://github.com/KristofferStrube

[New Post]🪄Opening Pandora's Box in Blazor! Call any DOM method (scrollIntoView, click, select...) from your .razor file, with zero external JavaScript files. The trick is the browser's built-in Object() function. Power and peril, both unlocked 👇 dev.to/j_sakamoto/o... #Blazor

Opening Pandora's Box: How to Unlock Direct DOM Method Calls in Blazor, No External JS File Needed

🔰 Referencing and operating DOM elements in Blazor In Blazor, you can reference a DOM...

dev.to

Released version 4.0.0 of Blazor.FileSystemAccess today! 😀 It now targets the newest versions of my Blazor.FileSystem, Blazor.FileAPI, Blazor.Streams, Blazor.DOM, and Blazor.WebIDL packages, which has been a long-requested feature. 🧵(1/5) #dotnet #blazor github.com/KristofferSt...

GitHub - KristofferStrube/Blazor.FileSystemAccess: A Blazor wrapper for the File System Access browser API.

A Blazor wrapper for the File System Access browser API. - KristofferStrube/Blazor.FileSystemAccess

github.com

I attended a talk by Bjarne Stroustrup for the first time today. He told all about the usage of Concepts for generics in C++. He also had a small jab at C#: "If dynamic reflection is good enough for C#, then why not for C++?" ... "I think we can do better." I loved that comment!

I get told that I don't share this enough, so I'm sharing again. 😉 #SelfPromotion I do freelance consultancy. So if any of you have gigs or projects in the area of Blazor, ASP.NET Core, Data Mining, Visualizations, or some combination of these, then I'm currently available for new projects. 😊

Released version 3.3.0 of Blazor.FileSystemAccess today. 😀 It now has support for getting write permission to all entries in a directory when requesting to open a directory. Thanks to Luke for creating the issue and PR for this. #dotnet #blazor Demo: kristofferstrube.github.io/Blazor.FileS...

GitHub - KristofferStrube/Blazor.FileSystemAccess: A Blazor wrapper for the File System Access browser API.

A Blazor wrapper for the File System Access browser API. - KristofferStrube/Blazor.FileSystemAccess

github.com

Do you enjoy a well-documented API? Then you might be happy to see that ASP․NET Core 10 Preview 1 uses XML Docs for the generated Open API Spec. 😀 @captainsafia.com has made a repo where she shows all the cool bells and whistles of this feature: github.com/captainsafia... #dotnet

GitHub - captainsafia/aspnet-openapi-xml: Sample repo for XML comment support in ASP.NET Core

Sample repo for XML comment support in ASP.NET Core - captainsafia/aspnet-openapi-xml

github.com

Every time I have trouble with generics in Java I find Stack Overflow comments like this: "Java generics are fake, plain and simple." It eases the pain that it is not only me that has been burned by them. 😅