Ads block

Banner 728x90px
Showing posts with label .NET MVC. Show all posts
Showing posts with label .NET MVC. Show all posts

Html Helper Class


Html Helper Class
What is HTML Helper In MVC, many helper methods are added to create HTML control perfectly. As in Web Application we use control class to create control in…
Read more »

Tempdata in MVC


Tempdata in MVC
Tempdata is used to share data from controller to its corresponding view as well as its redirects . Tempdata is  TempDataDictionary  type object, which…
Read more »

ViewBag in MVC


ViewBag in MVC
What is ViewBag In my last article I explain  how to send data from view to controller using ViewData .  ViewBag is also used to pass data from controller …
Read more »

ViewData in MVC


ViewData in MVC
What is ViewData ViewData  is used to access data from controller to view. ViewData stores data as key-value format. ViewData type is  ViewDataDictiona…
Read more »

If-else and looping in MVC using Razor View Engine


If-else and looping in MVC using Razor View Engine
Introduction In my last article I discussed how we can use programming statement in Razor. In my last article we declared some variable and perform some ca…
Read more »

Variable Declaration in Razor


Variable Declaration in Razor
Razor Variable As I discussed in my last article  What is Razor  that  Razor  is the combination of HTML and C#, so we can use almost all programming featu…
Read more »

Razor View Engine in MVC


Razor View Engine in MVC
What is Razor View engine plays a very important role as they are used to render HTML Page. We use Razor to create view in MVC.  Razor View Engine is the…
Read more »

Get MVC Version


Get MVC Version
Introduction If we need to gets the version of the MVC application using code or if we want to print the Version of MVC then we can show it using code. F…
Read more »

HttpGet and HttpPost in MVC


HttpGet and HttpPost in MVC
HttpGet and HttpPost Attribute HttpGet and HttpPost  both are the attributes used in asp.net mvc application. We use both attributes on action represents t…
Read more »

Request object in MVC


Request object in MVC
fetch data from view to controller using request In this article I will explain  how to fetch data from controls which are on View to Controller using Requ…
Read more »

Form Collection in MVC


Form Collection in MVC
What is Form Collection in MVC In this article I will explain how to fetch data from controls which are on  View to Controller . There are many ways to fet…
Read more »

Pass Value from View to Controller


Pass Value from View to Controller
In Web based application we always need to pass value from view to controller to take input and controller to view to show output. View to Controller data …
Read more »

What is Routing


What is Routing
Routing is the way to create user friendly and descriptive url. In mvc when you add project we are able to see RouteConfig.cs file in our app_start folder. …
Read more »