23/05/2023
gRPC is good for communicating between microservices. But, do you know how to test gRPC server applications? Of course, you cannot test the gRPC server applications within a browser. You need specialized tools to test the gRPC server applications.
In this post, we show you how to test gRPC server applications with 2 of the best tools:
- Postman
- gRPCurl
And we also explore what is server reflection and why we need it.
2 Good Tools To Test gRPC Server Applications - Code Rethinked
Testing gRPC server applications requires specialized clients. In this post we use postman and grpcurl to test grpc server applications
19/04/2023
Do you know gRPC? If not this is the cross-platform open source high-performance remote procedure call framework. gRPC can boost the speed of your API calls from client to server
In this post, we'll explore
- How to create a gRPC project
- What do we have in the default gRPC template in Visual Studio 2022
- Understand what is a proto file and how it is written
- Also we look at what is in the compiled code after we save .proto files and when we do a build
https://coderethinked.com/exploring-grpc-project-in-asp-net-core
Exploring gRPC project in ASP.NET Core - Code Rethinked
In this post, we'll explore what we have in gRPC in ASP.NET Core and also look at what is a proto file and how they are compiled
20/03/2023
Do you know how to customize the authorization in ASP.NET Core.
Using policy-based authorization, a user can be allowed access to a resource based on our own logic.
What you can learn from this post:
- How to create a policy
- How to setup authorization handlers
- How to consume the created policy in controllers/action methods or in razor page models
Policy-Based Authorization in ASP.NET Core - Code Rethinked
What is policy-based authorization and how to set up policy-based authorization with handlers and policies defined and registered
16/03/2023
New Blog Post alert:
Do you know role-based authorization? and how to set up these in razor pages?
We will explore how to setup role-based authorization in
Role-based Authorization in ASP.NET Core
We will explore what role-based authorization is and how we apply role-based authorization on controllers, actions, and Razor pages.
08/11/2022
How to enable feature flags based on current context?
Here is an article to help you enable feature flags based on context
https://coderethinked.com/contextual-feature-filters-in-asp-net-core/
Contextual Feature Filters in ASP.NET Core - Code Rethinked
Contextual feature filters are helpful and allow you to enable/disable a feature based on the context supplied.
02/11/2022
https://coderethinked.com/tips-for-converting-existing-asp-net-applications-to-asp-net-core/
Here is an article that guides you on how to convert any existing asp.net application to asp.net core application.
MVC -> ASP.NET CORE
WCF -> ASP.NET CORE
Web Forms -> ASP.NET Core
Bonus: We have coupon codes at the end of the article, which will give you a free eBook copy of ASP.NET Core in Action, 3rd Edition
Tips for converting existing ASP.NET applications to ASP.NET Core - Code Rethinked
Tips for converting applications to asp.net core. We'll explore how to convert wcf, mvc and web forms applications to asp.net core.
25/10/2022
π‘C # Tipπ‘
How to find the shortest word in a string using LINQ?
For more information visit
https://coderethinked.com/shortest-word-in-a-string-with-linq/
10/10/2022
Do you know you can create custom feature filters in the ASP.NET Core application with Microsoft Feature Management package?
If you don't, please check this article on how to configure custom feature filters in ASP.NET Core
https://coderethinked.com/how-to-create-a-custom-feature-filter-in-asp-net-core/
How to create a custom feature filter in ASP.NET Core - Code Rethinked
In this post, we will see how to create a custom feature filter for a specific user and also see how to configure custom feature filter.
07/10/2022
Do you know what happens if you use func delegate on entity framework entities?
Learn more on coderethinked.com
https://coderethinked.com/don-t-use-func-delegate-on-the-ef-entities/
Don't use Func delegate on the Entity Framework entities - Code Rethinked
Why LINQ query is slow. Func delegate on Entity framework causes performance issue. In this post, I'll talk about how the func delegate causes performance implications on Entity framework entities.
27/09/2022
How to show/hide a feature by flipping a flag? is here for us.
Learn more about feature management in in ASP.NET Core.
The Comprehensive Guide To Feature Management In ASP.NET Core - Code Rethinked
What is Feature Management in asp.net core, its benefits and we'll also see how to consume IFeatureManager directly in razor pages
20/09/2022
How often are you using the extension methods in c #? Want to understand the major benefits with extension methods in .
Visit the below article for more information on this.
Author: https://www.facebook.com/prathamani.sagar
Tags: ,
Extension Methods And Their Benefits In Csharp - Code Rethinked
You may know extension methods in C #. But, do you know the advantages and their real-time usage? In this post we'll explore extension method usages.
20/09/2022
Writing is fun and quick π.
But, overtime our startup.cs file gets bloated with minimal api's. However, we can refactor minimal apis using βοΈ
To learn how to refactor in click on the link below. πππ
Refactoring Minimal APIs with Carter - Code Rethinked
In this post, we will refactor minimal APIs with Carter framework. We'll also see how to install, setup and write modules with Carter framework