Category: Back-2-Bascis

WordPress Blog in Azure App Service In Minutes–Part 02 (Configuring WordPress)

Posted on 1 min read

In the last part of this series, we experienced how to create a new wordpress blog instance in Azure App Service. In this part we will learn, how to configure your wordpress instance for publishing. Now that we have WordPress instance deployed in Azure App Service, lets expore the app service instance a bit. Step… Continue reading

WordPress Blog in Azure App Service In Minutes–Part 01

Posted on 2 min read

All my life I have been a tech saavy person would make my hands dirty trying out all odds available. Here I am going to help you with setting up your own WordPress Blog in Azure App Service. SPOILER ALERT: We will be using a B1 – Basic instance to save the cost. Step 1:… Continue reading

Back to Basics : Singleton Design Pattern using System.Lazy type

Posted on 4 min read

This article takes you to a simpler/alternative approach in making a Singleton Design Pattern implementation using System.Lazy class rather that using our traditional approach. Singleton Design Pattern implementation without lazy initialization: This code is thread safe enabled [code language=”csharp” padlinenumbers=”true”] /// <summary> /// Singleton class /// </summary> public class AppConfig { private AppConfig() { }… Continue reading

Disable Client Side validation on a button click – ASP.NET MVC

Posted on 2 min read

ASP.NET MVC we use client side validation using jQuery.validate plugin, which will be based on Model – Data Annotation validation attributes. In some cases we might want to disable such validation on a button click wherever it is not needed. For example: The below code block will register validation block for Title property in the… Continue reading

HTML5 – Introduction to HTML5Shiv for Internet Explorer 6/7/8

Posted on 3 min read

HTML5Shiv is a JavaScript workaround, discovered by Sjoerd Visscher, to enable support styling of HTML5 elements in versions of Internet Explorer prior to version 9.0, which do not allow unknown elements to be styled without JavaScript. Means your CSS classes and attributes will not be applied to the particular HTML5 specific display element, until and… Continue reading

Zip(Archive) API’s in .NET Framework 4.5 – Part 2 – ZipFile Class

Posted on 3 min read

In my previous post I shared some information on API’s/Classes included as part of System.IO.Compression namespace in .NET Framework 4.5, and given on overview of ZipArchive class. Once such class I would be sharing some insight with post today would be ‘ZipFile‘ class. The ZipFile class provides convenient static methods for working with zip archives:… Continue reading

Zip(Archive) API’s in .NET Framework 4.5 – ZipArchive Class

Posted on 5 min read

With release of .NET Framework 4.5, Microsoft has introduced new classes in to System.IO.Compression namespace. These classes will add the necessary programming support for Zipping(Achiving), and Extracting support for Zip Files in your .NET Source Code. Below are the newly introduced classes as part of .NET Framework 4.5: ZipArchive – Represents a package of compressed… Continue reading

ASPNET MVC Framework Versions & Features

Posted on 9 min read

Introduction Today, Microsoft’s  ASP.NET MVC framework has become a robust framework for building highly scalable, maintainable  enterprise web applications.  I am just taking you through the journey of ASP.NET MVC since 2009 and where we are today. ASP.NET MVC is a free, fully supported Microsoft framework for developing great web applications using the Model-View-Controller pattern.… Continue reading

Using External Configuration Files in .NET Applications (C#)

Posted on 5 min read

This post is about making a small code snippet which read from an external configuration file and get the custom configuration entries from it. I went through the solutions. My target was to checkout how we can use the external configuration files in an ASP.NET Web.config. The idea is that there are more than one… Continue reading