AngleSharp
platform-compat
Our great sponsors
AngleSharp | platform-compat | |
---|---|---|
15 | 23 | |
4,999 | 249 | |
1.5% | - | |
8.6 | 1.2 | |
12 days ago | over 3 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AngleSharp
-
Migration of a Dynamic Website to a Static Website
Instead, what I ended up doing is utilizing AngleSharp for transforming the existing (dynamic) websites into static files. I've stored them on disk and made them ready to be served statically.
-
What do .NET devs use for web scraping these days?
AngleSharp
-
School Web scraping
Read and understand the HTML DOM with something like this https://anglesharp.github.io/
- Text editor library/HTML parser options for blogging app
-
Powershell/HTML: Apply color to HTML table based on results
Personally, if that script I wrote did need to be used on Core I probably would have compiled AngleSharp, loaded the HTML Parser DLL into the script, and used that.
-
C# Web Scraper to check a sent Form
Now, assuming you have to scrape, C# does have two decent scraping libraries: AngleSharp and Html Agility Pack. I personally prefer AngleSharp.
-
Tell me your common tasks!
I would love a blog post or even a series of them about scraping local HTML files with either AngleSharp or HTMLAgilityPack.
-
How can I grab onto the html class name of a string that contains html, using c#?
If you want a cleaner and modern alternative to HtmlAgilityPack then I'd suggest https://github.com/AngleSharp/AngleSharp
- How to parse HTML in .NET - C# libraries comparison and benchmarks in 2021
-
Web scraping is so complicated, i cant specify a class only an attribute
Use anglesharp for parsing html
platform-compat
-
KeePass flaw allows retrieval of master password
DotNet offers the SecureString class to keep a string encrypted in Memory, but as long as the OS does not natively support this concept, the only advantage is that it resides in memory for a shorter time, the disadvantage is that SecureStrings are easier to search for.
- System.Net.Mail.SmtpClient is not recommended anymore; what is the alternative?
-
Bitwarden PINs can be brute-forced
Note the KeePass's resistance to the attack mentioned depends on the security of .NET's secure string, which, here's what Microsoft has to say about it (https://github.com/dotnet/platform-compat/blob/master/docs/D...)
As for KeePassXC, last I checked it didn't even bother.
-
Ever Find A Dead Man's Switch On A Network/Domain?
TIL. Looks like the deprecation note recommends MailKit.
-
Disabilities and Windows Passwords
Well of course, but it does have to be passed to the module that generates the hashes AD uses in the first place. And as I said, the standard password reset screen is bound to store the password in plain text somewhere as well.
-
Embedded logo in HTML email sent from PowerShell
This won’t help you with your question, but I figured I should warn against using send-mailmessage.
-
Alternative to PowerShell cmdlet 'send-mailmessage'
points you here.
-
API pagination help?
Some of the reasons for not using Hashtable or other non-generic collection types are outlined here. That's why Microsoft doesn't recommend their usage in new implementations across all of its API documentation.
- How to deal with credentials in automated scripts?
-
pfSense configuration backup
And if you really want to be secure you need to something better than a SecureString: https://github.com/dotnet/platform-compat/blob/master/docs/DE0001.md
What are some alternatives?
HtmlAgilityPack - Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
envchain - Environment variables meet macOS Keychain and gnome-keyring <3
CsQuery - CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
ImportExcel - PowerShell module to import/export Excel spreadsheets, without Excel
dotless - .NET Port of the ruby Less CSS lib
envconsul - Launch a subprocess with environment variables using data from @HashiCorp Consul and Vault.
FluentBootstrap
MailKit - A cross-platform .NET library for IMAP, POP3, and SMTP.
ExCSS - A CSS Parser for .NET. It's BADA55!
distrobuilder - System container image builder for LXC and Incus
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
dotfiles - Home directory with an absurd amount of tweaks