My GITHUB integrations / apps

Github has integrations apps – means bots that automatically interacts with your repository. Those are the bots most used by me:   No Name Description 1 All Contributors https://github.com/settings/installations/7389985 Add contributions to the repository. Example at https://github.com/ignatandrei/netcoreblockly , see contributions added automatically 2 Img Bot https://github.com/settings/installations/310858 Automatically...

SideCarCLI – Line interceptors

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 For the SideCarCLI I have the concept of Line...

SideCarCLI-send arguments to interceptors

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 For the SideCarCLI I want the interceptors ( line,...

SideCarCLI- finish interceptors

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 The idea for FinishInterceptors is very simple – when...

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–refactor command line

When starting to implement the project, suddenly realize that list interceptors command does not belong to  start app command . So the application should be refactored to new specifications – StartApp command – contains the whole list of commands for starting the app , including timer, adding interceptor – Interceptors command – should list the interceptors  (timer, line, finish) The interceptors should be defined in a...

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 –...

[ADCES]SqlInjection si Migrare BD in Azure

1. Teorie si Demo practic de Sql Injection si spargerea parolelor prin hashingPrezentator: Andrei Rinea, https://www.linkedin.com/in/andreirinea/Descriere: Abordare teoretică și practică asupra SQL Injection și Hashing. Include live hacking!2. Migrarea bazelor de date SQL Server in cloudPrezentator: Dragos Barbu, https://www.linkedin.com/in/drbarbu/Descriere:Incheiem seria in care am prezentat cum mutam o solutie veche in cloud cu...

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...

ASP.NET Core : Add controllers at runtime and detecting changes done by others

Part 1 Adding controllers at runtime Adding controllers at runtime in ASP.NET Core involves the ApplicationPartManager and IActionDescriptorChangeProvider. Let’s say that we hardcode the creation of the controller   private Assembly CreateController(string name) { string code = new StringBuilder() .AppendLine("using System;") .AppendLine("using...

Integrating SPA ( Angular, React, Vue) with .NET Core for production

If you have a .NET Core WebAPI application ( that only serves data ) and  a SPA application ( Angular, Vue,  React) you can have just one application following this 2 steps: 1.  In .NET Core add in Startup.cs ( with using Microsoft.AspNetCore.Builder from Microsoft.AspNetCore.StaticFiles ) app.UseDefaultFiles(); app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints =>            ...

Friday Links 389

Visual Studio Design Patterns add-in – Source Code Best Answer to “Sell Me This Pen” I Have Ever Seen | Girish Amanapu | Pulse | LinkedIn The curious case of async, await, and IDisposable – Bill Wagner JSON.net not just for serialization | ASP.NET Monsters modeln.github.io/sDashboard/example/ex.html Milton Erickson’s Rules of Life | Ericksonian Info Reversing the Lies of the Sharing Economy – How We Get To Next Why I’m...