Posts

Send Email Using SendGrid with Azure

Image
What is the SendGrid Email Service? SendGrid is a cloud-based email service that provides reliable transactional email delivery, scalability, and real-time analytics along with flexible APIs that make custom integration easy. Common SendGrid use cases include: Automatically sending receipts or purchase confirmations to customers. Administering distribution lists for sending customers monthly fliers and promotions. Collecting real-time metrics for things like blocked email and customer engagement. Forwarding customer inquiries. Processing incoming emails. Create a SendGrid Account Azure customers can unlock 25,000 free emails each month. These 25,000 free monthly emails will give you access to advanced reporting and analytics and all APIs (Web, SMTP, Event, Parse and more). For information about additional services provided by SendGrid, visit the SendGrid Solutions page. To sign up for a SendGrid account Sign in to the  Azure ...

IEnumerable And IEnumerator interfaces

Image
Before continuing, let me explain the structure, members of the   IEnumerable ,   IEnumerator   interfaces. The IEnumerable   interface contains an abstract member function called   GetEnumerator()   and return an interface IEnumerator   on any success call. This   IEnumerator   interface will allow us to iterate through any custom collection. Note:   IEnumerator   interface is meant to be used as accessors and is not helpful to make any changes in the collection or elements of the collection. Presumably, any element in a collection can be retrieved through its index property. But instead of element index, the   IEnumerator   provides two abstract methods and a property to pull a particular element in a collection. And they are   Reset() ,   MoveNext()   and   Current . See the figure. This is how it works.   Members of IEnumerator Interface Reset(), MoveNext(), Current() The...

Infinite Scroll In ASP.Net MVC4 Using Jquery Ajax

Image
             The infinite scroll pattern is simply a different kind of pagination. In this article, we will see how to implement an infinite scroll using HTML,CSS,ASP.NETMVC4, Jquery and Ajax.    Infinite Scroll is a web design technique that prevents the browser scroll bar from scrolling to the bottom of the page, causing the page to grow with additional content instead. Here, We have implemented Infinite Scroll with ASP.NET MVC, Ajax post and JSON result. With rendering Partial View to  string , it makes it easy to use Ajax post and JSON result to display any complex view. STEP1: XML Data     Here is the xml file with book items STEP 2: Book Class       Here is the Book class file with the properties to load xml data. STEP 3: DataManager Class         Here is the DataManager Class get the book data from xml file and generate as a ...