Protecting Your APIs with Rate Limiting in ASP.NET

Programming

Learn how to protect your ASP.NET Core APIs from DDOS abuse with built-in rate limiting in .NET 7+. Explore fixed window, sliding window, token bucket, and concurrency strategies, with code examples, benchmarks, and real-world best practices to keep your services secure and reliable.

Read more...

Bash Tips & Tricks - Advanced

Information

Unlock advanced Linux command-line tips and tricks: automate responses with yes, create and manage directories efficiently, using loops, inspect open files and network connections using lsof, and more expert-level CLI techniques.

Read more...

Bash Tips & Tricks - The Basics

Information

Tips & Tricks for the Linux Bash from Beginner to Master. Quick Linux command-line tips to search log files, count connection errors, compare files, check PostgreSQL status, manage file permissions using chmod, and monitor system usage and more.

Read more...

Comparison of API Technologies

Information

Comprehensive comparison of REST, GraphQL, and gRPC for C# .NET developers. Explore pros, cons, use cases, tooling, and real-world advice.

Read more...

C# using a Local Language Model with LM Studio to Sort Screenshots

Programming

Learn how to use a local language model with C# and LM Studio to automatically sort screenshots into categories using AI and Vision Language Models (VLM).  Utilize the power of visual recognition with .NET!

Read more...

Smarter APIs with GraphQL

Programming

While REST is not going away anytime soon and remains perfectly suited for many use cases, GraphQL offers significant advantages for applications where flexibility, efficiency, and rapid development cycles are critical. By enabling more precise data fetching, reducing the number of network requests, and improving the overall developer experience, GraphQL is helping to shape the future of API development.

Follow this step by step guide to setup your first GraphQL Client and Server in C# with .NET!

Read more...

Handling Large Files: BufferedStream vs LINQ's Chunk method

Programming

The choice between using BufferedStream and the LINQ Chunk extension method for operating with very large files depends on your specific use case and requirements. Here we discuss the pros and cons for each.

Read more...

LLM Temperature Explained

Information

Temperature is a key parameter in large language models (LLMs) that controls the randomness of generated text. It adjusts the probability distribution used when predicting the next token in a sequence. A lower temperature makes the model more deterministic, favoring highly probable tokens and producing more consistent, coherent outputs — ideal for factual or technical tasks. A higher temperature increases randomness by allowing the selection of less probable tokens, leading to more varied  and creative responses, though sometimes at the cost of coherence.

Read more...

AI

AI Tools Are Hallucinating Software Dependencies – And Cybercriminals Are Taking Advantage

Information

Discover how AI-generated code from large language models (LLMs) is introducing new cybersecurity risks through hallucinated software dependencies and slopsquatting.  Learn how attackers exploit these vulnerabilities and what developers can do to stay safe.

Read more...

Locale Functions and Clean Code Principles

Programming

Local functions are methods of a type that are nested in another member. They can only be called from their containing member.  Local functions provide a clean way to organize code while potentially improving performance and maintaining better encapsulation.  Local functions should enhance readability and performance without violating Clean Code Principles.  If they make the code harder to understand or maintain, that's a sign they should be refactored into regular methods.

Read more...

C#