Category: azure
-
Azure Cache Redis in Aspire on Local PC
In this exercise, I focused on only one Azure resource: Azure Managed Redis. My goal was simple: run Redis locally as a container, connect a console client project to it through .NET Aspire with access key authentication, and validate that the client can set and retrieve cache values end-to-end. How it looks like This is…
-
Azure Storage Blobs in Aspire on Local PC
In this exercise, I focused on only one Azure resource: Azure Storage (Blob Storage). My goal was simple: run Blob Storage locally using the emulator, connect a console client project to it through .NET Aspire, and validate that the client can create a blob container end-to-end. How it looks like This is the Azure Storage…
-
Azure SqlDatabase on local PC with Aspire
In this exercise, I focused on only one Azure resource: Azure SQL Database. My goal was simple: run Azure SQL locally, connect a console client project to it through .NET Aspire, and validate that the client can open a database connection end-to-end. How it looks like This is the ASPIRE project How I wired Azure…
-
Run Azure Cosmos DB on local PC
In this exercise, I focused on only one Azure resource: Azure Cosmos DB. My goal was simple: run Cosmos locally, connect a console client project to it through .NET Aspire, create database/container automatically, and write a test item end-to-end. How it looks like This is the Data Explorer emulator with a item This is the…
-
TILT- ConnectionSecrets in Azure–part 7
There is relatively easy to use – just go to your web app in Azure,Configuration,ConnectionStrings and add your data. This tutorial is based on the following article: https://docs.microsoft.com/en-us/azure/app-service/tutorial-dotnetcore-sqldb-app The .NET Core code is simple: services.AddDbContext<MyDatabaseContext>(options => options.UseSqlServer(Configuration.GetConnectionString(“AZURE_SQL_CONNECTIONSTRING”))); Tools used: https://portal.azure.com/
-
TILT–CI and CD–part 6
Because the Source Control is Github and has Actions when submitting the code,I use this. Also,when creating an Azure WebSite,you can integrate with Github and he will add the yaml for you and the secrets to deploy I have added also badge to see the result of the action in the readme file. For the…
-
TILT- database–part 3
The Azure options for creating a database are enough to stay to think about: I will create an Azure Sql Database – now more options To choose one should evaluate deeply https://docs.microsoft.com/en-us/azure/azure-sql/database/features-comparison And if you want to evaluate the cost,here are some prices: https://azure.microsoft.com/en-us/pricing/details/azure-sql-managed-instance/single/ I will go with Sql Managed instances When creating,the admin password…
-
FileExtension–part 6 – CI/CD
So now how to make visible all those coding ? For tests –CodeCov, https://app.codecov.io/gh/ignatandrei/FileExtension hosts for free to see the coverage For documentation – ReadTheDocs, https://fileextension.readthedocs.io/en/latest/ hosts for free. For packaging – NuGEt https://www.nuget.org/packages/FileExtension/ For more detailed analysis Sonar https://sonarcloud.io/summary/overall?id=ignatandrei_FileExtension can show code smells and bugs and more GitHub actions https://github.com/ignatandrei/FileExtension/actions allows me to run all those…
-
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 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 ?…