String Buffer in Java
The String Buffer class in Java provides a modifiable sequence of characters. It is commonly used when you need to dynamically edit strings without continuously generating new objects.
The String Buffer class in Java provides a modifiable sequence of characters. It is commonly used when you need to dynamically edit strings without continuously generating new objects.
Image compression is a way of reducing the size of the images. compress your image in different formats PNG, JPEG, and GIF images. We will learn how to compress image using ImageCompress nuget package which you can download from nuget.
In HTML and CSS, an ID (identifier) is a unique attribute used to identify an individual element on a webpage. Each ID must be unique within the document, distinguishing one element from all others.
Hello guys, sometimes while working with sql server, we sometimes face the need of working with json data . For that purpose we have to be able to read json data in sql which is quite a difficult task, so we will see how to read json in sql server in simple steps.
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().
Polymorphism means many forms. This allows us to perform a single action in different ways.
In this article we will see how to highlight code segments in in your website with js. We will be using Prism js syntax highlighter for this. Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in millions of websites, including some of those you visit daily.
In this tutorial, we'll explore how to integrate the ChatGPT API into an ASP.NET MVC application. The ChatGPT API, provided by OpenAI, allows developers to interact with the powerful language model for various applications like chatbots, content generation, and more.
So, nowadays it is really important while developing applications that users don't have to waste a lot of time trying to register or go inside your web application. So, keeping in mind the need of today's world we have few Social Login available that are getting used mostly. These include Google Login, Linkedin, and Microsoft. In this article we will see How to Integrate Linkedin Login With Open Id Connect in Asp.Net MVC.
Hello guys, sometimes while working with big databases in sql server we often need to find all procedures where we have used a certain table.So we will see how to do that.
we will learn Microsoft Outlook Add Contacts and Get Contacts service. We will learn how to add and get Contacts using Microsoft Exchange Service.
C++ is a powerful, high-level programming language that is widely used for developing a wide range of applications, from system software to video games and web applications. It was developed as an extension of the C programming language and introduced several features that make it a versatile and efficient language for software development.
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.
Hello, readers, and welcome to Code2Night! In this blog post, we will focus on the latter and explore how to implement JWT Token Authentication in ASP.NET Core 7.0 Web api and .net core 7 web application. So we will see how we will generate jwt token and how we will verify the token using authorize attribute.
Hello guys, in this article we will learn Convert string with dot notation to JSON Asp.Net. This will be needed while working with Ltree Postgre Sql.
To generate an image using C#, you can utilize the System.Drawing namespace, which provides classes for working with images. Here's a simple example that demonstrates how to create a new image and save it to a file:
LINQ (Language Integrated Query) is a powerful tool in .NET that provides a unified way to query data from various data sources. When working with databases, LINQ can be used in conjunction with Entity Framework, a popular Object-Relational Mapping (ORM) framework, to simplify the process of mapping data to objects and querying the database.
When the variable of one data type is changed to another data type is known as the Type Casting.
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.
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 paypal integration in Asp.Net MVC.
To check if a character is a vowel or a consonant in C, you can write a simple program that evaluates whether the character is one of the vowels (a, e, i, o, u) or not. Here's a basic example of how to do this:
In HTML, you can use external CSS (Cascading Style Sheets) to separate the style from the HTML content. This is achieved by creating a separate CSS file and linking it to your HTML document. Here are the steps to use external CSS in HTML:
Hello guys in this article we will see how you can create your own speech to text converter in javascript. So we will try to implement speech recognition and display speech in written format, similar like subtitles.
Let’s explore how ServiceNow, particularly its IT Operations Management (ITOM) capabilities, drives efficiency, enhances productivity, and transforms the way businesses operate.
Hello guys, now a days we often have to use web api's in our Asp.Net core projects. In this article we will see how to create web api in asp.net core. We will create HttpGet,HttpPut,HttpPost and HttpDelete api's and see how to test them.
How to create a read-only MySQL user
What is C?
In the C programming language, operators are special symbols or keywords that perform operations on operands. Operands are the values or variables that operators act upon
Hello guys, sometimes we often want to restrict user from typing aplhabet characters and just all them to type numeric characters only. So we will see how to apply numeric only validation in javascript.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for Android. So we will see all steps for sending notifications on android for Asp.Net and also we will see how to get fcm server key.
TreeSet is a Java Collections Framework class that implements the SortedSet interface. It returns a set that is sorted in natural order or by a provided comparator. TreeSet, unlike HashSet, does not allow duplicate elements and delivers fast performance for simple operations like adding, removing, and searching for elements.
Hello guys, in this article we will learn about Integrating Google Map Places Api in Asp.Net MVC. For integrating Google Map Places Api you will need a billing account attached with your API Key. We will see how to do that in detail.
First C# Program
Hello guys while working with Asp.Net Core we often need to read values from appsettings.json file. In today’s article, we will see how to read values from appsettings.json in ASP.NET Core.
Destructor is opposite of constructor.It is used to destructs automatically the instance of the constructor class.it is defined one time in the class.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for Android. So we will see all steps for sending notifications on android for Asp.Net core.
Publish Website using FTP in Visual Studio If we use FTP (File Transfer Protocol) to publish web applications, we need to enter all credentials provided by the FTP hosting company, and application files will upload directly to our FTP hosting space.
Hello guys in this tutorial , we will learn the first step of using sql server. We will see how we can create database and perform crud operation using sql queries.
In this article we will learn how you can get outlook email in asp.net. We will use microsoft exchange services for getting or retrieving the email data from outlook account.
Hello guys, sometimes while working with sql server we often create tables with wrong columns names and we often need to rename those columns. So we will see how to rename table column in sql server.
Hello guys , sometimes while working with Asp.Net web application. We often found that web site is loaded in http:// and then we have to manually changes the url to https:// to make it work. So for avoiding manual workk, we will see how to auto redirect from HTTP to HTTPS In Asp.Net using Web Config
Hello guys , sometimes we often need to download files as zip file in Asp.Net MVC. We will use ZipArchive to download files as zip. We will see the steps in the article.
Hello guys , while working with Angular js we sometimes gets caught in situtation where we have to apply css on child components.It's not possible by adding css normally in parent compponent due to the scope of component css. So we will learn how to apply css on child components in Angular js.
The Java Collections Framework's LinkedHashSet is an implementation of the Set interface. It combines the advantages of LinkedList and HashSet. The order in which the elements were added to the set is the iteration order that the LinkedHashSet preserves. It offers constant-time performance for fundamental operations and disallows duplicate elements, just like HashSet.
They are identify after method name and in the bracket.The information can be given to method as a parameter
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
Collections means the process of which the objects are handled by your program.
Zoom API integration in ASP.NET empowers developers to seamlessly incorporate Zoom's powerful video conferencing capabilities into their ASP.NET applications.In this article we will see creating zoom meeting in asp.net mvc using zoom api step by step.
Hello guys, sometimes while using asp.net web application we face need to read json data from json files and parse them in c# . So will see how to read json data from file and parse using Asp.Net.
Creating a NuGet package from a .NET Framework Class Library involves creating the DLL in Visual Studio on Windows, then using the nuget.exe command-line tool to create and publish the package.
Access modifiers in C# are used to specify the scope of accessibility of a member of a class or type of the class itself.
Hello guys, sometimes we need to allow users to type only decimals in the textboxes. For that purpose , we will see how to apply decimal validation in javascript
Hello guys, now a days we always want to implement social logins in our web application . In this article we will learn how to implement Login With Microsoft in Asp.net.
In this article we will learn some basics of how we can use Asynchronous Programming in C# . We will see some code examples for that.
In ASP.NET Core, App Trim refers to a feature that automatically removes unused assemblies from the application's memory during runtime. This helps to reduce the memory footprint of the application and improve its overall performance.
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:
Hangfire is an open-source library to schedule and execute background jobs in .NET applications. You'll be able to create a simple background process inside the same application pool or thread without creating separate applications. Hangfire creates background jobs in persistence storage, like MS SQL Server, Redis, MongoDB, and others, that may prevent you from losing the job on recycling IIS pools or exception prevalence.
Here we discuss paragraph tag , acronym tags, and marquee tags.
Database Backup .bak
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.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 8.0 application built with C# . 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 Integrate Stripe Payment Gateway In ASP.NET Core 8.0
If statement will execute a block of code if the given condition is true. The if statement checks a Boolean expression and executes the code based on if the expression is true
Hello guys, in this article we will create script for creating database backups from sql database server. We will use powershell script batch file for this purpose.
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.
Hello guys, sometimes we need to consume web api from c# or Asp.Net core.So in this article we will see Calling Web api from Server Side using Asp.Net Core . We will use HttpClient for this.
The String Joiner class in Java makes it easy to connect several strings with a defined delimiter. It is very useful for concatenating strings in a loop or dealing with string collections.
1418 (HY000) at line 10185: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
Jquery Full Calender Integrated With ASP.NET
Hello everyone, in today's digital landscape, integrating Google authentication login using Google API has become increasingly essential. In this article, we will delve into the process of seamlessly integrating Google SignIn into Asp.Net Core 8.0, the latest framework in the .NET Core ecosystem. Let's explore how to streamline user authentication and elevate the security standards of your web applications by Integrating Google SignIn in Asp.Net Core 8.0.
Constructor is a special method which is invoked automatically at the time of object creation.
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.
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:
Web Api in Asp.net MVC
In a production environment, securing your Swagger UI is essential to prevent unauthorized access. You can use authentication middleware to protect the Swagger UI endpoint. Below is an example of how you can configure authentication for Swagger UI in an ASP.NET Core application.
Hello guys, in this article we will see how to fix CWE-23 Path Traversal vulnerability Unsanitized input from an HTTP parameter flows into global::System.IO.Directory.CreateDirectory, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to create arbitrary directories when we scan our code with snyk.
Hello guys, we often have to implement realtime chat functionality in our Asp.net web application. So we will see how to build real-time application with SignalR in Asp.Net Core
Hello guys, sometimes we need to put validations on textboxes to accept certain type of data. For that purpose , we have to apply validation to stop backSlash on keypress and also on copy/paste. So we will see how to apply Input validation on keypress and copy paste using javascript.
Hello guys, sometimes while working with Devexpress tools you may have found one issue with dropdown when you use that on a popup. The items of dropdown gets overlapped by popup. We will see how to fix DevExpress Dropdown Items Overlapped by Popup.
Upload .bak file to plex server
A two-dimensional (2D) array is an arrangement of items in C that are arranged in a grid and are individually identified by a pair of indices: a row index and a column index. A 2D array can be compared to a table or matrix that has rows and columns. A 2D array in C is declared, initialised, and used as follows:
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.