Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-14 21:33:42 EDT

Explore

PostsPeople
LatestRanked
Load more
@alvinashcraft.comSep 9, 2026, 9:00 PM

.NET MAUI 11.0.0-rc.1 Release Notes

buff.ly/7RQrAhD

#dotnetmaui #appdev #dotnet #xaml #csharp #mobiledev #crossplatform

@r-csharp.at.shendrick.netSep 9, 2026, 7:23 PM

Non-Boxing Union Types in C# 15 (source generator) https://www.reddit.com/r/csharp/comments/1w89i6k/nonboxing_union_types_in_c_15_source_generator/

#csharp #dotnet

@flq.freiburg.social.ap.brid.gySep 9, 2026, 7:22 PM

It was pointed out to me that I am doing it wrong. This now works.

You can use it like

ArgumentException.ThrowIfFalse(false, "That didn't work");

#csharp #dotnet

A c# helper that can be used on exception types to throw if an assertion is not fulfilled:

public static class ExceptionAssertion
{
	private static readonly ConcurrentDictionary<Type, Func<string, Exception>> Factories = new();

	extension<T>(T) where T : Exception, new()
	{
		/// <summary>
		///		Throws the exception you call this on when the assertion is false.
		///		Note that if that particular exception does not provide a constructor that takes a string,
		///		the default constructor will be used.
		/// </summary>
		public static void ThrowIfFalse([DoesNotReturnIf(false)] bool assertion, string message)
		{
			if (!assertion)
			{
				throw Factories.GetOrAdd(typeof(T), CreateFactory)(message);
			}
		}
	}

	private static Func<string, Exception> CreateFactory(Type exceptionType)
	{
		const BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.Instance;
		var ctor = exceptionType.GetConstructor(bindingFlags, [typeof(string)]) ??
		           exceptionType.GetConstructor(bindingFlags, [])!;
		var message = Expression.Parameter(typeof(string), "message");
		Expression[] arguments = ctor.GetParameters().Length == 1 ? [message] : [];

		return Expression.Lambda<Func<string, Exception>>(Expression.New(ctor, arguments), message).Compile();
	}
}
@devleader.caSep 9, 2026, 7:03 PM

I'm not one for reading but...

Read more here:
https://bgh.st/0gj8kp

#books #reading #csharp #dotnet

Photo, no description
@r-csharp.at.shendrick.netSep 9, 2026, 6:43 PM

throw vs throw ex: The C# exception handling trick every developer should know https://www.reddit.com/r/csharp/comments/1wbu7r6/throw_vs_throw_ex_the_c_exception_handling_trick/

#csharp #dotnet

@alvinashcraft.comSep 9, 2026, 6:02 PM

.NET Conf 2026 Community Days Call for Presenters Is Open

ift.tt/5JjMYFv

#dotnet #cfp #dotnetconf #callforspeakers #csharp #devcommunity

@hschneider66.bsky.socialSep 9, 2026, 5:43 PM

📌 Avalonia 12.1 unter Linux – Neue Power Features: Embedded WebView, Drag & Drop und mehr.
#avalonia #csharp #linux #zorinos

@alvinashcraft.comSep 9, 2026, 5:00 PM

#ASPNETCore updates in .NET 11 Release Candidate 1 Release Notes

buff.ly/t5CoWqn

#dotnet #csharp #blazor #signalr #typescript #openapi

@flq.freiburg.social.ap.brid.gySep 9, 2026, 4:14 PM

of course…

#csharp

Dreaming of an extension block generically expressed
@dotnetdrip.comSep 9, 2026, 4:05 PM

How a playful dare turned into a trim and AOT friendly NServiceBus pipeline that starts 330x faster and runs 25 to 29 percent faster by leaning on default interface members.

#dotnet #csharp #nservicebus

@alvinashcraft.comSep 9, 2026, 4:01 PM

Announcing .NET 11 Release Candidate 1 | .NET Blog

ift.tt/u2BsjMR

#dotnet #csharp #dotnetmaui #aspnetcore #blazor #wpf #winforms #efcore

@tomatesalat.bsky.socialSep 9, 2026, 3:54 PM

About Weapons and Social Aggro today? 🤬😘

www.twitch.tv/tomate_salat

#gamedev #indiedev #live #stream #twitch #godot #3d #carnageCarnival #video #vod #csharp #blender #affinity #modelling

@r-csharp.at.shendrick.netSep 9, 2026, 3:43 PM

Transitioning from unity to regular c# projects https://www.reddit.com/r/csharp/comments/1wbooqw/transitioning_from_unity_to_regular_c_projects/

#csharp #dotnet

@alvinashcraft.comSep 9, 2026, 3:00 PM

Today I will… find hidden latency across a distributed .NET application | by Justin Yoo

buff.ly/Du7eJ2K

#visualstudio #debugging #dotnet #productivity #csharp #performance #aspire

@aptivi.bsky.socialSep 9, 2026, 2:01 PM

.NET 11 reaches its first release candidate!

#Microsoft #dotnet #csharp #programming #TechNews #TechUpdates #fsharp

@agentic-architect.bsky.socialSep 9, 2026, 1:42 PM

NetArchTest for Boundaries Architectural rules belong in tests, not in code review. Encode them as NetArchTest assertions ("no class in Domain references EntityFrameworkCore") and they fail your build instead of your… https://agentic-architect.dev/blog/#2026-09-09 #dotnet #csharp #cursor

@dotnetdrip.comSep 9, 2026, 1:05 PM

Advanced C# pattern matching in action, from nested property checks and C# 11 list patterns to guarded switch expressions that tame if-else tangles. These patterns sharpen validation, request routing, and LINQ filters.

#csharp #dotnet #patterns

@techbash.bsky.socialSep 9, 2026, 12:05 PM

Meet Jeff Fritz @csharpfritz at #techbash 2026 next month!

zc.vg/bzsKR?m=0

#devcommunity #dotnet #csharp #devconference #dotnetconf #fritzandfriends #streamers #softwaredev #kalahariresort #poconos

@alvinashcraft.comSep 9, 2026, 12:00 PM

Introducing the Fifth Set of Open-Source Syncfusion .NET MAUI Controls

buff.ly/AkZu5AP

#dotnetmaui #oss #dotnet #xaml #csharp #appdev #ux #ref #mobiledev #crossplatform #syncfusion

@alvinashcraft.comSep 9, 2026, 11:06 AM

Dew Drop - September 9, 2026 (#4749)

buff.ly/JM2Hop6

#dotnet #appdev #cloud #ai #windowsdev #csharp #webdev #visualstudio #github #dotnetmaui #dewdrop