• What I have done in 2019–and goals for 2020

    In 2019 I have learned .NET Core  – up to the version 3.1 Angular-  up to the version 8.0 Docker –  up to the 19.3 TypeScript –up to 3.7 JavaScript frameworks for backend and mono-repo I have started To learn Azure InfoValutar  –  https://github.com/ignatandrei/InfoValutar Bingo – https://github.com/alexandru360/PresentationBingoCards/ with Alex Badita Coordinating automation work at the…

  • Azure functions – final–part 37

    So,I said,now just retrieve data – and put on database: try             {                 log.Info(“trying to save”);                 ISave save = new SaveSqlServer(null);                 await save.Save(data.ToArray());             }             catch(Exception ex)             {                 log.Error($”ERROR !! {ex.Message}”);             } This gives me a new whole error: ERROR !! Could not load type ‘System.IAsyncDisposable’ from assembly ‘netstandard,Version=2.1.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51’. Ok. Coming from start: What I want ?…

  • IAsyncEnumerable transformed to IEnumerable and making Azure Functions works- part 36

    Last time I have had problems because of IAsyncEnumerable not be loaded from SystemRuntime. Decided to modify code to use instead Task<Ienumerable> The code modifications were interesting await foreach (var e in nbr.GetActualRates()) //versus  foreach (var e in await nbr.GetActualRates()) yield return exch; //versus adding to a list and return the list  ret.Add(exch); var data…

  • Friday Links 351

    Introduction · goodshare.js — Useful modern JavaScript solution for share a link from your website to social networks or mobile messengers Seva Zaikov – How to Use Generators in JavaScript Using FakeItEasy with Entity Framework 6 – CodeProject Testing with InMemory – EF Core | Microsoft Docs Useful tools for your Node.js Projects — 2018…

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

  • Loading data regularly–deploy plugins–Azure Function–part 34

    Now I have broken the build. Why ?Because of the docker file – to be optimized on local,I copy ecah csproj one by one and the I do dotnet restore. (If docker had a glob patttern! ) . So each time that I put a new project,the build will fail! Trying now from the Azure…

  • Loading data at regular intervals–Azure function –part 33

    I need to load data at scheduled intervals – it is normal that the exchange rates are published every day. So what options we have in Azure? WebJobs Worker Roles Azure functions After reading a lot,I decide on Azure Functions – it is the new kid on the block and battle tested. More,it has something…

  • Try Dot Net–again–part 32

    I wanted to put my project on the .NET try – it is a wonderful tool that makes magic for .NET . However,I wanted to be in a docker container. I have open a issue here: https://github.com/dotnet/try/issues/590 It was resolved  – now I can specify the port But the problem now it is that cannot…

  • Friday Links 350

    Exploring Histograms Aspect Oriented Programming in C# using DispatchProxy – CodeProject Aspect-Oriented Programming – Aspect-Oriented Programming with the RealProxy Class krlmlr/here: A simple interface to rprojroot kannan-ar/MariGold.OpenXHTML: MariGold.OpenXHTML is a wrapper library for Open XML SDK to convert HTML documents into Open XML word documents. AngleSharp/AngleSharp: The ultimate angle brackets parser library parsing HTML5,MathML,SVG and…

  • Saving multiple data–part 31

    I want to load the exchange rates from NBR and ECB and load at once .From here,the challenges of programming for a simple task like this: How we can display the errors ? What if the data exists already for this day and I cannot save into database,because it exists ? How to acknowledge what…

I am ok , you are ok