#aspnetcore
[Re. @stevejgordon]
🎉 I'm excited to announce the release of my latest @pluralsight course, "Creating Background Services in #AspNetCore 6 and #dotnet 6".
This is an update to my previous course with all of the latest changes and tips for building worker services.
@cathodion In #aspnetcore, there are things called “tag helpers”. They look like HTMX attributes but are processed server side and then result in a final HTML artifact.
Hx-page mimics the routing semantics of #aspnetcore so folks can generate paths on the routing in their web application.
My favorite new feature in #visualstudio, #DevTunnels, is now available EVERYWHERE with the new Dev Tunnels CLI! Mac, Linux, and Windows! Take your localhost services online from your dev machine! I break it down: https://www.youtube.com/watch?v=doUDcQNoy38
Last up in the series on migrating to #ASPNETCore, we dive deeper into the System.Web adapters and how they are useful for retargeting class libraries with System.Web dependencies to #dotNET Standard. 🎥 https://msft.it/6011g5JcH

Deploying and Hosting #Blazor Static Web Apps for FREE on #Azure has never been easier with #visualstudio, in fact it is just a few button clicks away. I show you this new awesome feature:
In about an hour, I'll be hanging out with @khalidabuhakmeh on the Jetbrains live webinar!
We'll be chatting about Azure, Stripe, building workflows, and more 🔥
https://www.youtube.com/watch?v=ud_3fEY24U4
#AspNetCore #azure #serverless
А вообще я конечно жду полную совместимость с #nativeaot в #aspnetcore.
Вот тогда заживем! Можно будет не тащить весь рантайм с собой. Это еще по 70 (?) метров с образа.
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/
[Re. @cecilphillip]
There's so many gems in the .NET ecosystem that don't get the love they deserve. Here's a list of (in my opinion of course 🙂) some of the underrated bits in .NET.
🔥 .NET Interactive
🚀 YARP
👀 OData
💪🏾 Reactive Extensions
Curious to hear what you think
#dotnet #AspNetCore
📺.NET at Microsoft Build 2023
All of the .NET sessions from Microsoft Build 2023 including microservices, C#, ASP.NET Core, .NET MAUI, cloud native, and so much more!
https://www.youtube.com/playlist?list=PLdo4fOcmZ0oV0mbay2wxFS_ZVRg6cxjdM
There's so many gems in the .NET ecosystem that don't get the love they deserve. Here's a list of (in my opinion of course 🙂) some of the underrated bits in .NET.
🔥 .NET Interactive
🚀 YARP
👀 OData
💪🏾 Reactive Extensions
Curious to hear what you think
#dotnet #AspNetCore
Learning to do API with
@dotnet and #CSharp and
@sqlserver UwU
Aprendiendo a hacer APIs con .NET / C# / SQL SERVER
Y Frontend con #reactjs
#aspnetcore #backend #programing #coding #otakubinary #vtuberEN




