It was interesting to wrote this project. At the final,it features an web site (https://fileextension.azurewebsites.net/ ) and a NuGet package ( https://www.nuget.org/packages/FileExtension/ ). Also,I have learned how to start Windows Terminal to start Angular / .NET Core / Tests
wt new-tab -p “Windows PowerShell” -d . cmd /k “cd src && dotnet build && cd RecognizeFileExtWebAPI && dotnet watch run” ;split-pane -p “Windows PowerShell” -d . cmd /k “cd src && dotnet build && cd TestFileExtensions && dotnet watch test” ; split-pane -p “Windows PowerShell” -d . cmd /k “cd src && cd FileExtensionAng && npm i && ng serve -o”
and refreshed my GitHub actions knowledge ( I am very fond of CI – and,if I can,CD )
Also,I have now a better understanding of a csproj file in relation with nuget :
<ItemGroup>
<None Remove=”plugins\FileExtension.targets” />
<Content Include=”plugins\FileExtension.targets”>
<PackagePath>build\net5.0\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup><ItemGroup>
<Content Include=”plugins\**\*.dll”>
<PackagePath>build\net5.0\plugins\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
It was refreshing to know that,even I like the Skinny Controllers concept,however the WebAPI is not so light .
Hopefully someone will find the package useful – or at least the site https://fileextension.azurewebsites.net/
Leave a Reply