Category: github

  • Deploy Blazor WASM to Github Pages in 7 steps

    Assumptions: You have an Blazor Interactive WebAssembly ( CSR ),not a Server ( static or interactive) I will make as the repo is  https://github.com/ignatandrei/tilt  . Change my name with yours and TILT  with your repo So let’s start Step 1   You must configure GitHub Pages – create a docs folder and put an index.html  .…

  • 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…

  • TILT- Docker with Ductus.FluentDocker–part 23

    I have already tests with Sqlite – however,it will be better to try tests with a real SqlServer . One of the way to have a sql server is to have docker – but how to start docker with sql server any time ? One of answers is Ductus.FluentDocker – https://www.nuget.org/packages/Ductus.FluentDocker – and this is…

  • TILT–CI and CD–part 6

    Because the Source Control is Github and has Actions when submitting the code,I use this. Also,when creating an Azure WebSite,you can integrate with Github and he will add the yaml for you and the secrets to deploy I have added also badge to see the result of the action in the readme file. For the…

  • NetCoreUsefullEndpoints-3 CICD

    Now I find usefull that,every time that I push some code,the code is build and the nuget package is attached . So GitHub Actions to the rescue. There will be 2 GitHub actions – one for build and package,other for deploying to the Azure a test application This is the code for building. ( The…

  • Automatic release GitHub with version

    For having releases published automatically on Github,I use this tagged release.yml file as an workflow name: “tagged-release” on: push: tags: – “v*” jobs: build: runs-on: ubuntu-latest steps: – name: ‘Checkout Github Action’ uses: actions/checkout@master # code to build the source – name: Archive production artifacts uses: actions/upload-artifact@v2 with: name: nameOfTheApp path: ‘src/…/*’ retention-days: 1 –…

  • FileExtension–part 6 – CI/CD

    So now how to make visible all those coding ? For tests –CodeCov,  https://app.codecov.io/gh/ignatandrei/FileExtension hosts for free to see the coverage For documentation – ReadTheDocs,  https://fileextension.readthedocs.io/en/latest/ hosts for free. For packaging  – NuGEt https://www.nuget.org/packages/FileExtension/ For more detailed analysis Sonar https://sonarcloud.io/summary/overall?id=ignatandrei_FileExtension can show code smells and bugs and more GitHub actions https://github.com/ignatandrei/FileExtension/actions allows me to run all those…

  • 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 optimizes the images and creates a PR for them .…

  • HCV–automatic CI–part 6

    I want the tests to be run automatically . And have a code coverage report. So Docker will be generating the report ( with coverlet.console and dotnet-reportgenerator-globaltool ). The GitHub Actions will be responsible with running this every time. The docs folder will be responsible of hosting it . The code for docker resides in …

  • Generating outdated,licenses and thanks with .NET Core tools

    Last time (http://msprogrammer.serviciipeweb.ro/2020/06/08/net-core-local-tools/) I have discussed about local tools . Now it is time to show something in practice,beside code coverage ( detailed http://msprogrammer.serviciipeweb.ro/2019/12/09/code-coveragepart-25/ and video https://youtu.be/JvahoA0WWms  ), Let’ make something simple: generate outdated packages list,licenses and thanks. I will use this packages “dotnet-project-licenses”: { “version”: “2.1.0”, “commands”: [ “dotnet-project-licenses” ] }, “dotnetthx”: { “version”:…