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 listing the exchange rates . Good.

Now , after I have a working copy, I want to write all the ideas that this exchange rates application can do – put those on GitHub Issues –  see https://github.com/ignatandrei/InfoValutar/issues

Let’s try this:  https://github.com/ignatandrei/InfoValutar/issues/3 . : I want to others to play with my application – and dotnetry is an obvious choice.

Created a ConsoleDOS.md with the following

# Console

“`cs –source-file ./../InfoValutar/InfoValutarDOS/Program.cs –project ./../InfoValutar/InfoValutarDOS/InfoValutarDOS.csproj

“`

Running dotnet try in the folder  shows the file, however , when  running the program, error occurs

Program.cs(18,13): error CS8652: The feature ‘async streams’ is currently in Preview and *unsupported*. To use Preview features, use the ‘preview’ language version.

What? The project is compiling ok…

Trying to run the latest version of dotnet try

dotnet tool install -g –add-source “https://dotnet.myget.org/F/dotnet-try/api/v3/index.json” dotnet-try

and running my project again shows a different error:

 

Unhandled Exception: Unhandled exception. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
 ---> System.ComponentModel.Win32Exception (0x80090304): The Local Security Authority cannot be contacted
   --- End of inner exception stack trace ---

Now it is time to solve this!

Apparently, reading again https://bnro.ro/Cursurile-pietei-valutare-in-format-XML-3424.aspx shows that needs TLS1.2

So this is the solution:


ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

And one hour passes...
(This is the result of 1 hour per day auto-challenge as a full cycle developer for an exchange rates application)
( You can see the sources at https://github.com/ignatandrei/InfoValutar/ )
NrPost 
1Start
2Reading NBR from internet
3Source control and build
4Badge and test
5CI and action
6Artifacts and dotnet try
7Docker with .NET Try
8ECB
9Intermezzo - Various implementations for programmers
10Intermezzo - similar code - options
11Plugin implementation
12GUI for console
13WebAPI
14Plugin in .NET Core 3
15Build and Versioning
16Add swagger
17Docker - first part
18Docker - second part
19Docker - build Azure
20Pipeline send to Docker Hub
21Play with Docker - online
22Run VSCode and Docker
23Deploy Azure
24VSCode see tests and powershell
25Code Coverage
26Database in Azure
27Sql In Memory or Azure
28Azure ConString, RSS
29Middleware for backward compatibility
30Identical Tables in EFCore
31Multiple Data in EFCore
32Dot net try again
33Start Azure Function
34Azure function - deploy
35Solving my problems
36IAsyncEnumerable transformed to IEnumerable and making Azure Functions works
37Azure functions - final
38Review of 37 hours
39Last Commit in AzureDevOps
40Create Angular WebSite
41Add static Angular to WebAPI .NET Core
42Docker for Angular
43Angular and CORS
44SSL , VSCode, Docker
45Routing in Angular
46RxJS for Routing
47RxJs Unsubscribe