🚀 News: We are launching the Kontext Labs Platform Pilot! Click here to join our pilot program.

c#

24 items tagged with "c#"

24 Articles

Articles

Clean out All Style Attributes using HTML Agility Pack .NET

HTML Agility Pack (HAP) is one of the most commonly used .NET package to parse HTML. It creates a document object model in memory, which can be use to manipulate the nodes (including both elements and attributes). The package can be added to your project from NuGet via the following CLI: `` dotnet add package HtmlAgilityPack --version 1.11.43 ` This code snippet provides one example of using this HAP to remove all style `attributes. The script can be run as C# script. For more details, refer to Html Agility Pack.

2022-08-09
Code Snippets & Tips

HTML Parsing using HTML Agility Pack .NET

HTML Agility Pack (HAP) is one of the most commonly used .NET package to parse HTML. It creates a document object model in memory, which can be use to manipulate the nodes (including both elements and attributes). The package can be added to your project from NuGet via the following CLI: `` dotnet add package HtmlAgilityPack --version 1.11.43 ` This code snippet provides one example of using this HAP to remove all script `elements. The script can be run as C# script. For more details, refer to Html Agility Pack.

2022-08-09
Code Snippets & Tips

C# 11 New Feature - Raw String Literals

2022-04-22
C# Programming

Load Fonts as Glyph in .NET

2022-03-26
.NET Programming

C# - Get Current and Last Month Start and End Date

2022-01-15
Code Snippets & Tips

Apache Ignite Installation on Windows

2022-01-03
The Data Engineering

C#: Get Index value in foreach Loop of IEnumerable

2021-12-28
Code Snippets & Tips

Query JSON via JMESPath in .NET

2021-12-21
.NET Programming

.NET - Transform XML Data with XSLT

2021-09-11
.NET Programming

Read Environment Variables in .NET Azure Functions

2021-08-24
Code Snippets & Tips

C#: Base64 URL Encoder and Decoder

2021-08-24
Code Snippets & Tips

Read Embedded Assembly Resource Files in .NET

2021-08-13
.NET Programming

Draw Images in ASP.NET Core 5

2021-02-16
ASP.NET Core

Get IP Address in ASP.NET Core 5

2021-01-16
ASP.NET Core

.NET Standard for C# 9.0

2020-09-28
.NET Programming

Introduction to C# Interactive

2020-09-24
C# Programming

Get IP Address in ASP.NET Core 3.x

2020-09-24
ASP.NET Core

C# Regex - Remove Heading Tags

2020-09-22
Code Snippets & Tips

LINQ to SQL - Select N Random Records

2020-09-22
.NET Programming

Send Emails using Microsoft 365 in ASP.NET Core

2020-09-11
ASP.NET Core

Entity Framework Core Code-First - Generate Covering Index with Columns Included

2020-06-28
ASP.NET Core

Read and parse JSON in C# / .NET Framework

JSON is commonly used in modern applications for data storage and transfers. Pretty much all programming languages provide APIs to parse JSON.

2019-11-18
Code Snippets & Tips

[C#] Connect to Teradata Database via .NET Data Provider

2015-05-28
Teradata

C/C++与C#不同点对比分析总结

本文阐述C/C++与C#的不同点,从数据结构与类型,关键字,语法结构,面向对象等角度出发,不涵盖所有不同点。

2011-12-14
C和C++