Index | Code2night.com

Latest Blog

Climbing the Career Ladder: Advancement Opportunities in Software Engineering

In the technologically driven era we live in, software engineering stands not just as a profession but as a dynamic and vibrant journey. This journey is filled with opportunities for continuous learning, growth, and professional advancement. For those who dare to delve into its intricacies and navigate its challenges, software engineering offers numerous routes to personal and professional development.

ConfigurationBuilder does not contain a definition for SetBasePath

In this article we will see how to solve issue 'ConfigurationBuilder' does not contain a definition for 'SetBasePath' and no extension method 'SetBasePath' accepting a first argument of type 'ConfigurationBuilder' could be found (are you missing a using directive or an assembly reference? in .Net Core 3. We will see how to ready json files in .Net core 3.

How to generate pdf using itextsharp in asp.net mvc

In this article, we'll walk you through the process of using iTextSharp to create PDF documents within an ASP.NET MVC project. We'll dissect the code you've provided and explain each step to ensure you have a comprehensive understanding of the implementation. So follow the steps for learning How to generate pdf using itextsharp in asp.net mvc.

Method Parameter

They are identify after method name and in the bracket.The information can be given to method as a parameter

Form Design In HTML

You can design forms in HTML that let users enter data and send it to a server for processing. You can create forms using a variety of form elements and HTML tags. Here's a simple illustration of how to make a straightforward form in HTML:

Array List

In Java, the ArrayList class implements the List interface as a resizable array. It offers dynamic arrays that can expand or contract in size as needed. ArrayLists are a component of the Java Collections Framework and provide a variety of methods for modifying the elements contained in them.

Parameterised constructor in java

A parameterized constructor in Java is a constructor that accepts one or more parameters when creating a class object. These parameters are used to set the values of the object's instance variables.

Implement JWT Token Authentication with Validate and Refresh Token in asp.net mvc

Hello guys in this article we will see how to implement JWT Token Authenticate with Validate Token and Refresh Token automatically . We will create one action filter attribute that will automatically validate all the request and if the token is expired it will refresh the token again.

Method Overriding in Java

Overriding methods is a key idea in Java object-oriented programming. It enables a subclass to provide a particular implementation of a method defined in the superclass. When you override a method, you replace the superclass's inherited implementation with your own version in the subclass. This allows for polymorphism and dynamic method dispatch.

Vector In Java

A dynamic array implementation that is a part of the Java Collections Framework is the Vector class in Java. It offers a resizable array that can expand or contract as necessary. Similar to ArrayLists, vectors are thread-safe for use in multi-threaded situations since they are synchronised.

java.lang.IndexOutOfBoundsException

The java.lang.IndexOutOfBoundsException is an exception class in Java that is thrown when an index used to access an array, list, or other collection is either negative or greater than or equal to the size of the collection. This usually indicates an attempt to access an element at an invalid index that does not exist in the collection.

Hashset In Java

HashSet is a Java Collections Framework class that implements the Set interface. It gives a collection with no duplicate elements and no set order for its elements. HashSet is built on a hash table data structure, which allows it to add, remove, and search for elements in constant time (O(1)).

Exception Handling Asp.Net Core

Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.

Automating Keyboard and Mouse Events.

Selenium automation of keyboard and mouse events is an essential ability for efficient web testing. Knowing how to imitate user interactions is crucial whether you're performing repetitive activities or testing web apps. This in-depth guide will go through how to utilise Java's Selenium WebDriver to automate keyboard and mouse events.

Chapter1 CSS

CSS (Cascading Style Sheets) is a style sheet language used to describe the display of an HTML or XML document. It allows web developers to control the appearance and layout of multiple web pages at once. Here's a detailed overview of some fundamental CSS properties:

String Builder

When you need to manage strings efficiently in Java, you should utilise the StringBuilder class. Unlike the immutable String class, the StringBuilder class allows you to change the contents of a string without creating a new object each time.

Using Ajax in Asp.Net MVC

Hello guys, in this article we will tell you about what is Ajax? and how it can help you create better projects with better performance.Ajax basically used for Asynchronous Javascript and XML. As the name defines it helps you make server side operation asynchronously or you can say without reloading the page. So we will see few examples of using Ajax in Asp.Net MVC.

How to implement Paypal in Asp.Net Webforms

Hello guys, we often want to integrate payment gateways in our Asp.Net applications. Some of the most popular payment gateways are payumoney,paypal,stripe and razorpay. We have already covered payumoney and stripe in our blogs. In this article we will see How to implement Paypal in Asp.Net Webforms.

C# Regex Examples

The Regex class in C# is part of the System.Text.RegularExpressions namespace. It provides a way to work with regular expressions, allowing you to perform pattern matching and manipulation of text. Here are some common operations you can perform using the Regex class:

Template in C++

Templates in C++ allow you to construct generic code that can deal with multiple data types without having to replicate the code for each one. In C++, templates are fundamental for constructing flexible and reusable classes and functions. In C++, there are two types of templates: function templates and class templates.

Hashmap in Java

HashMap is a component of the Java Collections Framework that implements the Map interface. It offers a key-value pair data structure in which elements are stored as a combination of keys and their corresponding values. HashMap does not support duplicate keys, but it does support mapping multiple values to the same key. It provides constant-time performance for simple operations like as element addition, removal, and retrieval.

Operator Overloading in C++

Operator overloading in C++ allows you to define how operators behave when used with objects of user-defined classes. You can customize the behavior of operators, such as +, -, *, /, ==, and many others, to work with your own classes, making your code more intuitive and expressive.

Blogs

312

Views

759,241

Downloads

1973

Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.

3 Idiots