We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81df1ea commit a7ec065Copy full SHA for a7ec065
src/ServiceStack.MovieRest/Global.asax.cs
@@ -3,6 +3,7 @@
3
using ServiceStack.Common.Utils;
4
using ServiceStack.OrmLite;
5
using ServiceStack.OrmLite.Sqlite;
6
+using ServiceStack.Text;
7
using ServiceStack.WebHost.Endpoints;
8
9
namespace ServiceStack.MovieRest
@@ -15,6 +16,8 @@ public AppHost()
15
16
17
public override void Configure(Container container)
18
{
19
+ JsConfig.DateHandler = JsonDateHandler.ISO8601;
20
+
21
container.Register<IDbConnectionFactory>(c =>
22
new OrmLiteConnectionFactory(
23
"~/App_Data/db.sqlite".MapHostAbsolutePath(),
0 commit comments