TechBubbles

Microsoft Technology BLOG

Latest stories

Clean Architecutre pattern for Microservice

This post outlines using Clean Architecture with ASP.NET Core 6 Micro Service. One of the main reason to use Clean Architecture template is that you can focus on writing business logic but not to get struck on thinking about infrastructure concerns. It is formerly known by other names like Onion Architecture , Hexagonal Architecture and Ports and Adapters architecture. What is Clean Architecture...

logging best practices for Microservices

Logging and tracing in microservice applications can be challenging and complicated if each microservice generates its own logging. Determining the application execution process flow and event co-relation can be a laborious task when microservice handling concurrent requests. Unified and Centralized logging ensures the deployed service remain reliable and resilient. This post outlines the...

GRPC features in .NET FW 6

gRPC allows you to develop high-performance service in .NET FW 6. This post outlines the performance improvements made in gRPC in .NET 6, support to handling transient faults, client side load balancing and developing gRPC over HTTP/3. It also outlines the sample gRPC project creation using Visual Studio 2022. What is gRPC? gRPC is an open source remote procedure call framework allows to...

Docker containers deep dive

This post outlines basic overview on Docker containers , what benefits does it brings in using in your environment and what options we have for deploying them to Azure. What is Docker? Docker is self-service entity that can run on cloud or on-premise that can be used to host and run your applications. Docker basically contains two concepts. 1. Docker Images It simply a file, where you package...

Data driven agriculture with AZURE Farm beats

As the son of a farmer, I was always thinking about using technology to help farmers to do affordable, profitable and sustainable farming. Lot of farming is based on guesswork. The decisions like when to water, when to apply pesticides, nutrients and fertilizers are based on guesswork. What if farmer uses his knowledge with data and data driven insights, it can be more productive, cost effective...

Async / Await guide-lines

There are lot of different ways to use Async\await in C#. It is bit difficult to understand what different methods, fields and keywords are under tasks and how they are different? This post outlines some bad examples that developer shouldn’t use and explains the alternate solution. Bad example1: This locks up the UI. Never use .Result Above line is wrapper method on taskservice which...

Analyzing root cause live site issues using Azure Portal

Quickly determining the root-cause of live site issue(s) that hosted in AZURE is important. The standard alerts that you setup in monitoring system might help you in alerting the problem and wouldn’t always help you in finding immediately the root-cause of the failure. Azure Portal introduced a new feature called “Application Change Analysis” under AppService. What is...

Connecting On-Premises Networks with AZURE Virtual Networks

This post outlines the options that exist for connecting your on-premise network to AZURE. Following are the three options, This post explains configuration steps that required for setting up Site-to-Site Virtual Private Network. Site-to-Site Virtual Private NetworkPoint-to-Site Virtual Private NetworkExpress Route Why do we need to extend On-Premise network? Reason 1, If Your organization...

AZURE Multi Factor Authentication – deep dive

Usernames and Passwords are no longer strong enough to protect sensitive information. This post outlines different ways you can protect on-premises and cloud based applications using Microsoft Multi Factor Authentication (MFA). It also explains deployment, configuration options in-depth, API interaction for developers to integrate MFA with existing systems. Additional security never should be a...

Building a Secure ASP.NET Core Web API

This post outlines the steps that require to secure ASP.NET Core 3.0(preview) Web API using AZURE AD. Web API uses Azure AD as identity provider which implements the OAuth2 standards. In this case AZURE AD grants the tokens to applications. Don’t get confused with OpenIDConnect and OAuth2. OpenIDConnect protocol implements OAuth2 standards. OpenID is not just for APIs, it can be used for...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud