#dotnet
Every summary, chronological. Filter by category, tag, or source from the rail.
Tag · #dotnet
Securing .NET AI Integrations Against Prompt Injection
Prompt injection is the AI equivalent of SQL injection. Protect your .NET applications by treating all input—including internal database records—as untrusted, implementing multi-layer sanitization, and using dynamic boundary tokens to isolate user data from system instructions.
Level Up Coding
The Hidden Performance Costs of async/await in .NET
While async/await is often considered 'free,' it introduces a 36x performance penalty and 72 bytes of heap allocation even for synchronous completions due to state machine generation and context capturing.
Showing 2 of 2