Felsökning 9.1.0

Prefix Reserved
dotnet add package Felsökning --version 9.1.0
                    
NuGet\Install-Package Felsökning -Version 9.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Felsökning" Version="9.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Felsökning" Version="9.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Felsökning" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Felsökning --version 9.1.0
                    
#r "nuget: Felsökning, 9.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Felsökning&version=9.1.0
                    
Install Felsökning as a Cake Addin
#tool nuget:?package=Felsökning&version=9.1.0
                    
Install Felsökning as a Cake Tool

Felsökning NuGet Package

The Felsökning NuGet Package is the base library used by other Felsökning NuGet packages. It provides a variety of utility methods and extensions to simplify common programming tasks.

Features

  • Extensions for AggregateException, DateTime, and collection interfaces.
  • Utilities for working with encrypted files.
  • HTTP-related base classes and extensions.

AggregateExceptionExtensions

This static class contains extension methods for the AggregateException class.

Methods

Unbox()
  • Definition: Recursively unboxes the nested child exceptions within an AggregateException.
  • Returns: A string[] where:
    • string[0]: hResults.
    • string[1]: Exception messages.
    • string[2]: Stack traces.

CollectionExtensions

This static class contains extension methods for the [ICollection<T>], [IEnumerable<T>], and [IList<T>] interfaces.

Methods

ToIAsyncEnumerable<T>()
  • Definition: Converts a collection or enumerable to an IAsyncEnumerable<T>, allowing asynchronous iteration.
  • Returns: An IAsyncEnumerable<T>.

DateTimeExtensions

This static class contains extension methods for the DateTime struct.

Methods

IsWeekDay()
  • Definition: Determines if the given DateTime occurs on a weekday in the Gregorian calendar.
  • Returns: true if the day is a weekday, otherwise false.
ToCulturedString(string culture)
  • Definition: Converts the DateTime to a culture-specific string format.
  • Returns: A string representation of the DateTime in the specified culture format.
ToIso8601UtcString()
  • Definition: Converts the DateTime to UTC and formats it as an ISO:8601 string.
  • Returns: A string in ISO:8601 format.
ToPosixTime()
  • Definition: Converts the DateTime to POSIX time.
  • Returns: A long representing the DateTime in POSIX time.
ToRfc1123String()
  • Definition: Converts the DateTime to an RFC:1123 string.
  • Returns: A string in RFC:1123 format.
ToUnixEpochTime()
  • Definition: Converts the DateTime to Unix epoch time. (Duplicate of ToPosixTime().)
  • Returns: A long representing the DateTime in Unix epoch time.
ToWeekNumber()
  • Definition: Converts the DateTime to the ISO:8601 week number of the year.
  • Returns: An int representing the week number.

EncryptedFile Class

A class for ensuring System.IO.File objects are encrypted when .Dispose() is called.

Methods

DecryptAndOpen()
  • Definition: Decrypts the file (if encrypted) and opens it as a FileStream.
  • Returns: A FileStream object.

HttpBase

A base class for any class that depends on HttpClient. The HttpClient is initialized with TLS 1.3 and default headers, such as X-Correlation-ID.


HttpExtensions

This static class contains extensions for performing HTTP-related tasks, such as GET, POST, and PUT requests, with automatic deserialization of responses.

Example

var forecasts = await HttpExtensions.GetAsync<ForecastsForRegion>($"https://www.met.ie/Open_Data/json/{region}.json");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Felsökning:

Package Downloads
Felsökning.Ireland

Package Description

Felsökning.UnitedStates

Package Description

Felsökning.Sverige

Package Description

Felsökning.YCombinator

An Assembly to Automate Calls to Hacker News

Felsökning.RipeStat

A library to automate calls to the RIPE STAT Database

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.1.0 154 5/17/2025
9.0.1 983 1/15/2025
9.0.0 231 11/14/2024
8.8.1 121 9/22/2024
8.7.0 289 7/16/2024
8.6.1 218 7/13/2024
8.6.0 100 7/13/2024
8.5.0 114 5/20/2024
8.1.8 228 4/26/2024
8.1.7 300 3/20/2024
8.1.6 319 3/7/2024
8.1.5 128 3/7/2024
8.1.4 2,582 2/28/2024
8.1.3 276 1/30/2024
8.1.2 200 1/25/2024
8.1.1 386 11/16/2023
8.1.0 135 11/16/2023
8.0.2 214 6/11/2023
8.0.1 174 6/11/2023
7.0.5 690 1/24/2023
7.0.3 437 1/22/2023
7.0.1 312 1/21/2023
7.0.0 178 6/11/2023

Adding README file for NuPkg Parse in NuGet.