Strings in C
Collection of Char or char type array.
Collection of Char or char type array.
Creating tables in HTML is a way to display tabular data in a structured format. HTML provides several elements for building tables, including the,,, and elements.
Angular Material Select Dropdown with Image
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, 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.
In HTML, you can define classes using Cascading Style Sheets (CSS) to apply specific styling to multiple HTML elements. Here's how you can define classes in CSS within an HTML document:
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.
So basically in a MVC Project we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from this controller.
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.
Collections means the process of which the objects are handled by your program.
In Method Overloading we have two or more than two methods those have the same name but different parameters.
A control structure in C called a switch statement is used to make decisions based on the value of a variable or expression. It enables you to run a block of code connected to the first matching case after testing a variable against a set of values (cases). The switch statement's fundamental grammar is as follows:
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.
Threading is an important aspect of programming that allows developers to perform multiple tasks at the same time. In C#, threading is an efficient way to run multiple pieces of code concurrently.
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.
Hello guys, sometimes when we create audio and video songs related websites we might need some cool audio/video player for our songs list. So we will see how to use Jplayer- Html5 Music Player with jquery.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
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.
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.
Editor is important for visible Test Results. We can use Eclipse and Intellij here we use Eclipse Editor.
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.
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.
Hello guys, sometimes we need to allow users to type only alphabets in the textboxes. For that purpose , we will see how to apply alphabet validation using javascript
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:
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
Web Api 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 IOS. So we will see all steps for sending notifications for IOS using Asp.Net core.
Hello guys sometimes while working with MySQL database you can have error Unable to connect to any of the specified MySQL hosts . So we will see how to solve this error.
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
In Java, access modifiers are keywords that control the visibility and accessibility of classes, fields, methods, and other members within a class or package.
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.
Upload .bak file to plex server
The anchor (<a>) and image (<img>) tags are two fundamental HTML elements used to create links and embed images in web pages.
Hello guys we often need to implement social logins in our web applications. And Linkedin Login has become one of the popular social login that is getting used widely now a days. So we will see how to integrate Linkedin Sign In using LinkedinLogin Nuget package in Asp-Net MVC.
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
Web Api in Asp.net MVC
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.
An ArrayIndexOutOfBoundsException is a runtime exception in Java that happens when you attempt to access an array element with an index that is outside the array's valid range of indices. In other words, you're attempting to access an element in the array at an index that doesn't exist.
Hello guys, while working with blogging sites we often want to add buttons to share our articles on whatsapp , for providing user option to share link on whatsapp we have to use api.whatsapp.com. We will see how to add a WhatsApp share button on a website.
C is a general-purpose, procedural programming language created by Dennis Ritchie at Bell Labs in the early 1970s. It was designed to be a system programming language and eventually became widely used due to its power, flexibility, and efficiency. Here are some key aspects and features of the C programming language:
In the static method, there is no need for objects. but In non-static method there is requirement of Object.
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.
In modern web development, it's common to interact with external APIs or services to retrieve data for your application. However, when your web application runs in a browser and makes requests to a different domain or origin, you may encounter Cross-Origin Resource Sharing (CORS) restrictions. We will see how to use api with proxy url in Asp.net website. This also helps us to resolve CORS errors.
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.
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 , now a days we often provide users the ability to upload images in our web projects. But we have to sometimes utilize the memory for big size images as they can easily full up the memory of server. So for that we can use image compression while uploading image. In this article we will see how to perform Image Compression in Asp.net MVC.
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:
Hello guys sometimes while trying to run Your Asp.net core project you may face error HTTP Error 500.32 Failed to load ASP NET Core runtime . 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.
Basic fundamental tools is combination of Character sets, Keywords, data type, constants, variables.
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.
This article will guide you through creating an XML document from scratch, adding nodes, child nodes, and attributes. We will learn How to Create XML Documents in ASP.NET.
Hello guys, we often need to implement audio and video call functionality in our web applications. And for that purpose we have many third part libraries available. In this article we will see Audio and video call integration using Quickblox.
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 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.
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.
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.
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 in this video you'll see how to solve issue A non-fatal error occured during cluster initialisation in Postgre SQL on Postgre installation. You will often see this issue while installing Postgre. We have a workaround for you to solve this issue. Just follow the steps and your issue will solve.
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.
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
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, sometimes we need to get mime type for specific file types. So we will see how we can get mime type for any file extension in Asp.Net.
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.
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 we have to integrate google Login in our .Net applications. It can be hard sometimes to integrate that. So we will see how to integrate that using GoogleAuthentication Nuget package , which makes it easier to use and integrate.
Hello guys we often need to import csv file and load into datatable in asp.net mvc. So we will see how you can load datatable from csv file or how to import csv in asp.net mvc.
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, 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.
Hello guys, in this article we will learn about how to implement Url Encryption in Asp.Net MVC . There are few ways which provides url encryption but seems really difficult to implement. In our article we will use simple custom Html helpers for url encryption.
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).
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.
Hello guys, we all need to secure our applications against unwanted user attacks, for saving privacy and maintaining application security. So for that purpose, we have to keep our passwords Encrypted in the Database. So, we will see how to Encrypt and Decrypt Passwords in Asp.Net.
Hello, guys sometimes we need to implement a Facebook login in our application. We will see how to implement Facebook login in Asp.net MVC.
Hello guys in this article we will learn about basics of ChatGpt and how chatgpt can help people with lots of things.
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.
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:
We use FindElements here to return a collection of anchor tags.
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.
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.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.