Lukas Kurz

@shortdev
13 Followers
29 Following
68 Posts
Fullstack @dotnet software developer.
Homepagehttps://shortdev.de
GitHubhttps://github.com/ShortDevelopment
Nearby-Sharinghttps://nearshare.shortdev.de
LocationGermany

📰 Explore union types in C# 15

C# 15 introduces union types — declare a closed set of case types with implicit conversions and exhaustive pattern matching. Try unions in preview today and see the broader exhaustiveness roadmap.

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/ #dotnet

Explore union types in C# 15 - .NET Blog

C# 15 introduces union types — declare a closed set of case types with implicit conversions and exhaustive pattern matching. Try unions in preview today and see the broader exhaustiveness roadmap.

.NET Blog

I added the download button to #GitHub 😁

#nearshare #GitHub

Even though this app directly uses the #nearshare implementation built into Windows, it allows discovering LAN devices, so you can finally transfer data to Windows devices without Bluetooth / WiFi or MacOS machines using the cli 🥳

https://github.com/nearby-sharing/cli

GitHub - nearby-sharing/cli: Cross-platform cli for windows nearby-sharing (Project Rome)

Cross-platform cli for windows nearby-sharing (Project Rome) - nearby-sharing/cli

GitHub

The #nearshare app family is joined by a new utility app for #Windows. Besides the native share menu in Windows, you can now use this app to quickly share your clipboard, some plain text or arbitrary data via drag'n'drop!

https://apps.microsoft.com/detail/9NL0J9C8FV0K

#UWP #dotnet

The State of JS is out. Astro is #1 meta-framework in developer satisfaction three years running.
︀︀
With our astronaut powers combined… 😤
Currently working on moving the #nearshare #android app from activities to fragments and navigation apis.

I just noticed that some well-known #windows #firewall rules were gone which caused some issues in local-network stuff including #nearshare.

Resetting the firewall rules did the trick for me.
This is now part of the #nearshare setup docs:

https://nearshare.shortdev.de/setup/

Setup your Windows machine

#dotnet "nano" api: A simple api handler written in #csharp that can be deployed to #vercel alongside your #nuxt (etc) app using .NET 10 "run app.cs" and NativeAOT.

Last thing to do: Guess some names based on the values and we're done!

```
struct SendDataProgress {
NearShareStatus Status;
UInt64 TotalBytes;
UInt64 SentBytes;
UInt32 TotalFiles;
UInt32 SentFiles;
};
```

Voila:

```
pinterface({b5d036d7-e297-498f-ba60-0289e76e23dd};enum(NearShareStatus;i4);struct(SendDataProgress;enum(NearShareStatus;i4);u8;u8;u4;u4))
```