Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added additional projects

  • Loading branch information...
commit 51d32dcb79b652aa5c2cd0b8567298de10e7b99d 1 parent 7ea2fd4
@johnvpetersen authored
Showing with 66,462 additions and 85 deletions.
  1. +3 −1 README.md
  2. BIN  WebAPIExample/Building RESTful API’s with the ASP.pptx
  3. +33 −0 WebAPIExample/MVC4BundleUI/Categories.cs
  4. +33 −0 WebAPIExample/MVC4BundleUI/Categories2.cs
  5. +49 −0 WebAPIExample/MVC4BundleUI/Category.cs
  6. +49 −0 WebAPIExample/MVC4BundleUI/Category2.cs
  7. +637 −0 WebAPIExample/MVC4BundleUI/Content/Site.css
  8. +5 −0 WebAPIExample/MVC4BundleUI/Content/normalize.css
  9. +5 −0 WebAPIExample/MVC4BundleUI/Content/reset.css
  10. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  11. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  12. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  13. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  14. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  15. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  16. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  17. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  18. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_222222_256x240.png
  19. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  20. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_454545_256x240.png
  21. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_888888_256x240.png
  22. BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  23. +24 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.accordion.css
  24. +16 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.all.css
  25. +62 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.autocomplete.css
  26. +11 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.base.css
  27. +43 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.button.css
  28. +46 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.core.css
  29. +73 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.datepicker.css
  30. +26 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.dialog.css
  31. +16 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.progressbar.css
  32. +25 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.resizable.css
  33. +15 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.selectable.css
  34. +29 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.slider.css
  35. +23 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.tabs.css
  36. +257 −0 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.theme.css
  37. +267 −0 WebAPIExample/MVC4BundleUI/Controllers/AccountController.cs
  38. +34 −0 WebAPIExample/MVC4BundleUI/Controllers/HomeController.cs
  39. +50 −0 WebAPIExample/MVC4BundleUI/CustomBundle.cs
  40. +37 −0 WebAPIExample/MVC4BundleUI/File.cs
  41. +33 −0 WebAPIExample/MVC4BundleUI/Files.cs
  42. +1 −0  WebAPIExample/MVC4BundleUI/Global.asax
  43. +51 −0 WebAPIExample/MVC4BundleUI/Global.asax.cs
  44. BIN  WebAPIExample/MVC4BundleUI/Images/NuGetGallery.png
  45. BIN  WebAPIExample/MVC4BundleUI/Images/accent.png
  46. BIN  WebAPIExample/MVC4BundleUI/Images/aspNetHome.png
  47. BIN  WebAPIExample/MVC4BundleUI/Images/bullet.png
  48. BIN  WebAPIExample/MVC4BundleUI/Images/facebook.png
  49. BIN  WebAPIExample/MVC4BundleUI/Images/findHosting.png
  50. BIN  WebAPIExample/MVC4BundleUI/Images/heroAccent.png
  51. BIN  WebAPIExample/MVC4BundleUI/Images/orderedListOne.png
  52. BIN  WebAPIExample/MVC4BundleUI/Images/orderedListThree.png
  53. BIN  WebAPIExample/MVC4BundleUI/Images/orderedListTwo.png
  54. BIN  WebAPIExample/MVC4BundleUI/Images/twitter.png
  55. BIN  WebAPIExample/MVC4BundleUI/Images/windowsLive.png
  56. +198 −0 WebAPIExample/MVC4BundleUI/JsonClassHelper.cs
  57. +288 −0 WebAPIExample/MVC4BundleUI/MVC4BundleUI.csproj
  58. +28 −0 WebAPIExample/MVC4BundleUI/MVC4BundleUI.csproj.user
  59. +10 −0 WebAPIExample/MVC4BundleUI/MVC4BundleUI.csproj.vspscc
  60. +67 −0 WebAPIExample/MVC4BundleUI/Models/AccountModels.cs
  61. +78 −0 WebAPIExample/MVC4BundleUI/MyBundler.cs
  62. +35 −0 WebAPIExample/MVC4BundleUI/Properties/AssemblyInfo.cs
  63. +39 −0 WebAPIExample/MVC4BundleUI/Root.cs
  64. +110 −0 WebAPIExample/MVC4BundleUI/Scripts/AjaxLogin.js
  65. +5 −0 WebAPIExample/MVC4BundleUI/Scripts/_references.js
  66. 0  WebAPIExample/{MVCWebApiClient → MVC4BundleUI}/Scripts/jquery-1.6.2-vsdoc.js
  67. 0  WebAPIExample/{MVCWebApiClient → MVC4BundleUI}/Scripts/jquery-1.6.2.js
  68. +12,515 −0 WebAPIExample/MVC4BundleUI/Scripts/jquery-ui-1.8.11.js
  69. +163 −0 WebAPIExample/MVC4BundleUI/Scripts/jquery.unobtrusive-ajax.js
  70. +1,323 −0 WebAPIExample/MVC4BundleUI/Scripts/jquery.validate-vsdoc.js
  71. +1,194 −0 WebAPIExample/MVC4BundleUI/Scripts/jquery.validate.js
  72. +345 −0 WebAPIExample/MVC4BundleUI/Scripts/jquery.validate.unobtrusive.js
  73. +3,255 −0 WebAPIExample/MVC4BundleUI/Scripts/knockout-2.0.0.debug.js
  74. +1,160 −0 WebAPIExample/MVC4BundleUI/Scripts/modernizr-2.0.6-development-only.js
  75. +43 −0 WebAPIExample/MVC4BundleUI/Views/Account/ChangePassword.cshtml
  76. +8 −0 WebAPIExample/MVC4BundleUI/Views/Account/ChangePasswordSuccess.cshtml
  77. +41 −0 WebAPIExample/MVC4BundleUI/Views/Account/Login.cshtml
  78. +48 −0 WebAPIExample/MVC4BundleUI/Views/Account/Register.cshtml
  79. +59 −0 WebAPIExample/MVC4BundleUI/Views/Home/About.cshtml
  80. +50 −0 WebAPIExample/MVC4BundleUI/Views/Home/Contact.cshtml
  81. +73 −0 WebAPIExample/MVC4BundleUI/Views/Home/Index.cshtml
  82. +10 −0 WebAPIExample/MVC4BundleUI/Views/Shared/Error.cshtml
  83. +53 −0 WebAPIExample/MVC4BundleUI/Views/Shared/_Layout.cshtml
  84. +11 −0 WebAPIExample/MVC4BundleUI/Views/Shared/_LoginPartial.cshtml
  85. +58 −0 WebAPIExample/MVC4BundleUI/Views/Web.config
  86. +3 −0  WebAPIExample/MVC4BundleUI/Views/_ViewStart.cshtml
  87. +30 −0 WebAPIExample/MVC4BundleUI/Web.Debug.config
  88. +31 −0 WebAPIExample/MVC4BundleUI/Web.Release.config
  89. +73 −0 WebAPIExample/MVC4BundleUI/Web.config
  90. +26 −0 WebAPIExample/MVC4BundleUI/YUIBundler.cs
  91. +57 −0 WebAPIExample/MVC4BundleUI/YUITransform.cs
  92. BIN  WebAPIExample/MVC4BundleUI/bin/EcmaScript.NET.modified.dll
  93. BIN  WebAPIExample/MVC4BundleUI/bin/Newtonsoft.Json.dll
  94. BIN  WebAPIExample/MVC4BundleUI/bin/Yahoo.Yui.Compressor.dll
  95. BIN  WebAPIExample/MVC4BundleUI/favicon.ico
  96. +107 −0 WebAPIExample/MVC4BundleUI/jscssfiles.json
  97. BIN  WebAPIExample/MVC4BundleUI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  98. +111 −0 WebAPIExample/MVC4BundleUI/obj/Debug/MVC4BundleUI.csproj.FileListAbsolute.txt
  99. BIN  WebAPIExample/MVC4BundleUI/obj/Debug/MVC4BundleUI.csprojResolveAssemblyReference.cache
  100. BIN  WebAPIExample/MVC4BundleUI/obj/Debug/MVC4BundleUI.dll
  101. BIN  WebAPIExample/MVC4BundleUI/obj/Debug/MVC4BundleUI.pdb
  102. BIN  WebAPIExample/MVC4BundleUI/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
  103. +26 −0 WebAPIExample/MVC4BundleUI/packages.config
  104. +2 −0  WebAPIExample/MVC4BundleUI/robots.txt
  105. +27 −9 WebAPIExample/{WebAPIExample.sln → MVC4Essentials.sln}
  106. BIN  WebAPIExample/MVC4Essentials.suo
  107. BIN  WebAPIExample/MVC4Essentials.v11.suo
  108. +24 −3 WebAPIExample/MVCWebApiClient/Controllers/ProductsController.cs
  109. +31 −13 WebAPIExample/MVCWebApiClient/MVCWebApiClient.csproj
  110. +0 −45 WebAPIExample/MVCWebApiClient/Scripts/jquery-1.6.2.min.js
  111. +9,134 −0 WebAPIExample/MVCWebApiClient/Scripts/jquery-1.6.4-vsdoc.js
  112. +9,074 −0 WebAPIExample/MVCWebApiClient/Scripts/jquery-1.6.4.js
  113. +36 −0 WebAPIExample/MVCWebApiClient/Scripts/jquery-1.6.4.min.js
  114. +1,150 −0 WebAPIExample/MVCWebApiClient/Scripts/jquery.signalR-0.5.1.js
  115. +9 −0 WebAPIExample/MVCWebApiClient/Scripts/jquery.signalR-0.5.1.min.js
  116. +14 −0 WebAPIExample/MVCWebApiClient/SignalR/NotificationHub.cs
  117. +21 −0 WebAPIExample/MVCWebApiClient/StructureMapSetup/StructureMapSetup.cs
  118. +5 −6 WebAPIExample/MVCWebApiClient/Validation/ValidationFilterAttribute.cs
  119. +1 −1  WebAPIExample/MVCWebApiClient/Views/Products/Create.cshtml
  120. +1 −1  WebAPIExample/MVCWebApiClient/Views/Products/Delete.cshtml
  121. +1 −1  WebAPIExample/MVCWebApiClient/Views/Products/Details.cshtml
  122. +1 −1  WebAPIExample/MVCWebApiClient/Views/Products/Edit.cshtml
  123. +26 −0 WebAPIExample/MVCWebApiClient/Views/Products/Index.Mobile.cshtml
  124. +2 −2 WebAPIExample/MVCWebApiClient/Views/Products/Index.cshtml
  125. +1 −0  WebAPIExample/MVCWebApiClient/Views/Shared/_Layout.cshtml
  126. +798 −0 WebAPIExample/MVCWebApiClient/bin/System.Json.xml
  127. +35 −0 WebAPIExample/MVCWebApiClient/monitor.html
  128. BIN  WebAPIExample/MVCWebApiClient/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  129. +63 −0 WebAPIExample/MVCWebApiClient/obj/Debug/MVCWebApiClient.csproj.FileListAbsolute.txt
  130. BIN  WebAPIExample/MVCWebApiClient/obj/Debug/MVCWebApiClient.csprojResolveAssemblyReference.cache
  131. BIN  WebAPIExample/MVCWebApiClient/obj/Debug/MVCWebApiClient.dll
  132. BIN  WebAPIExample/MVCWebApiClient/obj/Debug/MVCWebApiClient.pdb
  133. BIN  WebAPIExample/MVCWebApiClient/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
  134. +6 −2 WebAPIExample/MVCWebApiClient/packages.config
  135. +5 −0 WebAPIExample/MVCWebApiClient/robots.txt
  136. BIN  WebAPIExample/MvcApplication1/Content/Images/ajax-loader.png
  137. BIN  WebAPIExample/MvcApplication1/Content/Images/icons-18-black.png
  138. BIN  WebAPIExample/MvcApplication1/Content/Images/icons-18-white.png
  139. BIN  WebAPIExample/MvcApplication1/Content/Images/icons-36-black.png
  140. BIN  WebAPIExample/MvcApplication1/Content/Images/icons-36-white.png
  141. +44 −0 WebAPIExample/MvcApplication1/Content/Site.css
  142. +1,876 −0 WebAPIExample/MvcApplication1/Content/jquery.mobile-1.0.css
  143. +34 −0 WebAPIExample/MvcApplication1/Content/jquery.mobile-1.0.min.css
  144. +742 −0 WebAPIExample/MvcApplication1/Content/jquery.mobile.structure-1.0.css
  145. +34 −0 WebAPIExample/MvcApplication1/Content/jquery.mobile.structure-1.0.min.css
  146. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  147. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  148. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  149. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  150. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  151. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  152. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  153. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  154. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-icons_222222_256x240.png
  155. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  156. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-icons_454545_256x240.png
  157. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-icons_888888_256x240.png
  158. BIN  WebAPIExample/MvcApplication1/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  159. +24 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.accordion.css
  160. +16 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.all.css
  161. +62 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.autocomplete.css
  162. +11 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.base.css
  163. +43 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.button.css
  164. +46 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.core.css
  165. +73 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.datepicker.css
  166. +26 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.dialog.css
  167. +16 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.progressbar.css
  168. +25 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.resizable.css
  169. +15 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.selectable.css
  170. +29 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.slider.css
  171. +23 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.tabs.css
  172. +257 −0 WebAPIExample/MvcApplication1/Content/themes/base/jquery.ui.theme.css
  173. +203 −0 WebAPIExample/MvcApplication1/Controllers/AccountController.cs
  174. +32 −0 WebAPIExample/MvcApplication1/Controllers/HomeController.cs
  175. +1 −0  WebAPIExample/MvcApplication1/Global.asax
  176. +49 −0 WebAPIExample/MvcApplication1/Global.asax.cs
  177. +67 −0 WebAPIExample/MvcApplication1/Models/AccountModels.cs
  178. +251 −0 WebAPIExample/MvcApplication1/MvcApplication1.csproj
  179. +28 −0 WebAPIExample/MvcApplication1/MvcApplication1.csproj.user
  180. +35 −0 WebAPIExample/MvcApplication1/Properties/AssemblyInfo.cs
  181. +5 −0 WebAPIExample/MvcApplication1/Scripts/_references.js
  182. +9,134 −0 WebAPIExample/MvcApplication1/Scripts/jquery-1.6.4-vsdoc.js
  183. +9,074 −0 WebAPIExample/MvcApplication1/Scripts/jquery-1.6.4.js
  184. +36 −0 WebAPIExample/MvcApplication1/Scripts/jquery-1.6.4.min.js
