Azure / Azure/azure-functions-dotnet-worker

Analyzer to prevent mixing Sync with Async which causes Synchronous operations are disallowed error

Open
#2,286 0 comments 0 reactions 0 assignees View on GitHub
enhancement supportability: analyzer
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

### Description

1. Create an analyzer that will provide compile time validation and code suggestion to fix/prevent the issue.
2. Add this information to the migration guides (including highlighting the fact that ASP.NET Core behaviors apply when using the integration

See https://github.com/Azure/azure-functions-dotnet-worker/issues/2184

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked issue #2184 and the repository's migration guides to understand the reported synchronous-operation failure and the ASP.NET Core integration behavior. Define the analyzer's validation and code-suggestion scope, then update the migration guidance; done means both compile-time prevention and the requested documentation are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.