• Adding database in Azure –part 26

    Now getting the database – needed for historic data. When I go to Create New Database in Azure Portal,there are many types of Database (mongo,postgres,many others) – the easy choice,for me,is SqlServer ( even if the tables are not be updated – the exchange rates does not change a lot). There is something that is…

  • Code Coverage–part 25

    Install coverlet and report generator dotnet tool install coverlet.console dotnet tool install dotnet-reportgenerator-globaltool   Then dotnet coverlet Infovalutar.sln –target “dotnet” –targetargs “test InfovalutarTest\InfovalutarTest.csproj –configuration release –no-build” –format opencover –exclude “[xunit*]*” dotnet reportgenerator “-reports:coverage.opencover.xml” “-targetdir:coveragereport” “-reporttypes:HTMLInline;HTMLSummary;Badges”   And the result ?No assemblies have been covered. Updating all NuGet packages for the solution  – including a collector…

  • Friday Links 348

    huyingjie/Awesome-shiny-apps-for-statistics: <�� A curated list of Awesome Shiny Apps for Statistics (ASAS)<�� Six Reasons To Learn R For Business sharlagelfand/toronto-sexual-health-clinics Combined outlier detection with dplyr and ruler Time Series Forecasting with Recurrent Neural Networks Pipes in R Tutorial For Beginners – R-posts.com More Pipes in R – Win-Vector Blog DateTime Best Practices | Complete Developer…

  • See the tests in VSCode and improvements in powershell–part 24

    I wanted that the user can see the tests when running in  VSCode. So in devcontainer.json I have put “extensions”: [ “ms-vscode.csharp” “ms-vscode.csharp”, “hbenl.vscode-test-explorer”, “formulahendry.dotnet-test-explorer” ] and in the settings.json on .vscode folder   dotnet-test-explorer.enableTelemetry”: false, “dotnet-test-explorer.testProjectPath”:”**/*.sln”, “dotnet-test-explorer.autoExpandTree”:true   So far,so good. But – I remember that powershell have a problem. And I figure why…

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

  • Debug Application under VSCode and Docker–part 22

    What I wanted is that people that have only a container application ( docker) and  VSCode ( not Visual Studio,nor .NET Core Framework) be able to debug the application and run it. That means,I no longer require to install .NET Core SDK on the local PC Read a lot https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnetcore-3.0 https://code.visualstudio.com/docs/remote/containers Some important things…

  • Making visible the application -part 21

    Trying to make visible the docker with https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/ignatandrei/InfoValutar/master/PlayWithDocker/WebAPI.yml leaving an issue: https://github.com/play-with-docker/play-with-docker/issues/370   Decided  to add to the readme the docker . Going to Shields.io . Putting some lines for beginners with docker. Reading more about port –binding . Figuring this is is: ENV ASPNETCORE_URLS=http://*:8080 #ENV ASPNETCORE_URLS=http://0.0.0.0:8080 And that was all !

  • Docker–fourth part–part 20

    Time to push to docker 1. putting the docker password into the pipeline variables 2. Modifying the yaml 3. Waiting for build Error in Docker:  Incorrect name or password Now,I want to create 2 jobs to isolate Docker from the main build. I encounter some errors in the yaml file . That shows fast in…

  • Friday Links 347

    10 Schools of Philosophy and Why You Should Know Them | Big Think RendleLabs/Beeline: Cut out the middleman and serialize directly from a DbDataReader to UTF8 Json bytes. Six Tiny But Awesome ES7 + ES8 Features Six More Tiny But Awesome ES6 Features Six Tiny But Awesome ES6 Features TypeScript: Precise domain modeling with discriminated…

  • Docker–third part–part 19

    Trying different  codes in the csproj to add dynamically content from a folder ( including the dll’s copied there ) and to retrieve in the output directory: ( reading from internet of all those stuff) Version 1: <!–<Target Name=”ContentsBeforeBuild” AfterTargets=”BeforeBuild”> <ItemGroup> <Content Include=”plugins\**” /> </ItemGroup> </Target>—> Version 2: <!–<Content Update=”plugins\**\*.dll” CopyToOutputDirectory=”Always” LinkBase=”plugins”> </Content>—> Version 3:…

I am ok , you are ok