-
Db2Code–part 6 – implementation details
Problem 1 More dbContexts I have think that a user can have more than 1 DBContext / database implemented. If there was just only one,it were easy to add a partial to program.cs and register the database DI services.AddDbContext<ApplicationDBContext> in the partial . However,if each database is generated,how to have this ? The answer is …
-
Friday Links 517
Rekkonnect/VeryUnsafe: A collection of various dangerous operations. bvaughn/react-error-boundary: Simple reusable React error boundary component We stand to save $7m over five years from our cloud exit matiaskorhonen/paper-age: Easy and secure paper backups of secrets My favourite 3 lines of CSS | Andy Bell Oops,You Wrote a Database openpgpjs/openpgpjs: OpenPGP implementation for JavaScript What’s New in…
-
[ADCES]- ASP.NET Endpoints & Dapr,Microservices and Azure all-up
Details Presentation 1: ASP.NET Core usefull endpointsDescriere : O sa prezint citeva endpoint-uri utile pentru fiecare aplicatie ASP.NET Core – health check,swagger,date time . error si cum le puteti obtine usor.Prezentator: Andrei Ignat,http://msprogrammer.serviciipeweb.ro/ Presentation 2 : Chit-chat about Dapr,Azure Container Instances,Microservices and Azure all-upDescriere:Urmarind traseul Sfantului Graal al dezvoltarii software bazate pe sablonul architectural al…
-
Db2Code–part 5 – testing
For testing I should find some databases to test to ( and do not forget that generating SELECT from PK supports just 1 PK,not multiple). Microsoft already show some sample database – you can download from https://github.com/microsoft/sql-server-samples/tree/master/samples/databases . However,those must exists in the moment of running tests – so I have as options: Have an…
-
Friday Links 516
useWindowSize() react hook – usehooks-ts React Anti-Patterns and Best Practices – Do’s and Don’ts – DEV Community 9 Best Distributed Tracing Tools For Developers In 2023 | JavaScript in Plain English Types of caching in ASP.NET Using source-generated regex in ASP.NET Core route constraints – Meziantou’s blog .NET regular expression source generators | Microsoft Learn…
-
Db2Code- part 4- Architectural Changes for FrontEnd
Now comes the frontend . There are several options – Blazor,Angular,React,…. . The main problem is – how to generate JavaScript / TypeScript file where there is not .csproj available ? ( Yes,it is .esproj for javascript integration – however,you cannot add NuGet packages to it ) So the solution is to have another project…
-
Friday Links 515
inovua/reactdatagrid: Empower Your Data with the best React Data Grid there is NDAs and Contracts That You Should Never Sign – Joel on Software lukemorales/exhaustive: Exhaustiveness checking in TypeScript you-dont-need/You-Dont-Need-Lodash-Underscore: List of JavaScript methods which you can use natively + ESLint Plugin 5 React Design Patterns You Should Know | by Al – @thenaubit |…
-
Db2Code-part 3- deploy
Now how to let other developers to modify the connection string from a template? Easy said than done – create a template for this. This is easier to speak about than to do . So any project can be transformed into template – but what about a solution ? Anyway – the starting point is…
-
Friday Links 514
Software Engineering at Google visx | gallery SQLite Wasm in the browser backed by the Origin Private File System – Chrome Developers CLI tools you won’t be able to live without – DEV Community 30 Proven Code Review Best Practices | Awesome Code Reviews Ovi/DummyJSON: DummyJSON.com provides different types of REST Endpoints filled with…
-
Db2Code–part 2- architecture
What we will build you can see here : Each class will have it is own CodeTemplates\EFCore templates from which will generate the code. Let’s start with ExampleModels : Here will be the class definitions . From the table defintion,the DB2Code will generate 1. A definition of a interface with table columns as properties 2. A…
I am ok , you are ok