RoslynBridge.WebApi
Health check and status controller
Get the health status of the middleware and Visual Studio plugin
Cancellation token
Health status information
Service is healthy
Service is unhealthy
Simple ping endpoint
Pong response
Controller for accessing query history
Get all history entries
List of all history entries
Returns the list of history entries
Get a specific history entry by ID
The history entry ID
The history entry
Returns the history entry
Entry not found
Get recent history entries
Number of entries to return (default: 50, max: 500)
List of recent history entries
Returns the list of recent entries
Get history statistics
Statistics about history entries
Clear all history entries
Confirmation message
History cleared successfully
Controller for managing Visual Studio instance registrations
Register a new Visual Studio instance
Instance information
Registration result
Unregister a Visual Studio instance
Process ID of the instance to unregister
Unregistration result
Update heartbeat for a Visual Studio instance
Process ID of the instance
Heartbeat update result
Get all registered Visual Studio instances
List of registered instances
Get instance by process ID
Process ID
Instance information
Get instance by solution path
Solution file path
Instance information
Get instance by port
Port number
Instance information
Controller for Roslyn code analysis operations
Execute a Roslyn query
The query request
Optional: specific VS instance port to target
Cancellation token
The query result
Query executed successfully
Invalid request
Internal server error
Get all projects in the solution
Optional: specific VS instance port to target
Cancellation token
List of projects
Get solution overview
Optional: specific VS instance port to target
Cancellation token
Solution statistics and overview
Get diagnostics (errors and warnings)
Optional file path to filter diagnostics
Optional: specific VS instance port to target
Cancellation token
List of diagnostics
Get symbol information at a specific position
File path
Line number (1-based)
Column number (0-based)
Optional: specific VS instance port to target
Cancellation token
Symbol information
Find all references to a symbol
File path
Line number (1-based)
Column number (0-based)
Optional: specific VS instance port to target
Cancellation token
List of references
Search for symbols by name
Symbol name or pattern
Optional symbol kind filter
Optional: specific VS instance port to target
Cancellation token
List of matching symbols
Format a document
File path to format
Optional: specific VS instance port to target
Cancellation token
Format operation result
Add a NuGet package to a project
Project name
NuGet package name
Optional package version
Optional: specific VS instance port to target
Cancellation token
Operation result
Build a project
Project name
Build configuration (Debug/Release)
Optional: specific VS instance port to target
Cancellation token
Build result
Middleware to capture and log all Roslyn API requests and responses
Extension methods for adding history middleware
Health check response for service status
Overall health status
Web API service status
Visual Studio plugin connection status
Timestamp of the health check
API version
Represents a single query history entry with request and response information
Unique identifier for this history entry
Timestamp when the request was received
The endpoint path that was called
HTTP method used
The Roslyn query request
The Roslyn query response
Request duration in milliseconds
Whether the request was successful
Client IP address
Request model for Roslyn query operations
Type of query to execute (e.g., "getsymbol", "getdocument", "findreferences")
File path for file-based operations
Symbol name for symbol-based operations
Line number (1-based) for position-based operations
Column number (0-based) for position-based operations
Additional parameters for the query
Project name for project operations
Package name for NuGet operations
Version for NuGet package operations
Build configuration (Debug/Release)
Directory path for directory operations
Response model for Roslyn query operations
Indicates whether the operation was successful
Optional message providing additional context
The response data (structure varies by query type)
Error message if the operation failed
Information about a registered Visual Studio instance
The port number where this VS instance is listening
The process ID of the Visual Studio instance
The solution file path (if any solution is open)
The solution name (if any solution is open)
When this instance was registered
Last heartbeat time
List of project names in the solution
In-memory implementation of history service
Service for managing query history
Add a new history entry
The history entry to add
Get all history entries
List of all history entries
Get a specific history entry by ID
The entry ID
The history entry, or null if not found
Get recent history entries
Number of entries to return
List of recent history entries
Clear all history entries
Get total count of history entries
Total number of entries
Service for managing registered Visual Studio instances
Register a new Visual Studio instance
Unregister a Visual Studio instance by process ID
Update heartbeat for an instance
Get all registered instances
Get instance by process ID
Get instance by solution path
Get instance by port
Remove stale instances (no heartbeat for specified timeout)
Background service that periodically removes stale VS instances
Thread-safe in-memory registry for Visual Studio instances
Interface for communicating with the Roslyn Bridge Visual Studio plugin
Execute a query against the Roslyn Bridge server
The query request
Optional port of specific VS instance to target
Cancellation token
The query response
Check if the Roslyn Bridge server is healthy
Optional port of specific VS instance to check
Cancellation token
True if healthy, false otherwise
HTTP client for communicating with the Roslyn Bridge Visual Studio plugin
Resolves which VS instance port to use based on provided hints