Category: projects

  • RSCG- Idempotency- Idea and implementation

    Everyone is talking about idempotency ( Idempotence – Wikipedia  ) . So it should be easy to implement as a code generator – just having an attribute to apply ? One more thing: if we store the values, then somehow , after some time, we  should clean (maybe after 1 year ? ) So the…

  • Blazor Browser History-part–04-problems solved

    01 Deploy to github pages – that are not root enabled To display to Githbub pages ( i.e. https://ignatandrei.github.io/BlazorBrowserHistory/ ) the base href must be overwritten To do so I have been doing in index.html with a powershell script found in src\BBH\modifyPostData.ps1 Write-Host “modify index.html” $indexFilePath = “Release/UIBlazor/wwwroot/index.html” $Content = Get-Content -Path $indexFilePath -Raw $updatedContent…

  • Blazor Browser History – part 02 – Database

    To store data where the user have been it is not so complicated. However, the part of making querys – I do prefer old SQL . So the choice will be a database that runs into the browser- and Sqlite seems the choice – see https://sqlite.org/wasm/doc/trunk/index.md Now the only thing is to find a provide…

  • Blazor Browser History – part 1 – idea

    Working with UI , I remember the old times where there was a MRU . So , why not do one for Blazor ? Especially for Blazor WASM  . What should do: 1. See what URL’s have the user have been accessed . Retrieve URL and Page Title . 2.  Store this into a browser…

  • Package analyzer and project references upstream and downstream

    A project can have other projects as reference – or he can be a referee from another project. Initially , this was the image – to see every relation as a matrix But , I have had a better thought : I can count the upstream and the downstream references – and so I have…

  • Package Analyzer and show major versions differ

    One of problems in software with packages is when you have 2 projects that reference the same package – but with 2 versions that differ. But it is often very difficult to understand the path that comes to this . PackageAnalyzer identifies this and generate an image  for each package, showing the path : You…

  • Package Analyzer- showing stacks of projects

    The package analyzer analyzes a solution and renders a HTML page that shows summary  – see https://ignatandrei.github.io/PackageAnalyzer/ The relations between projects could be rendered as a mermaid flowchart – as an example, But … I have encountered another project https://github.com/matzehuels/stacktower – and the rendering is far more interesting. You can have the same output by…

  • Aspire Resource for Aspire–part 1–idea

    I have published many  Aspire Extensions ( see https://msprogrammer.serviciipeweb.ro/category/aspire/ –  ) However, to make an AUTOMATED demo, I need the token url of the dashboard and the url itself. How can I obtain those and pass to the demo / tests ? So here are the specs As a Aspire Resource developer I wanted to…

  • NetCoreUsefullEndpoints-part 14–adding roles and claims and authorization

    I have added the current user role and claims to the nuget Usefull Endpoints for .NET Core  .  The endpoints are api/usefull/user/isInRole/{roleName} and api/usefull/user/claims/simple and api/usefull/user/authorization For the first one the code is pretty simple For claims and authorization,please see code at ignatandrei/NetCoreUsefullEndpoints: Usefull Endpoints for .NET Core

  • Demeter and Roslyn–part 3–config and tests

    Beyond the Squiggles: Flexible Reporting and Confidence Through Testing So,we’ve built our Law of Demeter analyzer,RSCG_Demeter,using Roslyn to intelligently spot those overly-chatty code chains,even navigating the complexities of fluent interfaces. We could just have it throw warnings or errors directly in your IDE via Roslyn diagnostics. But let’s be honest,sometimes a flood of new diagnostics…