Author Archives: jen

stopPropagation and preventDefault jQuery Methods

Simple demo of stopPropagation() and preventDefault() jQuery methods. Often these two methods are used together. And, often their function and use is confused or used when not needed thanks to copy and paste.

Posted in jquery, Web development | Tagged | Comments Off

Generate SQL Server Reporting Services (SSRS) Report as PDF from URL with VB.NET or C#.NET

Generating an existing SQL Server Reporting Services (SSRS) report to a PDF via a web URL is a convenient way to distribute SSRS reports, invoices, or anything else from SSRS. This post focuses on an existing report; however, links to the basic set up for a report are included. The code to output an existing report as PDF are given and uses a ReportViewer control.

Posted in .net, Web development | Tagged , , , , | Comments Off

Google API Offline Access Using OAuth 2.0 Refresh Token

Offline access for Google APIs is achieved through a refresh token that is issued when a user first visits the app and grants offline access. Essentially, you have to ask for offline access, Google warns them that you are asking for it, and then they have to grant it. The return contains the golden ticket [...]

Posted in OAuth, Web development | Tagged , , | 5 Comments

Google API Requests with OAuth 2.0 Access Token

In the Authenticating with OAuth 2.0 for Google API Access with PHP post, an access token was retrieved for calls to Google APIs for data. In this post, the user’s name will be retrieved from their account. To do that, the access token needs to be sent as a header param or query param with [...]

Posted in OAuth, Web development | Tagged , , | 4 Comments

Authenticating with OAuth 2.0 for Google API Access with PHP

Google is leading developers to OAuth 2.0 for access to its API’s: Given the security implications of getting the implementation correct, we strongly encourage developers to use OAuth 2.0 libraries when interacting with Google’s OAuth 2.0 endpoints (see Client libraries for more information). Over time, more features will be added to these libraries. Steps Register [...]

Posted in OAuth, Web development | Tagged , , | 2 Comments