Pose π₯
Replace any .NET method (including static and non-virtual) with a delegate. π
It is similar to Microsoft Fakes but unlike it Pose is implemented entirely in managed code (Reflection Emit API).β¨
Everything occurs at runtime and in-memory, no unmanaged Profiling APIs and no file system pollution with re-written assemblies.β‘οΈ
Example Usage π₯:
Shim static property getter β±:
[ Github ] : github.com/tonerdo/pose
γ°γ°γ°γ°γ°γ°
#CSharp #DotNet #Fake
@ProgrammingTip
Replace any .NET method (including static and non-virtual) with a delegate. π
It is similar to Microsoft Fakes but unlike it Pose is implemented entirely in managed code (Reflection Emit API).β¨
Everything occurs at runtime and in-memory, no unmanaged Profiling APIs and no file system pollution with re-written assemblies.β‘οΈ
Example Usage π₯:
Shim static property getter β±:
Shim dateTimeShim = Shim.Replace(() => DateTime.Now).With(() => new DateTime(2004, 4, 4));
Usage πΎ:// This block executes immediately
PoseContext.Isolate(() =>
{
// All code that executes within this block
// is isolated and shimmed methods are replaced
// Outputs "4/4/04 12:00:00 AM"
Console.WriteLine(DateTime.Now);
}, dateTimeShim);
https://t.me/pgimg/179[ Github ] : github.com/tonerdo/pose
γ°γ°γ°γ°γ°γ°
#CSharp #DotNet #Fake
@ProgrammingTip
Telegram
Programming Tips Resources
JSON API .NET Core β¨
A framework for building json:api compliant web APIs. π
The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. π
You just need to focus on defining the resources and implementing your custom business logic. ππ»
This library has been designed around dependency injection making extensibility incredibly easy. π
[ Github ] : kutt.it/JsonApiCore
[ Documentation ] : json-api-dotnet.github.io
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspMvc #AspCore #DotNet
@ProgrammingTip
A framework for building json:api compliant web APIs. π
The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. π
You just need to focus on defining the resources and implementing your custom business logic. ππ»
This library has been designed around dependency injection making extensibility incredibly easy. π
[ Github ] : kutt.it/JsonApiCore
[ Documentation ] : json-api-dotnet.github.io
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#AspMvc #AspCore #DotNet
@ProgrammingTip
Telegram
Programming Tips Resources
Kubernetes for .NET Developers βΈοΈ
Have you started building containerized application and struggled with scaling across multiple hostsβ
Would you like to simplify DevOps tasks such as deployment and configurationβ
Have you heard about Kubernetes and would like to learn moreβ
Then this presentation is for you. π
Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications. π₯
In this presentation, I will walk you through Kubernetes fundamentals, the high level architecture, how would you deploy an ASP.NET Core application to Kubernetes and finally how would you configure and launch auto-scaling, self-healing Kubernetes cluster. β‘οΈ
[ YouTube ] : youtu.be/uh4V2IjSrlI
[ Github ] : kutt.it/KubeAsp
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Kubernetes #DotNet #Core #AspMvc #AspCore
@ProgrammingTip
Have you started building containerized application and struggled with scaling across multiple hostsβ
Would you like to simplify DevOps tasks such as deployment and configurationβ
Have you heard about Kubernetes and would like to learn moreβ
Then this presentation is for you. π
Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications. π₯
In this presentation, I will walk you through Kubernetes fundamentals, the high level architecture, how would you deploy an ASP.NET Core application to Kubernetes and finally how would you configure and launch auto-scaling, self-healing Kubernetes cluster. β‘οΈ
[ YouTube ] : youtu.be/uh4V2IjSrlI
[ Github ] : kutt.it/KubeAsp
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Kubernetes #DotNet #Core #AspMvc #AspCore
@ProgrammingTip
Telegram
Programming Tips Resources
Using the ReferenceAssemblies NuGet package to build .NET Framework libraries on Linux, without installing Mono π
In this post I show how you can build .NET projects that target .NET Framework versions on Linux, without using Mono! π€·π»ββοΈ
By using the new Microsoft.NETFramework.ReferenceAssemblies NuGet packages from Microsoft you don't need to install anything more than the .NET Core SDK! π₯
[ Article ] : kutt.it/coremono
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#CSharp #DotNet #AspCore #NetCore
@ProgrammingTip
In this post I show how you can build .NET projects that target .NET Framework versions on Linux, without using Mono! π€·π»ββοΈ
By using the new Microsoft.NETFramework.ReferenceAssemblies NuGet packages from Microsoft you don't need to install anything more than the .NET Core SDK! π₯
[ Article ] : kutt.it/coremono
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#CSharp #DotNet #AspCore #NetCore
@ProgrammingTip
Telegram
Programming Tips Resources
EasyCompressor π¦
EasyCompressor is an open-source compression abstraction library that supports and implements many compression algorithms such as Zstd, LZMA, LZ4, Snappy, Brotli, GZip and Deflate. π
It is very useful for using along with Distributed Caching or storing files in database. β
[ GitHub ] : github.com/mjebrahimi/EasyCompressor
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Compression #CSharp #DotNet
@ProgrammingTip
EasyCompressor is an open-source compression abstraction library that supports and implements many compression algorithms such as Zstd, LZMA, LZ4, Snappy, Brotli, GZip and Deflate. π
It is very useful for using along with Distributed Caching or storing files in database. β
[ GitHub ] : github.com/mjebrahimi/EasyCompressor
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Compression #CSharp #DotNet
@ProgrammingTip
Telegram
Programming Tips Resources
Blazor WebAssembly 3.2.0 now available π
Iβm thrilled to announce that Blazor WebAssembly is now officially released.
This is a fully-featured and supported release of Blazor WebAssembly that is ready for production use. β
Full stack web development with .NET is now here! β‘οΈ
[ Article ]: https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-now-available/
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Blazor #DotNet #Core
@ProgrammingTip
Iβm thrilled to announce that Blazor WebAssembly is now officially released.
This is a fully-featured and supported release of Blazor WebAssembly that is ready for production use. β
Full stack web development with .NET is now here! β‘οΈ
[ Article ]: https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-now-available/
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Blazor #DotNet #Core
@ProgrammingTip
Secrets of a .NET Professional πΎ
In this post, weβll go through technical and non-technical ideas that have helped me through some of my toughest projects.
[ Article ] : https://kutt.it/DotSec
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet
@ProgrammingTip
In this post, weβll go through technical and non-technical ideas that have helped me through some of my toughest projects.
[ Article ] : https://kutt.it/DotSec
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet
@ProgrammingTip
Telegram
Programming Tips Resources
Awesome Microservices .NET Core Resources π
The best resources for Microservices in .NET Core πΎ
[ Github ] : kutt.it/dotnet-aws
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #DotNetCore #AspNetCore #Microservice
@ProgrammingTip
The best resources for Microservices in .NET Core πΎ
[ Github ] : kutt.it/dotnet-aws
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #DotNetCore #AspNetCore #Microservice
@ProgrammingTip
Telegram
Programming Tips Resources
What is .NETβ
What's C# and F#β
What's the .NET Ecosystemβ
What can .NET buildβ
Learn what is .NET from Scott Hanselman! β
[ Youtube ] : https://www.youtube.com/watch?v=bEfBfBQq7EE
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #CSharp
@ProgrammingTip
What's C# and F#β
What's the .NET Ecosystemβ
What can .NET buildβ
Learn what is .NET from Scott Hanselman! β
[ Youtube ] : https://www.youtube.com/watch?v=bEfBfBQq7EE
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #CSharp
@ProgrammingTip
YouTube
What is .NET? What's C# and F#? What's the .NET Ecosystem? .NET Core Explained, what can .NET build?
What is .NET? What is C# and F#? What is .NET Core? What's the .NET Ecosystem? What can you build? You have questions and we have answers. More videos at http://dot.net/videos
Looking inside ConfigurationManager in .NET 6 β
However ConfigurationManager is very much an implementation detail. It was introduced to optimise a specific scenario (which I'll describe shortly), but for the most part, you don't need to (and won't) know you're using it.
In this post, We take a look at the ConfigurationManager class, why it was added, and some of the code used to implement it.
[ Article ] : https://kutt.it/cfg-mgr
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #AspNetCore
@ProgrammingTip
ConfigurationManager
was added to support ASP.NET Core's new WebApplication model, used for simplifying the ASP.NET Core startup code. π§ΉHowever ConfigurationManager is very much an implementation detail. It was introduced to optimise a specific scenario (which I'll describe shortly), but for the most part, you don't need to (and won't) know you're using it.
In this post, We take a look at the ConfigurationManager class, why it was added, and some of the code used to implement it.
[ Article ] : https://kutt.it/cfg-mgr
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#DotNet #AspNetCore
@ProgrammingTip
Telegram
Programming Tips Resources