How to get visitors location like country and city
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.
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.
Java Type Casting
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 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.
How to upload files to Azure Blob Storage in an ASP.NET Core Web
Hello guys while using the Ole Db for Importing Excel sometimes we can face an error saying "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.". This error basically will not let you import excel. So we will see how to solve this error in this aticle.
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.
Hello guys, when you work with Neo4j database in asp.net. Sometimes you may receive an error Neo4j.Driver.ClientException: 'The old parameter syntax `{param}` is no longer supported . While executing the queries. So we will see how to solve that error.
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 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.
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.
Web Api in Asp.net MVC
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.
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:
Changes link using CSS
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, 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.
The anchor (<a>) and image (<img>) tags are two fundamental HTML elements used to create links and embed images in web pages.
Upload .bak file to plex server
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.
In this article we will see how to use dapper with stored procedure for selecting data from database with parameters.
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.
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.
What is C?
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.
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.
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.
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.
Polymorphism means many forms. This allows us to perform a single action in different ways.
Collections means the process of which the objects are handled by your program.
Setting up database on plesk server
This article will discuss key factors when choosing a Mohali mobile app development training program. It will also highlight what makes tecHangouts unique from the competition.
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
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.
Hello guys in this tutorial we will see how we can fix error too many redirects while using cloudflare for our website. We will see how to fix that.
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.
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.
In Method Overloading we have two or more than two methods those have the same name but different parameters.
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.
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.
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 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.
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.
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.
Dependency Injection Using Ninject In ASP.NET MVC
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.
First C# Program
The Java Collections Framework's LinkedHashSet is an implementation of the Set interface. It combines the advantages of LinkedList and HashSet. The order in which the elements were added to the set is the iteration order that the LinkedHashSet preserves. It offers constant-time performance for fundamental operations and disallows duplicate elements, just like HashSet.
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, sometimes while working with Asp.Net application and mobile apps we often need to use Firebase database . So we will be using Firebase Database in Asp.Net web application.
Publish Website using FTP in Visual Studio If we use FTP (File Transfer Protocol) to publish web applications, we need to enter all credentials provided by the FTP hosting company, and application files will upload directly to our FTP hosting space.
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.
The Extender Provider failed to return an Extender for this object
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.
Java Program to Display Fibonacci Series
Operator overloading in C++ allows you to define how operators behave when used with objects of user-defined classes. You can customize the behavior of operators, such as +, -, *, /, ==, and many others, to work with your own classes, making your code more intuitive and expressive.
Hello guys, while working in Asp.Net MVC or .Net core we often need to convert datatable to list of classes. We will learn how to create a extension method that will help in converting datatable to list without any extra efforts required.
It is collection of character or char type array.
Let’s explore how ServiceNow, particularly its IT Operations Management (ITOM) capabilities, drives efficiency, enhances productivity, and transforms the way businesses operate.
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.
Hello guys, now a days world is fastely moving forward for AI. And for that python is getting used a lot. In this article we will see how we can implement realtime face detection on web cam in python using OpenCV library.
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.
In this article, we will explore how to implement text-to-speech functionality in an ASP.NET MVC application using the built-in System.Speech.Synthesis namespace in .NET. This method allows you to convert text to speech without relying on external services.
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.
By defining your own classes, you can produce user-defined data types in Java. These classes let you create unique data structures that encapsulate data and action. Here is how to make a Java user-defined data type:
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, 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.
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.
The org.openqa.selenium.SessionNotCreatedException is an exception that can occur when working with Selenium, a popular automation testing framework used for web application testing. This exception typically indicates that a new session (browser instance) could not be created due to various reasons.
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.
Model Validation In ASP.NET Core MVC 6.0
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.
Abstraction is used to hide some information and show essential information to user.
How to create a read-only MySQL user
Hello guys, in this article we will create script for creating database backups from sql database server. We will use powershell script batch file for this purpose.
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.
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, 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.
we will learn Microsoft Outlook Add Contacts and Get Contacts service. We will learn how to add and get Contacts using Microsoft Exchange Service.
Hello guys while using Asp.Net MVC you can sometime face error while uploading large file . It can even occure while posting files on Web API. So we will see how to fix error Status Code 413 Request Entity Too Large.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.