Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. TempData is used to transfer data from view to controller, controller to view, or from one action method to another action method of the same or a different controller. TempData stores the data temporarily and automatically removes it after retrieving a value.
Hello sir, when i login i hold the session. if my session is null they return to login page. But when i logged out my session is removed. but still when i press back browser button its still login. How can i handle this. if my session is removed on click of logged out. then how can my home page show a session result on back button
Salam bhai your video is excellent, kya ap payments method integration pr b 1 video bna sktae ha jis ma hum master card etc sa payments accept kr skai 😊
In views we write razor syntax in order to support c# and razor syntax is started by prefixing @ before code for single line and for multi line use @{you code}
@@AliRazaSardarAli it means that i had to reduce the speed of the video..please speak more concisely and also please edit the parts of video that are confusing l..
No words Man, one of the best, detailed, and to the point, tutorial I have ever seen in MVC
Glad you liked it!
Explanation straight to the point! No wasting tym like other youtubers do. Great video.
Thankx
Bhtreen dost. Bht acha tutorial bnaya ha.
Thank you
Love from India. Maza aa gya bhaijan !! Really nice video
Thank you
Very well explained. Thank you Bhai. Thumbs up 👍
So nice of you
Nice Explanation sir
Could you please share store procedure video
See my sql playlist
Nice Explanation
Great explaination..
Thank you
Mauj krde pin to point batya ha bhai ne
THank you
@Ali Raza Sardar Ali Nice explanation. Would you also brief how Application State is different from TempData?
Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database.
TempData is used to transfer data from view to controller, controller to view, or from one action method to another action method of the same or a different controller.
TempData stores the data temporarily and automatically removes it after retrieving a value.
@@AliRazaSardarAli thanks
Great explanation sir...
Thanks
Very helpfull for me also..Thank u
Most welcome 😊
Cool explanation
Thank you
Hello sir, when i login i hold the session. if my session is null they return to login page. But when i logged out my session is removed. but still when i press back browser button its still login. How can i handle this. if my session is removed on click of logged out. then how can my home page show a session result on back button
great video
Glad you enjoyed it
@@AliRazaSardarAli yes really helpful
How to access cookie from different controllers and views ? Please help.
By calling classes that handle cookie and sessions
Superb bro..please make video on dotnet core also
Hmm IA
TempData is use to pass data from one action method to another action methods
its for passing data to subsequent request in application
Janab, maast explanation
Thankx
Super
Thankx
Nice work 🖒
thank you
welcome
White theme use kia krein nzr nahi aata sahi sy
White theme se ankho per zyada pressure ata hai , its harmful
How to write abc in a view
press b than b than c simple
which voice recorder you are using ?
helllo sir i want to know that how to restrict to someone to copy url and past new tab and they get login page to that page whoes url they copy
Use sessions
Sir I have a question ? In TempData method if we refresh the page then it will erase the value , so any solution to keep value even if it refresh ?
TempData retains it's value no matter refresh or not
@@AliRazaSardarAli ok sir Thank you
@Ali Raza Sardar Ali will it have value for the 2 refreshes as it saves data for 2 consecutive requests? Is that right?
Salam bhai your video is excellent, kya ap payments method integration pr b 1 video bna sktae ha jis ma hum master card etc sa payments accept kr skai 😊
I'll try
@@AliRazaSardarAli Thanks a lot i am waiting if you can then 😊 please do it in this week, it will be very helpful for me may ALLAH blessed you 😊
Sir application state ko view access krna to apny btaya e ni?
It just like tempData
Do you have an English Channel? Cannot follow hindi.
In this channel I have mixed language Tutorials
Sir kya aap dynamic data ko kaise use karte hai session me bata sakte hai.
you can simply assign dynamic data to session
Kya ap koi video send kar sakte hai
@@ankurprakash5303 i dont have but its very simple just assign value to session no matter dynamic or static
hello sir... can please show how to use this var abc in view section
In views we write razor syntax in order to support c# and razor syntax is started by prefixing @ before code for single line and for multi line use @{you code}
Have u got the value?
you did a good job (y)
keep it up
Thankyou
How can I have all your video tutorials?
Only this playlist is in complete
Code link de dijiye
Yes HR is a seaparate module
subscribed :)
Thank you
thanks sir
very very fast person :*
Can you elaborate "fast" ?
@@AliRazaSardarAli it means that i had to reduce the speed of the video..please speak more concisely and also please edit the parts of video that are confusing l..
I think You can Speak English
I can