#ASPNETCore
I added a few more examples for #aspnetcore testing with Test Containers to this repository for integration #testing. #dotnet
To try out the repository, you'll need #dotnet 8 SDK installed and #Docker for Desktop.
A Guide to Embed Reporting in ASP NET Core Web Applications - https://positiwise.com/blog/embed-reporting-asp-net-core-web-applications
The Complete Process to Configure Reporting REST Service in #ASPNETCore Web Application.

Modernizing and Migrating Legacy CRM to .NET - https://positiwise.com/our-work/modernizing-and-migrating-the-legacy-crm-to-net
Modernized legacy CRM with #ASPNETCore API, Angular front-end, and AWS and migrated to the cloud for scalability and availability. Improved UX with responsive design.

Hey devs! Did you see this?
Plugin Architecture in ASP.NET Core — How To Master It
https://medium.com/@devleaderca/plugin-architecture-in-asp-net-core-how-to-master-it-2f794d11c5c7
Me habia reventado la #API xD
No se que he tocado pero ya furula OwO
200 OK👀
#aspnetcore #dotnet #csharp #visualstudio #coding #restapi #restful #vtuberES #otakubinary

@array I like the answers from @khalidabuhakmeh.
You can also just install the #dotnet 7 sdk and #vscode to get started. All #foss.
I'd suggest that your first decision is what kind of UI to create. Console is easy, #aspnetcore is quite common, #blazor is very cool, and there are several others if you want to target windows, iOS, android, Mac, etc.
#dotnet Tests: Too Broad Means More Code Exercised But Less Asserted #aspnetcore
https://www.youtube.com/watch?v=I_jFq8YXkmw
#programming #coding #softwareengineering #softwaredeveloper #softwaredevelopment
Ya tengo una api REST en C# que hace CRUD
Create (POST)
Read (GET)
Update (PUT)
Delete (DELETE)
Siguiente paso... a ver como subo imágenes xD
#api #rest #dotnet #csharp #aspnetcore #netcore #net #visualstudio #sqlserver #restful #json #animes #otakubinary
AspNetCore.JsonStreamer 0.2.0 is out now!
JSON Lines streaming serializer on ASP.NET Core, uses standard type of IAsyncEnumerablt<T>.
It is simply to use, add AddNewtonsoftJsonStreamer() instead of AddNewtonsoftJson().
Blogged: Should you use the .NET 8 Identity API endpoints?
https://andrewlock.net/should-you-use-the-dotnet-8-identity-api-endpoints/
In this post I discuss the new Identity API endpoints and talk about some of the security and architectural issues they may introduce.
.NET Core vs Node JS - https://positiwise.com/blog/net-core-vs-node-js
Unsure whether to build your next app in .NET Core or Node.js? We break down the key differences in performance, scalability, community & more.

