Index | Code2night.com

Latest Blog

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:

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.

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.

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.

Introduction of HTML

HTML (Hypertext Markup Language) is defined as the standard markup language for creating and structuring web pages. It forms the backbone of the World Wide Web and is essential for creating and rendering web content in web browsers. HTML is not a programming language; rather, it is a markup language used to define the structure and content of web documents.

While Loop

C# provides the while loop to repeatedly execute a block of code as long as the specified condition returns false. The while loop starts with the while keyword, and it must include a boolean conditional expression inside brackets that returns either true or false. It executes the code block until the specified conditional expression returns false. The condition is given in the beginning of the loop and all statements are executed till the given boolean condition satisfies when the condition becomes false, the control will be out from the while loop else It executes the code block until the specified conditional expression returns false.

Access Modifiers in Java

In Java, access modifiers are keywords that control the visibility and accessibility of classes, fields, methods, and other members within a class or package.

Variable

It is a way to represent memory location through symbol so that it can be easily identified.

Input/Output Statements in C++

In C++, input and output operations are commonly performed using the Standard Input/Output Library, which includes the <iostream> header. This library provides the 'cin' and 'cout' objects for reading input and displaying output, respectively.

How to set Date and time format in IIS Manager

Many times you might have got requirement of changing DateTime Format Of your IIS Hosted Web Application.Sometime Date format changes work on LocalHost but on IIS the date format remains same. Select Application Pool Select Project and click on Advanced settingsExpand Process Modal and Select Identity Select Custom Account and Click on set and enter UserName Password(System Credentials) and ok

java.lang.NumberFormatException

A NumberFormatException is produced in Java when you try to convert a string to a numeric type (such as int, double, float, etc.) but the string's format is incompatible with the required format for that numeric type. This is common when using parsing techniques such as Integer.parseInt(), Double.parseDouble(), or Float.parseFloat().

Inheritance

Inheritance is the concept that is used for code reusability and changeability purpose.

How to implement Authorize.Net Payment gateway in asp.net mvc

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

Globalization and localization in ASP.NET Core With Resource Files

In this article we will focus on implementing Globalization and localization in ASP.NET Core With Resource Files . We will be trying to implement culture in Asp.Net core 3.1.So if your are struggling in using you Asp.Net Resource Files in .net core have a look at the article in detail.

Classes in C++

In C++, classes are the building blocks of object-oriented programming (OOP). They serve as blueprints or templates for creating objects. Classes define the structure and behavior of objects, encapsulating data (attributes) and functions (methods) that operate on that data.

Implement Stripe Payment Gateway In ASP.NET MVC

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Implement Stripe Payment Gateway In ASP.NET Core

Inheritance in C++

Inheritance is a fundamental concept in object-oriented programming, and it allows you to create new classes (derived or subclass) that inherit properties and behaviors from existing classes (base or superclass). In C++, inheritance is a key feature, and it enables you to establish a hierarchy of classes.

Real Time Chat using SignalR with .Net core and Vue.js

Hello guys, We often found ourself in the need of a realtime chat app . For two way communication in your webapp. We will see how to implement real time chat using SignalR with .Net core and Vue.js. SignalR is basically used for any sort of realtime functionalities. We will use .Net core for managing chathub . You can see complete steps in the article.

Assignment To Merge Column And Rows In a table

To merge columns and rows in an HTML table, you can use the colspan and rowspan attributes within the or elements. These attributes allow you to span a cell across multiple columns (colspan) or rows (rowspan). Here's an example demonstrating how to merge cells in an HTML table:

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.

Chapter-5 (format specifier in c)

In C, format specifiers are used to specify the type of data being read or displayed when using functions like printf and scanf. These are a few frequently used C format specifiers:

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.

Call By Value

when a copy of the original value is passed to the function, then it is known as Call by value in C#

Blogs

314

Views

835,160

Downloads

2254

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