Reading Values From Appsettings.json In ASP.NET Core
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 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, 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.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
Converting commas or other delimiters to a Table or List in SQL Server
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 learn Convert string with dot notation to JSON Asp.Net. This will be needed while working with Ltree Postgre Sql.
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:
This post introduced you to ASP.net and why it is a good choice for the web development process.
How to Implement CAPTCHA in ASP.Net MVC
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.
Jquery Full Calender Integrated With ASP.NET
Java Program to Display Fibonacci Series
It is a way to represent memory location through symbol so that it can be easily identified.
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
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.
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:
First C# Program
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 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, we often need to export data from database into excel files in ASp.Net mvc using ClosedXML Xlworkbook. XlWorkbook is a third party library that helps in exporting excel file from datatable or dataset easily amd allows many formatting options that helps in better presenting data in excel.
Hello guys, now a days we often need to add QR Code Generator in our websites to store some information in QR Code for implementing that we will use Jquery QR Code js library with Asp.Net MVC. Jquery QR Code Generator is a free jquery library which can be used across different programming languages.
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 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
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.
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.
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
A dynamic array implementation that is a part of the Java Collections Framework is the Vector class in Java. It offers a resizable array that can expand or contract as necessary. Similar to ArrayLists, vectors are thread-safe for use in multi-threaded situations since they are synchronised.
Record Screen In asp.net MVC using RecordRTC
Collections means the process of which the objects are handled by your program.
Database Backup .bak
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.
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.
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.
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.
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, sometimes we need to import data from excel file in asp.net MVC using OLE DB. So we will use OLE DB Connection for that as that is really fast and effective while reading large excel files. You can check the steps on using that with asp.net MVC project.
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 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.
In this article we will see how to create slick slider with single slide. Slick slider is used for creating image carousal.
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)
Hello guys, in this article we will learn how to reload vue js child component. Sometime we need to reset child components or just re-render them. There few ways to reset child components but for beginner and those who have just started with vue js it can become a tough task to understand the flow to reset child components. So we will see how to reload child component.
Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.
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.
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.
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, 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 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.
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.
Hello guys, sometimes we need to put validations on textboxes to accept certain type of data. For that purpose , we will see how to apply input validations using javascript. This will contain Numbers validation , Number And Decimal validation , Alphanumeric validation , Alphabet validation.
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:
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.
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.
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:
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.
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.
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 in this article we will see how to implement JWT Token Authenticate with Validate Token and Refresh Token automatically . We will create one action filter attribute that will automatically validate all the request and if the token is expired it will refresh the token again.
For many applications, you want to create and manage groups of related objects. There are two ways to group objects: by creating arrays of objects, and by creating collections of objects. Arrays are most useful for creating and working with a fixed number of strongly typed objects. For information about arrays, see Arrays.
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.
Setting up database on plesk server
Hello guys , we often need to integrate sms functionality in our asp.net web application . For that purpose we often use different sms libraries. In this article we will see how to send sms using Twillio in Asp.Net.
A NullPointerException is a runtime exception in Java that happens when you attempt to perform an operation on a null object reference. In other words, you're attempting to access a member (such as a method or field) of an object that hasn't yet been initialized, which results in a null reference.
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.
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.
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.
The java.lang.IndexOutOfBoundsException is an exception class in Java that is thrown when an index used to access an array, list, or other collection is either negative or greater than or equal to the size of the collection. This usually indicates an attempt to access an element at an invalid index that does not exist in the collection.
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.
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.
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.
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.
HashSet is a Java Collections Framework class that implements the Set interface. It gives a collection with no duplicate elements and no set order for its elements. HashSet is built on a hash table data structure, which allows it to add, remove, and search for elements in constant time (O(1)).
Constructor is a special method which is invoked automatically at the time of object creation.
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.
Creating and displaying SSRS Report in ASP.NET MVC
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 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.
Changes link using CSS
The List class has a lot of useful methods that you can use to organize data. This article will cover how to sort the items in your list and make them easier to read. The Sort method is the simplest way to sort a C# list
Encapsulation means that covering up of data under a single unit.
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.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.