Sorry, we could not display the entire diff because too many files (427) changed.
View
4 README.md
@@ -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
View
BIN  WebAPIExample/Building RESTful API’s with the ASP.pptx
Binary file not shown
View
33 WebAPIExample/MVC4BundleUI/Categories.cs
@@ -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;
+ }
+ }
+
+ }
+}
View
33 WebAPIExample/MVC4BundleUI/Categories2.cs
@@ -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;
+ }
+ }
+
+ }
+}
View
49 WebAPIExample/MVC4BundleUI/Category.cs
@@ -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;
+ }
+ }
+
+ }
+}
View
49 WebAPIExample/MVC4BundleUI/Category2.cs
@@ -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;
+ }
+ }
+
+ }
+}
View
637 WebAPIExample/MVC4BundleUI/Content/Site.css
@@ -0,0 +1,637 @@
+html {
+ background-color: #e2e2e2;
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ background-color: #fff;
+ border-top: solid 10px #000;
+ color: #333;
+ font-size: .85em;
+ font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
+ margin: 0;
+ padding: 0;
+}
+
+a:link, a:visited,
+a:active, a:hover {
+ color: #333;
+ outline: none;
+ padding-left: 3px;
+ padding-right: 3px;
+ text-decoration: underline;
+}
+
+a:hover {
+ background-color: #c7d1d6;
+}
+
+header, footer, hgroup,
+nav, section {
+ display: block;
+}
+
+.float-left {
+ float: left;
+}
+
+.float-right {
+ float: right;
+}
+
+.highlight {
+ background-color: #a6dbed;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+.clear-fix:after {
+ content: ".";
+ clear: both;
+ display: block;
+ height: 0;
+ visibility: hidden;
+}
+
+h1, h2, h3,
+h4, h5, h6 {
+ color: #000;
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+
+h1 {
+ font-size: 2em;
+}
+
+h2 {
+ font-size: 1.75em;
+}
+
+h3 {
+ font-size: 1.2em;
+}
+
+h4 {
+ font-size: 1.1em;
+}
+
+h5, h6 {
+ font-size: 1em;
+}
+
+
+/* main layout
+----------------------------------------------------------*/
+.content-wrapper {
+ margin: 0 auto;
+ max-width: 960px;
+}
+
+#body {
+ background-color: #efeeef;
+ clear: both;
+ padding-bottom: 35px;
+}
+
+ .main-content {
+ background: url("../Images/accent.png") no-repeat;
+ padding-left: 10px;
+ padding-top: 30px;
+ }
+
+ .featured + .main-content {
+ background: url("../Images/heroAccent.png") no-repeat;
+ }
+
+footer {
+ clear: both;
+ background-color: #e2e2e2;
+ font-size: .8em;
+ height: 100px;
+}
+
+
+/* site title
+----------------------------------------------------------*/
+.site-title {
+ color: #c8c8c8;
+ font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
+ font-size: 2.3em;
+ margin: 20px 0;
+}
+
+.site-title a, .site-title a:hover, .site-title a:active {
+ background: none;
+ color: #c8c8c8;
+ outline: none;
+ text-decoration: none;
+}
+
+
+/* login
+----------------------------------------------------------*/
+#login {
+ display: block;
+ font-size: .85em;
+ margin: 20px 0 12px;
+ text-align: right;
+}
+
+ #login a {
+ background-color: #d3dce0;
+ margin-left: 10px;
+ margin-right: 3px;
+ padding: 2px 3px;
+ text-decoration: none;
+ }
+
+ #login a.username {
+ background: none;
+ margin-left: 0px;
+ text-decoration: underline;
+ }
+
+ #login ul {
+ margin: 0;
+ }
+
+ #login li {
+ display: inline;
+ list-style: none;
+ }
+
+
+/* menu
+----------------------------------------------------------*/
+ul#menu {
+ font-size: 1.3em;
+ font-weight: 600;
+ margin: 0;
+ text-align: right;
+}
+
+ ul#menu li {
+ display: inline;
+ list-style: none;
+ padding-left: 15px;
+ }
+
+ ul#menu li a {
+ background: none;
+ color: #999;
+ text-decoration: none;
+ }
+
+ ul#menu li a:hover {
+ color: #333;
+ text-decoration: none;
+ }
+
+
+/* page elements
+----------------------------------------------------------*/
+/* featured */
+.featured {
+ background-color: #fff;
+}
+
+ .featured .content-wrapper {
+ background-color: #7ac0da;
+ background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
+ background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
+ background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
+ background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
+ background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
+ color: #3e5667;
+ padding: 20px 40px 30px 40px;
+ }
+
+ .featured hgroup.title h1, .featured hgroup.title h2 {
+ color: #fff;
+ }
+
+ .featured p {
+ font-size: 1.1em;
+ }
+
+/* page titles */
+hgroup.title {
+ margin-bottom: 10px;
+}
+
+hgroup.title h1, hgroup.title h2 {
+ display: inline;
+}
+
+hgroup.title h2 {
+ font-weight: normal;
+ margin-left: 3px;
+}
+
+/* features */
+section.feature {
+ width: 300px;
+ float: left;
+ padding: 10px;
+}
+
+/* ordered list */
+ol.round {
+ list-style-type: none;
+ padding-left: 0;
+}
+
+ ol.round li {
+ margin: 25px 0;
+ padding-left: 45px;
+ }
+
+ ol.round li.one {
+ background: url("../Images/orderedListOne.png") no-repeat;
+ }
+
+ ol.round li.two {
+ background: url("../Images/orderedListTwo.png") no-repeat;
+ }
+
+ ol.round li.three {
+ background: url("../Images/orderedListThree.png") no-repeat;
+ }
+
+/* content */
+article {
+ float: left;
+ width: 70%;
+}
+
+aside {
+ float: right;
+ width: 25%;
+}
+
+ aside ul {
+ list-style: none;
+ padding: 0;
+ }
+
+ aside ul li {
+ background: url("../Images/bullet.png") no-repeat 0 50%;
+ padding: 2px 0 2px 20px;
+ }
+
+.label {
+ font-weight: 700;
+}
+
+/* login page */
+#loginForm {
+ border-right: solid 2px #c8c8c8;
+ float: left;
+ width: 45%;
+}
+
+ #loginForm .validation-error {
+ display: block;
+ margin-left: 15px;
+ }
+
+#socialLoginForm {
+ margin-left: 40px;
+ float: left;
+ width: 50%;
+}
+
+/* contact */
+.contact h3 {
+ font-size: 1.2em;
+}
+
+.contact p {
+ margin: 5px 0 0 10px;
+}
+
+.contact iframe {
+ border: 1px solid #333;
+ margin: 5px 0 0 10px;
+}
+
+/* forms */
+fieldset {
+ border: none;
+ margin: 0;
+ padding: 0;
+}
+
+ fieldset legend {
+ display: none;
+ }
+
+ fieldset ol {
+ padding: 0;
+ list-style: none;
+ }
+
+ fieldset ol li {
+ padding-bottom: 5px;
+ }
+
+ fieldset label {
+ display: block;
+ font-size: 1.2em;
+ font-weight: 600;
+ }
+
+ fieldset label.checkbox {
+ display: inline;
+ }
+
+ fieldset input[type="text"],
+ fieldset input[type="password"] {
+ border: 1px solid #e2e2e2;
+ color: #333;
+ font-size: 1.2em;
+ margin: 5px 0 6px 0;
+ padding: 5px;
+ width: 300px;
+ }
+
+ fieldset input[type="text"]:focus,
+ fieldset input[type="password"]:focus {
+ border: 1px solid #7ac0da;
+ }
+
+ fieldset input[type="submit"] {
+ background-color: #d3dce0;
+ border: 1px solid #787878;
+ cursor: pointer;
+ font-size: 1.2em;
+ font-weight: 600;
+ padding: 7px;
+ }
+
+/* ajax login/registration dialog */
+.modal-popup {
+ font-size: 0.7em;
+}
+
+ .modal-popup input[type="text"],
+ .modal-popup input[type="password"] {
+ width: 90%;
+ }
+
+/* info and errors */
+.message-info {
+ border: 1px solid;
+ clear: both;
+ padding: 10px 20px;
+}
+
+.message-error {
+ clear: both;
+ color: #e80c4d;
+ font-size: 1.1em;
+ font-weight: bold;
+ margin: 20px 0 10px 0;
+}
+
+.message-success {
+ color: #7ac0da;
+ font-size: 1.3em;
+ font-weight: bold;
+ margin: 20px 0 10px 0;
+}
+
+.error {
+ color: #e80c4d;
+}
+
+/* styles for validation helpers */
+.field-validation-error {
+ color: #e80c4d;
+ font-weight: bold;
+}
+
+.field-validation-valid {
+ display: none;
+}
+
+input[type="text"].input-validation-error,
+input[type="password"].input-validation-error {
+ border: 1px solid #e80c4d;
+}
+
+.validation-summary-errors {
+ color: #e80c4d;
+ font-weight: bold;
+ font-size: 1.1em;
+}
+
+.validation-summary-valid {
+ display: none;
+}
+
+ul#social li {
+ display: inline;
+ list-style: none;
+}
+
+ ul#social li a {
+ color: #999;
+ text-decoration: none;
+ }
+
+ a.facebook, a.twitter {
+ display: block;
+ float: left;
+ height: 24px;
+ padding-left: 17px;
+ text-indent: -9999px;
+ width: 16px;
+ }
+
+ a.facebook {
+ background: url("../Images/facebook.png") no-repeat;
+ }
+
+ a.twitter {
+ background: url("../Images/twitter.png") no-repeat;
+ }
+
+
+/********************
+* Mobile Styles *
+********************/
+@media only screen and (max-width: 850px) {
+
+ /* header
+ ----------------------------------------------------------*/
+ header .float-left,
+ header .float-right {
+ float: none;
+ }
+
+ /* logo */
+ header .site-title {
+ margin: 10px;
+ text-align: center;
+ }
+
+ /* login */
+ #login {
+ font-size: .85em;
+ margin: 0 0 12px;
+ text-align: center;
+ }
+
+ #login ul {
+ margin: 5px 0;
+ padding: 0;
+ }
+
+ #login li {
+ display: inline;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+
+ #login a {
+ background: none;
+ color: #999;
+ font-weight: 600;
+ margin: 2px;
+ padding: 0;
+ }
+
+ #login a:hover {
+ color: #333;
+ }
+
+ /* menu */
+ nav {
+ margin-bottom: 5px;
+ }
+
+ ul#menu {
+ margin: 0;
+ padding: 0;
+ text-align: center;
+ }
+
+ ul#menu li {
+ margin: 0;
+ padding: 0;
+ }
+
+
+ /* main layout
+ ----------------------------------------------------------*/
+ .main-content,
+ .featured + .main-content {
+ background-position: 10px 0;
+ }
+
+ .content-wrapper {
+ padding-right: 10px;
+ padding-left: 10px;
+ }
+
+ .featured .content-wrapper {
+ padding: 10px;
+ }
+
+ /* page content */
+ article, aside {
+ float: none;
+ width: 100%;
+ }
+
+ /* ordered list */
+ ol.round {
+ list-style-type: none;
+ padding-left: 0;
+ }
+
+ ol.round li {
+ padding-left: 10px;
+ margin: 25px 0;
+ }
+
+ ol.round li.one,
+ ol.round li.two,
+ ol.round li.three {
+ background: none;
+ }
+
+ /* features */
+ section.feature {
+ float: none;
+ padding: 10px;
+ width: auto;
+ }
+
+ section.feature img {
+ color: #999;
+ content: attr(alt);
+ font-size: 1.5em;
+ font-weight: 600;
+ }
+
+ /* forms */
+ fieldset input[type="text"],
+ fieldset input[type="password"] {
+ width: 90%;
+ }
+
+ /* login page */
+ #loginForm {
+ border-right: none;
+ float: none;
+ width: auto;
+ }
+
+ #loginForm .validation-error {
+ display: block;
+ margin-left: 15px;
+ }
+
+ #socialLoginForm {
+ margin-left: 0;
+ float: none;
+ width: auto;
+ }
+
+ /* footer
+ ----------------------------------------------------------*/
+ footer .float-left,
+ footer .float-right {
+ float: none;
+ }
+
+ footer {
+ text-align: center;
+ height: auto;
+ padding: 10px 0;
+ }
+
+ footer p {
+ margin: 0;
+ }
+
+ ul#social {
+ padding: 0;
+ margin: 0;
+ }
+
+ a.facebook, a.twitter {
+ background: none;
+ display: inline;
+ float: none;
+ height: auto;
+ padding-left: 0;
+ text-indent: 0;
+ width: auto;
+ }
+}
View
5 WebAPIExample/MVC4BundleUI/Content/normalize.css
@@ -0,0 +1,5 @@
+mynormalizeclass {
+ background-color: #e2e2e2;
+ margin: 0;
+ padding: 0;
+}
View
5 WebAPIExample/MVC4BundleUI/Content/reset.css
@@ -0,0 +1,5 @@
+myresetclass {
+ background-color: #e2e2e2;
+ margin: 0;
+ padding: 0;
+}
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...IExample/MVC4BundleUI/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_222222_256x240.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_2e83ff_256x240.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_454545_256x240.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_888888_256x240.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  WebAPIExample/MVC4BundleUI/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
24 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.accordion.css
@@ -0,0 +1,24 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Accordion 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Accordion#theming
+ */
+/* IE/Win - Fix animation bug - #4615 */
+.ui-accordion { width: 100%; }
+.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
+.ui-accordion .ui-accordion-li-fix { display: inline; }
+.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
+.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
+.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
+.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
+.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
+.ui-accordion .ui-accordion-content-active { display: block; }
View
16 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.all.css
@@ -0,0 +1,16 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI CSS Framework 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Theming
+ */
+@import "jquery.ui.base.css";
+@import "jquery.ui.theme.css";
View
62 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.autocomplete.css
@@ -0,0 +1,62 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Autocomplete 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ * http://docs.jquery.com/UI/Autocomplete#theming
+ */
+.ui-autocomplete { position: absolute; cursor: default; }
+
+/* workarounds */
+* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
+
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Menu 1.8.11
+ *
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Menu#theming
+ */
+.ui-menu {
+ list-style:none;
+ padding: 2px;
+ margin: 0;
+ display:block;
+ float: left;
+}
+.ui-menu .ui-menu {
+ margin-top: -3px;
+}
+.ui-menu .ui-menu-item {
+ margin:0;
+ padding: 0;
+ zoom: 1;
+ float: left;
+ clear: left;
+ width: 100%;
+}
+.ui-menu .ui-menu-item a {
+ text-decoration:none;
+ display:block;
+ padding:.2em .4em;
+ line-height:1.5;
+ zoom:1;
+}
+.ui-menu .ui-menu-item a.ui-state-hover,
+.ui-menu .ui-menu-item a.ui-state-active {
+ font-weight: normal;
+ margin: -1px;
+}
View
11 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.base.css
@@ -0,0 +1,11 @@
+@import url("jquery.ui.core.css");
+@import url("jquery.ui.resizable.css");
+@import url("jquery.ui.selectable.css");
+@import url("jquery.ui.accordion.css");
+@import url("jquery.ui.autocomplete.css");
+@import url("jquery.ui.button.css");
+@import url("jquery.ui.dialog.css");
+@import url("jquery.ui.slider.css");
+@import url("jquery.ui.tabs.css");
+@import url("jquery.ui.datepicker.css");
+@import url("jquery.ui.progressbar.css");
View
43 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.button.css
@@ -0,0 +1,43 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Button 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Button#theming
+ */
+.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
+.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
+button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
+.ui-button-icons-only { width: 3.4em; }
+button.ui-button-icons-only { width: 3.7em; }
+
+/*button text element */
+.ui-button .ui-button-text { display: block; line-height: 1.4; }
+.ui-button-text-only .ui-button-text { padding: .4em 1em; }
+.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
+.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
+.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
+.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
+/* no icon support for input elements, provide padding by default */
+input.ui-button { padding: .4em 1em; }
+
+/*button icon element(s) */
+.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
+.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
+.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
+.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+
+/*button sets*/
+.ui-buttonset { margin-right: 7px; }
+.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
+
+/* workarounds */
+button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
View
46 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.core.css
@@ -0,0 +1,46 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI CSS Framework 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ */
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
+.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
+.ui-helper-clearfix { display: inline-block; }
+/* required comment for clearfix to work in Opera \*/
+* html .ui-helper-clearfix { height:1%; }
+.ui-helper-clearfix { display:block; }
+/* end clearfix */
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
View
73 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.datepicker.css
@@ -0,0 +1,73 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Datepicker 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Datepicker#theming
+ */
+.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
+.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
+.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
+.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
+.ui-datepicker .ui-datepicker-prev { left:2px; }
+.ui-datepicker .ui-datepicker-next { right:2px; }
+.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
+.ui-datepicker .ui-datepicker-next-hover { right:1px; }
+.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
+.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
+.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
+.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
+.ui-datepicker select.ui-datepicker-month,
+.ui-datepicker select.ui-datepicker-year { width: 49%;}
+.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
+.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
+.ui-datepicker td { border: 0; padding: 1px; }
+.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
+.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
+.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
+.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
+
+/* with multiple calendars */
+.ui-datepicker.ui-datepicker-multi { width:auto; }
+.ui-datepicker-multi .ui-datepicker-group { float:left; }
+.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
+.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
+.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
+.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
+.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
+.ui-datepicker-row-break { clear:both; width:100%; }
+
+/* RTL support */
+.ui-datepicker-rtl { direction: rtl; }
+.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+
+/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
+.ui-datepicker-cover {
+ display: none; /*sorry for IE5*/
+ display/**/: block; /*sorry for IE5*/
+ position: absolute; /*must have*/
+ z-index: -1; /*must have*/
+ filter: mask(); /*must have*/
+ top: -4px; /*must have*/
+ left: -4px; /*must have*/
+ width: 200px; /*must have*/
+ height: 200px; /*must have*/
+}
View
26 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.dialog.css
@@ -0,0 +1,26 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Dialog 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Dialog#theming
+ */
+.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
+.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
+.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
+.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
+.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
+.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
+.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
+.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
+.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
+.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
+.ui-draggable .ui-dialog-titlebar { cursor: move; }
View
16 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.progressbar.css
@@ -0,0 +1,16 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Progressbar 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Progressbar#theming
+ */
+.ui-progressbar { height:2em; text-align: left; }
+.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
View
25 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.resizable.css
@@ -0,0 +1,25 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Resizable 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)]
+ *
+ * http://docs.jquery.com/UI/Resizable#theming
+ */
+.ui-resizable { position: relative;}
+.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
+.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
+.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
+.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
+.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
+.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
+.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
+.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
+.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
View
15 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.selectable.css
@@ -0,0 +1,15 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Selectable 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Selectable#theming
+ */
+.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
View
29 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.slider.css
@@ -0,0 +1,29 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Slider 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Slider#theming
+ */
+.ui-slider { position: relative; text-align: left; }
+.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
+.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
+
+.ui-slider-horizontal { height: .8em; }
+.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
+.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
+.ui-slider-horizontal .ui-slider-range-min { left: 0; }
+.ui-slider-horizontal .ui-slider-range-max { right: 0; }
+
+.ui-slider-vertical { width: .8em; height: 100px; }
+.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
+.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
+.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
+.ui-slider-vertical .ui-slider-range-max { top: 0; }
View
23 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.tabs.css
@@ -0,0 +1,23 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI Tabs 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Tabs#theming
+ */
+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
+.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
+.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
+.ui-tabs .ui-tabs-hide { display: none !important; }
View
257 WebAPIExample/MVC4BundleUI/Content/themes/base/jquery.ui.theme.css
@@ -0,0 +1,257 @@
+/*
+ * Note: While Microsoft is not the author of this file, Microsoft is
+ * offering you a license subject to the terms of the Microsoft Software
+ * License Terms for Microsoft ASP.NET Model View Controller 4 Developer Preview.
+ * Microsoft reserves all other rights. The notices below are provided
+ * for informational purposes only and are not the license terms under
+ * which Microsoft distributed this file.
+ *
+ * jQuery UI CSS Framework 1.8.11
+ *
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ *
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/
+ */
+
+
+/* Component containers
+----------------------------------*/
+.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; }
+.ui-widget .ui-widget { font-size: 1em; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; }
+.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; }
+.ui-widget-content a { color: #222222/*{fcContent}*/; }
+.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; }
+.ui-widget-header a { color: #222222/*{fcHeader}*/; }
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; }
+.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; }
+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; text-decoration: none; }
+.ui-widget :active { outline: none; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; }
+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; }
+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a/*{fcError}*/; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a/*{fcError}*/; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }
+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; }
+
+/* positioning */
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-close { background-position: -80px -128px; }
+.ui-icon-closethick { background-position: -96px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-off { background-position: -96px -144px; }
+.ui-icon-radio-on { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-squaresmall-close { background-position: -80px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+.ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
+.ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; border-radius: 4px/*{cornerRadius}*/; }
+
+/* Overlays */
+.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; }
+.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; }
View
267 WebAPIExample/MVC4BundleUI/Controllers/AccountController.cs
@@ -0,0 +1,267 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using System.Web.Security;
+using MVC4BundleUI.Models;
+
+namespace MVC4BundleUI.Controllers
+{
+
+ [Authorize]
+ public class AccountController : Controller
+ {
+
+ //
+ // GET: /Account/Login
+
+ [AllowAnonymous]
+ public ActionResult Login()
+ {
+ return ContextDependentView();
+ }
+
+ //
+ // POST: /Account/JsonLogin
+
+ [AllowAnonymous]
+ [HttpPost]
+ public JsonResult JsonLogin(LoginModel model, string returnUrl)
+ {
+ if (ModelState.IsValid)
+ {
+ if (Membership.ValidateUser(model.UserName, model.Password))
+ {
+ FormsAuthentication.SetAuthCookie(model.UserName, model.RememberMe);
+ return Json(new { success = true, redirect = returnUrl });
+ }
+ else
+ {
+ ModelState.AddModelError("", "The user name or password provided is incorrect.");
+ }
+ }
+
+ // If we got this far, something failed
+ return Json(new { errors = GetErrorsFromModelState() });
+ }
+
+ //
+ // POST: /Account/Login
+
+ [AllowAnonymous]
+ [HttpPost]
+ public ActionResult Login(LoginModel model, string returnUrl)
+ {
+ if (ModelState.IsValid)
+ {
+ if (Membership.ValidateUser(model.UserName, model.Password))
+ {
+ FormsAuthentication.SetAuthCookie(model.UserName, model.RememberMe);
+ if (Url.IsLocalUrl(returnUrl))
+ {
+ return Redirect(returnUrl);
+ }
+ else
+ {
+ return RedirectToAction("Index", "Home");
+ }
+ }
+ else
+ {
+ ModelState.AddModelError("", "The user name or password provided is incorrect.");
+ }
+ }
+
+ // If we got this far, something failed, redisplay form
+ return View(model);
+ }
+
+ //
+ // GET: /Account/LogOff
+
+ public ActionResult LogOff()
+ {
+ FormsAuthentication.SignOut();
+
+ return RedirectToAction("Index", "Home");
+ }
+
+ //
+ // GET: /Account/Register
+
+ [AllowAnonymous]
+ public ActionResult Register()
+ {
+ return ContextDependentView();
+ }
+
+ //
+ // POST: /Account/JsonRegister
+
+ [AllowAnonymous]
+ [HttpPost]
+ public ActionResult JsonRegister(RegisterModel model)
+ {
+ if (ModelState.IsValid)
+ {
+ // Attempt to register the user
+ MembershipCreateStatus createStatus;
+ Membership.CreateUser(model.UserName, model.Password, model.Email, passwordQuestion: null, passwordAnswer: null, isApproved: true, providerUserKey: null, status: out createStatus);
+
+ if (createStatus == MembershipCreateStatus.Success)
+ {
+ FormsAuthentication.SetAuthCookie(model.UserName, createPersistentCookie: false);
+ return Json(new { success = true });
+ }
+ else
+ {
+ ModelState.AddModelError("", ErrorCodeToString(createStatus));
+ }
+ }
+
+ // If we got this far, something failed
+ return Json(new { errors = GetErrorsFromModelState() });
+ }
+
+ //
+ // POST: /Account/Register
+
+ [AllowAnonymous]
+ [HttpPost]
+ public ActionResult Register(RegisterModel model)
+ {
+ if (ModelState.IsValid)
+ {
+ // Attempt to register the user
+ MembershipCreateStatus createStatus;
+ Membership.CreateUser(model.UserName, model.Password, model.Email, passwordQuestion: null, passwordAnswer: null, isApproved: true, providerUserKey: null, status: out createStatus);
+
+ if (createStatus == MembershipCreateStatus.Success)
+ {
+ FormsAuthentication.SetAuthCookie(model.UserName, createPersistentCookie: false);
+ return RedirectToAction("Index", "Home");
+ }
+ else
+ {
+ ModelState.AddModelError("", ErrorCodeToString(createStatus));
+ }
+ }
+
+ // If we got this far, something failed, redisplay form
+ return View(model);
+ }
+
+ //
+ // GET: /Account/ChangePassword
+
+ public ActionResult ChangePassword()
+ {
+ return View();
+ }
+
+ //
+ // POST: /Account/ChangePassword
+
+ [HttpPost]
+ public ActionResult ChangePassword(ChangePasswordModel model)
+ {
+ if (ModelState.IsValid)
+ {
+
+ // ChangePassword will throw an exception rather
+ // than return false in certain failure scenarios.
+ bool changePasswordSucceeded;
+ try
+ {
+ MembershipUser currentUser = Membership.GetUser(User.Identity.Name, userIsOnline: true);
+ changePasswordSucceeded = currentUser.ChangePassword(model.OldPassword, model.NewPassword);
+ }
+ catch (Exception)
+ {
+ changePasswordSucceeded = false;
+ }
+
+ if (changePasswordSucceeded)
+ {
+ return RedirectToAction("ChangePasswordSuccess");
+ }
+ else
+ {
+ ModelState.AddModelError("", "The current password is incorrect or the new password is invalid.");
+ }
+ }
+
+ // If we got this far, something failed, redisplay form
+ return View(model);
+ }
+
+ //
+ // GET: /Account/ChangePasswordSuccess
+
+ public ActionResult ChangePasswordSuccess()
+ {
+ return View();
+ }
+
+ private ActionResult ContextDependentView()
+ {
+ string actionName = ControllerContext.RouteData.GetRequiredString("action");
+ if (Request.QueryString["content"] != null)
+ {
+ ViewBag.FormAction = "Json" + actionName;
+ return PartialView();
+ }
+ else
+ {
+ ViewBag.FormAction = actionName;
+ return View();
+ }
+ }
+
+ private IEnumerable<string> GetErrorsFromModelState()
+ {
+ return ModelState.SelectMany(x => x.Value.Errors.Select(error => error.ErrorMessage));
+ }
+
+ #region Status Codes
+ private static string ErrorCodeToString(MembershipCreateStatus createStatus)
+ {
+ // See http://go.microsoft.com/fwlink/?LinkID=177550 for
+ // a full list of status codes.
+ switch (createStatus)
+ {
+ case MembershipCreateStatus.DuplicateUserName:
+ return "User name already exists. Please enter a different user name.";
+
+ case MembershipCreateStatus.DuplicateEmail:
+ return "A user name for that e-mail address already exists. Please enter a different e-mail address.";
+
+ case MembershipCreateStatus.InvalidPassword:
+ return "The password provided is invalid. Please enter a valid password value.";
+
+ case MembershipCreateStatus.InvalidEmail:
+ return "The e-mail address provided is invalid. Please check the value and try again.";
+
+ case MembershipCreateStatus.InvalidAnswer:
+ return "The password retrieval answer provided is invalid. Please check the value and try again.";
+
+ case MembershipCreateStatus.InvalidQuestion:
+ return "The password retrieval question provided is invalid. Please check the value and try again.";
+
+ case MembershipCreateStatus.InvalidUserName:
+ return "The user name provided is invalid. Please check the value and try again.";
+
+ case MembershipCreateStatus.ProviderError:
+ return "The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
+
+ case MembershipCreateStatus.UserRejected:
+ return "The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
+
+ default:
+ return "An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
+ }
+ }
+ #endregion
+ }
+}
View
34 WebAPIExample/MVC4BundleUI/Controllers/HomeController.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+
+namespace MVC4BundleUI.Controllers
+{
+ public class HomeController : Controller
+ {
+ public ActionResult Index()
+ {
+
+
+ ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application.";
+
+ return View();
+ }
+
+ public ActionResult About()
+ {
+ ViewBag.Message = "Your quintessential app description page.";
+
+ return View();
+ }
+
+ public ActionResult Contact()
+ {
+ ViewBag.Message = "Your quintessential contact page.";
+
+ return View();
+ }
+ }
+}
View
50 WebAPIExample/MVC4BundleUI/CustomBundle.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Linq;
+using System.Web.Optimization;
+
+namespace Bundler.Utilities
+{
+ public enum contentType
+ {
+ javascript,
+ css
+ }
+
+ public class CustomBundle : Bundle
+ {
+ string _contentType;
+
+ public CustomBundle(string virtualPath, IBundleTransform transformer) : base(virtualPath,transformer)
+ {
+
+