Blog

Blog posts on .NET, Azure, and more.

Introduction to Web API

August 30, 2013 by Anuraj

.Net ASP.Net Web API

Web API is a brand new platform for developing REST services using Microsoft technology stack. It is a framework based on HTTP services, which helps client applications to communicate with services in an object-oriented way. Web API is highly customizable, scalable framework on top of .net framework. If you are using VS 2012, Web API framework project template will be included, if you are using VS 2010, you need to install it via nuget.

How to use the Outlook Object Library to send an email

August 28, 2013 by Anuraj

.Net Office Interoperability Windows Forms

Sometimes we required to send email messages using Outlook Object Library instead of the conventional System.Net.Mail.SmtpClient class. While developing an desktop application, where I couldn’t hard code the SMTP server details and credentials. I found a solution using Outlook Object library, which will help to send email, with the current user context and credentials.

How to handle hardware back button in Windows Phone

August 28, 2013 by Anuraj

.Net Windows Phone

If you want to display an exit confirmation from your Windows Phone app, if user press the hardware back button, here is the code snippet. (It is not a recommended practice, as per Windows Phone market place certification requirements, if user pressing the back button from the application’s first page, application should exit)

Error Unable to locate package source while installing Visual Studio 2012 Update 3

August 22, 2013 by Anuraj

.Net Visual Studio

Recently I tried to update VS 2012, with Update 3. I was not using the offline installer. In the middle of the installation I got a screen like this.

How to reverse engineer .NET applications - A quick guide

August 16, 2013 by Anuraj

.Net .Net 3.0 / 3.5 Windows Forms

In .NET world, all the assemblies are compilied in to MSIL (Microsoft Intermediate Language). The MSIL is converted to machine code by a just-in-time (JIT) compiler when it is executed. MSIL includes metadata that provides a wealth of information on the code. .NET Framework comes with various tools which will help you to view / modify MSIL code. But problem with this approach is you need to be a guru in MSIL.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub