-
[ADCES]Devops By Docker & Life after Java 8
Details Presentation 1 : Practical DevOps: One-Click Deployment using DockerPresenter: Andrei Micuda,https://github.com/andrei-micuda/Description:Every developer wants to deploy and maintain the applications he develops with ease. Although this seems like a daunting task at first,you can achieve a one-click deployment pipeline by only using a few Docker containers. Join us if you want to find how to…
-
FileExtension–Tests–part 5
The tests are the easy part. I have put some files on a folder( https://github.com/ignatandrei/FileExtension/tree/master/src/TestFileExtensions/TestFiles ) and test if the extension matches the recognizer. As NuGet packages I used FluentAssertions xunit LightBDD.XUnit2 FluentAssertion allows me to write more readable tests,like AllExtensions.Should().HaveCountGreaterThanOrEqualTo(number); LightBDD allows me to write tests in a more “business “ way : await…
-
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…
I am ok , you are ok