Category - ASP.Net
Results 26 - 30 of 2372
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.
18 Dec 2020 18 Dec 2020 0 Comments  568 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the asp-page-handler attribute in ASP.Net Core Razor Pages.

The asp-page-handler attribute is assigned to the Submit Button and is used to all the OnPost handler method in ASP.Net Core Razor Pages.
18 Dec 2020 18 Dec 2020 0 Comments  556 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to read files from wwwroot Directory in Controller in ASP.Net Core MVC.

The files will be read using the File class from the wwwroot Directory (Folder) and will also be downloaded in ASP.Net Core MVC.
18 Dec 2020 18 Dec 2020 0 Comments  673 Views
Here Mudassar Ahmed Khan has explained with an example, how to download files from Folder (Directory) on Server's Disk in View in ASP.Net Core Razor Pages.
18 Dec 2020 18 Dec 2020 0 Comments  501 Views
Here Mudassar Ahmed Khan has explained with an example, how to display List of files from Folder (Directory) on Server's Disk in View in ASP.Net Core Razor Pages.

The Files can also be downloaded from Folder (Directory) in ASP.Net Core Razor Pages.
Results 26 - 30 of 2372