This contains sample code for the tutorials in www.bytelanguage.net. This includes Code Samples on
-
Algorithms
- Longest Palindrome using ExpandingWithCorners: Find Longest Palindrome using Expanding With Corners algorithm
-
Async Await
- Awaitable Patterns : Demonstrates how to implement Awaitable Pattern
-
Asp.Net Core
- Hello World : A hello world illustrating controllers, middlewares and other services.
- Jwt Authentication : Code illustrating how to use Jwt Authentication in .Net Core Web Api
- Jwt Authentication Minimal Web Api: Code demo for JWT Authentication using Minimalist Web API.
- Google OAuth : Authentication using Google OAuth
-
Azure Functions
- Hello World : Customary Hello World
- Crud With Azure Queue : CRUD Operations with Azure Queue
- Crud With In Memory Collection: CRUD with In memory collections
- Crud With Azure Table Storage: CRUD Operations with Azure Table Storage
- Crud With Azure Blob Storage: CRUD Operations with Azure Blob Storage
- Google OAuth & Azure Functions : Using Google OAuth in Azure Function
- Isolated Azure Functions : Demo code for Isolated Azure Functions (out-of-process, using .Net 5)
-
Caliburn Micro
- Hello World - A customary hello world with bindings and other functionalities of Caliburn Micro
- Bootstrapper With SimpleContainer - Understanding Bootstrapper
- EventAggregator and WindowManager - Demo code for illustrating EventAggregator and WindowManager
- Multi Project Scenario - Illustrates when ViewModels and Views are spread across multiple projects
- Gesture Recongnition using Short Hand Syntax - Gesture Recongnition using Short Hand Syntax
- ViewModel First Approach - Illustrates View Model Approach
- Custom EventAggregator - Demo code with a Custom Event Aggregator
-
Design Patterns
-
Feature Explore
- Serialize Cyclic Reference - Serializing Cyclic reference (Json, Xml , Protobuf)
- Csharp 9 Features - Explore C# 9 Features including
init
, NullHandling, Pattern Matching,record
, Target Typednew
Expressions, Top Level Programs - Asyncrhonous Streams - Asyncrhonous Streams
- Index And Ranges - Explore Index and Range in C#
- Span - Explore
Span<T>
in c# - Switch Expression - Explore Switch Expressions
- Stream Serialization - Explore and Benchmark the performance benefits of Streaming Serialiazation
- Unit Testing Asynchornous Code - How to unit test asynchronous code
-
Microservices
- JWT Authentication : Code Illustrating Jwt Authentication in Microservices. The demo code uses Ocelot for building the Api Gateway and Polly for resilience features
- Ocelot Demo : Demonstrative code highlighting key functionalities of Ocelot including Circuit Breaker (Polly).
-
RabbitMq
- Hello World : Hello World Demo, Introduction to RabbitMq
- Publisher Subscriber Pattern Using RabbitMq : Illustrates Publisher Subscriber Pattern using RabbitMq
- RPC Demo : Sample WPF applications demonstrating RPC communication using RabbitMq
- Routing : Demonstrates routing capabilities of RabbitMq
- Consume Queue from .Net Core Web Api : Code illustrating usage of BackgroundService to consume Queue from a .Net Core Web Api
- Worker Queues : Illustrates usage of Worker Queues with RabbitMq
- Using Topics : Demo code for using Topics to isolate and filter messages