Tagged "ASP.NET"


Monero Payments with NOWPayments in C#

Accepting Monero Payments with the NOWPayments API in C#

C# guide to the NOWPayments API: create a Monero (XMR) invoice, redirect to invoice_url, and verify x-nowpayments-sig IPN callbacks with HMAC-SHA512.


Custom Caching Tag ASP.NET

ASP.NET Core: On-Demand Cache Expiration with Custom Tag Helpers

Discover how to craft a custom cache tag helper in ASP.NET Core. Seamlessly merge Razor view caching with on-demand expiration for optimal backend performance.

Tagged: ASP.NET, C Sharp

Ignoring Bots by User Agent in C#

How To Ignore Bot Traffic by User Agent in ASP.NET with C#

Exclude crawlers and bots from logs and analytics in ASP.NET Core by matching user agents against the crawler-user-agents list with one compiled regex.

Tagged: ASP.NET, bots, C Sharp, spam

Spam Filtering With C#

Blog Comment Spam Filtering With C#

How to filter spam comment posts using an API and C# in ASP.NET.

Tagged: APIs, ASP.NET, C Sharp, spam

Bundling and Minification with ASP.NET Core

Bundling and Minification in ASP.NET Core

Bundle and minify CSS and JavaScript in ASP.NET Core: the classic BuildBundlerMinifier bundleconfig.json, the WebOptimizer replacement, and MapStaticAssets.

Tagged: ASP.NET, CSS, JavaScript

Unit Testing with xUnit.net in ASP.NET Core 2.0

Unit Testing with xUnit.net in ASP.NET Core 2.0

How to add and run unit tests using xUnit.net with ASP.NET Core 2.0.


Migrating from ASP.NET 4.6 to ASP.NET Core 2.0

Migrating from ASP.NET 4.6 to ASP.NET Core 2.0

Details on how I migrated this website from ASP.NET 4.6 to ASP.NET Core 2.0 in one day.

Tagged: ASP.NET

Creating USPS Shipping Labels and Scan Forms With ASP.NET

Creating USPS Shipping Labels and Scan Forms With ASP.NET

How to buy USPS shipping labels and generate a SCAN Form (one barcode for many packages) from an ASP.NET site using EasyPost's C# client.

Tagged: ASP.NET, USPS

Sending SMS Messages in ASP.NET With C#

How To Send SMS Text Messages in C# and ASP.NET Core

Send a text message from C# in a few lines: Twilio SDK and HttpClient examples, an ASP.NET Core sender and endpoint, receiving replies, and US 10DLC rules.

Tagged: ASP.NET, C Sharp

How To Force All URLs To Lowercase In ASP.NET

How To Force All URLs To Lowercase in ASP.NET Core and ASP.NET

ASP.NET Core routing is case-insensitive, so /About and /about are duplicate URLs. Use LowercaseUrls plus a 301 rule or IIS rewrite rule to force lowercase.

Tagged: ASP.NET, SEO