Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds, reviews, and migrates .NET Azure Functions to the isolated worker model, covering bindings, DI, and Durable Functions.
95% 100%+5 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
3 of 3 safety checks passed
// WRONG - Using in-process types in isolated worker
public class BrokenFunction
{
[Function("BrokenHttp")]
public async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get")] HttpRequestMessage req) // Wrong type
{
// HttpRequestMessage is in-process model
return new OkResult();
}
}
// CORRECT - Using isolated worker types
public class CorrectFunction
{
[Function("CorrectHttp")]
public async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get")] HttpRequest req) // Correct type
{
return new OkResult();
}
}
// WRONG - Using service locator anti-pattern
public class ServiceLocatorFunction
{
[Function("BadDI")]
public async Task Run(
[QueueTrigger("myqueue")] string message,
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.