Category: azure

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

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

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

  • Bingo for meetings- azure integrations–part 10

    Now it is about Continuous Integrations. We want tests to be run each time we push something to GitHub.  For this we could use Azure DevOps. It is free for GitHub public repositories . We want to configure an azure pipeline to automatically run tests  that we have in Docker. So the pipeline will just…

  • Bingo for meetings- dockerize tests–part 9

    We have now full DDD and tests that should be run for the objects. However,we need a way to automatically have the tests run . The easy way is to dockerize the tests – run in a container,grab the results,display somewhere. First we should have the tests display in a nice form some data.  For…

  • DotNet CLI Tools

    There is a revival of CLI tools. And dotnet is going with the wave. You can find the tools installed with .NET Core here,https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x  and here https://docs.microsoft.com/en-us/dotnet/core/additional-tools/   Usually you do not need those – since Visual Studio is good to have all from the GUI. However,you can make your own tool – and you have the…

  • C# integration testing in AzureDevOps with Docker containers– SqlServer and Cachet example

    Every software that we make depends on others. For Stankins,as a general ETL data,it is more important to be tested with real data providers.For example,we may want to take data from Sql Server and send to Cachet . How can we have a SqlServer and a Cachet up and running easy ? The obvious answer…

  • .NET Core Alphabet

    What I wanted is a simple application ( Web,Mobile,Desktop) that can list,alphabetically,the .NET Core keywords. What is the purpose? For interviews – suppose you want to test the people knowledge in C#. You start the application( again: Desktop or Web or Mobile) and let the candidate choose a letter. Then you see the keywords for…

  • MVC Browser history provider for azure–trying an implementation for 3 hours

    first,implement  IBrowserUserHistoryRepository  – that means implement: public void Save(IEnumerable<BrowserUserHistoryData> history)   Azure have PartitionKey/RowKey – I have to add a new class. Also or connectiing,I have to put   connectionString="UseDevelopmentStorage=true;" /   I tried to add a bulk history : tableHistory.ExecuteBatch(batchOperation); The result was: Unexpected response code for operation : 0 Magic: <add key="TableStorageEndpoint" value="http://127.0.0.1:1002/"/>…

  • Azure tools

    Azure storage Explorer : http://azurestorageexplorer.codeplex.com/  – like in VS,but simpler and cleaner Windows Azure ASP.NET Providers Sample : http://code.msdn.microsoft.com/windowsazure/Windows-Azure-ASPNET-03d5dc14 – utils for fast membership and roles. Small problem on local. More samples here: http://code.msdn.microsoft.com/windowsazure/ And that will be all,after reading the documentation and understanding the concepts ( for example,if you understand the session problem in…