ASP.NET MVC also provides state management techniques that can help us to maintain the data when redirecting from one page to other page or in the same page after reloading. There are several ways to do this in ASP.NET MVC  and these are as follow.

  1. Hidden Field
  2. Cookies
  3. Query String
  4. ViewData
  5. ViewBag
  6. TempData


Here I am going to take a very simple example for cascading dropdown in asp.net and it is selection of country, state and city.

 



In this article, we will learn why we should choose Web API for the service instead of ASP.NET MVC API.
 



ViewModel is used to encapsulate the multiple entities into single entity. It is basically a combination of data models into single object and rendering by the view. 



This article will give you understanding about Custom Action Filters in Asp.Net MVC.



For accessing the database, for getting the data or inserting the data we basically use SQLDataAdapter.Fill(), ExecuteNonQuery() and ExecuteScalar(), I have seen when I was a fresher, many developers were confused between them and don’t know which one is suitable for which condition.

 



In this article, I will demonstrate you about how to create instance of WCF service with different way. 



test



This article offers you to understand how to convert any file to PDF format using Spire.Office and Spire.PDF. 



Database First is nothing but only a approach to create web application where database is available first and can interact with database. In this database, database is created first and after that we manage the code. The Entity Framework is able to generate a business model based on the tables and columns in a relational database.

Basically, there is some scenario where we need to create database first like all table, primary key and foreign key relationship and then on the basis of database we generate our code.




Pages : 1 ... 4 5 6 7 8 9 10 ... 18
Search
Latest eBook Download
Categories
Category Loading....
Recent Articles
Recent Articles Loading....
Popular Articles
Popular Articles Loading....
Find Me


SIGN UP TO OUR NEWSLETTER