Category: azure devops

  • Poor software developer simple changelog for CD

    TL;DR; : Simple change log for Nuget Packages made with GIT Commands and Azure Devops The NetCoreBlockly project have different versions on Nuget: https://www.nuget.org/packages/NetCore2Blockly/  . When I decide to put a new version on Nuget,it is enough to modify in the azure-pipelines.yml the deployNuget: ‘0’ from 0 to 1 and AzureDevOps takes care of the…

  • .NET Core local tools

    ( Video at https://youtu.be/iHLRBxi4S7c ) .NET Core has the concept of “local tools”  – that means,tools for a solution / project. That is different from “global tools”  by the fact that you can have it registered for the solution in a \.config\dotnet-tools.json file. You can read about those at https://docs.microsoft.com/en-us/dotnet/core/tools/local-tools-how-to-use But I want to show you my…

  • BitBucket pipelines vs AzureDevOps pipelines

    TL;DR; : Choose Azure – it can integrate also with BitBucket repository For my  previous experience with AzureDevOps,please see http://msprogrammer.serviciipeweb.ro/category/azure-devops/, I  have had the opportunity to play with BitBucket CI this weekend. Nothing fance,just a CI + test + artifacts for a .NET solution. Both have  yaml files for CI /CD Both have support for…

  • Devops + CI/CD-part 5

    What I need for the devops: 1. Building the solution 2. Running tests 3. Deploying packages to Nuget Being part of the Microsoft stack,it is normal that I have choose for CI / CD the Azure Devops. You can see the AzureDevops at https://dev.azure.com/ignatandrei0674/WebAPI2CLI/_build?definitionId=7&_a=summary and how it is done by reading https://github.com/ignatandrei/WebAPI2CLI/blob/master/azure-pipelines.yml Seeing code coverage…

  • .NET Core global tool CD/CI with AzureDevops to Nuget

    I want to can deploy automatically from GitHub  to Nuget a .NET Global ( or local ) tool. It is enough simple; 1. Get an API key from GitHub 2. Goto to your AzureDevops,settings ( down the page ) and connect with a new Service Connection AzureDevops to GitHub ( name: nugetAndrei) 3. Make an…

  • Adding Angular to WebAPI site-part 41

    First,I want to add an index.html file – to see the result. For this,I add to the startup: public void Configure(IApplicationBuilder app,IWebHostEnvironment env)         //more code app.UseDefaultFiles(); app.UseStaticFiles(); I also add an index.html into a wwwroot folder ( also created into the root) You can see the modifications here: https://github.com/ignatandrei/InfoValutar/commit/4deb32528aee7b667f22a38c8e96899052cbfd4c Now I want to compile the…

  • Last Commit info–GitHub and AzureDevOps–part 39

    I was thinking that I need to see the date of last CD – who done what. For this,I need 2 things: to have a controller/gui to show the info and the CD process,via GitHub/AzureDevOps,to take care of that. For the part with code,the problem was pretty simple:     What about the CD process…

  • Exchange rates–what I have done in 37 hours–part 38

    What I have create for now in 37 hours : A source control – https://github.com/ignatandrei/InfoValutar A plugin based software – you can use to load any kind of exchange rates,for anywhere,provided that you implement the interface – see implementation Tests for some of the code Deployment: An Azure WebAPP  WebAPI deployment  – https://infovalutar.azurewebsites.net/swagger/index.html A Docker…

  • Azure function–solving my own code problems–part 35

    1. My fault – the plugins does not exists in output this should be added to the output in order to the plugins to be copied to the output directory <ItemGroup> <None Remove=”plugins\” /> <Content Include=”plugins\**\*.dll” CopyToOutputDirectory=”Always” /> </ItemGroup> 2. Deploying,I should see what it is convenient: context.FunctionDirectory  OR context.FunctionAppDirectory log.LogInformation($”!!! C# Timer trigger function…

  • Deploy to Azure–part 23

    Create in Azure an AppService infovalutar with InfovalutarRG resource group – can be done like here https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-dotnet or from the Azure Portal ( create AppService – I have put Linux with .NET Core 3.0) Searching how to connect AzureDevOps – the connection should be added from Project Settings (a link at the bottom of the…