How To
Solr Search in .NET Core
1/10/2025 8:00:15 AM 341
.NET Core offers robust support for interacting with the Solr search engine.
Handling 415 Unsupported Media Type in .NET Core API
1/10/2025 7:53:51 AM 475
In .NET Core APIs, the default content type for incoming requests is application/json.
HttpClient Follow 302 Redirects in .NET Core
1/10/2025 7:36:57 AM 181
In .NET Core, the HttpClient class does not automatically follow HTTP redirects, including 302 (Found) and 301 (Moved Permanently) responses.
Accessing Users from IdentityServer in .NET Core
1/10/2025 7:31:21 AM 96
If you ever find yourself needing to directly access the IdentityServer users database, you might notice that the API can feel somewhat awkward.
API Versioning in C# .NET Core
1/10/2025 7:20:27 AM 146
In .NET Core, managing API versions is a critical aspect of maintaining backward compatibility and evolving your APIs without breaking existing clients.
Create a minimal API with ASP.NET Core
1/10/2025 7:10:20 AM 121
Ever wished you could skip all the boilerplate code that comes with controllers in your Web API?
Missing 'Access-Control-Allow-Origin' Header on Preflight Request
1/10/2025 4:32:49 AM 177
If you're encountering the following error when trying to call a CORS-protected .NET Core API endpoint from a browser:
Generate C# Class from SQL
1/10/2025 4:15:08 AM 210
I’m sure many developers share my frustration with “plumbing code” those tedious tasks that involve generating entity model classes that mirror SQL tables.
.NET Swagger API Versioning
1/10/2025 3:52:33 AM 232
When building APIs, versioning is an essential practice to ensure that your API evolves without breaking existing consumers.
Handling Serialization Issues in .NET Core
1/10/2025 3:46:37 AM 256
When developing APIs with .NET Core, proper exception handling is crucial to ensure your application responds with meaningful error messages.
Implementing Authorization in .NET Core APIs
1/10/2025 3:30:02 AM 121
When building APIs in .NET Core, not all endpoints need the same level of security or authorization.
How to convert a byte size to string in C#
1/10/2025 3:03:36 AM 135
When dealing with byte sizes in C#, you often need to present the size in a more understandable format, such as KB, MB, GB, or TB.