cyrena.dotnet.csharp
Builds .NET projects and solutions with a strictly enforced structure. All supported project types share a common base layout (Attributes, Contracts, Extensions, Models, Services, Options) with per-type additions for Blazor (Components, wwwroot) and MVC (Controllers, Views, wwwroot). In solution mode, only supported project types are indexed — unsupported projects are ignored rather than blocked. Project and solution descriptor files (.csproj, .sln, .slnx) and JSON configuration files are read-only to the agent and will never be modified.
Standard reusable library (.csproj).
Simple command-line program.
ASP.NET Core Model-View-Controller web application.
Library with controllers, views, and MVC components.
Reusable UI components for Blazor.
Full-stack Blazor client-side or server-side app.
All supported project types share the following top-level layout. Files and folders are writable unless marked read-only.
| Folder / File | Purpose | Read-Only? |
|---|---|---|
Attributes/ | Custom attributes for metadata and decoration. | No |
Contracts/ | Dependency-injection interfaces. | No |
Extensions/ | Static helper / extension classes. | No |
Models/ | Data classes and DTOs. | No |
Services/ | Implementations of the contracts. | No |
Options/ | Configuration-related POCOs. | No |
*.cs (root) | Miscellaneous C# source files. | No |
*.csproj / *.sln / *.slnx | Project and solution descriptors. | Yes |
| Folder | Allowed Content | Read-Only? |
|---|---|---|
Components/ | .razor component files. | No |
Components/Layout/ | Layout components. | No |
Components/Pages/ | Page components. | No |
Components/Shared/ | Shared UI pieces. | No |
wwwroot/css/ | .css style-sheet files. | No |
wwwroot/js/ | .js script files. | No |
*.json | Configuration files. | Yes |
| Folder | Allowed Content | Read-Only? |
|---|---|---|
Controllers/ | C# controller classes. | No |
Views/ (all sub-folders) | .cshtml Razor view files. | No |
wwwroot/css/ | .css style-sheet files. | No |
wwwroot/js/ | .js script files. | No |
*.json | Configuration files. | Yes |
Use your IDE's UI or the dotnet new CLI with your chosen template.
.csproj or .sln/.slnx file, select your AI connection, and submit.