Batch Script for Creating Database backups from Sql server
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, 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 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.
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.
Collections means the process of which the objects are handled by your program.
The underlying connection was closed: An unexpected error occurred on a send.
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:
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, 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.
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:
In Java, access modifiers are keywords that control the visibility and accessibility of classes, fields, methods, and other members within a class or package.
n JavaScript, flat() and flatMap() are array methods introduced in ECMAScript 2019 (ES10) that allow you to work with nested arrays in a concise manner. Let's explore each method:
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
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:
Setting up database on plesk server
What is C?
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, in this article we will learn how to integrate zoom c# wrapper in .Net. You can download the sample code from zoom official website . And after that follow this article for zoom integration in windows C# project.
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.
It is a way to represent memory location through symbol so that it can be easily identified.
To check if a character is a vowel or a consonant in C, you can write a simple program that evaluates whether the character is one of the vowels (a, e, i, o, u) or not. Here's a basic example of how to do this:
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.
This post introduced you to ASP.net and why it is a good choice for the web development process.
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
Web Api in Asp.net MVC
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.
They are identify after method name and in the bracket.The information can be given to method as a parameter
Here we discuss paragraph tag , acronym tags, and marquee tags.
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, 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.
How to use Azure Blob Storage in an ASP.NET Core Web API to list, upload, download, and delete files
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.
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, now a days we often have to use web api's in our Asp.Net core projects. In this article we will see how to create web api in asp.net core. We will create HttpGet,HttpPut,HttpPost and HttpDelete api's and see how to test them.
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.
Creating and displaying SSRS Report in ASP.NET MVC
Hello guys , while using Asp.Net Application sometimes we need to save data without refreshing the page and still we need to submit the form. We can achieve that using Ajax beginform. We will see how to use Ajax Beginform in Asp.Net MVC.
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.
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
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)).
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.
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.
Child internet safety refers to the precautions, guidelines, and measures taken to protect children from potential dangers and risks associated with their use of the internet and online platforms. As children increasingly access the internet for educational, entertainment, and social purposes, it becomes essential to ensure their online safety. Here are some key aspects of child internet safety:
Here we will implement export to Excel functionally in an Angular application with the help of the ExcelJS library. This is an awesome library to convert JSON data into formatted and customized Excel files.
Hello guys , we often need to integrate sms functionality in our asp.net web application. For that purpose, we often use different SMS libraries. This article will show how to send SMS using Twillio in Asp.Net MVC.
In C++, classes are the building blocks of object-oriented programming (OOP). They serve as blueprints or templates for creating objects. Classes define the structure and behavior of objects, encapsulating data (attributes) and functions (methods) that operate on that data.
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.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
Many times you might have got requirement of changing DateTime Format Of your IIS Hosted Web Application.Sometime Date format changes work on LocalHost but on IIS the date format remains same. Select Application Pool Select Project and click on Advanced settingsExpand Process Modal and Select Identity Select Custom Account and Click on set and enter UserName Password(System Credentials) and ok
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.
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.
Inheritance is the concept that is used for code reusability and changeability purpose.
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.
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, sometime we need to shuffle our list or array randomly without being in a certain order. So , in this article we will learn how to shuffle a list randomly in c#.
Hello guys, while creating webapp using vue js you might have needed toggle button for activating/ deactivating your data. So we will learn Implementing Toggle Switch in Vue js using vue-js-toggle-button in this article .
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.
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.
Constructor is a special method which is invoked automatically at the time of object creation.
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.
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.
Lists in HTML are essential for structuring information, creating navigation menus, and organizing content in a readable and accessible manner on web pages.
To find the biggest number in a 1D array in C, you can iterate through the array and keep track of the maximum value encountered.
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.
Encapsulation means that covering up of data under a single unit.
This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 7.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 7.0
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.
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.
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 often when working in Asp.Net core application , we sometimes need to schedule some process or task on regular interval. So we will see how to create task scheduler in Asp.Net core for recurring jobs.
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
We will discover how to integrate the Razorpay payment gateway with ASP.Net Core in this tutorial. Here, we go over Razor Pay and show you how to incorporate it into ASP.Net Core MVC. Please read through my earlier post, "Build CRUD REST APIs with EF Core." You can view the result of our integration of Razorpay with ASP.Net Core MVC at the conclusion of this post.
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 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).
Access modifiers in C# are used to specify the scope of accessibility of a member of a class or type of the class itself.
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.
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.
Multiple rows to one comma separated value in Sql Server
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, 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.
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#.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.