Search
18 results for “KristofferStrube”
-
I added a sample page demonstrating how to use the AbortController and AbortSignal to cancel JS functions while releasing version 0.2.0 of Blazor.DOM to NuGet.
The new version also adapts to changes made to the IJSWrapper interface from Blazor.WebIDL to enforce that wrappers dispose of their dependent internal object and clarify whether a wrapper will dispose of its IJSObjectReferences.
#blazor #dotnet #jsinterop
Project: https://github.com/KristofferStrube/Blazor.DOM
Demo: https://kristofferstrube.github.io/Blazor.DOM/Aborting -
The next feature for my File System Access Blazor wrapper is Exceptions. Making it both easy and discoverable to handle the different exception cases that exist when working with the file system.
Will release soon.
#dotnet #blazor #csharp #webidl
Project: https://github.com/KristofferStrube/Blazor.FileSystemAccess -
I've been working on adding typed exceptions to JSInterop in Blazor during the last couple of weeks. With this, we can know what type of error occurred and its message and not have every error be a JSException that simply just contained the stringified version of the JS exceptions.
I'm looking forward to adding this and other quality improvements to all my libraries soon. ✨🚀
#dotnet #blazor #csharp #webidl #jsinterop
Project: https://github.com/KristofferStrube/Blazor.WebIDL
Demo: https://kristofferstrube.github.io/Blazor.WebIDL/ -
Playing with wrapping the Media Capture and Streams API in Blazor today. Starting with loading a MediaStream and its audio and video tracks from my camera.
#blazor #dotnet #webidl #audio
Demo: https://kristofferstrube.github.io/Blazor.MediaCaptureStreams/
Project: https://github.com/KristofferStrube/Blazor.MediaCaptureStreams -
Extended the Spectrogram demo in my Web Audio API Blazor wrapper a little more today. Adding a Frequency diagram. Next, I'll wrap the MediaStreamAudioSourceNode to get microphone input and analyze that instead.
#blazor #dotnet #audio #svg #webidl
Project: https://github.com/KristofferStrube/Blazor.WebAudio -
Continuing my progress on wrapping the Web Audio API in Blazor. Added a Spectogram demo today which plots the waveform for different oscillating sounds.
#blazor #dotnet #audio #svg #webidl
Project: https://github.com/KristofferStrube/Blazor.WebAudio
Demo: https://kristofferstrube.github.io/Blazor.WebAudio/Spectogram -
Began adding some of the code style rules in the category "Unnecesary code" rules to my EditorConfig Wizard. Still, more to add. 😁
Project: https://github.com/KristofferStrube/EditorConfigWizard
Demo: https://kristofferstrube.github.io/EditorConfigWizard/wizard
#editorconfig #blazor #dotnet #csharp -
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon -
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon -
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon -
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon -
My weekend project has been another demo for my Blazor File System wrapper. With this demo I can search in posts from Mastodon and save the search trees used for searching in the Origin Private File System to spare rebuilding them on reloads.
Also got to use an old project which was the naive implementation of the search tree itself.
#blazor #dotnet #csharp #search #filesystemapi #activitystreams #activitypub
Project: https://github.com/KristofferStrube/Blazor.FileSystem
Demo: https://kristofferstrube.github.io/Blazor.FileSystem/SearchMastodon -
Did someone say defensive programming? 😁
I'm making a small utility endpoint for a demo. Given a Mastodon user identifier, it makes a WebFinger request and uses that to look up the Profile information.
I'm loaning some types from my ActivityPub project: https://github.com/KristofferStrube/ActivityPubBotDotNet
#dotnet #csharp #ActivityPub #minimalapi -
As a small project, I'm implementing serializable types for the ActivityStreams spec (which ActivityPub, the Fediverse, and Mastodon build on).
Raw String Literals is super awesome when Visual Studio adds JSON syntax highlighting in it!
#dotnet #csharp #activitypub #fediverse #github #systemtextjson
Project: https://github.com/KristofferStrube/ActivityStreams -
Blogged: Typed exceptions for JSInterop in Blazor
In this article, we look at how the existing error-handling implementation for JSInterop is made in Blazor. We then look at how we can map the error types defined in the standard WebIDL specification to C# exceptions, and in the end, we show some examples of how to use this in practice when making JS invocations.
#Blazor #CSharp #JSInterop #dotnet
https://kristoffer-strube.dk/post/typed-exceptions-for-jsinterop-in-blazor/
-
Blogged: Wrapping Compression Streams in Blazor
#blazor #dotnet #csharp #webidl
https://kristoffer-strube.dk/post/wrapping-compression-streams-in-blazor/ -
I'm trying to come up with some sample code that would make the two EditorConfig rule options at the bottom distinguishable. Is there some example or are they actually just the same?
#dotnet #csharp #editorconfig -
Me looking for some minimal sample of an interface in ECMAScript that is SetLike:
🕵️♂️🔎Me relasing that Set is SetLike:
🤦♂️🙈