Skip to content

Commit

Permalink
Code cleanup - Removed obsolete .NET Framework code
Browse files Browse the repository at this point in the history
- Removed .NET Framework projects TicTacToeLib, UnitTests and WebApp
- Made minor UI changes in BlazorServerApp
  • Loading branch information
JosephWee committed Apr 23, 2023
1 parent 240aaa8 commit 57bc795
Show file tree
Hide file tree
Showing 180 changed files with 8 additions and 45,505 deletions.
4 changes: 2 additions & 2 deletions BlazorServerApp/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<li class="nav-item">
<a class="nav-link text-dark" href="/">Home</a>
</li>
<li class="nav-item">
@*<li class="nav-item">
<a class="nav-link text-dark" href="/Test">Test</a>
</li>
</li>*@
<li class="nav-item">
<a class="nav-link text-dark" href="/TicTacToeRz">Tic-Tac-Toe (Razor)</a>
</li>
Expand Down
2 changes: 2 additions & 0 deletions BlazorServerApp/Pages/TicTacToeJq.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
</div>
</form>

<p>For more information please visit <a href="https://github.com/JosephWee/Tic-Tac-Toe" target="_blank">https://github.com/JosephWee/Tic-Tac-Toe</a></p>

<script type="text/javascript">
jQuery(document).ready(function () {
Expand Down
2 changes: 1 addition & 1 deletion BlazorServerApp/Pages/TicTacToeRz.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
<TicTacToeGame ID="@componentID" GridSize="3"></TicTacToeGame>
}
<p>For more information please visit <a href="https://github.com/JosephWee/Tic-Tac-Toe">https://github.com/JosephWee/Tic-Tac-Toe</a></p>
<p>For more information please visit <a href="https://github.com/JosephWee/Tic-Tac-Toe" target="_blank">https://github.com/JosephWee/Tic-Tac-Toe</a></p>

@code {
List<string> componentIDs = new List<string>();
Expand Down
2 changes: 1 addition & 1 deletion NUnitTest/NUnitTest.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand Down
4 changes: 2 additions & 2 deletions NUnitTest/test.runsettings
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<RunSettings>
<TestRunParameters>
<Parameter name="TicTacToeDataConnString" value="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=$(MSBuildProjectDirectory)\LocalDB\TicTacToeData.mdf;Integrated Security=True;Connect Timeout=30" />
<Parameter name="SourceConnString" value="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=$(MSBuildProjectDirectory)\LocalDB\SourceTicTacToeData.mdf;Integrated Security=True;Connect Timeout=30" />
<Parameter name="DestinationConnString" value="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=$(MSBuildProjectDirectory)\LocalDB\DestinationTicTacToeData.mdf;Integrated Security=True;Connect Timeout=30" />
</TestRunParameters>
</RunSettings>
</RunSettings>
12 changes: 0 additions & 12 deletions TicTacToeLib/App.config

This file was deleted.

27 changes: 0 additions & 27 deletions TicTacToeLib/BusinessLogic/ComputerPlayerConfig.cs

This file was deleted.

33 changes: 0 additions & 33 deletions TicTacToeLib/BusinessLogic/ComputerPlayerV1.cs

This file was deleted.

211 changes: 0 additions & 211 deletions TicTacToeLib/BusinessLogic/ComputerPlayerV2.cs

This file was deleted.

12 changes: 0 additions & 12 deletions TicTacToeLib/BusinessLogic/ITicTacToeComputerPlayer.cs

This file was deleted.

Loading

0 comments on commit 57bc795

Please sign in to comment.