#ASPNETCore: #503 Server has been shutdown https://techcommunity.microsoft.com/t5/iis-support-blog/asp-net-core-503-server-has-been-shutdown/ba-p/3830338
I'm taking so long to write my post about gathering logs, traces and (particularly) metrics from #AspNetCore apps, that now with #DotNet 8 it's already simpler to do so and I'll need to update what I've prepared so far 😅
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
Doing some #HTMX work today and writing #JavaScript. 😱
This should help folks using the boost support and updating the #aspnetcore anti-forgery tokens in the configuration.
@alexzeitler :)
Once again, I’d love if #aspnetcore had a static rendering mode out of the box. I think given where the front-end community is moving towards, a static option would make for a great addition to the stack.
🆕#AspNetCore updates in .NET 8 Preview 4
⭐Streaming rendering for Blazor components
⭐Blazor SSR form handling
⭐Minimal APIs expand form binding
⭐Native AOT improvements
⭐API template includes .http file
⭐Identity API endpoints
⭐#AspNetCore metrics
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-4
🆕#AspNetCore updates in .NET 8 Preview 4
⭐Streaming rendering for Blazor components
⭐Blazor SSR form handling
⭐Minimal APIs expand form binding
⭐Native AOT improvements
⭐API template includes .http file
⭐Identity API endpoints
⭐#AspNetCore metrics
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-4
Dew Drop – May 17, 2023 (#3945)
Top links today:
- Announcing .NET 8 Preview 4
- #ASPNETCore updates in .NET 8 Preview 4
- How Microsoft 365 Copilot works
- Big changes coming for Blazor in .NET 8
- EF Core 8 Preview 4: Primitive collections and improved Contains
- Visual Studio 2022 - 17.6 now available
https://www.alvinashcraft.com/2023/05/17/dew-drop-may-17-2023-3945/
#visualstudio #ai #webdev #cloud #windowsdev #dotnet #mobiledev #database #csharp #dewdrop
Blogged: Using Octokit.GraphQL to interact with the GitHub discussions API.
https://andrewlock.net/using-octokit-graphql-to-interact-with-the-github-discussions-api/
Part 2 in the saga of trying to migrate my Disqus comments to giscus!
There are so many great productivity features in #VisualStudio when building APIs with #dotnet! I broke down my favorite in just under 5 minutes!
🏗️ API Scaffolding
👷♀️Dev Tunnels
🐵API Explorer
🧪.http File support
Check it out: https://www.youtube.com/watch?v=yDO6hCZM9yc
Probably should add #dotnet #efcore #aspnet #aspnetcore for this. Basically beware of IQueryable proliferation.
Guidance doc on using async in #aspnetcore and #dotnet
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md
On this week's #Blazor Community Standup:
🚀 Blazor .NET 8 Updates
⭐ Daniel Roth, Jon Galloway, Mackinnon Buck
🗓 Tuesday | May 9
⏰ 10:00 AM Pacific | 17:00 UTC
▶️ https://youtu.be/MaLjiR9YSbs
#dotnet #AspNetCore
Shout out to my favorite Belgian 🇧🇪, @maartenballiauw for fixing #Tailwind support in #aspnetcore #razor files when using #JetBrainsRider.
You now get proper support for Tailwind classes that might not yet exist in your CSS files.
.NET Monthly Roundup - April 2023 - .NET 8 Preview 3, C# 12, and more by @jongalloway
https://dev.to/dotnet/net-monthly-roundup-april-2023-net-8-preview-3-c12-and-more-388e
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
@angelmunoz Neat, I got it working with #aspnetcore. #JavaScript libraries have to be ESM module versions though. That's the one caveat. Otherwise, it works! Woot.
[Quote Repost]
Starting now! Come join us to learn more about #OpenAPI in #AspNetCore!
https://www.youtube.com/watch?v=QBptE35_sCo https://twitter.com/aspnet/status/1653107791786311681
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
I made this short #JetBrainsRider video showing how to debug a Docker Compose solution. It's as simple as hitting the debug button and setting a breakpoint.
Refreshing my knowledge on the upcoming #Blazor QuickGrid component.
While it can work with Blazor WASM, it feels more natural in Blazor Server.
Website maintenance can be a challenge. Sometimes you're not even sure what needs to be done. If you don't know where you sit, I'd be glad to review your site from a customer and administrator perspective and give suggestions.
I specialize in #Aspdotnet / #Aspnetcore / #Blazor / #WordPress websites, but if you have something custom or on another framework, I'd love to check it out.
Introduction to #aspnetcore Minimal APIs by @khalidabuhakmeh 📰
🤔 Why #MinimalAPI?
↩️ Model binding & return types
⚙️ Dependency injection and services
🏷️Filters
🛣️ Routing
🤗 Hugs
Read more! https://jb.gg/p3rwpg #dotnet
#MicrosoftBuild is right around the corner and there is tons of awesome @dotnet content! In-person and online! Check it out: https://devblogs.microsoft.com/dotnet/microsoft-build-2023-and-dotnet/
The introduction of Dev Tunnels in Visual Studio 2022 is a game changer for .NET Developers. It easily enables you to put your localhost online and get a full URL for debugging and sharing. Check it out: https://youtu.be/NPJhrftkqeg
#dotnet #dotnetmaui #visualstudio #aspnetcore #programming #devtunnels #blazor
Visual Studio 2022 keeps adding awesome features for backend API developers. They just added .http/.rest files to easily try out, debug, and test your APIs directly from Visual Studio! I break it all down: https://www.youtube.com/watch?v=uv_jK44WdLg
You can install the #JetBrainsAqua plugin 🌊 in #JetBrainsRider and get a helpful web inspector for #aspnetcore development? 🔥
🖥️ In-IDE browser
👀 Preview your code and rendered view side-by-side
Learn more in this post by @khalidabuhakmeh https://jb.gg/way70h #dotnet #csharp
I've been helping out with this project `Vite.AspNetCore` for #aspnetcore devs.
It starts the #vite dev server, generates and uses the manifest, has tag helpers.
It works with MVC, Razor Pages, and #blazor.
The author, Quetzal Rivera, has done a great job and you should head over and give this project a star.
#aspnetcore Razor is brutal when it wants to be.
@p1xelHer0 Let me know if I can help. I use macOS exclusively and have recently been working on Vite with #aspnetcore. So I can definitely help out :)
RT Olivia Guzzardo
Have you used #aspnetcore in @code in the last year? We'd love to hear your feedback! Fill out our 5 min survey below 👇
https://www.surveymonkey.com/r/39R8LZT
#dotnet #vscode
:sys_twitter: https://twitter.com/OliviaGuzzardo/status/1646866875882536962
I didn't realize #aspnetcore tag helpers had an initializer construct. You can initialize all instances of a specific tag helper. This can be helpful for setting solution wide data without resorting to dependency injection. #dotnet
So I have an idea, but not sure if the infrastructure is there in Razor, but it would make using Web Components much nicer in the #aspnetcore ecosystem.
If Razor had a build step that let you run HTML literals through a third-party process (Vite), then you could process HTML web components with the server-side representations of the elements.
For example, the `fast-accordian` element could include the HTML to avoid the flash of content issue associated with web components.
Does anyone know if #Razor views (MVC, Razor Pages) have lifetime extensibility methods?
Something like "OnCompile"? #dotnet #aspnetcore
Looking at Web Components and thinking, "wouldn't it be cool if #aspnetcore could hook into some of these libraries and use their server-side rendering?"
Anyone else tried doing this in the #dotnet space?
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.
#aspnetcore #razor tricks: Did you know you can remove the `PageModel` entirely and use `@function` to define page handlers and `@inject` to access service dependencies?
This might be preferred when dealing with simple `GET` pages. #dotnet
[Re. @OliviaGuzzardo]
Have you used #aspnetcore in @code in the last year? We'd love to hear your feedback! Fill out our 5 min survey below 👇
https://t.co/zvhhbMpcdv
@structed It's a very cool project. I also have a #dotnet package that provides tag helpers so that it works more seamlessly with #aspnetcore.
Folks seem to be using it, so that's good right? 😅
When writing your #aspnetcore tag helpers, be mindful that `TagName` is not normalized. So if you're creating a multi-element tag helper, you might want to normalize the name for switch patterns and if logic blocks. #dotnet #theMoreYouKnow #development
📢 I highly recommend our latest #dotnet guide, which follows up on Microsoft's article about integration tests in ASP.NET Core. The guide explains how to replace a SQLite database with a containerized instance of any database, enabling you to test your #aspnetcore app or service more effectively: https://testcontainers.com/guides/testing-an-aspnet-core-web-app/.
So I've been doing some #OSS work for a #Vite #aspnetcore integration, and found a great blog post by @thomaslevesque about running tasks on Middleware. While he doesn't recommend the approach in an app you fully control, it works well for the scenario I have.
That said, his project Extensions.Hosting.AsyncInitialization is a great package for anyone looking to run tasks before the host starts.
https://github.com/thomaslevesque/Extensions.Hosting.AsyncInitialization
🏎️#AspNetCore updates in .NET 8 Preview 3
🏁Native AOT
🏁Server-side rendering w/ Blazor
🏁Render Razor components outside #AspNetCore
🏁Sections support in Blazor
🏁Monitor Blazor Server circuits
🏁SIMD by default for Blazor WASM
🏁Request timeouts
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-3/
I just spent an embarrassing amount of time with this #aspnetcore problem. When you call `@addTagHelper` you use the assembly name, not the namespace name.
You folks can talk my professional license now. 🤦♂️
built this sweet random image generator as I experiment with #Fleet development for a mixed development project with #TypeScript and #aspnetcore
Surprisingly effective tooling
#aspnetcore Razor is an underrated way to build server-rendered pages.
I thought I'd recreate the #Blazor demos with #lit web components.
It's pretty neat to have self-contained components that load really fast.
The one drawback I found is Lit components have isolated styles, so components need to import their own styles or your style sheets have to be modified to target the shadow dom elements. #dotnet #JavaScript #aspnetcore
If anyone is interested in seeing what an #aspnetcore solution using #lit web components is like, I've pushed up the sample #Github repository.
It's wild how fast custom web components attach to the DOM.
https://github.com/khalidabuhakmeh/AspNetCoreLitWebComponents
I was able to integrate #Vite and #Lit elements into and #aspnetcore application.
This allows you to create reusable web components that are framework agnostic. Drop them into any HTML page as you would any HTML element.
April's #dotnet Annotated, guest authored by Poornima Nayar!
Also these topics:
🪵 Unit testing ILogger in #aspnetcore
💻 Get the client IP address from behind a proxy
📜 OSS Contributions with #Git & #GitHub
Blogged: Adding client-side validation to ASP.NET Core, without jQuery or unobtrusive validation
In this post I show how you can replace 100kB of jQuery onubtrusive validation with this tiny 4kB library from @haacked!
On this week's #ASPNET Community Standup:
🚀 #AspNetCore Route Tooling Enhancements in .NET 8
👑 James Newton-King (@JamesNK)
🗓 Tuesday | Apr 4
⏰ 4:30 PM Pacific | 23:30 UTC
▶️ https://www.youtube.com/watch?v=QJ_Kv_5LZMs
⚠️Different time this week⚠️
[Re. @jeremylikness]
Improving the authentication and authorization experience in #aspnetcore apps is something our team has been focused on from the release of #dotnet 7. This blog post details our plans for ASP .NET Core 8 and includes a survey link for your feedback.
🚀#AspNetCore updates in .NET 8 Preview 2
▦ Blazor QuickGrid
🚀 Blazor WebAssembly perf with jiterpreter
☑️New minimal API analyzer
📃New APIs in ProblemDetails
🧑🔧Perf improvements to named pipes
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-2/
📰#AspNetCore updates in .NET 8 Preview 1
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-1/
On this week's #ASPNET Community Standup:
🚀 #AspNetCore and Microsoft Graph
⭐ Dan Wahlin
🗓 Tuesday | Feb 21
⏰ 10:00 AM Pacific | 18:00 UTC
▶️ https://live.dot.net

[Re. @dotnet]
Migrating existing #ASPNET apps to #ASPNETCore offers better performance, cross-platform support, and access to all the latest improvements to the modern .NET web platform.
But migrating can be challenging and time-consuming. This will help you navigate: https://t.co/YCCD3pGece

#AspNetCore updates in .NET 7 RC 1
✨Dynamic auth requests in Blazor WASM
✨Blazor WASM debug improvements
✨.NET JavaScript interop on WASM
✨HTTP/2 & /3 improvements
✨macOS dev-certs improvements
+ more!
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-rc-1/
🔥#AspNetCore updates in .NET 7 Preview 7
🆕New Blazor WebAssembly loading page
🪢Blazor data binding get/set/after modifiers
🪄Blazor virtualization improvements
🔃Updated Angular & React templates
🚀gRPC JSON transcoding perf
...and lots more!
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-7/
🆕 #AspNetCore updates in .NET 7 Preview 6
➡️Request decompression & output caching middleware
➡️Empty Blazor project templates
➡️Cryptography support on WebAssembly
➡️Experimental Blazor QuickGrid component
➡️MapGroup extension methods
➕ more!
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-6/
On this week's #ASPNET Community Standup:
🚀 Incremental #AspNetCore Migration
⭐ Featuring Taylor Southwick (@twsouthwick)
🗓Tuesday | June 28
⏰ 10:00 AM Pacific | 17:00 UTC
▶️ https://live.dot.net

On this week's #ASPNET Community Standup:
🔐Implementing Authentication and Security in #AspNetCore
🎙️With Damien Bowden
🗓Tuesday | June 21
⏰10:00 AM Pacific | 17:00 UTC
▶️https://live.dot.net

[Re. @DamianEdwards]
Happy to report that an upcoming #dotnet #aspnetcore preview will make these checkboxes remember their state between projects creation!

🎆#AspNetCore updates in .NET 7 Preview 5
🔹JWT auth improvements + auto auth config
🔹Minimal API’s parameter binding support
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-5/
[Re. @DamianEdwards]
Today's #aspnetcore decoder-ring thread🧵:
AspNetCore.Identity
Allows storing users inc. passwords in your app, login & acct management, Twitter/FB/social login, etc.
https://t.co/FJBkRFvJL2
1/5
On this week's #ASPNET Community Standup:
🏗️ #AspNetCore Architecture - Part 5
⭐ @DamianEdwards @davidfowl
🗓Tuesday | Jun 7
⏰ 10:00 AM Pacific | 17:00 UTC
▶️ https://live.dot.net

[Quote Repost]
Starting now! Come learn about multi-tenant #AspNetCore with @thereformedprog and ask your questions live!
https://www.youtube.com/watch?v=-sz49Qwjao8 https://twitter.com/aspnet/status/1518650559695233024
On this week's #ASPNET Community Standup:
🚀 Multi-Tenant #AspNetCore
⭐ Jon P. Smith (@thereformedprog)
🗓Tuesday | April 26
⏰ 10:00 AM Pacific | 17:00 UTC
▶️ https://live.dot.net

🎺#AspNetCore updates in .NET 7 Preview 3
↔️Route handler filters in minimal APIs
🧪Improved unit testability for minimal route handlers
🪢Bind TryParse in controllers
2️⃣Improved HTTP/2 performance
🌃Developer exception page dark mode
➕And more!
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-3/
[Re. @DamianEdwards]
We're busy discussing, designing, & implementing new features for #aspnetcore Minimal APIs in .NET 7
We'd love for you to get involved! Check out these issues & give your feedback, even if it's just a reaction.
https://t.co/VYHEpCHDwR
📰#AspNetCore updates in .NET 7 Preview 2
⭐Infer API controller action parameters from services
⭐DI for SignalR hub methods
⭐Endpoint descriptions & summaries for min APIs
⭐Bind values from header & querystring in min APIs
⭐Customize cookie consent
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-preview-2/
👉#AspNetCore updates in .NET 7 Preview 1
Read what we've got planned for .NET 7 including:
🚀Performance
3️⃣HTTP/3
🤏Minimal APIs
⚙️gRPC and SignalR
🪒Razor
🔥Blazor
🕸️MVC
⚜️Orleans
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-net-7-preview-1/
🚀Performance improvements in #AspNetCore 6
https://devblogs.microsoft.com/dotnet/performance-improvements-in-aspnet-core-6/
[Re. @DamianEdwards]
Folks using #aspnetcore Minimal APIs to build their HTTP APIs, what are you doing for validation?
#csharp #dotnet
On this week's #ASPNET Community Standup:
✅ Upgrading to #AspNetCore
🌟Featuring Mike Rousos
🗓Tuesday | Jan 18
⏰10:00 AM Pacific | 18:00 UTC
➡️https://live.dot.net

[Re. @jongalloway]
Today at 2 PM Pacific / 22 UTC - join @JamesMontemagno and me today to learn how to create a Web API with #AspNetCore Controllers
