ConfigurationManager vs WebConfigurationManager vs CloudConfigurationManager

In my recent post, I have explained various ways of storing application settings and connection strings for the web application hosted in Azure App Service. Let’s now see what .NET Framework provides us to consume these settings from the code and when to use what?.

Continue reading “ConfigurationManager vs WebConfigurationManager vs CloudConfigurationManager”

Find out the best way to configure settings for your Azure Web App

Even though we have a great documentation for each of the azure offerings available, it is our job to study all of the options, compare and choose the one which best suits our application needs.

Configuring application settings for Azure Web App is one such topic where we have multiple options to maintain these settings. Let’s look at those options and see when to use what.

Continue reading “Find out the best way to configure settings for your Azure Web App”

Upload files to Azure Web App via FTP

Recently, I was spending some time on Stack overflow and found an interesting Question on our today’s headline topic. The Question is based on Official Azure Documentation on Uploading files to Azure Web App via FTP.

Continue reading “Upload files to Azure Web App via FTP”

Extract a zip file stored as Azure Blob with this simple method

Ever got a scenario wherein you receive zip files into Azure Blob Storage and you are asked to implement a listener to process individual files from the zip file?

If you’re already working on azure PaaS services, I don’t need to explain you how to implement a listener or a blob trigger using azure function app but what i wanted to focus in this post is to extract the zip file contents into an another blob container and process individual files in it.

Let’s get started…

Continue reading “Extract a zip file stored as Azure Blob with this simple method”

What have you got to replace AppFabric Cache?

Mainstream Support for AppFabric 1.1. for windows server was came to an end on 4/11/2017. Are you still using the services with an extended support or looking for an alternative with Mainstream support?

Let’s dive into the topic and see what fits your application to replace AppFabric Caching Service. Continue reading “What have you got to replace AppFabric Cache?”

New type of URI Routing in MVC 5 – Attribute Routing

This article walks you through the new method of URI Routing introduced in ASP.NET MVC 5 called Attribute Routing.

What You’ll learn:

  • Why Attribute Routing?
  • How to enable it?
  • Various available options to work with it.

Continue reading “New type of URI Routing in MVC 5 – Attribute Routing”

Understanding ASP.NET MVC Routing Mechanism

This article explains how the URL Routing mechanism works in ASP.NET MVC architecture.
What You’ll learn:

  • URL Routing
  • Working with Default and Custom Routes
  • Applying Constraints to Routes

Continue reading “Understanding ASP.NET MVC Routing Mechanism”

Serializing & Deserializing – .NET Managed Object to XML

This article guides you to serialize any managed .NET object to XML and how to deserialize it back to .NET object

What You’ll learn:

  • Serialialization & Deserialization overview
  • Serializing a .NET object to XML with an Example
  • Deserializing XML back to the .NET Object with an Example

Continue reading “Serializing & Deserializing – .NET Managed Object to XML”

Encrypt and Decrypt Data using .Net Framework

This article explains how we can Encrypt and Decrypt data using .Net Framework

What You’ll learn:

  • Namespace – System.Security.Cryptography
  • Symmetric and Asymmetric Algorithms
  • Symmetric –  Key and IV (Initialization Vector)
  • Asymmetric – Public Key and Private Key
  • Encryption and Decryption

Continue reading “Encrypt and Decrypt Data using .Net Framework”