Microsoft .NET

How to Use Google Maps in MVC Application


Before we jump into the integration bit, let me introduce the API Google Maps JavaScript API v3 that is used for the integration of Google Maps. This API is used when we want to customize Maps according to our requirement. We can draw Polygon, Polylines, have Click events etc. using this API.

To get started, we need a specific API key from Google. The Key is free and is required to complete this process.

To create your API key:

Visit the APIs Console at and log in with your Google Account.
Click the Services link from the […]

What did 2014 bring for Microsoft?

Microsoft was at its zenith in 2014. There were many strategic moves they had taken in 2014 which are going to impact the business and developer community.
Owing to the rapid technology collaboration in recent years, the role of a developer is getting diluted. Now, the developers are not only expected to hone their technical skills on a regular basis but understand the role of technology in the business. Over a period, their day-to-day work and its relation with the business, business decisions and industry domains have changed a lot.

Let’s glance through the key decisions […]

Introduction to ASP.NET Web API?

Web API provides you a platform where you can build and consume HTTP services. We can get and post data in XML and JSON format. It is good for mobile and iPad applications that return data in JSON and XML. We go with JSON because JSON is faster than XML.  JSON doesn’t have attribute and is good even with a slow internet connection.
Why use ASP.NET Web API?
Web API is a light weight HTTP service because  XML, JSON etc media type can be used to get and post data. It is a first-class programming model […]

How to improve the performance of the application in ASP .Net


In this blog I would like to share some of my interesting findings regarding optimizing the page rendering time and increasing the performance of the web application using C#.NET.

Before starting, it is very important to identify which part of your application requires more attention, in order to improve the website performance. So below we have some ways to identify the pages.

Using VS.Net 2010 Profiler
Tracing web application
Extension (Firefox Firebug, Google Chrome Speed Tracer, IE9 Developer Tools)
Monitoring tools like fiddler is also helpful

So let’s move on to the implementation details.

1. Turn off View state if not […]

Encryption and Decryption of Video Files Using C#

Encryption is the process of translating plain text data (plaintext) into something that appears to be random and meaningless (cipher text). Decryption is the process of converting cipher text back to plaintext.

For smaller and simpler files (like Text files) we can use DES algorithm, but for other type of files such as a video, we’ll have to use AES or some other algorithm. For this example we’ll be using AES algorithm. AES is a new cryptographic algorithm that can be used to protect electronic data. Typically, AES is an iterative, symmetric-key block cipher that […]