Showing posts with label ASP.NET MVC. Show all posts
Showing posts with label ASP.NET MVC. Show all posts
Sunday, March 19, 2017
What is use of temp data?
Temp data in MVC is used to store temporary data which can be used in subsequent request. Temp data is cleared out once it is read in any other request. To preserve the Temp data for subsequent requests we can use of TempData.Keep().
Subscribe to:
Posts (Atom)
Call a function in child component from parent component in React
Consider the following parent component class Parent extends React.Component { constructor(props) { super(props); thi...
-
The process of replacing a module with generic and mostly empty object, called a mock. Advantages: Isolates our code from its dependen...
-
An object is an entity that has Properties for identifying State, Methods for behavior, Events for depicting the change of State. Data ass...
-
When we create a class or struct, its constructor is called. Constructor will have same name as a class or struct and is usually used to ini...