SideCARCLI–Finish process after some time

SideCarCLI SideCar for CLI applications. Interceptors for Line, Finish, Timer Code at https://github.com/ignatandrei/SideCarCLI NoName + Link  1Description 2Specifications 3Refactor specifications and code 4Create Release 5Finish interceptors 6Send part of command to interceptors 7Line Interceptors 8Finish process after some time 9Documetation Diagram One of the feature is to let the original process...

Friday Links 394

Sciter/HTML/C# based desktop apps walkthrough – CodeProject The Best Sites for Storing Photos Online Improving .NET Application Performance – DaedTech Was Linus Torvalds Right About C++ Being So Wrong? – Slashdot THESE ARE REAL COMPLAINTS RECEIVED BY “THOMAS COOK HOLIDAYS” FROM DISSATISFIED CUSTOMERS – Newsroom24 Expression Trees in C# with an example – DotNetCrunch Sharing .NET generic code under the hood TrackMeNot 7...

SideCarCLI–create releases

Because all code is in Github, the easy way is GitHub Actions , https://github.com/features/actions . Some modifications are required on CSPROJ file to build for Linux or Windows : <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp3.1</TargetFramework> <RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers> </PropertyGroup> And after 6 commits, this is the ( almost) final...

SideCarCLI–Architecture and specs–part 2

The SideCarCLI application should start another application and intercept in various ways .  What will execute when intercept is not known in advance – so should be read at runtime  . So the SideCarCLI will load the interceptors and make then available to the application. Let’s say that , for the moment, the SideCarCLI will take all the configuration from the command line. So let’s analyze the command line . The most simplest...

SideCarCLI | Command Line – description –part 1

There are those days a great deal of command line applications that performs a variety of things. The problem is that you cannot control them . The command line performs their duty well – but , from time to time, you need something else integrated with this. The pattern for this is https://docs.microsoft.com/en-us/azure/architecture/patterns/sidecar – it is applied to microservices , but why not applied to command lines ? So –...

Deploy .NET Core +SqlServer application to Ubuntu

Tools used: SSH –  Windows Native DOS – Windows Native SSMS – download https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15 FileZilla – download https://filezilla-project.org/download.php?platform=win64 How I did : SSH : Install SqlServer: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15 SSMS: Copy database with SSMS export...

Friday Links 392

Covariant and Contravariant Casting is 3x Slower than Dynamic Using ImageSharp to resize images in ASP.NET Core – a comparison with CoreCompat.System.Drawing ALM-Rangers/Breakpoint-Generator: Automatically generate breakpoints for all the public entry points in your solution. Google’s next trick for Android is ‘copyless pasting’ Removing the MVC Razor dependencies from the Web API template in ASP.NET Core Not Sure On Approach...

ASP.NET Core WebAPI should/ (must?) have

I am trying to have an extensive list about what an ASP.NET Core WebAPI project should / must have . After al, can be easy integrated into a VS project – or a wizard. Visibility  – see definition of the API Open API / Swagger  – read https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle or https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag For graphQL you can...

Friday Links 391

daveaglick/Scripty: Tools to let you use Roslyn-powered C# scripts for code generation Server.MapPath Equivalent in ASP.NET Core – CodeProject Add nice icons to your Visual Studio Code experience – A Developer’s Experience I was wrong, reflecting on the .NET design choices – Ayende @ Rahien Codealike: Powerful Metrics for High Performance Developers Open XML SDK for JavaScript | Eric White The Average Webpage Is Now the Size of...