This was a big milestone for us. I had to design and implement a licensing schema that would be secure yet not cumbersome to the consumer. And then create a server (with #aspnetcore of course) to generate and validate those licenses.
I've added requests cancellation capabilities to all (ASP.NET Core, Blazor, .NET Console) my NDJSON and JSON streaming samples.
The `JetBrains.Annotations` package can improve #aspnetcore code completion and navigation for folks using your code! 🔮
Check this post by @khalidabuhakmeh and add some quality-of-life improvements for those using your in-house #dotnet framework or OSS library.
C#: Using The Builder Pattern For Test Data #aspnetcore #dotnet
https://www.youtube.com/watch?v=-UoVvD6dLn4
#programming #coding #softwareengineering #softwaredeveloper #softwaredevelopment
The blog post announcement for #aspnetcore templates in #dotnet 8 RC 1 and SPA templates doesn't mention #Vite. 🤔
@bitbear @torb I’ve tried to make HTMX here as close to the constructs that #aspnetcore devs are used to, so it works nicely.
I will also add that the idea is to build UIs with progressive enhancement in mind, so even if JavaScript fails, the HTTP requests should still carry someone to a "workable" experience.
ASP NET Boilerplate Framework – Quick Start Guide - https://positiwise.com/blog/asp-net-boilerplate-framework
An in-depth guide to ASP NET Boilerplate features for rapidly building modern web applications.
Modular architecture, best practices, & productivity tools for #AspNetCore and #Angular.

I guess I'm doing something wrong when I try to use SignInManager.CreateUserPrincipalAsync in #aspnetcore Identity
Using Scriban, by @xoofx, to do #liquid templating in your #dotnet applications might be the thing folks need for their #aspnetcore minimal API approach.
@jchannon would be interested in this I bet.

When you realize the default #aspnetcore template excludes the period from the link. #why #dotnet

Very happy to see that ASP.NET Core in Action, Third Edition is now shipping from Amazon! 🎉
Even better, it's apparently the No. 1 new release in Microsoft .NET 😄
Thanks to everyone that's bought it!
No reviews yet though - if you've already read it, I'd really appreciate it if you could leave an honest review 🙏 It really helps boost the visibility! Thanks again everyone 🙂

Blogged: Introducing the Identity API endpoints - Exploring the .NET 8 preview - Part 8
https://andrewlock.net/exploring-the-dotnet-8-preview-introducing-the-identity-api-endpoints/
In this post I introduce the new Identity APIs, show how they differ from the existing Identity support, and show how to use them.
#JetBrains is running a 65% off the first year for #JetBrainsRider. That’s $4/mo! 😱
We also offer perpetual fallback licenses. This should get you into the #dotnet 8 era for development on #Windows, #Linux, and #macOS.
Rider supports #aspnetcore, @avaloniaui, #MAUI, #Unity, and other .NET stuff.
Check it out before firing up the grill for Labor Day. 🇺🇸🌭🍺

@jchannon @andrewlock I think you just hit on something.
#aspnetcore has a shared hosting model. It's not all or nothing, so don't try to shoehorn forms into minimal APIs (but you know people are going to try haaaaard).
At least this will keep me employed for a while. 😅
@flq @andrewlock 1. I’m not an MVP 😅
2. You should ask the #aspnetcore team. 😬
Blogged: Form binding in minimal APIs - Exploring the .NET 8 preview - Part 7
https://andrewlock.net/exploring-the-dotnet-8-preview-form-binding-in-minimal-apis/
In this post I discuss the new form binding support for minimal APIs, the current limitations and rough edges, and how to work with antiforgery tokens
Playing around with #dotnet 8 #AOT with @maartenballiauw and #aspnetcore.
I can finally flex my ADO.NET skills on Maarten. We’ve gotten old enough that what was not cool is now the only way to be cool. 😎

@jchannon Btw, if you mix JetBrains.Annotations with the RazorSlices library, you get view resolution in #JetBrainsRider. #JetBrains ftw! #aspnetcore #dotnet

Getting Started with xUnit for Unit Testing #dotnet #aspnetcore #xunit
https://www.youtube.com/watch?v=Iqix-Ei8Id8
#programming #coding #softwareengineering #softwaredeveloper #softwaredevelopment
ICYMI: 📢 Blogged: Blazor in .NET 8 - Part 2: Server-side & Streaming Rendering
In this post I talk about server-side and streaming rendering, two of the new render modes coming to Blazor in .NET 8
#dotnet #blazor #aspnet #aspnetcore #webdev
https://chrissainty.com/blazor-in-dotnet-8-server-side-and-streaming-rendering
.NET 8 brings Blazor Server Side Rendering for your web apps.
But what about going "the other way" and accepting user input?
For that it's time to re-visit the humble form…
📢 Blogged: Blazor in .NET 8 - Part 2: Server-side & Streaming Rendering
In this post I talk about server-side and streaming rendering, two of the new render modes coming to Blazor in .NET 8
#dotnet #blazor #aspnet #aspnetcore #webdev
https://chrissainty.com/blazor-in-dotnet-8-server-side-and-streaming-rendering
New blog post on using embedded #aspnetcore appsettings files for when you don't want the loose files as part of your published #dotnet app:
ICYMI: 📢 Blogged: Blazor in .NET 8 - Part 1: Full stack Web UI
This is the first in a series looking at the big, exciting new changes coming to Blazor in .NET 8
#blazor #dotnet #aspnet #aspnetcore
https://chrissainty.com/blazor-in-dotnet-8-full-stack-web-ui
I have mixed feelings about #dotnet 8 preview 7 KeyedServices, and questions.
- `FromKeyedServices` only works on parameters in dependencies, not on #aspnetcore endpoints. An oversight? (Probably).
- Why not take a dependency on the concrete type rather than using a key? I mean, you’re already coupling to an implementation at that point.
- Is this too much machinery?
What are your thoughts? What am I missing?
This feels like an addition because customers asked for it.

The CFP (call for presenters) for #vslive Las Vegas in March 2024 is now online. If you talk about #dotnet #VisualStudio #aspnetcore #blazor #dotnetmaui #devops #sqlserver #azure #kubernetes #angular #react #vue and other related technologies, please consider submitting a couple talks.
Blogged: Keyed service dependency injection container support - Exploring the .NET 8 preview - Part 6
https://andrewlock.net/exploring-the-dotnet-8-preview-keyed-services-dependency-injection-support/
In this post I describe how keyed services work, when to use them, and the current limitations in the implementation.
You might want to use JetBrains.Annotations, if you’re using Feature Folders for #aspnetcore #mvc. The JetBrains.Annotations package tells #JetBrainsRider and #ReSharper where views can be located.
Here’s a quick screenshot of how to do that. #dotnet

Blogged: ASP.NET Core in Action, Third Edition is now in print! 🎉
https://andrewlock.net/asp-dotnet-core-in-action-third-edition-is-now-in-print/
In this post I describe what's new and what's covered in this 984 page tome 📚
You'll also find a discount code to get 45% off at Manning, but hurry, it's only valid until August 17th!
🗣I'm excited to announce that my new book 📕 ASP .NET Core in Action, Third Edition 📕 has been published and is available in print 🎉📚
What's more, today only (August 3rd), you can get 45% off my book at Manning: http://mng.bz/5mRz
In the latest edition, you'll learn about .NET 7, minimal APIs, and WebApplicationBuilder, as well as Razor Pages, authentication and authorization, and creating custom components!
Looking at Piranha CMS, part of the #dotnet foundation, it’s very impressive. It is a CMS for the #dotnet space that is powerful enough to get started and provides a lot of extensibility points.
The documentation is also very good. I added an “emoji” block within a few minutes.
All built on #aspnetcore
If you’re building Multi-tenant #dotnet #aspnetcore applications, give FinBuckle a look over. It seems like a very well-thought solution with a lot of scenarios covered already. https://www.finbuckle.com/MultiTenant
Hey folks, share some of your favorite .NET Performance blog posts, and tell me why you liked it and why it was so helpful.
I'll start:
- Adam Sitnik's "Span": https://adamsitnik.com/Span/
It's a great introduction to the usage of spans for efficient array management.
- Stephen Toub's .NET 7 perf improvements https://devblogs.microsoft.com/dotnet/performance_improvements_in_net_7/ - All that's new!
- Stephen Toub's .NET 6 perf improvements https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/ - I worked on FileStream improvements
The #dotnet project, Esquio, provides a tag helper to enable/disable parts of your Razor view that are all processed on the server.
These toggles can be as simple as “on” or “off”, or they can use the incoming request to determine if a user sees the feature.
This is great for A/B testing and is made possible by a pretty awesome #aspnetcore tag helper.
It also provides options for a wide-range of programming options.

I’m going to miss #aspnetcore tag helpers when the Blazorpocalypse happens 😢
If you’re even remotely interested in #WebAssembly and #dotnet, you should watch our latest webinar. It’s in my top webinars of the year because it’s new and exciting information, and Joshua has so much brain food for you to chew on.
Also, remember to like and subscribe :) #Blazor #aspnetcore
Later today on Inside .NET, Dru Sellers joins us live to chat about MassTransit and how it helps #dotnet developers easily build distributed applications 👨🏾💻
Join us at 12pm ET 👇🏾
https://www.youtube.com/watch?v=w0k9i4ZDyiI
I uploaded a sample #dotnet project for #Blazor united showing all the paradigms in the next release of #aspnetcore.
There are four that stick out, but I may have missed some:
- Server-side (Plain-old HTML)
- Server-side Streaming (HTML, but streamed as processing occurs on the server)
- Blazor Server (Web sockets)
- Blazor Wasm
Give it a try :)
I created a #Blazor sample with all the paradigms in #dotnet 8:
- Server rendered (no web sockets or Wasm)
- Server-rendered streaming (no web sockets or Wasm, but faster TTFB)
- Blazor Server (web socket)
- Blazor Wasm isolated components (Wasm)
This gives #aspnetcore devs more options for building experiences with Blazor.
Which of these do you find most compelling, and why?

