Open in app

Sign In

Write

Sign In

Andre Lopes
Andre Lopes

859 Followers

Home

About

Published in Geek Culture

·Aug 20, 2022

Dependency Injection in .NET

A deep dive into how dependency injection works in .NET — Hi humans! Dependency injection is a great mechanism to manage your services construction when needed. It removes the need for you manually having to create an instance with new Service(...) and also it removes from you the responsibility of having to dispose of it and all its inner dependencies when…

Dotnet

6 min read

Dependency Injection in .NET
Dependency Injection in .NET
Dotnet

6 min read


Published in Geek Culture

·Aug 10, 2022

Understanding the power of yield return

Using the yield return for returning one item at a time — Hi, Earthlings! Today I want to show you both ways of manipulating and returning lists from C# methods. First I’ll demonstrate what is the “conventional” way of doing that by creating an empty list and filling it with the desired information for then returning it. The second way is by…

Csharp

4 min read

Understanding the power of yield return
Understanding the power of yield return
Csharp

4 min read


Published in Geek Culture

·Jul 20, 2022

File handling with .NET 6, MongoDB, Firebase, and Angular

Let’s build a small image uploading application with .NET 6, MongoDB, Firebase, and Angular — Hi people! One of the many questions I see in videos, tutorials, and courses, is from people asking how to work with files. Today I want to show you how easy it is to handle files with .NET by creating a simple web with a front-end in Angular, MongoDB for…

Csharp

11 min read

File handling with .NET 6, MongoDB, Firebase, and Angular
File handling with .NET 6, MongoDB, Firebase, and Angular
Csharp

11 min read


Published in Geek Culture

·May 29, 2022

IHttpClientFactory and how to correctly use HttpClient

A quick guide on how to properly instantiate and use HttpClient in .NET — Hey people! HTTP calls are present in almost every application that needs to communicate with other systems. It is the most popular method of communication. In .NET we have HttpClient, the framework’s built-in implementation to make such calls. One way of using it is by instantiating a new object with:

Dotnet

4 min read

IHttpClientFactory and how to correctly use HttpClient
IHttpClientFactory and how to correctly use HttpClient
Dotnet

4 min read


Published in Geek Culture

·May 15, 2022

Using MassTransit to manage message queues

Let’s set up a simple microservice architecture by learning how to work with MassTransit with RabbitMQ or AWS SQS — Hey people! When designing an architecture for a very decoupled application, one of the components that makes it easier for handling it is message queues. One way people handle one application notifying another about something is through HTTP messages. But a few problems arise if you do not depend on…

Microservices

12 min read

Using MassTransit to manage message queues
Using MassTransit to manage message queues
Microservices

12 min read


Published in Checkout.com-techblog

·May 10, 2022

Stop exposing your domain models

Returning only the necessary data to your API clients — Hi, multicellular organisms! Today I want to talk about a very important topic regarding API designs. To not expose your domain models or your entities in your API endpoints. Note that I’ll show examples in .NET but this is valid for any programming language. Very often I see an endpoint…

Clean Architecture

3 min read

Stop exposing your domain models
Stop exposing your domain models
Clean Architecture

3 min read


Published in Geek Culture

·May 1, 2022

How to use CancellationToken in your .NET API requests

Give your clients the ability to cancel their requests instead of always completing it — Hey, people! The ability to stop processing a request if your client decides that it is not necessary anymore is very important. Some scenario that might happen is if the client sends a request through a web browser but then reloads or close this page, most of the time you…

Dotnet

4 min read

How to use CancellationToken in your .NET API requests
How to use CancellationToken in your .NET API requests
Dotnet

4 min read


Published in Geek Culture

·Apr 30, 2022

Improving your .NET API performance with cache

Leveraging cache to make your API respond fast for data that doesn’t change so often — Hey, people! Performance is a constant concern when you are developing a new API. One of the performance key metrics is how long your requests take to respond and how many requests your API can handle. There are many ways of improving your API performance. One of them is preventing…

Cache

6 min read

Improving your .NET API performance with cache
Improving your .NET API performance with cache
Cache

6 min read


Published in Geek Culture

·Apr 27, 2022

Creating a Pokedex with Blazor WebAssembly

Let’s build a fun project using the .NET front-end technology — Hey, people! Blazor WebAssembly is .NET’s front-end framework to develop applications using .NET. It is an amazing tool that allows us to develop any web application using C#. This code is then compiled into WebAssembly, which is supported by most modern browsers, including mobile. Today I want to show us…

Dotnet

7 min read

Creating a Pokedex with Blazor WebAssembly
Creating a Pokedex with Blazor WebAssembly
Dotnet

7 min read


Published in Checkout.com-techblog

·Mar 28, 2022

10 Extensions to increase your C# Productivity in VS Code

A few extensions from my setup to help you code in C# with VS Code — Hello everyone! What I love most about Visual Studio Code is that it is highly customizable to fit your needs. This is very useful when tailoring it to improve your productivity. Here I’ll show a few extensions I use to improve my C# coding. Extensions C# The first and most crucial extension…

Vscode

5 min read

10 Extensions to increase your C# Productivity in VS Code
10 Extensions to increase your C# Productivity in VS Code
Vscode

5 min read

Andre Lopes

Andre Lopes

859 Followers

Full-stack developer | Casual gamer | Clean Architecture passionate

Following
  • Adolfo Neto

    Adolfo Neto

  • Marija Stupar

    Marija Stupar

  • Marcos Henrique da Silva

    Marcos Henrique da Silva

  • Claudio Akio Namikata Jr.

    Claudio Akio Namikata Jr.

  • Andrew Hillier

    Andrew Hillier

See all (74)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech