using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.Xml; using System.IO.Compression; using System.Text; namespace WebApplication1 { public abstract class BaseResponse { protected XmlDocument _xmlDoc; protected readonly X509Certificate2 _certificate; protected XmlNamespaceManager _xmlNameSpaceManager; //we need this one to run our XPath queries on the SAML XML public string Xml { get { return _xmlDoc.OuterXml; } } public BaseResponse(string certificateStr, string responseString = null) : this(Encoding.ASCII.GetBytes(certificateStr), responseString) { } public BaseResponse(byte[] certificateBytes, string responseString = null) ...
Posts
Deployment of .NET in Azure Kubernetes services
- Get link
- X
- Other Apps
In this blog post, I will show you how to create an Azure resource using Terraform, a popular infrastructure as code tool. The resource I will create is an Azure container registry, which is a service that allows you to store and manage container images and artifacts in a private registry. I will also show you how to deploy a static web app and an Azure Kubernetes service that use the container registry. The first step is to install Terraform on your machine and configure it to work with Azure. You can follow the official documentation. here: https://docs.microsoft.com/en-us/azure/developer/terraform/install-configure The next step is to create a Terraform configuration file that defines the Azure resource you want to create. The file should have a .tf extension and use the Terraform syntax. Here is an example of a configuration file that creates an Azure container registry: # Specify the Azure provider provider “azurerm” { features {} } # Create a resource group resource “a...