.NET

1808 readers
1 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
301
302
303
304
305
1
submitted 1 year ago* (last edited 1 year ago) by Kissaki@programming.dev to c/dotnet@programming.dev
 
 

Some of the changes:

  • System.Text.Json now provides the JsonSchemaExporter type, which supports generating a JSON schema that represents a .NET type.
  • System.Text.Json: The JsonObject type now exposes ordered-dictionary-like APIs that enables explicit property order manipulation
  • [GeneratedRegex] on properties
  • The Regex class provides a Split method, similar in concept to the String.Split method. With String.Split, you supply one or more char or string separators, and the implementation splits the input text on those separators.
  • Generic OrderedDictionary<TKey, TValue>
  • ReadOnlySet<T>
  • new Base64Url class
  • System.Diagnostics.Metrics now provides the Gauge instrument
  • NuGetAudit now raises warnings for vulnerabilities in transitive dependencies
  • dotnet nuget why
  • MSBuild BuildChecks
  • C#: Partial properties
  • ASP.NET Core: Fingerprinting of static web assets
306
307
308
309
310
 
 

I exclusively use Visual Studio Code for editing code. I primarily work with Go, and a little bit with JavaScript/TypeScript, but I need to do some C# work.

I have no interest in using Microsoft's proprietary C# Dev Kit or dealing with their licensing terms. What capabilities am I losing? The marketing materials for the dev kit talk about a lot of stuff that appear to be features of the open source C# extension, so it's unclear which features are actually exclusive to the dev kit.

311
312
313
314
 
 

cross-posted from: https://programming.dev/post/12343454

Hello all. I am giving a talk next week about making the most of the Fediverse, particularly for dotnet/MAUI developers. The first speaker is talking about creating a MAUI app from scratch. Of course, I shall be talking about our Lemmy MAUI Community, :-) but also other things, like accounts to follow, how to use Lemmy from Mastodon (follow/reply/post), etc. You can attend online. The times shown are GMT+11, and work out well for those in Europe but not so well for the U.S. (first speaker on at midnight-ish PST). I believe there'll be a recording available afterwards, but of course watching live gives you the opportunity to ask questions at the time. Hope some of you can check it out.

Oh! I guess I should also say SMASH THAT DOTNETMAUI SUBSCRIBE BUTTON! 😂

F.A.B. - Fediverse Adventure Begin...

'File > New > MAUI' and 'Finding your way around the Fediverse'

315
316
317
 
 

Also some fun takeaways: it also makes external calls to azure to load configuration and stays silent after updating for 2 weeks before showing warnings.

Moq is unusable. Needs to be forked or repoaced. Time to switch to NSubstitute.