As I gladly accept any kind of performance improvement I can get in my applications, I like to use the System.Text.Json source generator to generate the serialization logic for my Data Transfer Objects. | The art of simplicity
As we see security as a top priority, for every new application that we put in production, we let it be penetration tested first. One remark we got with the last pen test was about the information our servers inadvertently revealed through HTTP response headers. Although I think it is not the biggest possible security issue, exposing details about their technology stack through headers like Server and X-Powered-By, gives some reconnaissance information to potential attackers for free. | The art of simplicity
After making a small change to an ASP.NET core application, I got the following runtime error:| The art of simplicity
Model validation is a crucial aspect of building robust ASP.NET Core applications, ensuring data integrity and providing a smooth user experience. This post explores the various mechanisms for validating data, from built-in attributes and custom validation logic to handling non-nullable reference types and top-level node validation. 1. Model state 2. Validation 3. Validation attributes 4. Error messages 5. Non-nullable reference types and [Required] attribute 6. Custom attributes 7. Refereces...| CODE FARM
Last week I finally started my journey with Microsoft.Extensions.AI after having used only Semantic Kernel for all my agentic AI workflows...| bartwullems.blogspot.com
I thought it’d be worth posting an example of a bigger task I did the other day - just to show what can be done, without crazy vibe-coding, on a non-greenfields app, using ASP.Net Core not some simplistic front-end tooling. This was originally part of a longer post but I thought it was worth splitting - this example is used in my post Clowns to the left of me … The task - Sending a message when data changes We have an ASP.Net core application which includes a relationship between Business...| Korny’s Blog
Yesterday I talked about a breaking change I had inside my ASP.NET Core web api that caused my application to fail. I had a header parameter...| bartwullems.blogspot.com
Although it is not the first time that I stumble over the nullability feature and breaking changes, this one still caught me by surprise. Le...| bartwullems.blogspot.com
With the release of .NET 9 , Microsoft has removed Swashbuckle from the default Web API templates. If you have never heard about Swashbuckl...| bartwullems.blogspot.com
Who doesn’t like a nice bit of ‘ASCII Art’? I know I certainly do!| Performance is a Feature!
Give your ASP.NET 4.x apps a refresh with the latest OWIN updates and Proof Key for Code Exchange| Scott Brady
Getting started with mkcert for IIS TLS certificates and ASP.NET Core client certificate authentication| Scott Brady
The software and web development industry is experiencing new twists and turns every year with the introduction of new trends, languages, frameworks, etc. With the advancement in technology, developers have an ample range of versatile languages to choose from for developing platforms with advanced functionality. This is where Node.js and ASP.NET come into the picture […] The post Node.js Vs ASP.NET – Battle of Two Server-Side Languages appeared first on Simple Programmer.| Simple Programmer
…and why you should report it (maybe).| markitzeroday.com
Automated tests are pretty awesome to be honest! They make life a lot simpler in many ways. And even if a lot of people are talking about how we need to do unit testing, I find integration testing much more valuable to be honest.| Fear of Oblivion
Testing a website is usually considered just another day at work, Burp Suite is usually the tool of our choice for automating some of the scans that apply in this field. Assessing the authenticated part of the site is also common, and since Burp can be used as an HTTP proxy, it can capture our session tokens (usually HTTP cookies) and perform scans just like we’d do as humans. This token is usually remain unchanged over the time of the session, and the session itself is kept alive by the sc...| Silent Signal Techblog
Rate limiting is a way to control the amount of traffic that a web application or API receives, by limiting the number of requests that can be made in a given period of time.This can help to improve the performance of the site or application, and to prevent it from becoming unresponsive.| Maarten Balliauw {blog}