Posts

Building a Deployment Package with Static Content

Image
I was once working on a MVC 3 project. The project included the usual web stuff: controllers, views, models, images, css files, and javascript files. There are also a couple of Excel files that we use. Come deployment time, I followed the steps in building a deployment package. To my surprise (horror), a lot of the css, javascript, and image files were not loaded! Even the Excel files could not be found. So what happened?

Enabling SQL Server Authentication after Installation

Image
If you install SQL Server using the default options, Windows authentication will be enabled and SQL Server authentication will be disabled. This post discusses how to enable SQL Server Authentication after installation and also enable the sa login.

Javascript: Truthy and Falsy Values

Image
I used to wonder what this Javascript code fragment means:

How to Test Internal Methods in Visual Studio

Image
Today I will show a very simple way on how to test internal methods in Visual Studio.

How to Send Email Using C#

Image
Sending email is a useful feature to have in many web applications. For instance, internet marketing strategies often involve using autoresponders to constantly send offers to subscribers. Daily reports can also be emailed to web administrators to keep them updated on the health of their site. In this post, we will send a simple email using c sharp.

Building a Deployment Package Using Visual Studio 2010

Image
Hi, in this post we will be talking about deployment in general and building a deployment package in Visual Studio 2010 in particular.

From Method to Func

Image
In this post we will take a journey from ordinary methods to the Func. Along the way, we will encounter delegates , anonymous methods and lambda expressions . If any of these concepts are unfamiliar to you, don't worry as they will be explained along the way.