Integrating React with other JavaScript libraries

Integrating React with other JavaScript libraries The biggest difference between React and JavaScript is the way they interact with the DOM. React has no idea of any changes made to the DOM outside of its scope. If jQuery or another library manipulates the same DOM nodes, React won’t be able to recover from the unknown... » read more

Startup.cs Class in ASP.NET Core explained

Startup.cs file in .NET Core The primary task of the Startup class is configuring the request pipeline, the series of request delegates that get called serially. This way, the class not only serves to be the starting point of the application but also determines the course the application would eventually take. No wonder all of... » read more

How to get time information of a file in C#

In this article, you will learn how to get time-related information of a file. There are two different methods to achieve this. You can either use static methods of File class or call methods of FileIno class after initiating it. Get time information of a file in C# using the File Class Let’s say you... » read more

Catch Unhandled Exceptions in WinForms Apps using C#

In this article, we will learn how to handle an unhandled exception being thrown in C#. An exception is an error that occurs at runtime, and an unhandled exception occurs when the application fails to handle the exception being thrown properly. Unhandled Exceptions in C# Applications The UnhandledException Event notifies an app whenever an unhandled... » read more

Show/Hide Text Box using JavaScript & jQuery

In this article, you will learn how to show/hide a textbox based on the user’s selection of the drop-down menu. If the user selects yes from the drop-down menu, the text box will appear. Show/Hide a TextBox in Javascript and jQuery HTML <form> <div id="drop-down" name="drop-down"> <label for="travel">Have you visited Europe before? </label> <select name="travel"... » read more

How to handle forms in React

How to create and handle forms in React JS frameworks make your life much easier when it comes to forms, as they are provided to you with form validation out of the box. But for some weird reason, React wants us to handle forms ourselves. In this lesson, you are going to learn about React... » read more

C# TextBox Control

In this lesson, you will learn about essential control in the WinForms application world, which is the TextBox Control. Introduction to TextBox Control in C# A TextBox is widely used in Windows Application, mainly to get or set data from/to a data source. Just like other controls, a TextBox has its properties and events. this... » read more

C# Button Control

In this lesson, you will learn about the Button Control from the toolbox and its most used properties and events. Introduction to Button Control in C# In C# WinForms applications, a button is widely used to perform actions, such as save, search, cancel, and more. Literally you cannot see a Window Form that does not... » read more

Work with conditional rendering in React

Conditional rendering in React Let’s create a simple class-based component that has only one state – pet. This component will render a button, which when clicked, changes the state of the pet. If the pet is a cat, it will be changed into the dog, and if it is set to a dog, the state... » read more

C# Label Control

In this lesson, we will go thought the Label Control and some of its important properties and event. Introduction to C# Label Control the Label Control is probably the most used control in a WinForms Applications. It’s used to have a text in it, to label something. Add a label to your Form To add... » read more

Introduction to C# GUI

Desktop Applications were among the first forms of computer software in their early days. Most of the software at that time were developed to function on a client machine. In the early 90′, the web was born and took the world by a storm. However, desktop applications still have a large portion of the development... » read more

Handling Events in React

How do we handling events in React? You may feel comfortable working with events in JavaScript or jQuery, where you write imperative code to handle the events. However, React has a slightly different approach to handle that. Rather than selecting the relative DOM elements and attaching event functions to these, React wraps these in their own... » read more

Understanding state, and life cycle methods in React

React state and life cycle methods The state is different from props in the sense that props is a way to pass data from one component to another. It cannot be changed by the component receiving the props. According to the React documentation, props are immutable which means you can’t change the value of props.... » read more

Validating components in React with prop-types

How to Validate Props in React Data handling within a DOM tree is quite beneficial as it takes away the burden from the app and increases the speed of rendering elements. There are a few techniques you can use when working with data in React components. For the sake of simplicity, we create a functional... » read more