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”
Author Archives: Dhananjay Kumar
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”
Adding Menu functionality in Html Helper class using Extension method
Objective This article will show how to add new functionality in HtmlHelper class using Extension method. This will give step by step explanation of, how to create or add MENU functionality n Html helper class and then use that in view of ASP.Net MVC application. Step 1 Create an ASP.Net MVC application. File->New->Project->web->ASP.Net MVC ApplicationContinueContinue reading “Adding Menu functionality in Html Helper class using Extension method”
Controller in 2 ASP.Net MVC Applications
Objective Purpose of this tutorial is to explain all about Controller in ASP.Net MVC application. Part 1 of this series of tutorial could be found here http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/MVCFrameWorkPart103262009001714AM/MVCFrameWorkPart1.aspx ASP.Net MVC controller MVC controller takes user request in browser. These are responsible for responding to request made against ASP.Net MVC web site. Browser request is mapped toContinueContinue reading “Controller in 2 ASP.Net MVC Applications”
Author Contact Detail in ASP.Net MVC
Objective The Core purpose of this article is demonstrated to perform CRUD operation on a database in ASP.NET MVC Framework. See my other articles on ASP.NET MVC Framework to , get an understanding of different components of framework. My articles could be found Introduction Here Output Caching Here About Controller here SilverLight in MVC FrameworkContinueContinue reading “Author Contact Detail in ASP.Net MVC”
Action Filter in ASP.Net MVC Application
Objective This article will give an introduction of Action Filter in ASP.Net MVC framework. This will also explain how to create a custom Action filter. Action Filters in ASP.Net MVC framework Action filters are attribute This could be applied on a particular Action This could be applied on a Controller. This modifies the way ActionContinueContinue reading “Action Filter in ASP.Net MVC Application”