khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

I bet you #dotnet folks didn’t know that raw string literals could have any number of double quotes. As long as the starting number matches the ending number, you have a valid raw literal string.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@bitbonk You can also choose the number of curly braces ({ }) by the number of “$” at the start of a raw string literal. #dotnet

turnerj, to random

Has anyone had issues running v7 of core .NET libraries like System.Text.Json on .NET 6? This isn't the first time I've seen someone mention similar on an issue before but wondering if this is something we're meant to avoid.

What I find weird about it is that my example with S.T.J v7 does target .NET 6 so I don't see why it is a problem?

https://github.com/RehanSaeed/Schema.NET/issues/598

#dotnet

TimPurdum,

@turnerj I think I agree that it "should work", but I don't trust it, so my libraries follow a per-#dotnet pattern.

TimPurdum, to random
TimPurdum,

@efonsecabcr my use case is wrapping a #JavaScript library for #blazor. Sometimes I need to pass an html string to a JS function, without actually rendering it from #dotnet. It also means razor becomes an easy templating language for things like email html templates.

sinkinstar, to random

How does one pin a .NET MAUI workload or even pin a MAUI version? Asking for a friend 😭
#dotnetmaui #dotnet cc @jfversluis @jamesmontemagno @davidortinau

TimPurdum,

@sinkinstar @jfversluis @jamesmontemagno @davidortinau are they just tied to #dotnet versions now? You can pin those with a global.json file.

bernasconi, to random

Visual Studio 2022 v17.6 has been released.💪

  • Faster Solution Loading
  • All-in-One Search Updates
  • Sticky Scrolling
  • Brace pair colorization
  • Spell Checker
  • Breakpoint groups

... and much more!

Watch the full video showing all the new features in less than 10 minutes. 👇

#dotnet #visualstudio

https://youtu.be/afa42Tw3TP0

maartenballiauw, to random
@maartenballiauw@mastodon.online avatar

Recording of yesterday's stream with @cecilphillip and @khalidabuhakmeh is up!

📺 Building payment flows with #Stripe and #Azure

Go check it out! https://jb.gg/0d7r1m

#dotnet

angelmunoz, to rust

Well! I have to say, kudos to the #winrt projection team from microsoft and #dotnet using the winrt api from both #fsharp and #rust is nearly the same

In this case I'm just using the Windows.Security.Cryptography.DataProtection namespace to read a file using the winrt api (I could use bcl/std apis I know) convert it into a stream, use the DataProtection apis to encrypt the file, the encrypted file gets saved as a new file (so I can see it rather than just do it to the same file) and then decrypt that file into a new one which technically is just a copy of the first one but after encryption/decryption :)

image/png
image/png
image/png
image/png
image/png
image/png
image/png
image/png

bernasconi, to programming

📢 .NET Developer Roadmap

I launched my C# & .NET Bootcamp on Zerotomastery.

I worked a whole year on both the course and the roadmap video released today (free).

https://youtu.be/B6P-p6UVyss

Check out the course here: https://claudiobernasconi.ch/dotnet-course

Let me know what you think. 👇

#dotnet #csharp

davidpine, to programming
@davidpine@dotnet.social avatar

My GitHub Sponsors profile is live! You can sponsor me to support my open source work 💖...

#dotnet #csharp #blazor #openai

I was really hesitant about setting this up, and sat on it for a long time. I guess let's see how it goes?! 🤓

https://github.com/sponsors/IEvangelist

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Looking through the #jetbrains #dotnet days submitted talks/sessions.

Quote Jaws GIF by Top 100 Movie Quotes of All Time

andrewlock, to random
@andrewlock@hachyderm.io avatar

Blogged: Making authenticated cross-origin requests with ASP​ .NET Core Identity

https://andrewlock.net/making-authenticated-cross-origin-requests-with-aspnetcore-identity/

In this post I describe how to make authenticated cross-origin requests from the browser to an app using ASP.NET Core Identity

#aspnetcore #dotnet #dotnetcore

GrahamDowns, to linux

So a couple years late, I have entered the new era of @dotnet development. I got one of my .NET 7 console apps running under #Linux last night. Natively, mind; not just via WINE.

I built it for Ubuntu 22.04 using the #dotnet command line tools on my Windows machine. It doesn't produce an exe, it produces a native Linux executable (extensionless, because as you may know, Linux doesn't actually use file extensions for anything important), which I uploaded to my server using SFTP, gave execute permissions to, and ran it. So proper native Linux.

And it... just worked. I'm so impressed! 😲

I've been coding professionally for 25 years now, and this is probably the coolest thing I've ever seen.

#development #programming

isaacrlevin, to random

What’s New in ASP.NET Core 7

http://isaacl.dev/d11

J_aa_p, to random
@J_aa_p@mastodon.social avatar

New Windows 'Dev Home'
(for all developers)

"Developer joy with Scott Hanselman and friends"

👀https://build.microsoft.com/en-US/sessions/7ed9bb72-b4f4-4490-9b26-911d1ac263d1

KristofferStrube, to random

Got my Media Capture Streams and Web Audio Blazor wrappers working today so that I can now connect a Media Stream to an Analyzer Node to make intensity and frequency plots from live sound in real-time.
#blazor #dotnet #audio
Project: https://github.com/KristofferStrube/Blazor.WebAudio
Demo: https://kristofferstrube.github.io/Blazor.WebAudio/AnalyzeMediaStream

A MediaStream being analyzed by an AnalyzerNode. The result of this analysis is shown in two plots for intensity and frequency.

arielcostas, to random Spanish

In retrospect, switching from Java to C#+.NET was a great decision on my end. I've learned in 4 months in .NET more than in 18 months of Java. ASP.NET Core blows Spring out of the water both in performance and developer experience.

EF Core is just brilliant, being able to get only the records I want to query without writing SQL or that weird-ass thingy called JPQL.

Desktop still feels kinda weak but Avalonia isn't bad once you get used to it.

Anyway, props to everyone involved in #dotnet

FlashOWare, to programming

We're continuing our journey of building a -based tool that globalizes using directives.

Tune in on Wednesday, 07 June at 17:00 UTC on either our Twitch or YouTube channel.

https://www.youtube.com/watch?v=dUbnuY6Pp4s

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar
UrsEnzler, to random
avaloniaui, to random

We’ve been working on a new sample app to demonstrate how to build great mobile apps 😍

We’re just finishing up a little polishing and then will push the code for this airline's demo.

It’s already looking great ❤️❤️❤️

#dotnet

blackspike, to random

See the before/after design of a ASP.NET Razor + Bootstrap line-of-business app – Bootstrap doesn't have to look like Bootstrap!

https://www.blackspike.com/case-studies/dot-net-razor-and-bootstrap-lob-tool-design/

#bootstrap #aspnetcore #dotnet #design

bernasconi, to programming

📢 .NET Developer Roadmap

It contains a roadmap for learning C# and .NET development.

It's broken down into the topics required to become a .NET developer.

Watch the video and download the roadmap for FREE. 👇

https://youtu.be/B6P-p6UVyss

#dotnet #csharp

TimPurdum, to random

#dotnet 8 will have multithreading for #webassembly! #msbuild

KristofferStrube, to programming

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/

maartenballiauw, to random
@maartenballiauw@mastodon.online avatar

Do you know about live templates? 🤔

In this blog post, @khalidabuhakmeh explains how to re-use (and share) commonly used snippets with your team, how to add parameters and placeholders, and more.

Go check it out! 👉 https://jb.gg/bnp4lp #dotnet

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines