Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 93
  1. Getting Started with Serilog Custom Enrichers

    Serilog is a popular logging library for .NET that provides a flexible and extensible way to log messages from applications.

  2. With the use of C#, we can develop a console application that uses the Chat GPT model to generate human-like responses to input.

  3. Define Implicit and Explicit Operator - C# Tips

    C# allows us to define Implicit and Explicit operators.

  4. Calculate Time Ago with .NET C#

    Here is a small extension method over System.DateTime that gives its relative time readable for humans, such as: one minute ago 2 minutes ago one hour ago 3 hours ago 3 days ago Check out this extension method over the DateTime structure using switch patt…

  5. SSH Exposed to Internet - 8 steps check list

    Exposing virtual machines to the internet it’s not an easy task.

  6. Create a Minimal API with .NET 6

    One of the new features of .NET 6 is the arrival of a new template, which will replace the default and bring a good reduction in code writing.

  7. Set up Serilog in .NET 6 as a logging provider

    Serilog is a robust API for logging with many configurations and sinks (outputs) and it is straightforward to get started in any .NET version.

  8. Oracle C# drive is already pretty fast with the default configuration.

  9. Adding Startup.cs back to .NET 6 Project

    When .NET 6 was released, the first big change was the lack of Startup.cs.

  10. Oracle Database on Docker for Development

    Lets set up an Oracle Database instance for development purpose using Docker is very easy.

  11. AZ-900 - Useful Resources for the Exam

    Azure Fundamentals exam is an opportunity to prove knowledge of cloud concepts, Azure services, Azure workloads, security and privacy in Azure, as well as Azure pricing and support.

  12. Health Checks on your ASP.NET Core Application

    Health Endpoint Monitoring pattern # Health Check in .NET 5 is very simple.

  13. Add Build Time to your C# Assembly

    Having the Assembly version is great.

  14. **MongoDB is a document-oriented NoSQL database used for high volume data storage.

  15. In this article, we’re going to create the code (and understand how it works) to handle API Key authentication with just three lines of code extending the native Authentication mechanism.

  16. C# Azure Functions support dependency injection through the native container.

  17. Endpoint Monitoring with Azure Application Insights

    Let’s explore the use of Microsoft Azure Application Insights to monitor the health of our application using the endpoint /healthcheck.

  18. Adding Health Checks UI

    This is the second article about Health Checks and Application Monitoring.

  19. A self-signed certificate it’s very easy to create and helps on with local development and testing.

  20. Compress files in memory (.zip) using C#

    Here is a code snippet of how to compress one or many files to a zip archive in memory using C#.

  21. These days I was asking myself how to get the file name without the extension.

  22. Yet Another AZ-203 Microsoft Official Course Delivered.

  23. Create Azure App Service though AZ Cli

    # generate a unique name and store as a shell variable webappname=mywebapp$RANDOM # create a resource group az group create --location westeurope --name myResourceGroup # create an App Service plan az appservice plan create --name $webappname --resource…

  24. Create Azure Virtual Machine Using PowerShell

    Quick Configuration # Getting the public Ip # Get-AzPublicIpAddress -ResourceGroupName "demo003" | Select "IpAddress" Full Configured Virtual Machine # Getting the public Ip # Get-AzPublicIpAddress -ResourceGroupName "demo004" | Select "IpAddress" Remov…

  25. Azure Storage Disks - Managed and unmanaged disks

    Managed disks # The Azure platform manages the disk and the backing storage You don’t have to worry about storage account limits and thresholds Unmanaged disks # You manually create and manage virtual hard disks (VHDs) in your Storage account You will need

  26. In this article we will set up Cloudflare as a reverse proxy and Azure Web Apps as a web service.

  27. Practice of SQL Injection

    First, do you know (or remember) what SQL Injection is?

  28. SQL Injection na Prática - Executando o Ataque

    Primeiro, você sabe (ou lembra-se) o que é SQL Injection?

  29. Você sabe o que é um Perceptron?

  30. Fist the data types available. int whole numbers long whole numbers (bigger range) float floating-point numbers double double precision decimal monetary values char single character bool boo…

  31. Deploying .Net container App to Heroku cloud

    I’m tired of searching every time I need to deploy to heroku cloud.

  32. Azure Kubernets - az cli

    Steps to create Azure Kubernet Services (AKS) though azure cli tool.

  33. Demo - Azure Batch

    Creating the Resource Group # az group create --name "az203_batch_demo001" --location CentralUS Creating the storage account # az storage account create \ --name az203batchstoragexd \ --access-tier hot \ --https-only true \ --kind BlobStorage \…

  34. az cli (bash) create resource though Resource File

    The resource file azuredeploy.json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "storageAccountType": { "type": "string", "defaultValue":…

  35. Conference API Sample

    This is a sample API hosted by Microsoft. https://conferenceapi.azurewebsites.net/?

  36. Enable Local Cache in Azure Web App

    What is Local Cache in Azure WebApp?

  37. C# DateTime Cheat sheet - ToString() Format

    Cheat sheet with C# DateTime formats. using System; using System.Globalization; public class Program { public static void Main(string[] args) { DateTime dt = DateTime.Now; string[] format = { "d", "D", "f", "F",

  38. Demo WebJob Azure - CRON expressions

    CRON expressions # Azure Functions uses the NCronTab library to interpret CRON expressions.

  39. Enable Azure Disk Encryption though az-cli

    Create Azure Key Vault service # az keyvault create \ --name "kvDemo006" \ --resource-group "demo001" \ --location centralUS \ --enabled-for-disk-encryption True Enable disk encryption on VM # az vm encryption enable \ --resource-group "kvDemo006" \

  40. Create Azure VM though PowerShell

    Go to https://shell.azure.com and enter the following commands.

  41. HSTS - What's it and how to enable it in IIS

    HSTS, what’s it?

  42. Libraries.io - A Library of frameworks #tip

    Theses days I was trying to find the latest version of some framework I was using.

  43. How to migrate .Net Core 1.0 to 1.1

    Hi guys!