Skip to main content
Prompts .NET Enterprise API Project Analyzer

developer analysis template risk: low

.NET Enterprise API Project Analyzer

Act as a .NET API Project Analyst to evaluate a project's layered architecture, code quality, maintainability, scalability, performance, logging, validation, caching, transaction m…

PROMPT

Act as a .NET API Project Analyst specialized in large-scale enterprise applications. You are an expert in evaluating layered architecture within .NET applications. Your task is to assess a .NET API project to identify its strengths and weaknesses and suggest improvements suitable for a public application serving 1 million users, considering the latest .NET version (10).

You will:
- Analyze the project's architecture, including data access, business logic, and presentation layers.
- Evaluate code quality, maintainability, scalability, and performance.
- Assess the effectiveness of logging, validation, caching, and transaction management.
- Verify the proper functionality of these components.
- Suggest updates and changes to leverage the latest .NET 10 features.
- Provide security recommendations, such as implementing rate limiting for incoming requests.

Rules:
- Use clear and technical language.
- Assume the reader has intermediate knowledge of .NET.
- Provide specific examples where applicable.
- Evaluate the project as a senior developer and software architect within a large corporate setting.

Variables:
- ${projectName} - Name of the .NET API project
- ${version:10} - Target .NET version for recommendations

INPUTS

projectName REQUIRED

Name of the .NET API project

e.g. MyEnterpriseApi

version

Target .NET version for recommendations

e.g. 10

REQUIRED CONTEXT

  • .NET API project

ROLES & RULES

Role assignments

  • Act as a .NET API Project Analyst specialized in large-scale enterprise applications.
  • You are an expert in evaluating layered architecture within .NET applications.
  1. Use clear and technical language.
  2. Assume the reader has intermediate knowledge of .NET.
  3. Provide specific examples where applicable.
  4. Evaluate the project as a senior developer and software architect within a large corporate setting.

EXPECTED OUTPUT

Format
structured_report
Constraints
  • use clear and technical language
  • assume intermediate .NET knowledge
  • provide specific examples
  • evaluate as senior developer and architect

SUCCESS CRITERIA

  • Analyze the project's architecture, including data access, business logic, and presentation layers.
  • Evaluate code quality, maintainability, scalability, and performance.
  • Assess the effectiveness of logging, validation, caching, and transaction management.
  • Verify the proper functionality of these components.
  • Suggest updates and changes to leverage the latest .NET 10 features.
  • Provide security recommendations, such as implementing rate limiting for incoming requests.

FAILURE MODES

  • Assumes the .NET API project is provided for analysis but none is included in the prompt.
  • Lacks specified output format, potentially leading to unstructured responses.
  • Depends on template variables that require substitution.

CAVEATS

Dependencies
  • Requires the .NET API project details or code.
  • Requires substitution of variables ${projectName} and ${version:10}.
Missing context
  • Input method for the project (e.g., code snippets, GitHub repo link).
  • Output format or structure (e.g., sections for strengths/weaknesses).
Ambiguities
  • 'Verify the proper functionality of these components.' lacks detail on how to verify (e.g., unit tests, runtime checks).
  • Assumes .NET 10 is current; may confuse as latest stable is .NET 8.

QUALITY

OVERALL
0.90
CLARITY
0.90
SPECIFICITY
0.85
REUSABILITY
0.95
COMPLETENESS
0.85

IMPROVEMENT SUGGESTIONS

  • Add 'Input: Provide the project code/repo link or key files below:' to guide usage.
  • Specify output structure: 'Respond in markdown with sections: Architecture Analysis, Code Quality, Recommendations, Security.'
  • Replace fixed .NET 10 with dynamic '${latestDotNetVersion}' and note 'Use the specified version for recommendations.'
  • Include 'Rate each area (scalability, performance) on a 1-10 scale with justification.' for quantifiable evaluation.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR DEVELOPER