Choose diagnostic tools and collect performance traces for production .NET problems such as high CPU usage, memory growth, or slow requests. Get environment-specific collection commands and guidance on which tools to use for later analysis.
- Collecting traces during high CPU usage or slow requests
- Choosing diagnostic tools for Windows or Linux
- Collecting diagnostics from containers or Kubernetes
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Design, configure, run, and review BenchmarkDotNet measurements of small .NET operations. Compare implementations, runtime versions, or input sizes, while controlling setup work, measurement errors, and case counts so results support a concrete performance decision.
- Compare the performance of alternative implementations
- Reproduce a reported performance problem
- Measure performance before and after a code change
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Review mock configurations in .NET tests by tracing the production code each test exercises. Identify unused, unreachable, duplicated, or replaceable setups, explain concrete fixes, and distinguish them from appropriate mocks for databases, HTTP clients, and other external services.
- Finding unused or unreachable mock setups
- Consolidating duplicated mock configurations
- Reviewing ILogger and IOptions replacements
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Plan initialization, state saving, restoration, and cleanup around .NET MAUI app lifecycle events. Understand how Window events map to each platform, distinguish lost focus from backgrounding, and account for multiple windows.
- Saving drafts and form inputs when an app enters the background
- Restoring state and refreshing data when an app resumes
- Choosing lifecycle events for initialization and cleanup
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Create or review Blazor components, reusable parts of a web interface. Covers passing data and events between parent and child components, content templates, asynchronous work, display states, and resource cleanup when components are removed.
- Creating reusable Blazor interface components
- Reviewing data and event flow between parent and child components
- Implementing debounced actions and periodic updates
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Diagnose and fix .NET MAUI development environment problems involving SDKs, Java, Android tools, and platform requirements. The skill discovers required versions from NuGet metadata and checks the environment again after each fix.
- Setting up a .NET MAUI development environment
- Investigating missing SDK or JDK build errors
- Checking the environment after SDK or OS updates
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Investigate .NET app crashes on Apple platforms by converting runtime addresses in .ips logs into function names, source files, and line numbers. It locates matching debug symbols and supports retrieving logs from connected iOS devices.
- Investigating .NET MAUI or Mono crashes on Apple platforms
- Resolving runtime addresses to source files and line numbers
- Retrieving crash logs from a connected iPhone
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Add, review, or fix calls between Blazor and JavaScript. Organize JavaScript modules alongside components, control when calls run, combine related operations, and clean up references with handling for server disconnections.
- Call JavaScript from a Blazor component
- Send JavaScript events back to .NET
- Fix calls that run before rendering is complete
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Plan and implement complex Blazor pages by dividing them into focused components. Define parent and child relationships, decide where data is managed, map data and events between components, and establish the order for building them.
- Building dashboards with multiple sections
- Planning screens with sidebars and content panels
- Defining data ownership and flow between components
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Diagnose why MSBuild builds across multiple projects fail to run efficiently in parallel. Use build logs and project dependencies to identify blocking chains, then recommend changes to references, scheduling, or parallel execution settings.
- Investigate builds that do not get faster with -m
- Identify project dependency chains that delay builds
- Review whether graph builds fit a solution
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Review database access built with Entity Framework Core to find slow queries, excessive database calls, memory costs, and correctness issues. It traces application code and uses available SQL logs or execution plans to support targeted fixes.
- Reviewing slow EF Core queries and excessive database calls
- Investigating memory use in imports and background jobs
- Checking search filters, pagination, and index coverage
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Adjust .NET MAUI layouts to avoid system bars, screen cutouts, and keyboards, or extend content to screen edges. It covers .NET 10 safe area APIs, migration from older settings, and CSS coordination for Blazor Hybrid.
- Fixing status bar overlap after upgrading to .NET 10
- Keeping chat inputs visible above the keyboard
- Creating edge-to-edge photo or video screens
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Choose when MSBuild copies files to build or publish folders. The skill explains settings that avoid unnecessary copies, restore output files changed by tests or apps, and apply shared copy behavior across existing projects.
- Reducing unnecessary file copies on every build
- Restoring test databases changed between builds
- Choosing copy settings for configuration files
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Diagnose MSBuild failures from an existing binary build log. Inspect errors, settings, project references, and execution details to explain failures that console output alone does not clarify, including failures across multiple projects.
- Investigating build errors with unclear console output
- Tracing cascading failures across multiple projects
- Checking MSBuild target execution order
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Select technologies for AI and machine learning features in .NET 8+ applications. Get task-specific plans or implementation guidance for structured predictions, text generation, document retrieval, tool-using agents, and running pretrained models locally or in production.
- Choosing libraries for classification or prediction in .NET
- Adding text generation or summarization to an application
- Designing document retrieval with source-backed AI answers
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Run small C# apps without creating a project, using the .NET CLI, its command-line tool. Use it to test language features, explore APIs, or prototype utilities with helper files and NuGet packages.
- Trying C# language features or APIs
- Prototyping logic before project integration
- Building a small utility with helper files
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Optimize .NET loops with SIMD, which processes multiple values in one operation, or review existing SIMD code. Check behavioral equivalence, memory safety, platform fallbacks, and benchmarks to establish whether the optimization is correct and worthwhile.
- Optimize numeric loops with SIMD
- Review existing vectorized code for correctness
- Test boundary lengths and overlapping buffers
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Analyze .NET test suites for repeated setup, assertions, and copied test methods. Get a report with file locations, before-and-after refactoring examples, priorities, and readability trade-offs, without changing the source files.
- Finding repeated setup and assertions
- Combining copied tests into parameterized tests
- Identifying shared setup and cleanup opportunities
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Write and review .NET calls to native C/C++ libraries using P/Invoke. Covers function declarations, string conversion, memory ownership, and platform differences to help investigate crashes, memory leaks, and corrupted data.
- Create .NET declarations from C/C++ headers
- Investigate crashes and memory leaks in native calls
- Review string encoding and memory ownership
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Analyze CLR activation logs to explain how .NET Framework selects and loads its runtime, the software that executes managed code. Diagnose loading failures, unexpected version choices, installation dialogs, and conflicting activation paths within a process.
- Investigating failures to load the .NET Framework runtime
- Explaining why an unexpected CLR version was selected
- Tracing .NET 3.5 installation dialogs or their absence
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Build page navigation in .NET MAUI apps using Shell. Configure tabs and slide-out menus, register page routes, pass data between pages, and add confirmation dialogs before users leave a page.
- Setting up tabs and slide-out menus
- Passing data to a detail page
- Confirming before leaving unsaved changes
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Capture MSBuild execution records as binary logs during .NET builds, tests, packaging, publishing, or restores. It explains unique filenames, PowerShell quoting, and file checks so logs remain available for later failure or performance analysis.
- Saving logs before investigating a build failure
- Keeping separate logs for Debug and Release builds
- Choosing log filenames for CI artifact uploads
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Configure dependency injection in .NET MAUI, a way to supply objects with the services they need. Covers service registration, instance lifetimes, page and ViewModel constructors, Shell navigation, platform implementations, and test substitutions.
- Register services, Pages, and ViewModels
- Choose shared or freshly created service instances
- Connect Shell navigation with constructor injection
dotnet/skills☆ 5.7KUpdated Oct 21, 2026
Convert an older Blazor Server app into a .NET 8+ Blazor Web App while preserving interactive server behavior. It guides changes to page structure, startup configuration, authentication state sharing, and validation of the converted app.
- Converting a .NET 6 or .NET 7 Blazor Server app
- Moving the host page into App.razor
- Updating authentication state sharing
dotnet/skills☆ 5.7KUpdated Oct 21, 2026