Dotnet isolated functions
Skill ericsche/CodingSkills/plugins/codingskills/skills/dotnet-isolated-functions
Custom agent skills for GitHub Copilot & Claude Code, from Microsoft-ecosystem dev experience (Azure, .NET, M365, Graph).
npx -y skills add ericsche/CodingSkills --skill dotnet-isolated-functionsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 20 days oldThe repository was created 20 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run and debug .NET-isolated Azure Functions locally. Use when a cold first request throws "A function with the id ... already exists", when function extensions fail to load under func start, or when choosing between func start and dotnet run.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.6 KB, 327 tokens by cl100k_base, as published. Nobody here has run it
.NET-isolated Azure Functions: local dev
Practical guidance for running .NET-isolated Azure Functions on your machine.
The cold-start double-load error
On a cold first request, func start can double-load functions and throw:
System.InvalidOperationException: Unable to load Function '...'.
A function with the id 'X' name already exists.
This happens when the worker process starts and initializes twice on the first cold POST. Two reliable workarounds:
-
Warm up with a GET first before issuing any write/POST request.
-
Use
dotnet runinstead offunc start. Core Tools itself warns:Running 'func start' directly against a .NET Isolated project may not correctly load function extensions. Use 'dotnet run' instead.
Recommended local workflow
- Prefer
dotnet runfor .NET-isolated projects so extensions load correctly. - If you must use
func start, hit a health/GET endpoint once to warm the host before triggering functions that write. - Observed with Core Tools 4.12.1 / .NET 10 isolated.
Related tooling gotcha
- On the .NET 10 SDK,
dotnet new slncreates an XML.slnxfile (not.sln). Build and reference it by its.slnxname, e.g.dotnet build App.slnx. Using the.slnname fails withMSB1009.