Tag: web

Distributed Tracing in ASP.NET Core with Jaeger and Tye Part 2 - Project Tye

May 08, 2021 · 10 min read

In this series: Distributed Tracing with Jaeger Simplifying the setup with Tye (this article) Tye is an experimental dotnet tool from Microsoft that aims to make developing, testing, and deploying microservices easier. Tye’s opinionated nature greatly simplifies the lifecycle of development and deployment of .NET Core microservices. To understand the benefits of Tye, let’s enumerate the steps involved in the development and deployment of the DCalculator application to Kubernetes:

#azure#programming#web

Read more of Distributed Tracing in ASP.NET Core with Jaeger and Tye Part 2 - Project Tye

Distributed Tracing in ASP.NET Core with Jaeger and Tye Part 1 - Distributed Tracing

Apr 26, 2021 · 7 min read

In this series: Distributed Tracing with Jaeger (this article) Simplifying the setup with Tye Modern microservices applications consist of many services deployed on various hosts such as Kubernetes, AWS ECS, and Azure App Services or serverless compute services such as AWS Lambda and Azure Functions. One of the key challenges of microservices is the reduced visibility of requests that span multiple services. In distributed systems that perform various operations such as database queries, publish and consume messages, and trigger jobs, how would you quickly find issues and monitor the behavior of services?

#azure#programming#web

Read more of Distributed Tracing in ASP.NET Core with Jaeger and Tye Part 1 - Distributed Tracing

Build a Basic GraphQL Server with ASP.NET Core and Entity Framework in 10 Minutes

Mar 15, 2021 · 11 min read

Since I wrote my first GraphQL post in 2019, much has changed with GraphQL in the .NET space. The ongoing changes have also affected most of the documentation available online. This article will walk you through the steps to create a basic GraphQL API on ASP.NET Core using GraphQL for .NET, Entity Framework Core, Autofac, and the Repository design pattern. I chose the tech stack for the sample application based on the popularity of the frameworks and patterns.

#programming#web

Read more of Build a Basic GraphQL Server with ASP.NET Core and Entity Framework in 10 Minutes

Lab: Tip/Code sample Managing GitHub Organizations with GitHub GraphQL API

Feb 18, 2021 · 6 min read

I prefer using GraphQL over REST APIs wherever available, primarily because I can avoid overfetching and underfetching data while still enjoying the benefits of contract-based development. For this exercise, assume that you are the DevOps lead of an organization/open-source community that uses GitHub to manage its projects under a GitHub Organization. GitHub Organizations are shared accounts consisting of members and projects with sophisticated security and administrative features. You have been asked to ensure that your organization’s repositories are healthy such that there are no PRs in an unmerged state for more than one week, and every issue is either resolved or updated in 12 hours.

#web#programming

Read more of Managing GitHub Organizations with GitHub GraphQL API

Building a GraphQL Application with ASP.Net Core and TypeScript - Part 2

May 19, 2019 · 8 min read

In this series Building a GraphQL server Building a GraphQL client In the first part of this series, we discussed steps to develop a GraphQL server using ASP.Net core. Since we have a server up and running now, we will build a client that works with the API we just created. We will build a minimal client using TypeScript that has no dependency on frameworks or libraries such as Angular and React.

#web

Read more of Building a GraphQL Application with ASP.Net Core and TypeScript - Part 2

Building a GraphQL Application with ASP.Net Core and TypeScript - Part 1

May 04, 2019 · 14 min read

In this series Building a GraphQL server Building a GraphQL client GraphQL (QL: Query Language) is a query language for your APIs. For a long time API clients have been dictated the format of data that they can receive from the backend API. For example, if a client sends a GET request to this endpoint: https://api.twitter.com/1.1/statuses/home_timeline.json (see developer guide), it will get all the data in the format dictated by the API which the client will then have to filter to get just the desired field/s, e.

#web

Read more of Building a GraphQL Application with ASP.Net Core and TypeScript - Part 1

Count Online Users with Azure SignalR Service

Aug 01, 2018 · 5 min read

September 28, 2020: I have updated the code sample to .NET Core 3.1 and updated the article to reflect the changes as well. Enjoy! I have been following Dino Esposito’s SignalR series from the last few MSDN Magazine editions. In the May edition of the Magazine, Dino talked about the subtle details of ASP.Net Core SignalR. It is an excellent read, and it covers the topic in a much better and concise manner than I will ever be able to describe.

#azure#web

Read more of Count Online Users with Azure SignalR Service