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.
Java Type Casting
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.
So starting of from the beginning Ajax is used for Asynchronous Javascript and XML. We can use it for many purposes. Few basic uses of Ajax are:- Update page without reloading the page providing better performance. Request data from a server - after the page has loaded which can be used in loading Partial Views. Send data to a server without reload - in the background making it easier to performance Save, Delete operations smoothly. Ajax in Asp.Net MVC
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, 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.
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:
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.
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.
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.
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.
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 we often have to deal with json files in asp.net Core 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 core 8.0. We will be creating one json reader class for this purpose.
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.
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.
Collections means the process of which the objects are handled by your program.
Here we discuss paragraph tag , acronym tags, and marquee tags.
Access modifiers in C# are used to specify the scope of accessibility of a member of a class or type of the class itself.
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:
Decision-making statements Contains Conditional,unconditional and repetitive statements
This tutorial demonstrates how to accept payments with RazorPay Checkout in an ASP.NET MVC application built with C# . The application uses Checkout to accept payments from card and upi and demonstrates step by step tutorial.
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 show countdown timer in js . We will see how we can create countdown time in javascript.
The Extender Provider failed to return an Extender for this object
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.
The java.lang.IllegalStateException with the message "The driver executable does not exist" typically occurs in the context of automated testing using web automation frameworks such as Selenium WebDriver.
This post introduced you to ASP.net and why it is a good choice for the web development process.
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.
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 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.
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.
Hello guys, in this article we will learn about how to implement Url Encryption in Asp.Net MVC . There are few ways which provides url encryption but seems really difficult to implement. In our article we will use simple custom Html helpers for url encryption.
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.
Upload .bak file to plex server
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.
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:
Inheritance is the concept that is used for code reusability and changeability purpose.
Hello guys in this article we will discuss about features of .net core 7 which we can see in the upcoming release of .net core
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
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, we often need to implement user authentication and validate user authentication for all actions. We will see how we can create custom filter attribute and use that for user authentication.
We use FindElements here to return a collection of anchor tags.
Multiple rows to one comma separated value in Sql Server
The String Buffer class in Java provides a modifiable sequence of characters. It is commonly used when you need to dynamically edit strings without continuously generating new objects.
Creating and displaying SSRS Report in ASP.NET MVC
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 allow users to type only alphabets in the textboxes. For that purpose , we will see how to apply alphabet validation using javascript
we will learn Microsoft Outlook Add Appointment and Get Appointment using Asp.Net MVC. There are two ways for that one is Microsoft.Interop library and second is Microsoft Exchange service. We will learn how to add and get appointments using Microsoft Exchange Service.
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 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.
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, 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.
Editor is important for visible Test Results. We can use Eclipse and Intellij here we use Eclipse Editor.
Hello guys, often while dealing with project where we need to implement payment systems and need user to enter card number and show them the card number format properly. So for that purpose we have to use controls from payment gateways which are bit harder to manage on custom websites. So we will see how to implement Input Box Card Number Formatting using jquery.
In this article we will see how to use dapper with stored procedure for selecting data from database with parameters.
Hello guys, sometimes we often want to restrict user from typing aplhabet characters and just all them to type numeric characters only. So we will see how to apply numeric only validation in javascript.
To obtain the IP address of a device using C#, you can use the Dns class from the System.Net namespace. Here's an example of how you can retrieve the IP address:
How to Implement CAPTCHA in ASP.Net MVC
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
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.
Changes link using CSS
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).
In today's digital landscape, security is paramount for any web application. One effective way to enhance security and protect against bots is by integrating Google reCAPTCHA. reCAPTCHA is a free service provided by Google that helps to distinguish between human and automated traffic on websites. In this article, we'll explore how to integrate Google reCAPTCHA into an ASP.NET MVC application.
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.
First C# Program
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.
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
To pass a reference of arguments to the function the ref keyword is used in C#.
Intergrate SummerNote Text Editor into 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.
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 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 and also we will see how to get fcm server key.
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.
Publish in local folder
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 , 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.
A NumberFormatException is produced in Java when you try to convert a string to a numeric type (such as int, double, float, etc.) but the string's format is incompatible with the required format for that numeric type. This is common when using parsing techniques such as Integer.parseInt(), Double.parseDouble(), or Float.parseFloat().
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 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.
Hello guys in this tutorial , we will learn the first step of using sql server. We will see how we can create database and perform crud operation using sql queries.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.