Blazor vs React is a question every .NET developer eventually asks. Blazor lets you build interactive web UIs with C# instead of JavaScript. If you're already a .NET developer, this means one language ...
When using StreamContent with HttpClient.PostAsync in Blazor WASM, the whole file is loaded into memory before initiating the HTTP call Now try running the following code in both a console app with ...
How to implement logging, read from the configuration system, and use dependency injection in minimal APIs in ASP.NET Core 6. ASP.NET Core 6 introduces a simplified hosting model that can be used to ...
In the scaffolding for Controllers, a warning is included in the HttpPost endpoint: // To protect from overposting attacks, enable the specific properties you want to ...
ASP.NET Core has an excellent Dependency Injection feature through which this framework provides you with an object of any class that you want. So you don’t have to manually create the class object in ...
In an earlier post here we explored parameter binding in Web API. In this post, we will learn how to pass multiple parameters to Web API controller methods. Web API provides the necessary action ...
5 May, 2015. It was a Tuesday. CQRS is a simple pattern – two objects for command/queries where once there was one. These days just about every system I build utilizes CQRS, as it’s a natural ...
Peter responds to a question: How, in an ASP.NET MVC form, can the user be given two submit Buttons that do two different things? In addition to doing development work for my clients and writing these ...