Category: nuget
-
MSvg: SVG Icons for .NET and Blazor
MultipleSVG is a .NET project for developers who want ready-to-use SVG icons without manually copying files into their apps. The main NuGet package is MSvg.All. See the icons at https://ignatandrei.github.io/MultipleSVG/icons It exposes icons as strongly typed SvgIconGenerator.IconDto values in the MSvg.All namespace. The package is useful in console apps, ASP.NET Core projects, tools, and any…
-
Package Analyzer and Git Summary
Copied after https://piechowski.io/post/git-commands-before-reading-code/ Churn hotspots – files with most commits .This is the dotnet/eShop: A reference .NET application implementing an eCommerce site analysis. The program can show you Churn hotspots – files with most commits Bus factor – contributors with most commits The program can show you Bus factor – contributors with most commits Commit…
-
Aspire as ChaosMonkey
If I have all Aspire resources exposed , would not be easy to expose the endpoints to START and STOP the resources ? And from idea to implementation – it is pretty easy . 1. Add a WebApp => var builder = WebApplication.CreateBuilder(); 2. Expose List as API – Use ResourceNotificationService.TryGetCurrentState to see the…
-
WebApi SDK generator–part 2–naive implementation
The decision to implement were: https://github.com/OpenAPITools/openapi-generator – because has multiple language implementations has a WebAPI docker Implement one SDK generator per WebAPI – it is simpler to generate commands for each one , rather to have multiple on the same ASPIRE resource Can wait for 1 WebAPI to become available, rather for all This said,…
-
WebApi SDK generator–part 1–idea
In those days, every Web Project has 2 parts – an API and an SPA . If we document the SPA for the users, the API is directed more to programmers- and it will be helpfull to have already generated for them SDK for the language of their choice. There are many generators in the…
-
SqlExtensionsAspire–part 1–idea
Aspire is a popular orchestrator for managing projects and Docker containers in the .NET ecosystem. While it’s primarily known for .NET, Aspire also supports other technologies like Node.js, Python, and more. Since I use SQL Server as my database, I found myself needing a few essential features: Execute pre-defined SQL commands at database creation timeI…
-
Nuget packages and Github repositories
You can see the Github repositories that you have worked last year by going to https://docs.github.com/en/graphql/overview/explorer and entering query ContributionGraph { user(login: “ignatandrei”) { contributionsCollection( from: “2022-01-01T00:00:00+00:00” to: “2022-12-31T00:00:00+00:00” ) { commitContributionsByRepository(maxRepositories:100){ repository{ nameWithOwner url updatedAt } } } } } Mine are ignatandrei/TILT ignatandrei/BlocklyAutomation ignatandrei/QueryViewer ignatandrei/RSCG_AMS ignatandrei/rxDemo ignatandrei/NetCoreUsefullEndpoints ignatandrei/Presentations ignatandrei/NETCoreBlockly ignatandrei/FunctionsDI ignatandrei/GeneratorOfHelp ignatandrei/MicroservicesPortChooser…
-
[Programmer Tools]NuGet used
The list have been obtained with the help of VisualAPI,former BlocklyAutomation. You can obtain a list on your device by running dotnet tool update –global programmerall –no-cache programerall Then browse to http://localhost:37283/blocklyAutomation/automation/loadexample/nugets and press Execute ( You can have automation the same for your site – just contact me) This are the NuGet packages found…
-
[Nuget] dotnet-run-script
I found this awesome package – https://github.com/xt0rted/dotnet-run-script . It is good to make macros in global.json,then execute in a CICD scenario. For example,NetCoreUsefullEndpoints used this in yaml ( pretty standard ) # – name: Restore dependencies # run: | # cd src # cd UsefullEndpoints # dotnet tool restore # dotnet pwsh readme.ps1 # dotnet…
-
NetCoreUsefullEndpoints-4 Nuget package
or NugetPackages there is a simple .NET Pack CLI command and many configurations However,it is not so simple . See https://docs.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices . In practice,I have a readme.md file ( for showing on nuget.org ) and a readme.txt file( for the programmer to show help after installing the package) THis is what I have in the…