Permalink
Browse files

initial commit for MVC and Web Forms projects

  • Loading branch information...
1 parent f8a0cec commit 1e70b6d1b6ebce4b556f308e0f9e7cce3386f42b @RickAndMSFT committed May 30, 2012
Showing with 190,001 additions and 0 deletions.
  1. +21 −0 Mvc4Async/Mvc4Async.sln
  2. +49 −0 Mvc4Async/Mvc4Async/App_Start/BundleConfig.cs
  3. +769 −0 Mvc4Async/Mvc4Async/Content/Site.css
  4. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  5. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  6. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  7. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  8. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  9. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  10. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  11. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  12. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-icons_222222_256x240.png
  13. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  14. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-icons_454545_256x240.png
  15. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-icons_888888_256x240.png
  16. BIN Mvc4Async/Mvc4Async/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  17. +24 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.accordion.css
  18. +16 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.all.css
  19. +62 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.autocomplete.css
  20. +11 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.base.css
  21. +43 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.button.css
  22. +46 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.core.css
  23. +73 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.datepicker.css
  24. +26 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.dialog.css
  25. +16 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.progressbar.css
  26. +25 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.resizable.css
  27. +15 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.selectable.css
  28. +29 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.slider.css
  29. +23 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.tabs.css
  30. +257 −0 Mvc4Async/Mvc4Async/Content/themes/base/jquery.ui.theme.css
  31. +139 −0 Mvc4Async/Mvc4Async/Controllers/HomeController.cs
  32. +34 −0 Mvc4Async/Mvc4Async/Filters/UseStopwatchAttribute.cs
  33. +1 −0 Mvc4Async/Mvc4Async/Global.asax
  34. +54 −0 Mvc4Async/Mvc4Async/Global.asax.cs
  35. +14 −0 Mvc4Async/Mvc4Async/Models/Gizmo.cs
  36. +18 −0 Mvc4Async/Mvc4Async/Models/ProdGizWidgetVM.cs
  37. +9 −0 Mvc4Async/Mvc4Async/Models/Product.cs
  38. +9 −0 Mvc4Async/Mvc4Async/Models/Widget.cs
  39. +257 −0 Mvc4Async/Mvc4Async/Mvc4Async.csproj
  40. +35 −0 Mvc4Async/Mvc4Async/Properties/AssemblyInfo.cs
  41. +6 −0 Mvc4Async/Mvc4Async/Scripts/_references.js
  42. +9,134 −0 Mvc4Async/Mvc4Async/Scripts/jquery-1.6.2-vsdoc.js
  43. +9,007 −0 Mvc4Async/Mvc4Async/Scripts/jquery-1.6.2.js
  44. +45 −0 Mvc4Async/Mvc4Async/Scripts/jquery-1.6.2.min.js
  45. +12,515 −0 Mvc4Async/Mvc4Async/Scripts/jquery-ui-1.8.11.js
  46. +1,682 −0 Mvc4Async/Mvc4Async/Scripts/jquery-ui-1.8.11.min.js
  47. +163 −0 Mvc4Async/Mvc4Async/Scripts/jquery.unobtrusive-ajax.js
  48. +5 −0 Mvc4Async/Mvc4Async/Scripts/jquery.unobtrusive-ajax.min.js
  49. +1,323 −0 Mvc4Async/Mvc4Async/Scripts/jquery.validate-vsdoc.js
  50. +1,194 −0 Mvc4Async/Mvc4Async/Scripts/jquery.validate.js
  51. +79 −0 Mvc4Async/Mvc4Async/Scripts/jquery.validate.min.js
  52. +345 −0 Mvc4Async/Mvc4Async/Scripts/jquery.validate.unobtrusive.js
  53. +5 −0 Mvc4Async/Mvc4Async/Scripts/jquery.validate.unobtrusive.min.js
  54. +3,255 −0 Mvc4Async/Mvc4Async/Scripts/knockout-2.0.0.debug.js
  55. +129 −0 Mvc4Async/Mvc4Async/Scripts/knockout-2.0.0.js
  56. +1,160 −0 Mvc4Async/Mvc4Async/Scripts/modernizr-2.0.6-development-only.js
  57. +48 −0 Mvc4Async/Mvc4Async/Service/GizmoService.cs
  58. +36 −0 Mvc4Async/Mvc4Async/Service/ProductService.cs
  59. +45 −0 Mvc4Async/Mvc4Async/Service/Util.cs
  60. +48 −0 Mvc4Async/Mvc4Async/Service/WidgetService.cs
  61. +38 −0 Mvc4Async/Mvc4Async/Views/Home/Gizmos.cshtml
  62. +64 −0 Mvc4Async/Mvc4Async/Views/Home/PWG.cshtml
  63. +33 −0 Mvc4Async/Mvc4Async/Views/Home/Products.cshtml
  64. +31 −0 Mvc4Async/Mvc4Async/Views/Home/Widgets.cshtml
  65. +16 −0 Mvc4Async/Mvc4Async/Views/Shared/Error.cshtml
  66. +36 −0 Mvc4Async/Mvc4Async/Views/Shared/TimeoutError.cshtml
  67. +32 −0 Mvc4Async/Mvc4Async/Views/Shared/_Layout.cshtml
  68. +27 −0 Mvc4Async/Mvc4Async/Views/Shared/_links.cshtml
  69. +59 −0 Mvc4Async/Mvc4Async/Views/Web.config
  70. +3 −0 Mvc4Async/Mvc4Async/Views/_ViewStart.cshtml
  71. +17 −0 Mvc4Async/Mvc4Async/Web.Debug.config
  72. +31 −0 Mvc4Async/Mvc4Async/Web.Release.config
  73. +106 −0 Mvc4Async/Mvc4Async/Web.config
  74. BIN Mvc4Async/Mvc4Async/favicon.ico
  75. +82 −0 Mvc4Async/Mvc4Async/mvc4async_setup.html
  76. +24 −0 Mvc4Async/Mvc4Async/packages.config
  77. +5 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/Content/App.config.transform
  78. +5 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/Content/Web.config.transform
  79. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/EntityFramework.5.0.0-beta2.nupkg
  80. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/lib/net40/EntityFramework.dll
  81. +17,973 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/lib/net40/EntityFramework.xml
  82. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/lib/net45/EntityFramework.dll
  83. +17,880 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/lib/net45/EntityFramework.xml
  84. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/EntityFramework.PowerShell.Utility.dll
  85. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/EntityFramework.PowerShell.dll
  86. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/EntityFramework.psd1
  87. +746 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/EntityFramework.psm1
  88. +14 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/Redirect.config
  89. +30 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/about_EntityFramework.help.txt
  90. +166 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/init.ps1
  91. +170 −0 Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/install.ps1
  92. BIN Mvc4Async/packages/EntityFramework.5.0.0-beta2/tools/migrate.exe
  93. BIN Mvc4Async/packages/Microsoft.AspNet.Mvc.4.0.20406.0/Microsoft.AspNet.Mvc.4.0.20406.0.nupkg
  94. BIN Mvc4Async/packages/Microsoft.AspNet.Mvc.4.0.20406.0/lib/net40/System.Web.Mvc.dll
  95. +9,412 −0 Mvc4Async/packages/Microsoft.AspNet.Mvc.4.0.20406.0/lib/net40/System.Web.Mvc.xml
  96. BIN Mvc4Async/packages/Microsoft.AspNet.Providers.Core.1.0/Microsoft.AspNet.Providers.Core.1.0.nupkg
  97. BIN Mvc4Async/packages/Microsoft.AspNet.Providers.Core.1.0/lib/net40/System.Web.Providers.dll
  98. BIN Mvc4Async/packages/Microsoft.AspNet.Providers.Core.1.0/readme.html
  99. BIN ...sync/packages/Microsoft.AspNet.Providers.LocalDB.1.0/Microsoft.AspNet.Providers.LocalDB.1.0.nupkg
  100. +38 −0 Mvc4Async/packages/Microsoft.AspNet.Providers.LocalDB.1.0/content/web.config.transform
  101. +204 −0 Mvc4Async/packages/Microsoft.AspNet.Providers.LocalDB.1.0/tools/Install.ps1
  102. BIN Mvc4Async/packages/Microsoft.AspNet.Razor.2.0.20406.0/Microsoft.AspNet.Razor.2.0.20406.0.nupkg
  103. BIN Mvc4Async/packages/Microsoft.AspNet.Razor.2.0.20406.0/lib/net40/System.Web.Razor.dll
  104. +4,323 −0 Mvc4Async/packages/Microsoft.AspNet.Razor.2.0.20406.0/lib/net40/System.Web.Razor.xml
  105. BIN ...Microsoft.AspNet.Web.Optimization.1.0.0-beta2/Microsoft.AspNet.Web.Optimization.1.0.0-beta2.nupkg
  106. BIN ...sync/packages/Microsoft.AspNet.Web.Optimization.1.0.0-beta2/lib/net40/System.Web.Optimization.dll
  107. BIN Mvc4Async/packages/Microsoft.AspNet.WebApi.4.0.20406.0/Microsoft.AspNet.WebApi.4.0.20406.0.nupkg
  108. BIN ...kages/Microsoft.AspNet.WebApi.Client.4.0.20406.0/Microsoft.AspNet.WebApi.Client.4.0.20406.0.nupkg
  109. BIN ...sync/packages/Microsoft.AspNet.WebApi.Client.4.0.20406.0/lib/net40/System.Net.Http.Formatting.dll
  110. +1,121 −0 ...sync/packages/Microsoft.AspNet.WebApi.Client.4.0.20406.0/lib/net40/System.Net.Http.Formatting.xml
  111. BIN .../packages/Microsoft.AspNet.WebApi.Core.4.0.20406.0/Microsoft.AspNet.WebApi.Core.4.0.20406.0.nupkg
  112. BIN Mvc4Async/packages/Microsoft.AspNet.WebApi.Core.4.0.20406.0/lib/net40/System.Web.Http.dll
  113. +2,015 −0 Mvc4Async/packages/Microsoft.AspNet.WebApi.Core.4.0.20406.0/lib/net40/System.Web.Http.xml
  114. BIN ...ges/Microsoft.AspNet.WebApi.WebHost.4.0.20406.0/Microsoft.AspNet.WebApi.WebHost.4.0.20406.0.nupkg
  115. BIN Mvc4Async/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20406.0/lib/net40/System.Web.Http.WebHost.dll
  116. +96 −0 Mvc4Async/packages/Microsoft.AspNet.WebApi.WebHost.4.0.20406.0/lib/net40/System.Web.Http.WebHost.xml
  117. BIN Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/Microsoft.AspNet.WebPages.2.0.20406.0.nupkg
  118. BIN Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.Helpers.dll
  119. +812 −0 Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.Helpers.xml
  120. BIN ...Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.Deployment.dll
  121. +53 −0 ...Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.Deployment.xml
  122. BIN Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.Razor.dll
  123. +206 −0 Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.Razor.xml
  124. BIN Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.dll
  125. +2,374 −0 Mvc4Async/packages/Microsoft.AspNet.WebPages.2.0.20406.0/lib/net40/System.Web.WebPages.xml
  126. BIN Mvc4Async/packages/Microsoft.Net.Http.2.0.20406.0/Microsoft.Net.Http.2.0.20406.0.nupkg
  127. BIN Mvc4Async/packages/Microsoft.Net.Http.2.0.20406.0/lib/net40/System.Net.Http.WebRequest.dll
  128. +59 −0 Mvc4Async/packages/Microsoft.Net.Http.2.0.20406.0/lib/net40/System.Net.Http.WebRequest.xml
  129. BIN Mvc4Async/packages/Microsoft.Net.Http.2.0.20406.0/lib/net40/System.Net.Http.dll
  130. +1,920 −0 Mvc4Async/packages/Microsoft.Net.Http.2.0.20406.0/lib/net40/System.Net.Http.xml
  131. BIN Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
  132. BIN Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
  133. +180 −0 Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Install.ps1
  134. +174 −0 Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Uninstall.ps1
  135. +225 −0 Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/VS.psd1
  136. +166 −0 Mvc4Async/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/VS.psm1
  137. +163 −0 ...packages/Microsoft.jQuery.Unobtrusive.Ajax.2.0.20406.0/Content/Scripts/jquery.unobtrusive-ajax.js
  138. +5 −0 ...ages/Microsoft.jQuery.Unobtrusive.Ajax.2.0.20406.0/Content/Scripts/jquery.unobtrusive-ajax.min.js
  139. BIN ...Microsoft.jQuery.Unobtrusive.Ajax.2.0.20406.0/Microsoft.jQuery.Unobtrusive.Ajax.2.0.20406.0.nupkg
  140. +345 −0 ...icrosoft.jQuery.Unobtrusive.Validation.2.0.20406.0/Content/Scripts/jquery.validate.unobtrusive.js
  141. +5 −0 ...soft.jQuery.Unobtrusive.Validation.2.0.20406.0/Content/Scripts/jquery.validate.unobtrusive.min.js
  142. BIN ...uery.Unobtrusive.Validation.2.0.20406.0/Microsoft.jQuery.Unobtrusive.Validation.2.0.20406.0.nupkg
  143. +1,160 −0 Mvc4Async/packages/Modernizr.2.0.6/Content/Scripts/modernizr-2.0.6-development-only.js
  144. BIN Mvc4Async/packages/Modernizr.2.0.6/Modernizr.2.0.6.nupkg
  145. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/Newtonsoft.Json.4.5.3.nupkg
  146. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net20/Newtonsoft.Json.dll
  147. +7,969 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net20/Newtonsoft.Json.xml
  148. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net35/Newtonsoft.Json.dll
  149. +7,100 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net35/Newtonsoft.Json.xml
  150. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net40/Newtonsoft.Json.dll
  151. +7,343 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/net40/Newtonsoft.Json.xml
  152. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl3-wp/Newtonsoft.Json.dll
  153. +6,684 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl3-wp/Newtonsoft.Json.xml
  154. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl4-windowsphone71/Newtonsoft.Json.dll
  155. +6,684 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl4-windowsphone71/Newtonsoft.Json.xml
  156. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl4/Newtonsoft.Json.dll
  157. +6,706 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/sl4/Newtonsoft.Json.xml
  158. BIN Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/winrt45/Newtonsoft.Json.dll
  159. +6,927 −0 Mvc4Async/packages/Newtonsoft.Json.4.5.3/lib/winrt45/Newtonsoft.Json.xml
  160. +9,134 −0 Mvc4Async/packages/jQuery.1.6.2/Content/Scripts/jquery-1.6.2-vsdoc.js
  161. +9,007 −0 Mvc4Async/packages/jQuery.1.6.2/Content/Scripts/jquery-1.6.2.js
  162. +45 −0 Mvc4Async/packages/jQuery.1.6.2/Content/Scripts/jquery-1.6.2.min.js
  163. BIN Mvc4Async/packages/jQuery.1.6.2/jQuery.1.6.2.nupkg
  164. BIN ...kages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  165. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  166. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  167. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  168. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  169. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  170. BIN ...ages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  171. BIN ...ry.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  172. BIN ...packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-icons_222222_256x240.png
  173. BIN ...packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  174. BIN ...packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-icons_454545_256x240.png
  175. BIN ...packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-icons_888888_256x240.png
  176. BIN ...packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  177. +24 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.accordion.css
  178. +16 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.all.css
  179. +62 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.autocomplete.css
  180. +11 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.base.css
  181. +43 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.button.css
  182. +46 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.core.css
  183. +73 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.datepicker.css
  184. +26 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.dialog.css
  185. +16 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.progressbar.css
  186. +25 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.resizable.css
  187. +15 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.selectable.css
  188. +29 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.slider.css
  189. +23 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.tabs.css
  190. +257 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Content/themes/base/jquery.ui.theme.css
  191. +12,515 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Scripts/jquery-ui-1.8.11.js
  192. +1,682 −0 Mvc4Async/packages/jQuery.UI.Combined.1.8.11/Content/Scripts/jquery-ui-1.8.11.min.js
  193. BIN Mvc4Async/packages/jQuery.UI.Combined.1.8.11/jQuery.UI.Combined.1.8.11.nupkg
  194. +1,323 −0 Mvc4Async/packages/jQuery.Validation.1.8.1/Content/Scripts/jquery.validate-vsdoc.js
  195. +1,194 −0 Mvc4Async/packages/jQuery.Validation.1.8.1/Content/Scripts/jquery.validate.js
  196. +79 −0 Mvc4Async/packages/jQuery.Validation.1.8.1/Content/Scripts/jquery.validate.min.js
  197. BIN Mvc4Async/packages/jQuery.Validation.1.8.1/jQuery.Validation.1.8.1.nupkg
