Category :- C#

Entity Framework – How to Create an EDMX file in Visual Studio

Last Updated: February 16, 2017

entity framework create edmx file

Microsoft has created Entity Framework (short form EF) for helping developers to automate database related operations in C#, VB, C++ and other programming languages. Due to EF developers are not needed to do the lengthy ADO.NET programming as EF takes all its care.

EF helps developers in many ways like:
  • 1. Less database related codes.
  • 2. Fast development of projects.
  • 3. Better transaction.
  • 4. Testability improvements.
Here in this tutorial I will help you to get stated with Entity Framework. (more…)

Sending SMS with PLIVO in ASP.NET and C#

Last Updated: February 9, 2017

Plivo

In websites we see the feature of sending SMS to customer’s mobile no. This is done for a no of reasons like sending one time password (OTP), authentication, marketing and more. You can also add SMS sending feature in your website very easily using PLIVO (https://www.plivo.com/) which is a Global SMS & Voice calls service.

Plivo SMS API

In this tutorial we will teach you how to send SMS using Plivo SMS API in your ASP.NET website. First create your account in Plivo website and generate AUTH ID and AUTH TOKEN. With these auto id and auth token you can communicate with Plivo API to send SMS to the desired mobile no. (more…)

What is Twilio and Sending SMS with it in C# and ASP.NET

Last Updated: October 8, 2016

Twilio

In this tutorial we will explain you how to use Twilio to send SMS using C# and ASP.NET. You can send SMS to any phone no and anywhere in the world. Let us first introduce you to Twilio.

What is Twilio

Twilio allows to make and receive phone calls and send and receive text messages using its APIs. Programmers can implement Twilio APIs in their code and create all sort of applications involving phone calls and SMS. It's services are accessed over HTTP and are billed based on usage. It can be used easily in our application for creating features like SMS authentication, OTP, SMS marketing and more. (more…)

Implementing Google Contacts API Version 3.0 & OAuth 2.0 in CSharp and ASP.NET [Updated]

Last Updated: January 15, 2017

Google Contacts API

In this tutorial we will develop a web app to get all Google contacts from a person account that authorizes the app. We will develop our app in asp.net platform and will use C# to communicate with Google Contacts API. Follow the steps as outlined in this tutorial. (more…)

Implementing Yahoo Contact Reader In ASP.NET and CSharp

Last Updated: January 15, 2017

yahoo contact reader

In this tutorial we will explain how to use Yahoo API to read a person’s Yahoo contacts. In common language we create an app called Yahoo Contact Reader for anyone who authorizes it to use it. We will use C# to communicate with Yahoo API and our app is made in ASP.NET platform. There are 2 steps in making a Yahoo Contact Reader App – (more…)

Implementing Yahoo OAuth 2.0 in CSharp and Asp.Net

Last Updated: January 15, 2017

Yahoo Oauth 2.0

What is OAuth

OAuth is an open standard to authorize application to access user data from online servers without sharing user’s credentials. It is specifically designed to work in ‘Hypertext Transfer Protocol (HTTP)’. OAuth provides ‘access tokens’ to applications when the user gives approval, and through this access token the application can access the user’s data in online servers. Today nearly all top service providers like amazon, google, yahoo, twitter , facebook etc support OAuth and allow applications to access users data stored in their servers (on the approval of the users). The first version of OAuth known as OAuth 1.0 became live in April 2010 then the next version i.e. OAuth 2.0 came in October 2012. (more…)

Session Authentication In ASP.NET

Last Updated: October 8, 2016

Authentication in ASP.NET

What is Authentication

Authentication is a process of identifying a person. It is commonly done through the use of login page which asks a user to enter his username and password. In ASP.NET websites you can do the authentication of a user by matching his user id and password with the one stored in the database. If both his username and password matches only then he is allowed to view secured areas of the website. (more…)

C# Database Tutorial in C# and ASP.NET

Last Updated: February 13, 2017

CSharp Insert Into SQL

With C Sharp(commonly known as C#) we can easily do ADO.NET programming to access a database, insert data into database tables, retrieve data from database tables and update data in the database tables. This is a tutorial suited for anyone who would like to get started working with database in C# by using ADO.NET. In this C# Database Tutorial we will teach you how to insert data into database. (more…)