• Friday Links 449

    picoe/Eto: Cross platform GUI framework for desktop and mobile applications in .NET Working with expression trees in C# | Alexey Golub Angular 9: Lazy Loading Components An outage every 30 minutes – Ayende @ Rahien Should I introduce an API Gateway in my workplace? | Codementor Authoring Your Own Test Script � microsoft/WinAppDriver Wiki WinAppDriver/SupportedAPIs.md…

  • FileExtension – GUI–part 4

    Now I must do something for the people that just want to use the software. The most usual,for me,it is a .NET Core WebAPI site ( with swagger ) and an Angular frontend. You can find the sources at https://github.com/ignatandrei/FileExtension/tree/master/src . Some thoughts: For .NET Core ( see https://github.com/ignatandrei/FileExtension/tree/master/src/RecognizeFileExtWebAPI ) I use the following NuGET…

  • FileExtension–plugins–part 3

    What I have more in mind is that the people can add easy their code for extensions. That means: Have an easy class to add the magic number in the header for an extension Have other people add their own implementations,not just the header Have an easy way to add the project with their code…

  • FileExtension– export data from CSV–part 2

    First,is how to export data from table (https://en.wikipedia.org/wiki/List_of_file_signatures) into classes . First,the table must be transformed into a more programmatic recognizable way – like a CSV  – see https://github.com/ignatandrei/FileExtension/blob/master/src/RSCG_GCK/offset0.txt Then a solution is to have into the dll ( as embedded resource or as a file) . The second solution,more complicated,is to use Roslyn Source…

  • FileExtension–idea- part 1

    Every now and then we accept file uploads ( to a site  ) – or we have files in outlook that we want to open – but we do not know if the extension matches the content of the file. There are numerous way to do it,however,I have been attracted by Magic Numbers – a…

  • Friday Links 448

    The JavaScript Beginner’s Handbook (2020 Edition) Refactoring: My 6 favorite patterns – DEV Community =�i� =ػ�=�h� =ػ� Zero Garbage Collector for .NET Core 2.1 and ASP.NET Core 2.1 TooSlowException System.Buffers – .NET | Microsoft Docs 5 Useful Resources for Beginners and Intermediates in Programming How to write a Roslyn Analyzer | .NET Blog – Miguel…

  • Evolving Roslyn Source Code Generators

    I am a big fan of Roslyn Source Code Generators – you can read about at https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.md and https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/. I have tested,until now,27 examples and discovered other 53 RSCG – you can read about at https://github.com/ignatandrei/RSCG_Examples and download the book from  https://ignatandrei.github.io/RSCG_Examples/ Also,Microsoft is dogfooding this by using at Blazor ( https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-2/#razor-compiler-updated-to-use-source-generators ),JSON.NET https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-source-generator/ .…

  • Friday Links 447

    ASP.NET MVC Controller Best Practices Skinny Controllers – Arrange Act Assert Using HostBuilder,ServiceProvider and Dependency Injection with Windows Forms on .NET Core 3 | Around and About .NET World Creative Uses of TypeScript Discriminated Unions – JavaScript in Plain English – Medium Generate Outputs with Razor Engine in .NET Core | Khalid Abuhakmeh 11 Chrome…

  • RSCG Example – AOPMarker for CI Builds – part 30

        name AOPMarkerCI nuget https://www.nuget.org/packages/AOPMethodsCommon/ https://www.nuget.org/packages/AOPMethodsGenerator/ link http://msprogrammer.serviciipeweb.ro/category/roslyn/ author Andrei Ignat This will tracing methods marked with AOPMarkerMethod in CI builds. Does not affect the code run by the programmer.   The code that you start with is The code that you will use is   The code that is generated is Example Code:…

  • Friday Links 446

    Most popular 25+ JS repositories in March 2020 – Kriss Home � benawad/destiny Wiki 7 Awesome JavaScript Product Tour Libraries – Bits and Pieces natemcmaster/CommandLineUtils: Command line parsing and utilities for .NET Building a Compiler – YouTube Typedef | RxJS API Document aelassas/Wexflow: A high-performance,extensible,modular and cross-platform workflow engine and automation platform. 10 Most(ly dead)…

I am ok , you are ok