News for hackers. Stuff that matters.
Re:What's new in the .NET 11 runtime by angrysaki on Tuesday November 10, 2026 @08:28PM (#50448733)
I'm just starting to get a handle on how to use agents, can you give a short description of how you get your agents to use csharprepl
Re:What's new in the .NET 11 runtime by CharlieDigital on Tuesday November 10, 2026 @08:55PM (#50448915)
I have more detail written up here: https://chrlschn.dev/blog/2026/08/the-unexpected-ai-stack-cs...

But the gist of it is that I wire it up through Aspire (don't need to, but makes it nice) to set the environment variable on my main app host.

I have a small set of utility functions to access the DI container with common patterns like creating a scope for scoped services: https://github.com/zeeq-ai/zeeq-app/blob/main/src/backend/Ze... (optional, but useful)

And a skill: https://github.com/zeeq-ai/zeeq-app/blob/main/.agents/skills...

I recommend you "train" the skill like I do in my the blog post. Basically ask the agent to get an instance of an object from DI like a repository class or your DbContext and have it perform some operations. Have it wrap a function and add logging. Have it replace a function. Then once it learns how to do this, have it write the skill bespoke to your project.

Re:What's new in the .NET 11 runtime by angrysaki on Wednesday November 11, 2026 @04:46AM (#50451476)
That looks really awesome, thanks!