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 20, 2026
Integrate files generated during MSBuild into compilation or build output. Address missing generated source and content by choosing target timing, using the configured intermediate directory, and registering files so Clean can remove them.
- Including generated .cs files in compilation
- Copying generated configuration or data files to output
- Fixing file patterns that miss files created during a build
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Review and fix how MSBuild manages lists of files and their metadata, or attached information. Check Include, Remove, Update, filtering, path transformations, duplicates, and execution grouping to clarify whether item operations behave as intended.
- Reviewing Include, Remove, and Update usage
- Investigating duplicate or overlapping file entries
- Checking metadata-based execution grouping
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Implement data loading and API submissions in Blazor, including loading indicators, error handling, and cancellation when navigation changes. Configure HttpClient and organize data services for components that run on the server or in the browser.
- Load API data into a Blazor page
- Show saving status and prevent duplicate submissions
- Cancel and reload data when route parameters change
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Configure and troubleshoot custom build logic in MSBuild. Check hooks, import order, control properties, and NuGet package layouts to explain why extension files are missing, skipped, or replaced, including paths for specific target frameworks.
- Investigating MSBuild extensions that fail to load
- Controlling the order of imported extension files
- Checking NuGet build extension package layouts
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 2026
Share shopping carts, themes, and other state across Blazor components that are not directly connected. Choose cascading values or shared services, notify components when data changes, and account for rendering boundaries and service lifetimes.
- Sharing a shopping cart across multiple pages
- Applying themes or preferences throughout an app
- Updating notification counts in separate components
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Build or update ASP.NET Core API endpoints with defined request and response types, appropriate HTTP status codes, OpenAPI documentation, and centralized error handling. Also creates .http request files for manually checking endpoint behavior.
- Add API endpoints following existing project conventions
- Document API inputs and responses with OpenAPI
- Standardize error responses and exception handling
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 2026
Build Blazor forms, search boxes, and input controls with validation and submission handling. The skill covers file uploads and explains which form patterns apply to interactive pages and pages rendered on the server.
- Build a registration form with input validation
- Filter a list as users type
- Add file uploads to an interactive page
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Diagnose unnecessary rebuilds in MSBuild by examining build logs, file timestamps, and declared inputs and outputs. Identify why work repeats, guide fixes when requested, and verify that a second unchanged build skips the expected targets.
- Investigating rebuilds when no files changed
- Reviewing inputs and outputs on custom targets
- Checking generated files and cleanup behavior
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 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 20, 2026
Review MSBuild project files and build definitions for correctness and maintainability. Get prioritized findings with concrete recommendations, distinguishing confirmed defects from conditional risks and valid exceptions such as F# source ordering or required imports.
- Reviewing build files for maintainability
- Checking path portability across operating systems
- Reviewing import safety and required-file assumptions
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 2026
Set up NuGet publishing from GitHub Actions using OIDC, an identity verification mechanism that provides short-lived tokens. Create or update the publishing workflow and get guidance for configuring the matching policy on nuget.org.
- Replace a stored NuGet API key with short-lived tokens
- Create a new package publishing workflow
- Check package metadata before setting up publishing
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 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 20, 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 20, 2026
Configure login state and access rules in Blazor Web Apps. Accounts for server and browser rendering, protects pages by role or policy, and helps diagnose missing authentication state or errors on Identity pages.
- Restrict pages by login status, role, or policy
- Show interface elements according to user permissions
- Keep login state available after WebAssembly loads
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Create a new ASP.NET Core web app with Blazor. Choose where pages and interactive components run based on application needs, generate the project with appropriate options, configure initial authentication when needed, and verify building and startup.
- Start a new Blazor website or web application
- Choose a rendering mode for the required interactivity
- Generate a project with individual account authentication
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Fix Blazor issues during prerendering, when the server sends initial HTML before interactive features load. Preserve component state to avoid repeated data requests and flicker, handle unavailable services, and configure prerendering or page routing where needed.
- Fixing duplicate data requests on initial page loads
- Reducing flicker when a page becomes interactive
- Handling client services unavailable during prerendering
dotnet/skills☆ 5.7KUpdated Oct 20, 2026
Set up Ignite UI Lite controls or GridLite in Blazor applications. Match package references, service registration, namespaces, theme stylesheets, and interactive rendering settings to the app’s structure, including projects with separate server and client code.
- Adding Ignite UI Lite controls to a Blazor app
- Setting up an app that uses only GridLite
- Reviewing setup in separate server and client projects
dotnet/skills☆ 5.7KUpdated Oct 20, 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 20, 2026