Category - Core
Results 11 - 15 of 118
02 Jan 2021 02 Jan 2021 0 Comments  329 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to read (get) value from AppSettings.json file inside Startup.cs class in .Net Core and ASP.Net Core MVC.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.
22 Dec 2020 22 Dec 2020 0 Comments  496 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from one Action method to another Action method in ASP.Net Core MVC.

TempData is derived from the TempDataDictionary class and is basically a Dictionary object used for passing data between Action methods of same Controller or even other Controllers in ASP.Net MVC Core.
22 Dec 2020 22 Dec 2020 0 Comments  588 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from one Controller to another Controller in ASP.Net Core MVC.

TempData is derived from the TempDataDictionary class and is basically a Dictionary object used for passing data from Controller to View or from Controller to Controller.
19 Dec 2020 19 Dec 2020 0 Comments  720 Views
Here Mudassar Ahmed Khan has explained with an example, how to refresh a page after submit (post) in ASP.Net Core Razor Pages.

If the Browser is refreshed using F5 button after the Form is submitted (in other words after PostBack operation), the submitted data is resubmitted to Server.

Thus to prevent such behavior, the Page is redirect to same page after Form submit (post).
19 Dec 2020 19 Dec 2020 0 Comments  447 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained a short tutorial with example on how to use TempData in ASP.Net Core MVC.

TempData is derived from the TempDataDictionary class and is basically a Dictionary object used for passing data from Controller to View or from Controller to Controller.
Results 11 - 15 of 118