Consuming ASP.NET Web API Service using HttpClient: Part2 of Many

Read Part 1 Here I am in love with ASP.NET Web API hence I started writing on the same. In first part of this blog series I have written Creating First HTTP Service using ASP.NET Web API: Part1 of Many. In this post I will show you how you could consume service created in previousContinueContinue reading “Consuming ASP.NET Web API Service using HttpClient: Part2 of Many”

Creating First HTTP Service using ASP.NET Web API: Part1 of Many

In this post I will give you basic understating of creating HTTP Services using ASP.NET Web API. Here I am assuming that you are aware of basic ASP.NET MVC. To work with ASP.NET Web API, you need to install ASP.NET MVC 4.0. Download ASP.NET Web API from here and install it from Web Installer. AfterContinueContinue reading “Creating First HTTP Service using ASP.NET Web API: Part1 of Many”

Silver Light with ASP.Net MVC Framework

Objective In this tutorial, We will fetch data from SQL Server database using LINQ and display that data in Silver Light, while we are following ASP.Net MVC Framework Step 1 Create a Silver Light application. File -> New -> Project -> Silver Light Step 2 To hosting SILVERLIGHT application there are three options available forContinueContinue reading “Silver Light with ASP.Net MVC Framework”

Picture Gallery in ASP.Net MVC Application

 Objective Objective of this aricle is to show, how to work with Images in ASP.Net MVC application. This article will explain, how to display images from Xml file and how to add images in Xml resourece. The Final Output would be something like below. Creating the Resource folder for Image Create an ASP.Net MVC application,ContinueContinue reading “Picture Gallery in ASP.Net MVC Application”

Unity Frame Work in ASP.Net MVC Application

Objective This article will explain step by step that how to inject dependency using UNITY framework in ASP.Net MVC Application Step 1 Create a MVC application Step 2 Add Unity references to the MVC application. Step 3 Idea here is to create a custom controller factory. This custom controller factory will create the controller andContinueContinue reading “Unity Frame Work in ASP.Net MVC Application”

Improving performance with Output Caching in ASP.net MVC application

  Goal: Here, I am going to explain, how we can improve performance of ASP.Net MVC application using output caching. Advantage It enables us to cache the content returned by Controller action. It stops controller action to generate same content each time. We can set caching parameter using output cache. We can specify where toContinueContinue reading “Improving performance with Output Caching in ASP.net MVC application”

Working with Word document in ASP.Net MVC Application

Objective This article will give step by step explanation of How to display a word document in ASP.Net MVC framework. How to customize the default master pages and CSS. First the output, Home will look like below. When user will select link to open a particular word document, output would be Step1 Create an ASP.NetContinueContinue reading “Working with Word document in ASP.Net MVC Application”

ASP.Net MVC Framework Introduction

ASP.NET MVC framework Overview Objective This tutorial will explain basically, how to work with ASP.NET MVC Frame work. I will explain that in chronic fashion. It would come in different parts. Objective of PART 1: Here I am going to introduce, what is MVC Design pattern. What are the advantages of using ASP.NET MVCF Framework?ContinueContinue reading “ASP.Net MVC Framework Introduction”

Html Helper in Asp.Net MVC application

Html Helper To add content to VIEW of Asp.net MVC application, Html Helper is being used. This is nothing but a method which returns string. Html Helper could we used to generate standard HTML elements like Text Box, Label etc. All Html helper are called on the Html property of view. For example to renderContinueContinue reading “Html Helper in Asp.Net MVC application”

File Upload in ASP.Net MVC application

Objective This article will show how to upload a file from client to server location in ASP.Net MVC application in 5 easy steps. Step 1Create an ASP.Net MVC application. File->New->Project->web->ASP.Net MVC Application Step 2 Creating controller Right click on Controller folder and add a new controller.   FileUpload is name of the controller here. Don’tContinueContinue reading “File Upload in ASP.Net MVC application”