So it turns out that #aspnetcore MVC can adequately handle a return value of `IResult` and execute it appropriately.
So I guess you can implement an `IResult` but then have to implement a base controller or extension methods to make it part of the controller implementation. 🤔

Hey #aspnetcore devs. If I wanted to write a result that could be used in #MVC, #Razor #Pages, and Minimal APIs, what interface/base type would I implement?
Is it `IResult` or `IActionResult` or is it not possible?
Check it out! #Blazor United doing server-side rendered pages. Not a WebSocket or Wasm anywhere to be seen in the Chrome dev tools.

I was looking through #nuget and found this #dotnet #oss project that lets you create a different web server outside of #aspnetcore.
![using Sisk.Core.Http;
using static Sisk.Core.Routing.RouteMethod;
var http = HttpServer.Emit(
insecureHttpPort: 5000, host: out _, configuration: out _,
router: out var router
);
router.SetRoute(Get, "/", _ => new(200) {
Content = new StringContent("Hello, World")
});
router.SetRoute(Get, "/hi/<name>", req =>
{
var name = req.Query["name"];
return new(200) {
Content = new HtmlContent($"<h1>Hello, {name}</h1>")
};
});
http.Start();
Console.WriteLine($"HTTP Server is listening on {http.ListeningPrefixes[0]}");
await Task.Delay(-1);](https://cdn.masto.host/frontendsocial/cache/media_attachments/files/110/730/730/174/606/126/small/9e569ac82bf9f791.png)
Folks who do #aspnetcore development with a #javascript frontend framework (#vuejs, #angular, #react), is your frontend code part of the #dotnet solution, or have you split the backend and frontend into separate isolated folders?
I have thoughts, but would love to hear what your thoughts are. Boosts are appreciated.