↓ Skip to Main Content

Arve's Code Cave

Main Navigation

  • Home
  • Blog
  • ACopy Documentation
  • Neural Network
  • Hak5

Tag: Serialize

Json Deserialize DateTimeOffset DateTime.MinValue problem

By arve Posted on 2018-02-08 Posted in Json Tagged with Datetime, DateTimeOffset, JSON, Serialize

I encountered an interesting problem when I wanted to deserialize  a date into DateTimeOffset. If the date was “0001-01-01 00:00:00” (DateTime format, i.e. no offset in the string), the deserialization crashed: I recreated the problem in a small solution with …

Json Deserialize DateTimeOffset DateTime.MinValue problem Read more »

Recent Posts

  • Setup Duende.IdentityServer using SQLServer and External IDP’s
  • Generate a new X509Certificate2 with extensions and private key, in C#
  • Securing Blazor Server App using IdentityServer4
  • Create self-signed certificate using IIS Manager
  • Setup and deploy IdentityServer4

ACopy program

  • ACopy Documentation
    • Usage
    • Supported Data Types
    • About
  • Release Notes
  • Important for Unit4 users!
  • For developers
    • Running Tests

Archives

  • December 2022 (1)
  • April 2021 (1)
  • October 2020 (1)
  • August 2020 (1)
  • June 2020 (2)
  • March 2020 (1)
  • February 2020 (1)
  • July 2019 (1)
  • January 2019 (1)
  • November 2018 (1)
  • February 2018 (1)
  • September 2017 (1)
  • August 2017 (3)
  • July 2017 (1)
  • December 2016 (2)

Categories

Footer Menu

  • ACopy Documentation
Copyright © 2025 Arve's Code Cave | Powered by Responsive Theme