#aspnet
The Dev Tunnel CLI announcement at #MSBuild was pretty epic! 🔥
I just had to record a little demo on how to use this to connect your .NET MAUI iOS/Android app, or any client to your localhost and make your life so much easier!
https://www.youtube.com/watch?v=azuC8SFHWp8&list=PLfbOp004UaYW2u0am9IhB_c3pWExLen42
On this week's #AspNet Community Standup
🚀 Visual Studio Updates for JavaScript & TypeScript
⭐ Jiayan Chen, Jon Galloway
🗓 Tuesday | May 16
⏰ 10:00 AM Pacific | 17:00 UTC
▶️https://youtu.be/tYEH06hnpWQ
Azure OpenAI service is quite interesting. The same OpenAI models are used, but hosted in your Azure subscription. You're not sharing data with OpenAI as it is its own "fork" if you will.
Learn how to use Azure OpenAI with Twilio SMS to build a ChatGPT SMS bot on ASP.NET Core.
#dotnet #aspnet #csharp
https://www.twilio.com/blog/build-a-chatgpt-sms-bot-with-azure-openai-service-and-aspdotnet-core
Mark Heath shows us how to receive audio data from a Twilio phone call, how to change the audio format, and transcribe it to text in real-time using Vosk and ASP .NET Core
#csharp #aspnet #dotnet
https://www.twilio.com/blog/transcribe-phone-calls-in-real-time-with-twilio-vosk-and-aspdotnet-core
More work on Practical Blazor Components this morning, creating a module all about Blazor's component lifecycle methods.
This is one of those kinda dry subjects, but well worth understanding if you're using Blazor.

Probably should add #dotnet #efcore #aspnet #aspnetcore for this. Basically beware of IQueryable proliferation.
Had fun implementing this hint system for my new #blazor workshop.
You're tasked with building a small app. There are hints available if you need them, and each hint get progressively more detailed so you should never get completely stuck (hopefully!)

Building Web APIs with #VisualStudio just keeps getting better and better. Now easily explore, scaffold test, and debug inside of VS with the new API Endpoints Explorer. Check it out: https://youtu.be/x7Pfdl9wl4Q
Want to write about .NET for the Twilio blog? Our call for content is open for submissions. Learn more about the process and $ here
https://twilio.com/en-us/voices
#dotnet #csharp #aspnet
If you're using Blazor you might run into some unexpected behaviour when you navigate to the "same page"...
Transcribe audio messages with Twilio for WhatsApp and OpenAI Speech to Text
#csharp #aspnet #twilio #dotnet
https://www.twilio.com/blog/transcribe-audio-messages-with-twilio-whatsapp-and-openai-speech-to-text
I must be missing something.
I really do not understand the point of all this async
stuff in C# when you just end putting await
in front of every single async method call anyway.
And why would I want my MVC controller methods to be async? My user is requesting a web page. What, exactly, about that process would be asynchronous?
What are you up to this weekend? How about learning a little bit about hybrid applications with Blazor & .NET MAUI! Build for iOS, Android, macOS, Windows, and Web all with C#... oh and share code and UI across them all!! Mix and match native UI and access native platform features! I got you covered in my intro tutorial for beginners:
https://www.youtube.com/watch?v=lqLfY9zNKNY
#Blazor #aspnetcore #aspnet #programming #csharp #dotnet #dotnetmaui #beginners
#Minimal #APIs in #ASPnet. I love this #NoSlides talk about upgrading to #dotNET 7 and C# 11. Join us at #GIDS #DeveloperSummit #InPerson https://developersummit.com/, code: https://github.com/robrich/minimal-apis-aspnet
Learn how to End-to-End Test SMS Applications with C# .NET and Twilio.
(I first started with using a TaskCompletionSource to make one incoming messages awaitable, but I wanted to be able to await multiple messages which let me down to the Channels API which is really cool.)
#dotnet #csharp #aspnet #twilio
https://www.twilio.com/blog/e2e-test-sms-applications-with-csharp-dotnet-and-twilio
Did any of the talk of building a #mastodon #fediverse server in #csharp #aspnet #dotnet come to anything? Is anyone up and running their code?
Out of nowhere, a #coding post on my Ko-fi!
Refreshing access tokens in an Aspnet Core MVC UI.
Read it here: https://ko-fi.com/post/Refreshing-access-tokens-in-an-Aspnet-Core-MVC-UI-Y8Y2KNZ0I
I'm currently evaluating #JetBrains #Rider and I try to figure out how I can debug my #ASPNET #WebAPI along with an #Angular Frontend side by side in one "Run"/Session. Running VS/VS-Code in parallel to achieve this is pretty annoying.
I read and tried a couple of turorials that I found but I'm kind of stuck. Maybe this is because I'm all new to #Rider and I need a final hint. Is there anybody who could point me to a solution. I'd highly appreciate that.
Siblings don't always get along, but it doesn't have to be that way for your Blazor components!
Let's dig in to this new series a bit.
Today, we hear a high-level discussion of the process for migrating an #ASPNET .NET Framework app to #ASPNETCore on #dotNET 7, end-to-end.

