You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Project coding conventions, structure and behavioral directives
3
+
alwaysApply: true
4
+
---
5
+
6
+
# Cursor Rules
7
+
8
+
This project uses @AGENTS.md (at the repository root) as the single source of truth for all coding conventions, project structure, technology stack, and behavioral directives.
9
+
10
+
**Before performing any task, read the full content of `/AGENTS.md`.**
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,8 +67,13 @@ Before implementing any changes, you **MUST** complete the following:
67
67
68
68
## 4. Critical Command Reference
69
69
70
+
<!--#if (aspire == true)-->
71
+
-**Build the project**: Run `dotnet build` in Boilerplate.Server.AppHost project root directory.
72
+
-**Run the project**: Run `dotnet watch` in Boilerplate.Server.AppHost project root directory. If needed, you may use the Playwright MCP tools to interact with the running UI to validate things (navigate, click, fill forms, take screenshots), and use `browser_evaluate` to run in-page JavaScript to accelerate the process (e.g. quickly locating elements, extracting data, or asserting state).
73
+
<!--#else-->
70
74
-**Build the project**: Run `dotnet build` in Boilerplate.Server.Web project root directory.
71
75
-**Run the project**: Run `dotnet watch` in Boilerplate.Server.Web project root directory. If needed, you may use the Playwright MCP tools to interact with the running UI to validate things (navigate, click, fill forms, take screenshots), and use `browser_evaluate` to run in-page JavaScript to accelerate the process (e.g. quickly locating elements, extracting data, or asserting state).
76
+
<!--#endif-->
72
77
-**Run tests**: Run `dotnet test` in Boilerplate.Tests project root directory.
73
78
-**Add new migrations**: Run `dotnet ef migrations add <MigrationName> --output-dir Data/Migrations --verbose` in Boilerplate.Server.Api project root directory.
74
79
-**Generate Resx C# code**: Run `dotnet build -t:PrepareResources` in Boilerplate.Shared project root directory.
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/AppClientCoordinator.cs
BitButil.UseFastInvoke();// Ensures that `TelemetryContext.Platform` is available to components using this value in their `OnInitAsync` method, such as `SignInPage.razor.cs`.
BitButil.UseFastInvoke();// Ensures that `TelemetryContext.Platform` is available to components using this value in their `OnInitAsync` method, such as `SignInPage.razor.cs`.
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignIn/SignInPanel.razor.cs
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Extensions/IConfigurationBuilderExtensions.cs
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Services/AuthManager.cs
Copy file name to clipboardExpand all lines: src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Infrastructure/Services/HttpMessageHandlers/LoggingDelegatingHandler.cs
0 commit comments