Info
Version: | 1.3.197 |
Author(s): | Rolosoft |
Last Update: | Tuesday, November 26, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://bitbucket.org/rolosfteverifyshared/components-domainparser-service/src |
NuGet Url: | https://www.nuget.org/packages/Rsft.Net.DomainParser |
Install
Install-Package Rsft.Net.DomainParser
dotnet add package Rsft.Net.DomainParser
paket add Rsft.Net.DomainParser
Rsft.Net.DomainParser Download (Unzip the "nupkg" after downloading)
Dependencies
- Jetbrains.Annotations(>= 2020.3.0)
- Microsoft.Extensions.Caching.Memory(>= 5.0.0)
- Microsoft.Extensions.Logging(>= 5.0.0)
- Rsft.Net.DomainParser.Core(>= 1.0.3)
- System.ComponentModel.Annotations(>= 5.0.0)
- System.Diagnostics.Contracts(>= 4.3.0)
- System.Diagnostics.Process(>= 4.3.0)
- System.Diagnostics.TraceSource(>= 4.3.0)
- System.Linq.Queryable(>= 4.3.0)
- System.Reflection(>= 4.3.0)
- System.Runtime.Extensions(>= 4.3.1)
Tags
For example, how does one extract Top Level Domain (TLD) data from the address 'me.com.br'? Is the TLD br, or is it com.br? The correct answer is com.br, but how can we know? The answer is that it is not possible to write simple rules in code to determine TLDs with any accuracy. Therefore, a list of all TLDs is maintained at https://publicsuffix.org.
This software parses domain names into TLD, Second Level Domain (SLD) and host using rules found at https://publicsuffix.org.
Features of this package include: High performance by using aggressive caching, data redundancy, async logging and async/await compatible methods.
This component is for anyone that needs reliable, accurate and fast domain name parsing.