C# Blogs | Code2Night.com

Blog results for Tags - #C#

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 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

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 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

Implement Stripe Payment Gateway In ASP.NET Core

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

Create JSON String in C#

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.

C# Regex Examples

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:

C# collection

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.

Image Compression 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.

The report definition is not valid or is not supported by this version of reporting

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.

Implement Stripe Payment Gateway 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

ConfigurationBuilder does not contain a definition for SetBasePath

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.