Recently published articles:
vol. 2 num. 2 - 2025 jan 13
Strategies to Determine the Ideal Code Coverage Percentage in Web Applications
This article discusses the importance of code coverage in web applications developed in C#. Code coverage is a metric that evaluates the quality of automated tests, helping to identify areas of the code that need more attention. A coverage of 70% to 80% is recommended, adjustable according to the project's context.
vol. 2 num. 1 - 2025 jan 06
Developer Technologies
Practical Applications of Regular Expressions for Validation in Csharp
This article provides an introduction to regular expressions (regex) and their applications in data validation in C#. It explores the use of regex to check common input formats such as emails, phone numbers, CPF, URLs, passwords, dates, postal codes, and numbers. Each section includes practical code examples and detailed explanations of the expressions used.
vol. 1 num. 26 - 2024 dez 30
Developer Technologies
Best practices for using DTOs (Data Transfer Objects) in a clean architecture
This article discusses best practices for using Data Transfer Objects (DTOs) in a clean architecture. DTOs are essential for separating responsibilities, reducing coupling between layers, and facilitating communication between systems. The text highlights the advantages of DTOs, such as data validation and performance improvement, as well as presenting guidelines for their creation, such as clear naming and immutable properties.
vol. 1 num. 25 - 2024 dez 23
Developer Technologies
Comparison of Transient, Scoped, and Singleton: Optimized Approaches for Dependency Injection in C#
Dependency Injection (DI) is an essential design pattern for separation of concerns in C# applications. This article explores the three main modes of DI: Transient, Scoped, and Singleton. The Transient approach creates new instances with each request, making it ideal for lightweight services. Scoped reuses instances during an HTTP request, making it suitable for services that temporarily share data. Singleton, in turn, ensures a single instance for the entire application.
vol. 1 num. 24 - 2024 dez 16
Developer Technologies
Strategies for Identifying Dead Code in .NET Applications
The article discusses the importance of identifying and removing dead code in .NET applications, defining it as unused code that can compromise readability, performance, and maintenance of the software. It highlights various techniques for its identification, including static analysis, test coverage monitoring, dependency analysis, code reviews, and feedback from error reports. Tools such as ReSharper, SonarQube, and NDepend are mentioned as useful resources.
vol. 1 num. 23 - 2024 dez 09
Developer Technologies
Factory Pattern: Structure, Application, and Practical Details
The article explores the Factory design pattern, a widely used approach in software development that allows the creation of objects without specifying their concrete classes. It details the Factory Method and Abstract Factory variants, presenting their implementations in C# and practical cases.
vol. 1 num. 22 - 2024 dez 02
Developer Technologies
Development of Recommendation Systems with OpenAI Embeddings and Csharp
This article presents an introduction to recommendation systems, highlighting their importance in digital platforms and the use of algorithms to personalize the user experience. It explores the concept of OpenAI embeddings, which are vector representations of words, essential for improving the accuracy of recommendations. The text details the implementation of collaborative filtering and content-based methods in C#.
vol. 1 num. 21 - 2024 nov 25
Developer Technologies
Exploring the Use of OpenAI Completions in Csharp Projects
This article explores the integration of OpenAI in C# projects and how artificial intelligence can revolutionize application development. It initially addresses the environment setup, including the installation of the .NET SDK and authentication with the OpenAI API. It then presents practical examples of text generation, chatbot building, and structured data analysis. The article also discusses security and privacy considerations, as well as envisioning the future of AI in C#.
vol. 1 num. 20 - 2024 nov 18
Developer Technologies
Improving Test Coverage in Csharp Using Moq and xUnit
This article addresses the importance of test coverage in software development in C#, highlighting the use of the xUnit and Moq tools. Test coverage is vital to ensure code quality, identifying failures and preventing issues in production. The article explores the configuration of the testing environment, writing unit tests, and using mocks with Moq to isolate dependencies.