Skip to main content

Posts

Angular4 Crud Operation In IndexedDB using JsStore V1

Introduction Are you facing difficulties using IndexedDB in angular4 or angular2 ? Well, you are reading the right article. You will be able to use IndexedDB all functionality in simple way after reading this article. In this article i am going to explain - how to do crud operation in angular4 using indexedDB wrapper JsStore. If you are thinking - what is JsStore ? JsStore is an IndexedDB wrapper. It provides simple sql like api to do db operations and makes IndexedDB simple. So In this article we will replace IndexedDB with JsStore . Enough of the words , lets do something. If you want the source code , you can download it from here - https://github.com/ujjwalguptaofficial/angular4.crud.jsstore Prerequisites You should have basic knowledge of  html css javascript angular2 or angular4 indexedb (not necessary) Let's Code Create Angular project First we will have to create a angular project. I am showing you how to do with angular cli. S
Recent posts

Implementing Oauth2.0 authorization for Google in asp.net

Download Source Code Introduction Now a days, security is a major concern for every service provider like Google, Yahoo, Microsoft etc. and that’s why every service provider which is providing some external service to another app is following the protocol defined by Oauth. I am going to describe here, how to implement google oauth in asp.net app. Prerequisites You should have basic knowledge of C# Asp.net Steps for implementing For implementing Oauth we will have to follow series of steps – Create a project on google console. Get the client id and client secret from the project. Writing code for authorizing the user by google. Writing code for exchanging the authorization code for refresh token. Writing code for exchanging refresh token for access token. Don’t worry about the above steps- i am going to explain these in details with demo. Let’s Start 1.Create a Project on Google console Goto https://console.developers.google.com and click on project -&g