https://medium.com/@niteshsinghal85/running-automatic-task-in-asp-net-core-webapi-d5605b3a1114 - no more separate #dotNET service. Use BackgroundService in #ASPnet. Nice quick startup Nitesh Singhal.

It isn't magic! Blazor has a pretty consistent approach when it comes to deciding whether or not your components need to be re-rendered.
Here's how it works (with some handy interactive demos thrown in for good measure).
Very nice to see the beginnings of Blazor United appearing in the preview releases for http://asp.net 8. If you need a refresher on what the heck Blazor United is/could be when it arrives in November... https://jonhilton.net/blazor-united/
I've found that when building an #aspnet #blazor app with assistance from OpenAI's #GPT4 model, I need to give it a specific system prompt:
> You are a helpful assistant helping me build an ASP.NET Blazor WebAssembly with .NET 7 Core
Otherwise, it gets easily confused and provides Razor markup instead of Blazor.
https://dev.to/moe23/getting-started-with-minimal-apis-in-net-6-4mi4 - kicking the tires on #ASPnet minimal #APIs. Nice article https://github.com/mlawand.
Improvements to #auth and #identity in #ASPNET Core 8 - #dotNET Blog
#security #AzureAD #documentation #dotNET8 https://devblogs.microsoft.com/dotnet/improvements-auth-identity-aspnetcore-8/
https://dev.to/maxwelladn/deploying-net-core-angular-and-sql-server-to-ubuntu-2a6h - setup #ASPnet and a #SPA behind #nginx and #SQLServer including #EFCore migrations on #Ubuntu via ssh. Nice article https://github.com/MaxwellADN.
@blowdart @runewake2 I remember this hitting #aspnet validation a while ago. All jokes aside, having timeouts is a must when dealing with user-input.
Did a library add services, but you want the service to use a different lifetime, check this out. Use at your own risk!
#dotnet #aspnet #csharp
https://swimburger.net/blog/dotnet/change-the-servicelifetime-after-the-service-has-been-added-to-the-net-servicecollection
Have you visited our ASP.NET docs recently? We'd love to get feedback on your experience to help us improve!
Simply visit the docs below 👇 and take our <1 minute survey!
https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-7.0
🆕New video series!🆕
📺Migrating from #ASPNET to #AspNetCore
18 videos from Mike Rousos upgrading an #AspNet app on .NET Framework to .NET 7. Includes .NET Upgrade Planner and .NET Upgrade Assistant (command line and from Visual Studio).
Respond to SMS and Voice webhooks using F# and Giraffe
#dotnet #fsharp #aspnet #twilio
https://www.twilio.com/blog/respond-to-sms-and-voice-webhooks-using-fsharp-and-giraffe
Watch out for those sneaky conditionals. Sometimes adding another component actually makes your Blazor app simpler.
The latest #dotnet, C# and #ASPNET digest is out! https://paper.li/vekzdran/1570366360?share_id=67fddb00-cc85-11ed-890c-fa163ed80008 Thanks to @yshrng #dotnet #microsoft
The latest #dotnet, C# and #ASPNET digest is out! https://paper.li/vekzdran/1570366360?share_id=1ef07ea0-c969-11ed-890c-fa163ed80008 #dotnet #microsoft
Learn how to build an IVR using Twilio Voice and ASP .NET Core to build a voicemail service.
Another great post by Volkan.
#dotnet #csharp #aspnet
https://www.twilio.com/blog/build-a-voicemail-service-using-twilio-voice-and-aspdotnet-core
#aspnet folks, I could use some help when bootsttrapping an ASP.NET app using IHostBuilder...
Thanks!
#ASPNETCore updates in #NET8 Preview 2 - #dotNET Blog
#ASPNET #Blazor #WebDev https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-2/
Another episode of Nick Chapsas' podcast, this time interviewing David Fowler:
Build a ChatGPT SMS bot with the OpenAI API and ASP .NET Core
#csharp #dotnet #aspnet #twilio
https://www.twilio.com/blog/build-a-chatgpt-sms-bot-with-the-openai-api-and-aspdotnet-core
The latest #dotnet, C# and #ASPNET digest is out! https://paper.li/vekzdran/1570366360?share_id=a3615c70-bd9f-11ed-890c-fa163ed80008 #dotnet #microsoft
Check out what's new in the Twilio.AspNet library
#csharp #aspnet #dotnet #twilio
https://www.twilio.com/blog/twilio-helper-library-for-aspdotnet-v8
The latest #dotnet, C# and #ASPNET digest is out! https://paper.li/vekzdran/1570366360?share_id=ab21dcc0-b8e8-11ed-890c-fa163ed80008 #dotnet #microsoft
Speed Up ASP.NET Core JSON APIs with Source Generators
Speed Up ASP.NET Core JSON APIs with Source Generators - Using System.Text.Json source generators from .NET 6 to improve JSON API performance
https://khalidabuhakmeh.com/speed-up-aspnet-core-json-apis-with-source-generators
The latest #dotnet, C# and #ASPNET digest is out! https://paper.li/vekzdran/1570366360?share_id=5028e040-b756-11ed-890c-fa163ed80008 #dotnet #microsoft
Has anyone written a complete set of #blazor razor pages for #identity in #aspnet? I find using MVC templates a jarring experience. Or is there a good alternative framework? It’s time to get some authentication/authorisation into my side project. I know @davidfowl was experimenting on something but cannot find the posts.
Respond to SMS and Voice webhooks using F# and Minimal APIs
#dotnet #fsharp #aspnet
https://www.twilio.com/blog/respond-to-sms-and-voice-webhooks-using-fsharp-and-minimal-apis
Oh and for the morning (as I will NOT be up)
Still looking for a .NET Contract / Perm role. Lead / Principal really. Fully remote and UK based (but don't mind where my employer is)
https://www.linkedin.com/in/scott-galloway-91608691/
#dotnet #netcore #aspnet #jobs
Wrote a little Tag Helper for Alpine.js in Razor Views:
Well another week of jobhunting ahead. As another reminder; I'm looking for .net (mainly) remote contract roles. I'm in Scotland but +-5 GMT is not issue. FT roles considered but I'm being very picky about those.
LI: https://www.linkedin.com/in/scott-galloway-91608691/
Resume: https://1drv.ms/w/s!Ap2OEgQ4A-EOgsg8mbO8MBO-f4ilow?e=U19aUw
#dotnet #aspnet #netcore
Anyway annoyingly I'm still looking for a .NET remote contract. I am SO BORED and such a fantastic developer - let me help you... #dotnet #aspnet #freelance https://www.linkedin.com/in/scott-galloway-91608691/
Came across this awesome localization engine for .Net 'myLanguages' https://github.com/tomasweigenast/myLanguages works in WPF and just about everything else and has a really nice API. Writing a little Libretranslate provider using it to get my autotranslating UI nonsense idea working (cache in a sqlite db).
#aspnet #wpf #netcore
I forgot about this post, it's a great exploration of building REALLY SMALL Docker images for ASP.NET Core apps. @shanselman
an 'official' update article would be useful :) (esp if there's some new 'net container' stuff in the latest bits!) #aspnet #netcore #docker
https://itnext.io/smaller-docker-images-for-asp-net-core-apps-bee4a8fd1277
I wonder if I can have the same relative path for Razor Views in different ASP.NET Core Razor Library projects...
I'm either doing it wrong our this isn't expected to work.
I could use some help with ASP.NET…
Wrapped up implementation on a massive piece of work today: updating a 150,000+ line ASP.NET Web Forms codebase to support a Content Security Policy and block unsafe-inline JavaScript.
This has been a massive piece of work, especially because Web Forms generates and adds its own unsafe inline JavaScript at runtime!
Here's how we did it.
(continued)
I encapsulated the WebApplicationFactory test server in an "API" class that makes it easier to replace services in the constructor.
Makes writing integration tests as simple as a few lines of code.
Here, I'm testing a Fast Endpoint that relies on an ISystemClock instance. #dotnet #aspnet #aspnetcore
Has ANYONE found a good article for ASP.NET covering ConfigurationKeyName attribute (added in .NET 6) it's SO HANDY yet I can never find any docs other than the original implementation issue. https://github.com/dotnet/runtime/issues/36010
Basically lets you specify the keys for each property and Bind() will correctly assign them. #aspnet #dotnet @terrajobst commented on the issue...any ideas Immo?
So, how about all of those companies using the api.twitter for auth, Are they going to have to change it? and in this case "theurlist.com"
@shanselman @damianedwards #api #code #coding #ASPNet #html #theurlist :8b_s: :8b_u: :8b_c: :OMEGALUL:
Just realized that on Mastodon, "tooting your own horn" is quite accurate 🤔
In any case, here's the tooting: if you're interested in #aspnet built-in rate limiting middleware in #dotnet 7, this post has got you covered"https://blog.maartenballiauw.be/post/2022/09/26/aspnet-core-rate-limiting-middleware.html
Anyway, for those who are new to the unbridled horror of me, I mostly post about #science #psychology #webdev #aspnet and #kittens (and occasional light Scottish oriented politics...)