Systems | Development | Analytics | API | Testing

Stackify

Solving 'Object Reference Not Set' Error

“Object Reference Not Set to an instance of an object.” Cast the first stone for those who never struggled with this error message as a beginner C# / .NET programmer. This infamous and dreaded error message happens when you get a NullReferenceException. This exception throws when you attempt to access a member. For instance, a method or a property on a variable that currently holds a null reference. But what does null reference exactly mean? What exactly are references?

The LINQ Join Operator: A Complete Tutorial

I think most C# developers would agree that LINQ is an integral part of the experience of writing code with the language. LINQ provides a fluent, intuitive, and consistent way to query data sets. In this post, we’ll help in your LINQ-mastering quest by covering the LINQ join operator. We’ll start the post with a definition of LINQ itself, so we’re all on the same page. After that, you’ll see an explanation of join operations in LINQ.

C# Threading and Multithreading: A Guide With Examples

Building responsive and efficient applications in our rapidly-evolving digital world is more crucial now than ever. As software developers, we constantly look for ways to boost performance and improve the user experience. One such method is employing multithreading, a widely used yet often misunderstood feature. This comprehensive guide will dive deep into C# threading and multithreading. We’ll unpack what they are, their differences, and when and how to use each.

Backend Development: A Comprehensive Guide to Server-Side Programming Languages

We are living in an era where innovation reigns supreme, so choosing the right tools to bring your applications to life is important. As developers, understanding the thrill of crafting robust and seamless applications behind the scenes is quite necessary. Therefore, the art of backend development requires careful selection of the perfect server-side programming language. From the elegant versatility of Python to the ubiquitous scalability of JavaScript, each language has its own unique strengths.

ASP.NET Razor Pages vs MVC: How Do Razor Pages Fit in Your Toolbox?

As part of the release of.NET Core 2.0, there are also some updates to ASP.NET. Among these is the addition of a new web framework for creating a “page” without the full complexity of ASP.NET MVC. New Razor Pages are a slimmer version of the MVC framework and, in some ways, an evolution of the old “.aspx” WebForms. In this article, we are going to delve into some of the finer points of using ASP.NET Razor Pages versus MVC.

Load Testing vs. Performance Testing vs. Stress Testing

Just conducting one type of testing is generally not enough. For example, let’s say you decide to perform unit testing only. However, unit tests only verify business logic. Many other types of tests exist to verify the integration between components, such as integration tests. But what if you want to measure the maximum performance of your application? Or what if you want to know how the application behaves under extreme stress?

Introduction to Design Patterns in Software Development

In the realm of software development, designing apps that are reliable and scalable is crucial. Design patterns are essential in achieving these objectives, being useful in OOP, UI and even QR Code design. The main reason is that design patterns offer reusable solutions to typical problems. This post explains the idea of design patterns, exploring their types, benefits and practical applications.

SOLID Design Principles Explained: Dependency Inversion Principle with Code Examples

The SOLID design principles were promoted by Robert C. Martin and are some of the best-known design principles in object-oriented software development. SOLID is a mnemonic acronym for the following five principles: Each of these principles can stand on its own and has the goal to improve the robustness and maintainability of object-oriented applications and software components.

Display All PHP Errors: Basic & Advanced Usage

A PHP application might produce many different levels of warnings and errors during its execution. Seeing these errors is crucial for developers when troubleshooting a misbehaving application. However, many developers often encounter difficulties displaying errors in their PHP applications, leading to silent app failures.

How C# Reflection Works With Code Examples

To write code that can read, examine and even write code in runtime. Sounds like magic? Welcome to the world of C# reflection. Being able to write code that can examine and modify other pieces of code dynamically is quite a useful power. That’s what we call reflection, and in this post, you’ll learn how C# reflection works. We’ll open the post by covering some fundamentals. What is reflection in C#? Why do people use it? We’ll break all that down for you in plain English.