MVC

This category contains 12 posts

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 for … Continue reading »

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, … Continue reading »

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 and … Continue reading »

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 to … Continue reading »

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.Net … Continue reading »

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? … Continue reading »

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 render … Continue reading »

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’t … Continue reading »

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 Application … Continue reading »

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 to … Continue reading »

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 Framework … Continue reading »

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 Action … Continue reading »

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,380 other followers

Tweets

Categories

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my current or previous employer's view in anyway. © Copyright 2012