In my previous tutorial, How to Implement ASP NET Web API, I explained how to build a Web API that fetches products from a database and returns them as JSON. In this tutorial, I'll show you how to consume that Web API using jQuery.
(more…)On my last tutorial I taught How to Implement ASP NET Web API which returned products from database in JSON. Now I will consume this Web API in ASP.NET MVC.
Let start with the API consuming part.
(more…)In this Tutorial I will teach how to Implement your own ASP NET Web API from start. This API will fetch records from the database and provides the consumer with these records in JSON format. This API also implements authentication, meaning users have to provide API Key and Secret for consuming this API.
(more…)Suppose you have a page where different AJAX calls are taking place and you want to indicate your users which AJAX call is currently taking place. You can indicate this by showing different loading images for different AJAX calls.
(more…)The System.Net.Mail namespace contains the MailMessage and SmtpClient classes that are used to Send SMTP emails from C#. In this ASP.NET MVC tutorial I will teach you with example how to send emails with multiple attachments added to them.
(more…)In this tutorial, you'll learn step-by-step how to bind a GridView with jQuery AJAX with data fetched from a database. I'll also implement GridView's pagination ensuring that both data binding and paging work entirely asynchronously — without triggering a page PostBack.
(more…)If you have to Create a PDF file you can use iTextSharp DLL. It is a free DLL which you can install from NuGet.
(more…)If you want to Import Excel File into your database in ASP.NET MVC then this tutorial will teach you the fastest way to accomplish this. In this tutorial you will learn:
(more…)When reading large size excel files, and showing their data in the form of HTML Grid, on your View then make sure you provide paging links also. Through these paging links user can navigate from one sets of record to another in page-by-page manner.
(more…)Here in this tutorial I will teach you how to export your Database Records into Excel file using 2 different methods. You can choose any one of these methods when doing your data export to excel file.
(more…)