Category - ASP.Net
Results 61 - 80 of 2535
29 Jul 2021 29 Jul 2021 0 Comments  3563 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use TLS 1.2 Security Protocol in ASP.Net Core MVC.

This article will illustrate how to call a REST API using HttpClient and TLS 1.2 Security Protocol in ASP.Net Core MVC.
29 Jul 2021 29 Jul 2021 0 Comments  4756 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload (insert) and download (retrieve) Files from Folder (Directory) and Path in Database using Web API in ASP.Net MVC Razor.

The Web API will insert the File information into SQL Server database using Entity Framework while the actual File will be saved in Folder (Directory) in ASP.Net MVC Razor.

The Web API will be called using jQuery AJAX and the file will be uploaded to Database using HTML5 Form Data and XmlHttpRequest (XHR).
29 Jul 2021 29 Jul 2021 0 Comments  1227 Views
Here Mudassar Ahmed Khan has explained with an example, how to use, implement and populate Charts from database using Google Charts API in ASP.Net Core MVC.

This article will illustrate how to populate Pie and Doughnut Charts from database using the Google Charts API in ASP.Net Core MVC.
29 Jul 2021 29 Jul 2021 0 Comments  1262 Views
ASP.Net  AJAX  JSON  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS, AJAX and JSON in ASP.Net Core MVC.

This article will illustrate how to call Controller’s Action method using AngularJS $http service from View in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  2846 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to perform JSON Deserialization in ASP.Net Core.

The JSON will be deserialized using NewtonSoft.Json library in ASP.Net Core.
26 Jul 2021 26 Jul 2021 0 Comments  3500 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Third Party REST API in ASP.Net Core MVC.

The Third Party REST API will be called using HttpClient class in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  1887 Views
ASP.Net  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) an external REST API in ASP.Net Core MVC.

The external REST API will be called using WebClient class in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  1470 Views
ASP.Net  JSON  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to use HttpClient in ASP.Net Core MVC.

This article will illustrate how to call a JSON REST API using HttpClient and also how to deserialize JSON data to object in ASP.Net Core MVC.
17 Jul 2021 17 Jul 2021 0 Comments  1278 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the CancelSelectOnNullParameter property in ASP.Net SqlDataSource.

The CancelSelectOnNullParameter property is used to cancel the SELECT query i.e. return no result when a parameter is NULL.
17 Jul 2021 17 Jul 2021 0 Comments  1950 Views
Here Mudassar Ahmed Khan has explained with an example, how to use NULL Parameters with SqlDataSource and how to pass NULL parameters to StoredProcedure using SqlDataSource in ASP.Net.

In this article, a GridView will be populated and filtered using a StoredProcedure and SqlDataSource in ASP.Net.
16 Jul 2021 16 Jul 2021 0 Comments  1179 Views
Here Mudassar Ahmed Khan has explained how to solve the following error in ASP.Net application when hosted on IIS server.

HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.

The above error occurs when one tries to upload a file larger than the maximum allowed limit.
06 Jul 2021 06 Jul 2021 0 Comments  2736 Views
Here Mudassar Ahmed Khan has explained with an example, how to show images that are saved (stored) outside the Website root folder (directory) in ASP.Net using C# and VB.Net.

The Images will be fetched outside the Website root folder (directory) and then displayed in Image control with the help of Generic HTTP Handler in ASP.Net using C# and VB.Net.
29 Jun 2021 29 Jun 2021 0 Comments  4712 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel file in ASP.Net Core MVC.

The data from the database is fetched using Entity Framework and then the data is downloaded as Excel file using ClosedXML Excel library in ASP.Net Core MVC.
29 Jun 2021 29 Jun 2021 0 Comments  4113 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (import) Excel file in ASP.Net Core MVC.

The uploaded Excel file data will be read using OLEDB library and the read data will be inserted into SQL Server database using SqlBulkCopy class in ASP.Net Core MVC.
29 Jun 2021 29 Jun 2021 0 Comments  4790 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataSet or DataTable to Excel file in ASP.Net Core MVC.

The data from the database is fetched using ADO.Net into a DataTable.

Then the DataTable is exported and downloaded as Microsoft Excel file using ClosedXML Excel Library which is a wrapper for OpenXml Excel library.
28 Jun 2021 28 Jun 2021 0 Comments  3167 Views
Here Mudassar Ahmed Khan has explained with an example, how to use a DataSet or DataTable as Model in View in ASP.Net Core MVC.

Though it is not a good practice to use to use DataSet or DataTable as Model in View in MVC Core architecture, thus user’s please make a note that this is just an informative article and does not recommend to use DataSet or DataTable as Model in View in ASP.Net Core MVC.
24 Jun 2021 24 Jun 2021 0 Comments  3188 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement multiple Selection DropDownList using jQuery Select2 plugin in ASP.Net Core Razor Pages.

The multiple Selection DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core Razor Pages.
22 Jun 2021 22 Jun 2021 0 Comments  2797 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Searchable DropDownList using jQuery in ASP.Net Core Razor Pages.

The Searchable DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core Razor Pages.
22 Jun 2021 22 Jun 2021 0 Comments  2759 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList from database using Entity Framework in ASP.Net Core Razor Pages.
15 Jun 2021 15 Jun 2021 0 Comments  3660 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement multiple Selection DropDownList using jQuery Select2 plugin in ASP.Net Core MVC.

The multiple Selection DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core MVC.
Results 61 - 80 of 2535