Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
- 'install/**'
- 'upgrades/**'

- name: Setup .NET 8.0
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
cache: true
cache-dependency-path: '**/packages.lock.json'

Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
New-Item -ItemType Directory -Force -Path "$instDir/install"
New-Item -ItemType Directory -Force -Path "$instDir/upgrades"

Copy-Item 'Installer/bin/Release/net8.0/win-x64/publish/PerformanceMonitorInstaller.exe' $instDir
Copy-Item 'Installer/bin/Release/net10.0/win-x64/publish/PerformanceMonitorInstaller.exe' $instDir
Copy-Item 'install/*.sql' "$instDir/install/"
if (Test-Path 'upgrades') { Copy-Item 'upgrades/*' "$instDir/upgrades/" -Recurse -ErrorAction SilentlyContinue }
if (Test-Path 'README.md') { Copy-Item 'README.md' $instDir }
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
with:
ref: dev

- name: Setup .NET 8.0
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
cache: true
cache-dependency-path: '**/packages.lock.json'

Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
New-Item -ItemType Directory -Force -Path "$instDir/install"
New-Item -ItemType Directory -Force -Path "$instDir/upgrades"

Copy-Item 'Installer/bin/Release/net8.0/win-x64/publish/PerformanceMonitorInstaller.exe' $instDir
Copy-Item 'Installer/bin/Release/net10.0/win-x64/publish/PerformanceMonitorInstaller.exe' $instDir
Copy-Item 'install/*.sql' "$instDir/install/"
if (Test-Path 'install/templates') { Copy-Item 'install/templates' "$instDir/install/templates" -Recurse -ErrorAction SilentlyContinue }
if (Test-Path 'upgrades') { Copy-Item 'upgrades/*' "$instDir/upgrades/" -Recurse -ErrorAction SilentlyContinue }
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This repository contains two editions of the SQL Server Performance Monitor:
### Prerequisites

- **Windows 10/11** (required for WPF)
- **.NET 8.0 SDK** ([download](https://dotnet.microsoft.com/download/dotnet/8.0))
- **.NET 10.0 SDK** ([download](https://dotnet.microsoft.com/download/dotnet/10.0))
- **Visual Studio 2022** or **VS Code** with C# extension
- **SQL Server** (2016 or later) for testing
- **Git** for version control
Expand All @@ -67,11 +67,11 @@ dotnet publish Installer/PerformanceMonitorInstaller.csproj -c Release

**Full Dashboard:**
1. Install the database on a SQL Server instance using the installer
2. Run `Dashboard/bin/Debug/net8.0-windows/Dashboard.exe`
2. Run `Dashboard/bin/Debug/net10.0-windows/Dashboard.exe`
3. Add your server connection and start monitoring

**Lite Edition:**
1. Run `Lite/bin/Debug/net8.0-windows/PerformanceMonitorLite.exe`
1. Run `Lite/bin/Debug/net10.0-windows/PerformanceMonitorLite.exe`
2. Add a SQL Server connection (requires VIEW SERVER STATE permission)
3. Data collection begins automatically

Expand Down
14 changes: 7 additions & 7 deletions Dashboard/Dashboard.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<TargetFramework>net10.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<StartupObject>PerformanceMonitorDashboard.Program</StartupObject>
Expand All @@ -24,7 +24,7 @@
CA1508: Dead code - false positives on nullable DateTime parameters
CA2201: Generic exception - acceptable for global error handlers
CS4014: Unawaited async - intentional fire-and-forget refresh calls -->
<!-- NU1701: CredentialManagement package has no .NET 8 version
<!-- NU1701: CredentialManagement package has no .NET 10 version
CA1001: App/MainWindow live for process lifetime - disposal handled by exit
CA1707: MCP tool parameters use snake_case intentionally for LLM APIs
CA1305: MCP tools use ISO 8601 format which is culture-invariant
Expand All @@ -37,12 +37,12 @@
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="2.0.1" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.1" />
<PackageReference Include="Microsoft.Data.SqlClient.Extensions.Azure" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.7" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.8" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.8" />
<PackageReference Include="ScottPlot.WPF" Version="5.1.58" />
<PackageReference Include="ModelContextProtocol" Version="1.2.0" />
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.2.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.7" />
<PackageReference Include="ModelContextProtocol" Version="1.3.0" />
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.3.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<PackageReference Include="Velopack" Version="0.0.1298" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ WPF desktop application for the Full Edition. Connects to SQL Server instances r

Includes a NOC-style landing page with server health cards, interactive trend charts (ScottPlot), and an embedded MCP server for exposing monitoring data to LLM clients.

Requires .NET 8.0 Runtime and network connectivity to a SQL Server with the PerformanceMonitor database installed.
Requires .NET 10.0 Runtime and network connectivity to a SQL Server with the PerformanceMonitor database installed.

See the [root README](../README.md) for full documentation.
Loading
Loading