Twilio is a cloud based communication platform, which allows, among others, developers to use their apis to host video calls. In this blog post, we will use the Twilio API, to create a meeting request and also get notified when User joins the meeting. The first step involves logging into to your Twilio account and … Continue reading Twilio Meeting Notification API
Category: Frameworks & Libraries
Development using different Frameworks and Libraries
Set up Azurite Docker container.
In this post, we will set up docker container for Azurite. The Azurite open-source emulator provides a free local environment for testing your Azure Blob, Queue Storage, and Table Storage applications. When you're satisfied with how your application is working locally, switch to using an Azure Storage account in the cloud. The emulator provides cross-platform … Continue reading Set up Azurite Docker container.
GraphQL Day 004 : Subscriptions
So far we have seen Queries and Mutations in GraphQL. It is now time to look into third and final key component of the triage - Subscriptions. Subscriptions allow GraphQL servers to send real time updates to subscribed clients when particular events occur. This allows clients to support real-time functionality by having the servers push the updates … Continue reading GraphQL Day 004 : Subscriptions
GraphQL Day 003 : Defining Mutations
Until now, we dealt with, what we could call a readonly system. In other words, we defined queries which does not alter the system. But what if we intent to alter the system, for example, we want to add a new record. This is where mutation comes into the play. The mutation type in GraphQL is used … Continue reading GraphQL Day 003 : Defining Mutations
GraphQL Day 002 : Type Definition basics
Earlier in this series, we will created our first GraphQL Server. If you had noticed we defined our data types as plain C# classes. This was a simple example of Annotation based approach, though actually we did not use any annotation. However, things can change when one needs to expose another query resolver. Annotation Based … Continue reading GraphQL Day 002 : Type Definition basics
GraphQL Day 001: Creating your first GraphQL server with HotChocolate
In the earlier part of the series, we familiarized ourselves with the different building blocks of GraphQL. We also understood the need of GraphQL and how it fares compared to REST endpoints. In this post, we will create our first GraphQL server. For sake of this example, we will be using the HotChocolate library for building our … Continue reading GraphQL Day 001: Creating your first GraphQL server with HotChocolate
GraphQL Day 000 : Introduction to Building Blocks
In this series of articles, we will walk through GraphQL and understand its importance in modern applications. Introduced by Facebook, and later moved to newly established GraphQL foundation, GraphQL has become integral part of modern applications. Day 00 : Introduction to the building blocks Day 01: Creating your first GraphQL server with HotChocolate Day 02 : … Continue reading GraphQL Day 000 : Introduction to Building Blocks
Conditional Serialization in Protobuf
In this blog post, we will discuss how to conditionally serialize a property when using Protobuf Serialization. We are using the Protobuf-net library by Marc Gravell. I will attempt to use the same example class/scenario which I had previously used for Conditional Serialization in Json since it bears a lot of similarity. [ProtoContract] public class User { [ProtoMember(1)] public … Continue reading Conditional Serialization in Protobuf
NLog and MongoDB
NLog is one of the most commonly used free logging platform, thanks to its flexibility and rich capabilities. Most often than not, our application requires logs that could be written out to raw files. But NLog provides the ability to do more, including writing to databases like MongoDb. In this blog post, we will address … Continue reading NLog and MongoDB
Protobuf – Handling sub-classes
In this blog post, we will look into how to handle subclasses or interface implementations during protobuf serialization. Consider the following class. [ProtoContract] public class Person { [ProtoMember(1)] public string FirstName { get; set; } [ProtoMember(2)] public string LastName { get; set; } } For serializing an instance of the above with protobuf-net, you could do … Continue reading Protobuf – Handling sub-classes