Get random number in asp.net C#
Get random number in asp.net C#
Get random number in asp.net C#
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
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
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
Zoom API integration in ASP.NET empowers developers to seamlessly incorporate Zoom's powerful video conferencing capabilities into their ASP.NET applications.In this article we will see creating zoom meeting in asp.net mvc using zoom api step by step.
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
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.
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:
The Regex class in C# is part of the System.Text.RegularExpressions namespace. It provides a way to work with regular expressions, allowing you to perform pattern matching and manipulation of text. Here are some common operations you can perform using the Regex class:
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:
Hello guys, sometimes we need to get mime type for specific file types. So we will see how we can get mime type for any file extension in Asp.Net.
Hello guys sometimes we often need to convert base64 to tiff data and we have to verify if the base64 is correct for tiff image. So we will see how to Verify If base 64 string is valid for tiff image in C#.
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 need to implement social logins in our web applications. And Linkedin Login has become one of the popular social login that is getting used widely now a days. So we will see how to integrate Linkedin Sign In using LinkedinLogin Nuget package in Asp-Net MVC.
First C# Program
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 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.
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 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.
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.
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.
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.
Hello guys we often need to implement social logins in our web applications. And Linkedin Login has become one of the popular social login that is getting used widely now a days. So we will see how to integrate Linkedin Sign In using LinkedinLogin Nuget package in Asp-Net MVC.
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.
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.
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 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, 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.
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.
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, 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, 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, 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, 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.
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 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.
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.
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.
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.