Collections
Collections means the process of which the objects are handled by your program.
Collections means the process of which the objects are handled by your program.
Web Api 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
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
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, 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, 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.
They are identify after method name and in the bracket.The information can be given to method as a parameter
Hello guys, sometimes while working in your asp.net web project . We face the need of converting our html to image on in other words we want to save our html output as image in your system. So, we will see how to Convert HTML String To Image In C# 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.
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.
Editor is important for visible Test Results. We can use Eclipse and Intellij here we use Eclipse Editor.
The foreach loop in C# executes a block of code on each element in an array or a collection of items. When executing foreach loop it traversing items in a collection or an array. The foreach loop is useful for traversing each item in an array or a collection of items and displayed one by one. the foreach loop when working with arrays and collections to iterate through the items of arrays/collections. The foreach loop iterates through each item hence called foreach loop.
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.
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, 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.
Intergrate SummerNote Text Editor into Asp.Net MVC
Constructor is a special method which is invoked automatically at the time of object creation.
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.
There are two common objects in ADO.NET to read data, DataSet, and DataReader. C# DataSet and C# DataReader classes represent these objects. In this article, we'll learn about ADO.NET DataReader and how to use a DataReader in C#.
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:
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.
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.
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.
Basic fundamental tools is combination of Character sets, Keywords, data type, constants, variables.
Hello guys, sometimes in MVC projects we often need to add pagination on client side or server side. In this article we will see how we can implement simple pagination in ASP.NET MVC using jquery.
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
First C# Program
Converting commas or other delimiters to a Table or List in SQL Server
Let’s explore how ServiceNow, particularly its IT Operations Management (ITOM) capabilities, drives efficiency, enhances productivity, and transforms the way businesses operate.
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 often need to integrate voice calling functionality in our asp.net web application. For that purpose, we often use different voice call libraries. This article will show how to make voice call using Twillio in Asp.Net MVC.
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 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
Creating and displaying SSRS Report in ASP.NET MVC
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, sometimes we need to allow users to type only alphanumeric in the textboxes. For that purpose , we will see how to apply alphanumeric validation in javascript
Office 365: Migrating and Managing Your Business in the Cloud
Hello guys, now a days we often need to implement api's in our Asp.net Core project and for testing api's we often use swagger. Swagger is a type of Api developer tools which helps developers in using and testing api's in a better way. We will see how to use Swagger in Existing Asp.Net Core MVC Project.
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.
This post introduced you to ASP.net and why it is a good choice for the web development process.
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.
Encapsulation means that covering up of data under a single unit.
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:
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 article, we'll explore how to integrate Microsoft Azure Translator API into an ASP.NET MVC application to translate website text dynamically.
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.
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.
Here we discuss paragraph tag , acronym tags, and marquee tags.
Dependency Injection Using Ninject In ASP.NET MVC
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 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
Often we want to export table data in pdf format using Asp.Net format. We will see how we can use itextsharp library and using that how to export table data in pdf using itextsharp in asp.net mvc
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
An array is a sort of data structure in Java that allows you to store numerous values of the same type. It allows you to easily organise and manipulate data collections.
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.
Hello guys, now a days we always want to implement Google authentication login using Google Api . In this article we will learn how to Integrate Google SignIn in Asp.Net mvc.
Hello guys, in this article we will discuss a issue that we face when we use sfgrid in Blazor. So sometimes while using SfGrid when we want to refresh data source of grid with different schema it doesn't refresh properly. We will see how to fix the issue Changing sfgrid datasource does not work in Blazor.
Hello guys, while creating asp.net core application we often need to implement export of data and for this purpose we sometimes need to export views to pdf file. So, We will see how to export view as pdf in Asp.Net Core MVC in simple steps using itextsharp library which is free.
Get random number in asp.net C#
Java Type Casting
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.
In Selenium WebDriver, both implicit wait and explicit wait are mechanisms to control the timing of interactions with web elements, especially when elements might not be immediately available due to various reasons such as dynamic content loading, AJAX requests, etc. Both techniques help in synchronizing your tests with the actual behavior of the web application.
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.
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.
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.
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.
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.
Decision-making statements Contains Conditional,unconditional and repetitive statements
Hello guys, in this article we will see how to create new branch and merge old branches into new branches on github. While working with many people on same projects we have to create different branches to manage code. We will see how to do 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.
Hello guys, we often need to implement type ahead functionality in our project. So for implementing type ahead with input boxes we will use Jquery Autocomplete. We will also see how to implement highlight text functionality in Jquery Autocomplete.
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
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.
This article will explain repository design pattern with ADO.Net in MVC from the database without using the entity framework. I am going to use ADO.Net for this article.
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.
Lists in HTML are essential for structuring information, creating navigation menus, and organizing content in a readable and accessible manner on web pages.
In Java, the LinkedList class implements the List interface and provides a doubly-linked list data structure. It provides a versatile means of storing and manipulating a collection of items. A LinkedList, unlike an ArrayList, uses references to connect components rather than contiguous memory allocation.
Hello guys, often we want to support file upload in web applications and you will notice if you try to upload file more than 4MB you will face error Maximum request length exceeded .We will see how to fix error maximum request length exceeded in asp.net mvc.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.