Java Type Casting
Java Type Casting
Java Type Casting
The Treemap is a component of the Java Collections Framework that implements the SortedMap interface. It keeps its elements ordered according to the natural ordering of keys or a defined comparator.
In this article, we'll explore how to send calendar events via email using .ICS files in an ASP.NET application. We'll walk through the process step-by-step and explain the provided code snippet along the way.
Hello guys , now a days working with versioning tools has been important while working with projects as that helps in keeping your project safe against missing codes and changes. So we will be learning how to add your project to github and how to use github in your project.
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.
Web Api in Asp.net MVC
So starting of from the beginning Ajax is used for Asynchronous Javascript and XML. We can use it for many purposes. Few basic uses of Ajax are:- Update page without reloading the page providing better performance. Request data from a server - after the page has loaded which can be used in loading Partial Views. Send data to a server without reload - in the background making it easier to performance Save, Delete operations smoothly. Ajax in Asp.Net MVC
Multiple rows to one comma separated value in Sql Server
The GROUP_CONCAT() function was built specifically for the purpose of concatenating a query’s result set into a list separated by either a comma or a delimiter of your choice.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET 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. There are four steps: Create the project and configure dependencies Create the payment Web Form Create a page to perform the charge Run the application
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, 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
we will learn Microsoft Outlook Add Appointment and Get Appointment using Asp.Net MVC. There are two ways for that one is Microsoft.Interop library and second is Microsoft Exchange service. We will learn how to add and get appointments using Microsoft Exchange Service.
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 Core 8.0.
A default constructor in Java is one that is provided by the Java compiler if no other constructors are explicitly defined in a class. The default constructor takes no arguments and is in charge of setting the object's fields to default values.
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.
Here we discuss paragraph tag , acronym tags, and marquee tags.
Hello guys, sometimes while working with big databases in sql server we often need to find all tables where we have used specific columns. So we will see how to do that.
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.
In the static method, there is no need for objects. but In non-static method there is requirement of Object.
Decision-making statements Contains Conditional,unconditional and repetitive statements
In HTML, the table tag is used to create tables to display data in a structured grid format. The table tag can contain several attributes that help in defining and customizing the behavior and appearance of the table.
Hello guys, sometimes we need to import data from excel file in asp.net . So we will use ExcelDataReader for that. You can check the steps on using that with asp.net project.
Innovation has become essential in today's digital-first economy. Artificial intelligence (AI) is being used more and more by businesses trying to stay competitive in order to boost productivity, improve customer satisfaction, and open up new growth prospects. However, realising AI's full potential necessitates more than experimenting with technology; it calls for the proper plan and skilful implementation. AI development services can help with that.
JSON (JavaScript Object Notation) is a lightweight data interchange format commonly used for transmitting data between multiple systems, mostly in Web APIs and client applications. JSON is a text-based format that is easy for humans to read and write and also easy for machines to parse and generate. It is language-independent, meaning it can be used with any programming language that has the capability to parse JSON data.
Hello friends, as per being a .net developer we often have situations of Sending FCM Mobile Notification in Asp.net for IOS. So we will see all steps for sending notifications for IOS using Asp.Net core.
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.
The do while loop statement executes a statement or a block of statements while a specified Boolean expression evaluates to true. Because that expression is evaluated after each execution of the loop, a do-while loop executes one or more times.The do while loop stops execution exits when a boolean condition evaluates to false. Because the while(condition) specified at the end of the block, it certainly executes the code block at least once.This differs from the while loop, which executes zero or more times. The do while loop is the same as while loop except that it executes the code block at least once
How to Implement CAPTCHA in ASP.Net MVC
Editor is important for visible Test Results. We can use Eclipse and Intellij here we use Eclipse Editor.
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 C, input and output functions are used to interact with the user and the external world. These functions allow you to read data from the user or files and write data to the screen or files. The standard library provides several functions for input and output
In this article, we'll explore how to integrate Microsoft Azure Translator API into an ASP.NET MVC application to translate website text dynamically.
How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files
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.
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.
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.
Hello guys we often get CWE-91: XML Injection error when we scan our asp.net project using any security tools. So in this article we will see How to fix Xml Injection vulnerability in asp.net (CWE-91).
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)
In C, an array is a collection of elements of the same data type, stored in contiguous memory locations. An index is used to access the elements of an array.
Hello guys now a days while working with api's we have to secure api's using owin autentication. in this article we will learn how to implement owin authentication in Asp.Net MVC Api.
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.
Hello guys sometimes we have to get comments from our youtube channel and show on our websites. So in this tutorial we will let you know the steps of how to Get Channel comments using YouTube Data Api in Asp.Net.
In this tutorial we’ll use slick Slider in responsive mode, A Slick Slider is a popular jQuery plugin, to build an attractive responsive image gallery. So we will see how to configure slick slider for responsive screens.
Hello guys sometimes we have to get videos from our youtube channel and show on our websites. So in this tutorial we will let you know the steps of how to Get Channel Videos using YouTube Data Api in Asp.Net learnn With code2night
In Method Overloading we have two or more than two methods those have the same name but different parameters.
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.
Hello guys , we often need to implement Social Login in our web applications. Github login is also one of the social logins which is widely used now a days for authentication. We will see how to use that in Asp.Net MVC.
Hello guys in this article we will see how to solve an exception when you try to use old rdlc report and make changes into that . You will see you will get an exception ReportProcessingException: The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded. We will see how to solve that.
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.
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 Core.
Hello guys in this article we will learn about basics of ChatGpt and how chatgpt can help people with lots of things.
Setting up database on plesk server
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.
Hello guys, often while working with angular js you sometimes have requirement of implementing chat functionality where user can press @ and select users from the list , similar to what we do on skype or all big chatting platforms. For that purpose we can use Angular-mentions which is a package in Angular js for skype like @ chat functionality. We will see how to use that in detail.
Hello guys we often have to deal with json files in asp.net mvc and we also have to read json files using c# and asp.net. So in this article we will see how to read json file in asp.net mvc.
When the variable of one data type is changed to another data type is known as the Type Casting.
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.
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.
In this tutorial we’ll use slick Slider , A Slick Slider is a popular jQuery plugin, to build an attractive responsive image gallery. Slick.js is a well-known jQuery plugin created by Ken Wheeler that lets you build beautiful responsive carousels. so what I going to do is to create a custom slider one of my favorite slider is the slick slider. You can create a custom slider by following the steps below.
The underlying connection was closed: An unexpected error occurred on a send.
Hello guys, you might have noticed while working with .Net core 3.1 that whenever you make any client side change(html,css,js). It doesn't reflect in browser even after reload. So we will learn how to solve the issue Visual studio not refreshing changes in browser on reload.
Hello guys we will see how to fix Error An error occurred while processing your request.Swapping to Development environment will display more detailed information about the error that occurred.The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development. In asp.net core IIS
In this article, we'll dive into integrating PayPal subscriptions into an ASP.NET Core application. PayPal offers a robust API that allows developers to create and manage subscription plans seamlessly. We'll walk through a sample code snippet that demonstrates how to create a subscription plan, add a product, and initiate a subscription for a user.
Hello guys sometimes we need to call async methods inside sync methods in our asp.net application. So we will see how we can do that.
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.
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.
Hello guys, while using Paypal payment gateway we often need for payout to some other user using paypal. So in this article we will see how to do payout using paypal payment gateway.
A do-while loop is a sort of loop construct in C that repeatedly runs a block of code as long as a stated condition is true. The do-while loop, as opposed to the while loop, ensures that the code block is performed at least once, even if the condition is initially false. The basic syntax of a do-while loop in C is as follows:
In this article, I will be explaining how an email can be send using ASP.NET with C#. I will be working on window forms of asp.net web application.I will be demonstrating how to use asp.net to build web application to send an email.
PayU or PayuMoney is the fastest growing Payment Gateway in India that supports all major banks and credit/debit card for payment settlement. PayUMoney provides support to enterprise user on behalf of PayUbiz Payment Gateway. As PayuBiz support more number of service then Payumoney.
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:
Browser Reload On File Save:- In Asp.Net you might have noticed you browser getting refreshed whenever you save any File using Fileupload in Webforms or MVC. We will see how we can stop 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.
It is collection of character or char type array.
Hello guys sometimes while trying to run Your Asp.net core project you may face error HTTP Error 500.31 Failed to load ASP NET Core runtime . This error is basically because the framework required by the project is not on your system. So we will see how to solve that.
Hello guys, we all would have used cookies in our Asp.Net Core web projects. If you have used httpcookies in Asp.Net core 2.1 project and you are trying to update your .Net core version to 3.1 . You will notice your HttpCookies are not working there. So, we will see how to fix HttpCookies Issue with Asp.Net Core 3.1.
Abstraction is used to hide some information and show essential information to user.
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.
In Java, the ArithmeticException is a subclass of the RuntimeException class. It is thrown when an arithmetic operation fails or produces an incorrect result. One of the most common causes of an ArithmeticException is attempting to divide by zero.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.