Get random number in asp.net C#
Get random number in asp.net C#
Get random number in asp.net C#
First C# Program
Hello guys in this tutorial we will see how you can select same row after rebinding or repopulating devexpress gridview.
Hello guys, sometimes while working with big databases in sql server we often need to find all tables where we have used specific columns. So we will see how to do that.
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 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.
Hello guys, sometimes while working with Devexpress tools you may have found one issue with dropdown when you use that on a popup. The items of dropdown gets overlapped by popup. We will see how to fix DevExpress Dropdown Items Overlapped by Popup.
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.
In this article, we'll explore how to integrate Microsoft Azure Translator API into an ASP.NET MVC application to translate website text dynamically.
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, 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.
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 while working with you asp.net mvc application we often need to have mapping between database objects to other objects. Often we do that mannually and we can also use automapper to automate mapping between similar kinds of object. So we will see how to implement AutoMapper in asp.net mvc.
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.
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.
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.
Inheritance is the concept that is used for code reusability and changeability purpose.
Hello guys , sometimes while working with Asp.Net web application. We often found that web site is loaded in http:// and then we have to manually changes the url to https:// to make it work. So for avoiding manual workk, we will see how to auto redirect from HTTP to HTTPS In Asp.Net using Web Config
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.
Method is a series of statements that together perform a task.
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:
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, now a days we always want to implement Google authentication login using Google Api . In this article we will learn how to Integrate Google SignIn in Asp.Net mvc.
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.
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.
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:
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.
To pass a reference of arguments to the function the ref keyword is used in C#.
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:
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.
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 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 HTML, you can define classes using Cascading Style Sheets (CSS) to apply specific styling to multiple HTML elements. Here's how you can define classes in CSS within an HTML document:
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.
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.
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.
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.
Upload .bak file to plex server
Hello guys, sometimes while working with big databases in sql server we often need to find all procedures where we have used a certain table.So we will see how to do 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.
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
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.
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.
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.
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.
Dependency Injection Using Ninject In ASP.NET MVC
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 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.
Polymorphism means many forms. This allows us to perform a single action in different ways.
Hello guys , now a days working with versioning tools has been important while working with projects as that helps in keeping your project safe against missing codes and changes. So we will be learning how to add your project to github and how to use github in your project.
Hello guys , we often need to integrate twillio sms functionality in our asp.net web application. Sometimes we need to get Sms logs or history for all sent sms from twillio. So we will see how to get sms logs from twillio in Asp.Net MVC .
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.
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.
Record Screen In asp.net MVC using RecordRTC
In this article we will see how to create slick slider with single slide. Slick slider is used for creating image carousal.
Hello guys we often need to implement charts in our web project. In this tutorial we will see how to implement pie chart in asp.net mvc using am charts library.
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.
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.
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 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.
The anchor (<a>) and image (<img>) tags are two fundamental HTML elements used to create links and embed images in web pages.
How to upload files to Azure Blob Storage in an ASP.NET Core Web
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 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.
To generate an image using C#, you can utilize the System.Drawing namespace, which provides classes for working with images. Here's a simple example that demonstrates how to create a new image and save it to a file:
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.
Dapper is a simple Object Mapper and is nothing but Object-relational mapping (ORM) and is responsible for mapping between database and programming language and also it owns the title of King of Micro ORM in terms of speed. It is virtually as fast as using a raw ADO.NET data reader and also Entity Framework.
In this tutorial, you will learn how to create an Screen Recording with Audio using JavaScript MediaRecorder API
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 , often we need to apply masking on phone, email or many more field to accept data in certain format. So in this article we will see how to apply input mask in jquery.
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.
Database Backup .bak
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
HTML (Hypertext Markup Language) is defined as the standard markup language for creating and structuring web pages. It forms the backbone of the World Wide Web and is essential for creating and rendering web content in web browsers. HTML is not a programming language; rather, it is a markup language used to define the structure and content of web documents.
Creating and displaying SSRS Report in ASP.NET MVC
Constructor is a special method which is invoked automatically at the time of object creation.
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.
Hello guys sometimes while trying to run Your Asp.net core project you may face error HTTP Error 500.31 Failed to load ASP NET Core runtime . This error is basically because the framework required by the project is not on your system. So we will see how to solve that.
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.
Never study to be successful, study for self-efficiency. Don’t run behind success. Follow behind excellence, success will come all way behind you.