Sorry, we could not display the entire diff because too many files (455) changed.
View
21 Mvc4Async/Mvc4Async.sln
@@ -0,0 +1,21 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 11
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mvc4Async", "Mvc4Async\Mvc4Async.csproj", "{F96755FE-FB3A-4E42-9474-D01D2FC50DB5}"
+EndProject
+Global
+
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F96755FE-FB3A-4E42-9474-D01D2FC50DB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F96755FE-FB3A-4E42-9474-D01D2FC50DB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F96755FE-FB3A-4E42-9474-D01D2FC50DB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F96755FE-FB3A-4E42-9474-D01D2FC50DB5}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
49 Mvc4Async/Mvc4Async/App_Start/BundleConfig.cs
@@ -0,0 +1,49 @@
+using System.Web;
+using System.Web.Optimization;
+
+namespace Mvc4Async
+{
+ public class BundleConfig
+ {
+ public static void RegisterBundles(BundleCollection bundles)
+ {
+ Assets.EnableOptimizations = !HttpContext.Current.IsDebuggingEnabled;
+
+ var jsBundle = new JsBundle("~/bundles/js");
+ jsBundle.Include("~/Scripts", "jquery-*");
+ jsBundle.Include("~/Scripts", "jquery-ui*");
+ jsBundle.Include("~/Scripts", "jquery.unobtrusive*");
+ jsBundle.Include("~/Scripts", "jquery.validate*");
+ jsBundle.Include("~/Scripts/AjaxLogin.js");
+ bundles.Add(jsBundle);
+
+ var mobileJsBundle = new JsBundle("~/bundles/mobileJs");
+ mobileJsBundle.Include("~/Scripts", "jquery.mobile*");
+ bundles.Add(mobileJsBundle);
+
+ var cssBundle = new CssBundle("~/Content/css");
+ cssBundle.Include("~/Content/site.css");
+ bundles.Add(cssBundle);
+
+ var mobileCssBundle = new CssBundle("~/Content/mobileCss");
+ mobileCssBundle.Include("~/Content", "jquery.mobile*");
+ bundles.Add(mobileCssBundle);
+
+ var themePath = "~/Content/themes/base/";
+ var themeBundle = new CssBundle(themePath + "css");
+ themeBundle.Include(themePath + "jquery.ui.core.css");
+ themeBundle.Include(themePath + "jquery.ui.resizable.css");
+ themeBundle.Include(themePath + "jquery.ui.selectable.css");
+ themeBundle.Include(themePath + "jquery.ui.accordion.css");
+ themeBundle.Include(themePath + "jquery.ui.autocomplete.css");
+ themeBundle.Include(themePath + "jquery.ui.button.css");
+ themeBundle.Include(themePath + "jquery.ui.dialog.css");
+ themeBundle.Include(themePath + "jquery.ui.slider.css");
+ themeBundle.Include(themePath + "jquery.ui.tabs.css");
+ themeBundle.Include(themePath + "jquery.ui.datepicker.css");
+ themeBundle.Include(themePath + "jquery.ui.progressbar.css");
+ themeBundle.Include(themePath + "jquery.ui.theme.css");
+ bundles.Add(themeBundle);
+ }
+ }
+}
View
769 Mvc4Async/Mvc4Async/Content/Site.css
@@ -0,0 +1,769 @@
+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 {
+ color: #333;
+ outline: none;
+ padding-left: 3px;
+ padding-right: 3px;
+ text-decoration: underline;
+}
+
+ a:link, a:visited,
+ a:active, a:hover {
+ color: #333;
+ }
+
+ a:hover {
+ background-color: #c7d1d6;
+ }
+
+header, footer, hgroup,
+nav, section {
+ display: block;
+}
+
+mark {
+ background-color: #a6dbed;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+.float-left {
+ float: left;
+}
+
+.float-right {
+ float: right;
+}
+
+.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.zero {
+ background: url("../Images/orderedList0.png") no-repeat;
+ }
+
+ ol.round li.one {
+ background: url("../Images/orderedList1.png") no-repeat;
+ }
+
+ ol.round li.two {
+ background: url("../Images/orderedList2.png") no-repeat;
+ }
+
+ ol.round li.three {
+ background: url("../Images/orderedList3.png") no-repeat;
+ }
+
+ ol.round li.four {
+ background: url("../Images/orderedList4.png") no-repeat;
+ }
+
+ ol.round li.five {
+ background: url("../Images/orderedList5.png") no-repeat;
+ }
+
+ ol.round li.six {
+ background: url("../Images/orderedList6.png") no-repeat;
+ }
+
+ ol.round li.seven {
+ background: url("../Images/orderedList7.png") no-repeat;
+ }
+
+ ol.round li.eight {
+ background: url("../Images/orderedList8.png") no-repeat;
+ }
+
+ ol.round li.nine {
+ background: url("../Images/orderedList9.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 */
+.ui-dialog {
+ font-family: inherit;
+ font-size: 1.0em;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+ border: 0 none;
+}
+
+ .ui-dialog input {
+ font-family: inherit;
+ font-size: 1.25em;
+ }
+
+.ui-dialog-titlebar {
+ color: inherit;
+ font-weight: inherit;
+ border: 0 none;
+ background: none;
+ float: right;
+}
+
+.ui-dialog-titlebar-close {
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+
+.ui-widget-header {
+ border: 0 none;
+ background: none;
+}
+
+.modal-popup {
+
+}
+
+ .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;
+ }
+
+/* tables
+----------------------------------------------------------*/
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ margin-top: 0.75em;
+ border: 0 none;
+}
+
+th {
+ font-size: 1.2em;
+ text-align: left;
+ border: none 0px;
+ padding-left: 0;
+}
+
+ th a {
+ display: block;
+ position: relative;
+
+ }
+
+ th a:link, th a:visited, th a:active, th a:hover {
+ color: #333;
+ font-weight: 600;
+ text-decoration: none;
+ padding: 0;
+ }
+
+ th a:hover {
+ color: #000;
+ }
+
+ th.asc a, th.desc a {
+ margin-right: .75em;
+ }
+
+ th.asc a:after, th.desc a:after {
+ display: block;
+ position: absolute;
+ right: 0em;
+ top: 0;
+ font-size: 0.75em;
+ }
+
+ th.asc a:after {
+ content: '';
+ }
+
+ th.desc a:after {
+ content: '';
+ }
+
+td {
+ padding: 0.25em 2em 0.25em 0em;
+ border: 0 none;
+}
+
+tr.pager td {
+ padding: 0 0.25em 0 0;
+}
+
+
+/********************
+* 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.zero,
+ ol.round li.one,
+ ol.round li.two,
+ ol.round li.three,
+ ol.round li.four,
+ ol.round li.five,
+ ol.round li.six,
+ ol.round li.seven,
+ ol.round li.eight,
+ ol.round li.nine {
+ 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;
+ padding-left: 0;
+ text-indent: 0;
+ }
+}
View
BIN Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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 Mvc4Async/Mvc4Async/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
139 Mvc4Async/Mvc4Async/Controllers/HomeController.cs
@@ -0,0 +1,139 @@
+using System;
+using System.Web.Mvc;
+using Mvc4Async.Models;
+using System.Threading.Tasks;
+using Mvc4Async.Filters;
+using System.Web.UI;
+using System.Threading;
+using Mvc4Async.Service;
+
+namespace Mvc4Async.Controllers
+{
+ [UseStopwatch]
+ [OutputCache(Location = OutputCacheLocation.None, NoStore = true)]
+ public class HomeController : Controller
+ {
+ public async Task<ActionResult> PWGasync()
+ {
+ ViewBag.SyncType = "Asynchronous";
+ var widgetService = new WidgetService();
+ var prodService = new ProductService();
+ var gizmoService = new GizmoService();
+
+ var widgetTask = widgetService.GetWidgetsAsync();
+ var prodTask = prodService.GetProductsAsync();
+ var gizmoTask = gizmoService.GetGizmosAsync();
+
+ await Task.WhenAll(widgetTask, prodTask, gizmoTask);
+
+ var pwgVM = new ProdGizWidgetVM(
+ widgetTask.Result,
+ prodTask.Result,
+ gizmoTask.Result
+ );
+
+ return View("PWG", pwgVM);
+ }
+
+ [AsyncTimeout(50)]
+ [HandleError(ExceptionType = typeof(TimeoutException), View = "TimeoutError")]
+ public async Task<ActionResult> PWGtimeOut(CancellationToken cancellationToken)
+ {
+ ViewBag.SyncType = "Asynchronous with CancellationToken";
+
+ var widgetService = new WidgetService();
+ var prodService = new ProductService();
+ var gizmoService = new GizmoService();
+
+ var widgetTask = widgetService.GetWidgetsAsync(cancellationToken);
+ var prodTask = prodService.GetProductsAsync(cancellationToken);
+ var gizmoTask = gizmoService.GetGizmosAsync(cancellationToken);
+
+ await Task.WhenAll(widgetTask, prodTask, gizmoTask);
+
+ var pwgVM = new ProdGizWidgetVM(
+ widgetTask.Result,
+ prodTask.Result,
+ gizmoTask.Result
+ );
+
+ return View("PWG", pwgVM);
+ }
+
+ public ActionResult PWG()
+ {
+ ViewBag.SyncType = "Synchronous";
+ var widgetService = new WidgetService();
+ var prodService = new ProductService();
+ var gizmoService = new GizmoService();
+
+ var pwgVM = new ProdGizWidgetVM(
+ widgetService.GetWidgets(),
+ prodService.GetProducts(),
+ gizmoService.GetGizmos()
+ );
+
+ return View("PWG", pwgVM);
+ }
+
+ public async Task<ActionResult> WidgetsAsync()
+ {
+ ViewBag.SyncOrAsync = "Asynchronous";
+ var widgetService = new WidgetService();
+ return View("Widgets", await widgetService.GetWidgetsAsync());
+ }
+
+ public ActionResult Widgets()
+ {
+ ViewBag.SyncOrAsync = "Synchronous";
+ var widgetService = new WidgetService();
+
+ return View("Widgets", widgetService.GetWidgets());
+ }
+
+ [AsyncTimeout(150)]
+ [HandleError(ExceptionType = typeof(TimeoutException),
+ View = "TimeoutError")]
+ public async Task<ActionResult> GizmosCancelAsync(
+ CancellationToken cancellationToken)
+ {
+ ViewBag.SyncOrAsync = "Asynchronous";
+ var gizmoService = new GizmoService();
+ return View("Gizmos",
+ await gizmoService.GetGizmosAsync(cancellationToken));
+ }
+
+ public async Task<ActionResult> GizmosAsync()
+ {
+ ViewBag.SyncOrAsync = "Asynchronous";
+ var gizmoService = new GizmoService();
+ return View("Gizmos", await gizmoService.GetGizmosAsync());
+ }
+
+ public ActionResult Gizmos()
+ {
+ ViewBag.SyncOrAsync = "Synchronous";
+ var gizmoService = new GizmoService();
+ return View("Gizmos", gizmoService.GetGizmos());
+ }
+
+ public async Task<ActionResult> ProductsAsync()
+ {
+ ViewBag.SyncOrAsync = "Asynchronous";
+ var productsService = new ProductService();
+ return View("Products", await productsService.GetProductsAsync());
+ }
+
+ public ActionResult Products()
+ {
+ ViewBag.SyncOrAsync = "Synchronous";
+ var prodService = new ProductService();
+ return View("Products", prodService.GetProducts());
+ }
+
+
+ } // End of HomeController
+
+
+}
+
View
34 Mvc4Async/Mvc4Async/Filters/UseStopwatchAttribute.cs
@@ -0,0 +1,34 @@
+using System.Web.Mvc;
+using System.Diagnostics;
+
+namespace Mvc4Async.Filters
+{
+ public class UseStopwatchAttribute : ActionFilterAttribute
+ {
+
+ public override void OnActionExecuting(ActionExecutingContext filterContext)
+ {
+ Stopwatch stopWatch = new Stopwatch();
+ stopWatch.Start();
+
+ filterContext.Controller.ViewData["stopWatch"] = stopWatch;
+ filterContext.Controller.ViewBag.stopWatch = stopWatch;
+ }
+
+ public override void OnResultExecuting(ResultExecutingContext filterContext)
+ {
+ Stopwatch stopWatch = (Stopwatch)filterContext.Controller.ViewBag.stopWatch;
+ stopWatch.Stop();
+
+ double et = stopWatch.Elapsed.Seconds +
+ (stopWatch.Elapsed.Milliseconds / 1000.0);
+
+ filterContext.Controller.ViewBag.elapsedTime = // stopWatch.Elapsed + " -- " +
+ et.ToString();
+
+