Permalink
Browse files

Added additional projects

  • Loading branch information...
1 parent 7ea2fd4 commit 51d32dcb79b652aa5c2cd0b8567298de10e7b99d @johnvpetersen committed Jun 19, 2012
Showing 413 changed files with 151,742 additions and 232 deletions.
View
@@ -1,4 +1,6 @@
ASPWebAPIExample
================
-Example showing how to integrate the ASP.NET Web API and ASP.NET MVC
+Example showing how to integrate the ASP.NET Web API and ASP.NET MVC
+
+Added additional projects to demonstrate css/js bundling, mobile templates, mobile projects and SignalR
Binary file not shown.
@@ -0,0 +1,33 @@
+// JSON C# Class Generator
+// http://at-my-window.blogspot.com/?page=json-class-generator
+
+using System;
+using Newtonsoft.Json.Linq;
+using JsonCSharpClassGenerator;
+
+namespace MyProject.JsonTypes
+{
+
+ internal class Categories
+ {
+
+ private JObject __jobject;
+ public Categories(JObject obj)
+ {
+ this.__jobject = obj;
+ }
+
+ [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
+ private Category[] _category;
+ public Category[] Category
+ {
+ get
+ {
+ if(_category == null)
+ _category = (Category[])JsonClassHelper.ReadArray<Category>(JsonClassHelper.GetJToken<JArray>(__jobject, "category"), JsonClassHelper.ReadStronglyTypedObject<Category>, typeof(Category[]));
+ return _category;
+ }
+ }
+
+ }
+}
@@ -0,0 +1,33 @@
+// JSON C# Class Generator
+// http://at-my-window.blogspot.com/?page=json-class-generator
+
+using System;
+using Newtonsoft.Json.Linq;
+using JsonCSharpClassGenerator;
+
+namespace MyProject.JsonTypes
+{
+
+ internal class Categories2
+ {
+
+ private JObject __jobject;
+ public Categories2(JObject obj)
+ {
+ this.__jobject = obj;
+ }
+
+ [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
+ private Category[] _category;
+ public Category[] Category
+ {
+ get
+ {
+ if(_category == null)
+ _category = (Category[])JsonClassHelper.ReadArray<Category>(JsonClassHelper.GetJToken<JArray>(__jobject, "category"), JsonClassHelper.ReadStronglyTypedObject<Category>, typeof(Category[]));
+ return _category;
+ }
+ }
+
+ }
+}
@@ -0,0 +1,49 @@
+// JSON C# Class Generator
+// http://at-my-window.blogspot.com/?page=json-class-generator
+
+using System;
+using Newtonsoft.Json.Linq;
+using JsonCSharpClassGenerator;
+
+namespace MyProject.JsonTypes
+{
+
+ internal class Category
+ {
+
+ private JObject __jobject;
+ public Category(JObject obj)
+ {
+ this.__jobject = obj;
+ }
+
+ public string Alias
+ {
+ get
+ {
+ return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "alias"));
+ }
+ }
+
+ public string Type
+ {
+ get
+ {
+ return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "type"));
+ }
+ }
+
+ [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
+ private Files _files;
+ public Files Files
+ {
+ get
+ {
+ if(_files == null)
+ _files = JsonClassHelper.ReadStronglyTypedObject<Files>(JsonClassHelper.GetJToken<JObject>(__jobject, "files"));
+ return _files;
+ }
+ }
+
+ }
+}
@@ -0,0 +1,49 @@
+// JSON C# Class Generator
+// http://at-my-window.blogspot.com/?page=json-class-generator
+
+using System;
+using Newtonsoft.Json.Linq;
+using JsonCSharpClassGenerator;
+
+namespace MyProject.JsonTypes
+{
+
+ internal class Category2
+ {
+
+ private JObject __jobject;
+ public Category2(JObject obj)
+ {
+ this.__jobject = obj;
+ }
+
+ public string Alias
+ {
+ get
+ {
+ return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "alias"));
+ }
+ }
+
+ public string Type
+ {
+ get
+ {
+ return JsonClassHelper.ReadString(JsonClassHelper.GetJToken<JValue>(__jobject, "type"));
+ }
+ }
+
+ [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
+ private Files _files;
+ public Files Files
+ {
+ get
+ {
+ if(_files == null)
+ _files = JsonClassHelper.ReadStronglyTypedObject<Files>(JsonClassHelper.GetJToken<JObject>(__jobject, "files"));
+ return _files;
+ }
+ }
+
+ }
+}
Oops, something went wrong. Retry.

0 comments on commit 51d32dc

Please sign in to comment.