Category: C#

Introduction to AngularJS – Part 1

AngularJS is one of the popular JavaScript framework nowadays.  It is an open source web development framework maintained by Google. AngularJS simplifies the development and testing of a web application. AngularJS helps you to create web applications using MVC (Model, View,

Posted in AngularJS, Asp.Net MVC, C#, CSS, CSS3, HTML, JavaScript, JQuery, Visual Studio 2013 Tagged with: , , , ,

Cross Origin Request in Web API

In this post, I am going to show you how to call a Web API/RestulFul service from client side using AngularJS. It looks pretty simple. But what if your Web API is hosted on a different domain. Then if you

Posted in AngularJS, C#, CSS3, HTML, JavaScript, MVC4, Visual Studio, Visual Studio 2013 Tagged with: , , , , , , , , ,

How to dynamically load images in crystal report

In this post I will show how to display images dynamically on crystal report.  If you store images in your database in a binary format, there could be two approaches to display them on a crystal report.  One approach is

Posted in C#, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , ,

Custom directory to Partial Views in MVC3

In this article I will describe how to change the default directory path of Razor View Engine Partial Views.  By default in Asp.Net MVC3 when you create a partial view, Visual Studio will by default create partial view in the

Posted in Asp.Net MVC, C#, HTML, MVC3, Visual Studio, Visual Studio 2010 Tagged with: , , , ,

Read emails from Exchange Server

Today I am going to write about exchange server. Last week I was working on a project and get a challenge to read emails from a mailbox on exchange server. It’s a new thing for me to read emails from

Posted in C#, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , ,

Creating Multilevel Menu in MVC3

I was working on a project. And I stuck into an issue to create multilevel drop-down menus with the help of list tags. So while trying to figure out the solution here what I had done. I am sure this

Posted in Asp.Net MVC, C#, HTML, JavaScript, JQuery, MVC3, MVC4, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , , , , , , ,

Visual Studio 2012 Release

Microsoft announced on 15th Aug 2012, that Visual Studio 2012 and .NET Framework 4.5 is RELEASED to web. You can download Visual Studio 2012 from the here. Visual Studio 2012 comes with lot of new features and new appearance. Although

Posted in Asp.Net MVC, C#, MVC4, Visual Studio, Visual Studio 2012 Tagged with: , , , ,

Entity Framework tries to create database

Last week I faced one problem. I created one website using MVC3and Entity Framework. When I hosted the website I start getting the below error. CREATE DATABASE permission denied in database ‘master’ I checked the connection string in web.config file.

Posted in Asp.Net MVC, C#, MVC3, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , , , ,

Saving text with HTML tags in MVC3

While working on a project I come across a problem while saving data in database. The data I was trying to save contains HTML tags. I created this web page using Entity Framework for data access, and auto generated controller

Posted in Asp.Net MVC, C#, HTML, MVC3, Visual Studio, Visual Studio 2010, Visual Studio 2012 Tagged with: , , , , , ,