This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Description
From @devmondo on December 24, 2014 10:43
if i remove the following from Startup.cs everything works fine
but if i add it, i get the following error if i am browsing to any page, like "http://localhost/home" but serving static files works fine.
An unhandled exception occurred while processing the request.
ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
Stack Query Cookies Headers Environment
ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000. Parameter name: offset
System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
System.DateTimeOffset..ctor(DateTime dateTime)
Microsoft.AspNet.StaticFiles.StaticFileContext..ctor(HttpContext context, StaticFileOptions options, PathString matchUrl, ILogger logger)
Microsoft.AspNet.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
Microsoft.AspNet.Diagnostics.ErrorPageMiddleware.<Invoke>d__1.MoveNext()
Copied from original issue: dotnet/aspnetcore#249