Category: exchange rates
-
European Central Bank- part 8
Because I have had last time a flop,now I decide to get the European Central Bank rates. Going to https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html show the XML – but not the XSD. So now it is about how to transform from XML to C# classes – and I remembered a discussion with https://siderite.dev/ – Visual Studio does now how…
-
Try to show the result online in docker with dotnet try- part 7
Trying to put the dotnet try in docker Each line from here is taking time – save this as docker.console file FROM mcr.microsoft.com/dotnet/core/sdk:3.0 RUN dotnet tool install -g –add-source “https://dotnet.myget.org/F/dotnet-try/api/v3/index.json” dotnet-try ENV PATH=”$PATH:/root/.dotnet/tools” #ENV ASPNETCORE_URLS=http://+:5000 CMD dotnet try –verbose –port 443 EXPOSE 443 I can run this by docker build -f ./console.docker . -t…
-
Show the software- artifacts and dotnettry –part 6
So I was about artifacts – what if I put the console as an artifact,to can show the work to other people ? Read about artifacts at Github Actions at https://help.github.com/en/github/automating-your-workflow-with-github-actions/persisting-workflow-data-using-artifacts . Seems easy. One indentation problem later and I have a 34 MB application that is attached to the current action and it is…
-
Running CI tests- part 5
Now I want that every time I commit the project,the tests should be run. I do not want all the test,but just the ones without external dependencies. For that,I decorate with [Trait(“External”,”0″)] and [Trait(“External”,”1″)] the ones that are using just local resources,respectively the internet. I modify the dotnetcore.yml from Github to run the test by…
-
Badge,tests–live and mock–part 4
(This is the result of 1 hour per day auto-challenge as a full cycle developer) Reading https://github.com/sdras/awesome-actions I discovered that I can easy add a badge that is building correctly. Not working ( shows “ no status” ). Thinking about spaces –but no. Maybe a bug ? Resolving later… Now it time to add some…
-
Source control and build–part 3
(This is the result of 1 hour per day auto-challenge as a full cycle developer) I need to put somewhere the sources – GitHub seems the obvious choice. So I created https://github.com/ignatandrei/infoValutar/ and put there the project. Now trying to help others to see the final result – and here GitHub actions can help build…
-
Reading from internet–part 2
(This is the result of 1 hour per day auto-challenge as a full cycle developer) After some searching,I have found this page https://bnro.ro/Cursurile-pietei-valutare-in-format-XML-3424.aspx where it says it has the latest BNR exchange rates in XML format – https://www.bnr.ro/nbrfxrates.xml – and it has also an xsd schema : https://www.bnr.ro/xsd/nbrfxrates.xsd ( Also I have discovered this page…
-
Exchange rates–start project – part 1
(This is the result of 1 hour per day auto-challenge as a full cycle developer) Long time ago I have made a site about exchange currency rates for National Bank of Romania( and l,later,also Central Europeean Bank ) . It was started on ~ 2004 – found image at https://web.archive.org/web/20041215090302/http://www.infovalutar.ro/ Then was passed via MVC1…