Asynchronous Programming in C#
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 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 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.
when a copy of the original value is passed to the function, then it is known as Call by value in C#
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.
Hello guys, considering the security of web applications and api's we often have to implement security tokens. Sometimes we use owin authentication and sometimes JWT Tokens. So in this article we will see how to implement JWT Token Authentication in ASP.NET MVC using JWT.
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.
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 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.
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.
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
What is C?
Creating an HTML registration form entails the use of numerous form elements, such as text inputs, radio buttons, checkboxes, and buttons. Here's a simple HTML registration form example:
It is a way to represent memory location through symbol so that it can be easily identified.
The break statement is used to terminate the loop or statement in which it present. This statement is used to skip over the execution part of the loop on a certain condition.
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.
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:
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.
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.
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 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 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.
Type conversions between classes in an inheritance hierarchy are referred to as "upcasting" and "downcasting" in Java. When working with polymorphism and inheritance, these conversions are frequently required. Let's look at both ideas:
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.
Lists in HTML are essential for structuring information, creating navigation menus, and organizing content in a readable and accessible manner on web pages.
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#.
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.
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.
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.
Small businesses often struggle to provide prompt responses to customer inquiries and concerns, which can lead to a negative customer experience and potential losing valuable customers. To improve customer service, businesses can consider hiring a support team for call and email responses or implementing chat support services on their website.
Java Program to Display Fibonacci Series
An unconditional statement in C is one that is executed without regard for whether a certain condition is true or false. Unconditional statements are processed sequentially, one after the other, and do not rely on any conditional logic.
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.
In this article, we'll explore how to integrate Microsoft Azure Translator API into an ASP.NET MVC application to translate website text dynamically.
Collection of Char or char type array.
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.
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 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.
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.
Creating and displaying SSRS Report in ASP.NET MVC
Hello guys sometimes while creating asp.net mvc web project. We often need to post files to the web api and the receive the files in the api. So we will see posting files to Web API in Asp.Net MVC.
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.
When you need to manage strings efficiently in Java, you should utilise the StringBuilder class. Unlike the immutable String class, the StringBuilder class allows you to change the contents of a string without creating a new object each time.
After installing or updating the system or uploading your web app on IIS, you may receive the error HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure upon accessing the website. So we will see how to solve that error.
Hello guys, we often need to show countdown timer in js . We will see how we can create countdown time in javascript.
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.
Converting commas or other delimiters to a Table or List in SQL Server
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, 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.
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:
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.
Changes link using CSS
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.
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
JWT Token Authentication And Authorizations In .Net Core Web API
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.
The Extender Provider failed to return an Extender for this object
Expanding the reach of your ASP.NET webpage by making it accessible to users from diverse linguistic backgrounds is essential for enhancing user experience and increasing engagement. One effective way to achieve this is by integrating Google Translate into your Asp.Net webpage, enabling users to translate the content into their preferred language effortlessly.
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
In the technologically driven era we live in, software engineering stands not just as a profession but as a dynamic and vibrant journey. This journey is filled with opportunities for continuous learning, growth, and professional advancement. For those who dare to delve into its intricacies and navigate its challenges, software engineering offers numerous routes to personal and professional development.
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 sometimes we often need to convert base64 to tiff data and we have to verify if the base64 is correct for tiff image. So we will see how to Verify If base 64 string is valid for tiff image in C#.
In this article, we suggest you to get acquainted with the free editor of web languages - CodeLobster IDE. It is presented on the software market for a long time already, and it wins a lot of fans.
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.
How to Implement CAPTCHA in ASP.Net MVC
The underlying connection was closed: An unexpected error occurred on a send.
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.
How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files
Jquery Full Calender Integrated With ASP.NET
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.
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 will see how to use dapper with stored procedure for selecting data from database with parameters.
Constructor is a special method which is invoked automatically at the time of object creation.
Publish in local folder
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 we need to call async methods inside sync methods in our asp.net application. So we will see how we can do that.
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:
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.
Database Backup .bak
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 video we will see how we can get visitors location information like country and city using simple javascript code. We will see how to do that.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.