Permalink
Browse files

Moved some files around and renamed the project for own personal clar…

…ity.
  • Loading branch information...
1 parent 9494da0 commit 8149e7c3329905917e3ebd44496d1d1bff4851f8 @chadman committed Jul 5, 2012
Showing with 1,322 additions and 42,826 deletions.
  1. +0 −73 Console/Console.csproj
  2. +0 −42 Console/Program.cs
  3. +0 −36 Console/Properties/AssemblyInfo.cs
  4. +0 −3 Console/app.config
  5. +0 −6 Console/packages.config
  6. 0 README
  7. +0 −54 RedisExample.sln
  8. +37 −0 RedisProvider/App_Start/BundleConfig.cs
  9. +10 −0 RedisProvider/App_Start/FilterConfig.cs
  10. +2 −19 Web/Global.asax.cs → RedisProvider/App_Start/RouteConfig.cs
  11. +150 −18 {Web2 → RedisProvider}/Content/Site.css
  12. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  13. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  14. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  15. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  16. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  17. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  18. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  19. BIN {Web → RedisProvider}/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  20. BIN {Web → RedisProvider}/Content/themes/base/images/ui-icons_222222_256x240.png
  21. BIN {Web → RedisProvider}/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  22. BIN {Web → RedisProvider}/Content/themes/base/images/ui-icons_454545_256x240.png
  23. BIN {Web → RedisProvider}/Content/themes/base/images/ui-icons_888888_256x240.png
  24. BIN {Web → RedisProvider}/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  25. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.accordion.css
  26. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.all.css
  27. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.autocomplete.css
  28. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.base.css
  29. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.button.css
  30. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.core.css
  31. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.datepicker.css
  32. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.dialog.css
  33. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.progressbar.css
  34. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.resizable.css
  35. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.selectable.css
  36. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.slider.css
  37. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.tabs.css
  38. 0 {Web → RedisProvider}/Content/themes/base/jquery.ui.theme.css
  39. +6 −61 {Web2 → RedisProvider}/Controllers/AccountController.cs
  40. +4 −6 {Web2 → RedisProvider}/Controllers/HomeController.cs
  41. +1 −0 RedisProvider/Global.asax
  42. +23 −0 RedisProvider/Global.asax.cs
  43. BIN {Web2 → RedisProvider}/Images/NuGetGallery.png
  44. BIN {Web2 → RedisProvider}/Images/accent.png
  45. BIN {Web2 → RedisProvider}/Images/aspNetHome.png
  46. BIN {Web2 → RedisProvider}/Images/bullet.png
  47. BIN {Web2 → RedisProvider}/Images/facebook.png
  48. BIN {Web2 → RedisProvider}/Images/findHosting.png
  49. BIN {Web2 → RedisProvider}/Images/heroAccent.png
  50. BIN RedisProvider/Images/orderedList0.png
  51. BIN Web2/Images/orderedListOne.png → RedisProvider/Images/orderedList1.png
  52. BIN Web2/Images/orderedListTwo.png → RedisProvider/Images/orderedList2.png
  53. BIN Web2/Images/orderedListThree.png → RedisProvider/Images/orderedList3.png
  54. BIN RedisProvider/Images/orderedList4.png
  55. BIN RedisProvider/Images/orderedList5.png
  56. BIN RedisProvider/Images/orderedList6.png
  57. BIN RedisProvider/Images/orderedList7.png
  58. BIN RedisProvider/Images/orderedList8.png
  59. BIN RedisProvider/Images/orderedList9.png
  60. BIN {Web2 → RedisProvider}/Images/twitter.png
  61. BIN {Web2 → RedisProvider}/Images/windowsLive.png
  62. +1 −1 {Web2 → RedisProvider}/Models/AccountModels.cs
  63. +5 −5 {Web2 → RedisProvider}/Properties/AssemblyInfo.cs
  64. +84 −68 Web2/Web2.csproj → RedisProvider/RedisProvider.csproj
  65. +1 −0 {Web → RedisProvider}/Scripts/_references.js
  66. 0 {Web → RedisProvider}/Scripts/jquery-1.6.2-vsdoc.js
  67. 0 {Web → RedisProvider}/Scripts/jquery-1.6.2.js
  68. 0 {Web → RedisProvider}/Scripts/jquery-1.6.2.min.js
  69. 0 {Web → RedisProvider}/Scripts/jquery-ui-1.8.11.js
  70. 0 {Web → RedisProvider}/Scripts/jquery-ui-1.8.11.min.js
  71. 0 {Web → RedisProvider}/Scripts/jquery.unobtrusive-ajax.js
  72. 0 {Web → RedisProvider}/Scripts/jquery.unobtrusive-ajax.min.js
  73. 0 {Web → RedisProvider}/Scripts/jquery.validate-vsdoc.js
  74. 0 {Web → RedisProvider}/Scripts/jquery.validate.js
  75. 0 {Web → RedisProvider}/Scripts/jquery.validate.min.js
  76. 0 {Web → RedisProvider}/Scripts/jquery.validate.unobtrusive.js
  77. 0 {Web → RedisProvider}/Scripts/jquery.validate.unobtrusive.min.js
  78. 0 {Web → RedisProvider}/Scripts/knockout-2.0.0.debug.js
  79. 0 {Web → RedisProvider}/Scripts/knockout-2.0.0.js
  80. 0 {Web → RedisProvider}/Scripts/modernizr-2.0.6-development-only.js
  81. +330 −0 RedisProvider/SessionProvider/RedisSessionProvider.cs
  82. +41 −0 RedisProvider/Views/Account/ChangePassword.cshtml
  83. +1 −1 {Web2 → RedisProvider}/Views/Account/ChangePasswordSuccess.cshtml
  84. +7 −8 {Web2 → RedisProvider}/Views/Account/Login.cshtml
  85. +9 −12 {Web2 → RedisProvider}/Views/Account/Register.cshtml
  86. +34 −0 RedisProvider/Views/Home/About.cshtml
  87. +3 −3 {Web2 → RedisProvider}/Views/Home/Contact.cshtml
  88. +19 −8 {Web2 → RedisProvider}/Views/Home/Index.cshtml
  89. +2 −2 {Web2 → RedisProvider}/Views/Home/_sessionItems.cshtml
  90. 0 {Web2 → RedisProvider}/Views/Shared/Error.cshtml
  91. +8 −5 {Web2 → RedisProvider}/Views/Shared/_Layout.cshtml
  92. +2 −2 {Web2 → RedisProvider}/Views/Shared/_LoginPartial.cshtml
  93. +1 −0 {Web2 → RedisProvider}/Views/Web.config
  94. 0 {Web → RedisProvider}/Views/_ViewStart.cshtml
  95. 0 {Web → RedisProvider}/Web.Debug.config
  96. 0 {Web → RedisProvider}/Web.Release.config
  97. +17 −4 {Web → RedisProvider}/Web.config
  98. BIN {Web2 → RedisProvider}/favicon.ico
  99. +26 −0 RedisProvider/packages.config
  100. +0 −61 Web/Content/Site.css
  101. +0 −1 Web/Global.asax
  102. +0 −35 Web/Properties/AssemblyInfo.cs
  103. +0 −121 Web/SessionProvider/CustomServiceProvider.cs
  104. +0 −16 Web/Views/Shared/Error.cshtml
  105. +0 −14 Web/Views/Shared/_Layout.cshtml
  106. +0 −58 Web/Views/Web.config
  107. +0 −226 Web/Web.csproj
  108. +0 −24 Web/packages.config
  109. +0 −14 Web2.Tests/App.config
  110. +0 −49 Web2.Tests/Controllers/HomeControllerTest.cs
  111. +0 −35 Web2.Tests/Properties/AssemblyInfo.cs
  112. +0 −72 Web2.Tests/Web2.Tests.csproj
  113. BIN Web2/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  114. BIN Web2/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  115. BIN Web2/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  116. BIN Web2/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  117. BIN Web2/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  118. BIN Web2/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  119. BIN Web2/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  120. BIN Web2/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  121. BIN Web2/Content/themes/base/images/ui-icons_222222_256x240.png
  122. BIN Web2/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  123. BIN Web2/Content/themes/base/images/ui-icons_454545_256x240.png
  124. BIN Web2/Content/themes/base/images/ui-icons_888888_256x240.png
  125. BIN Web2/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  126. +0 −24 Web2/Content/themes/base/jquery.ui.accordion.css
  127. +0 −16 Web2/Content/themes/base/jquery.ui.all.css
  128. +0 −62 Web2/Content/themes/base/jquery.ui.autocomplete.css
  129. +0 −11 Web2/Content/themes/base/jquery.ui.base.css
  130. +0 −43 Web2/Content/themes/base/jquery.ui.button.css
  131. +0 −46 Web2/Content/themes/base/jquery.ui.core.css
  132. +0 −73 Web2/Content/themes/base/jquery.ui.datepicker.css
  133. +0 −26 Web2/Content/themes/base/jquery.ui.dialog.css
  134. +0 −16 Web2/Content/themes/base/jquery.ui.progressbar.css
  135. +0 −25 Web2/Content/themes/base/jquery.ui.resizable.css
  136. +0 −15 Web2/Content/themes/base/jquery.ui.selectable.css
  137. +0 −29 Web2/Content/themes/base/jquery.ui.slider.css
  138. +0 −23 Web2/Content/themes/base/jquery.ui.tabs.css
  139. +0 −257 Web2/Content/themes/base/jquery.ui.theme.css
  140. +0 −1 Web2/Global.asax
  141. +0 −44 Web2/Global.asax.cs
  142. +0 −110 Web2/Scripts/AjaxLogin.js
  143. +0 −5 Web2/Scripts/_references.js
  144. +0 −9,134 Web2/Scripts/jquery-1.6.2-vsdoc.js
  145. +0 −9,007 Web2/Scripts/jquery-1.6.2.js
  146. +0 −45 Web2/Scripts/jquery-1.6.2.min.js
  147. +0 −12,515 Web2/Scripts/jquery-ui-1.8.11.js
  148. +0 −1,682 Web2/Scripts/jquery-ui-1.8.11.min.js
  149. +0 −163 Web2/Scripts/jquery.unobtrusive-ajax.js
  150. +0 −5 Web2/Scripts/jquery.unobtrusive-ajax.min.js
  151. +0 −1,323 Web2/Scripts/jquery.validate-vsdoc.js
  152. +0 −1,194 Web2/Scripts/jquery.validate.js
  153. +0 −79 Web2/Scripts/jquery.validate.min.js
  154. +0 −345 Web2/Scripts/jquery.validate.unobtrusive.js
  155. +0 −5 Web2/Scripts/jquery.validate.unobtrusive.min.js
  156. +0 −3,255 Web2/Scripts/knockout-2.0.0.debug.js
  157. +0 −129 Web2/Scripts/knockout-2.0.0.js
  158. +0 −1,160 Web2/Scripts/modernizr-2.0.6-development-only.js
  159. +0 −375 Web2/SessionProvider/CustomServiceProvider.cs
  160. +0 −154 Web2/SessionProvider/CustomSessionManager.cs
  161. +0 −43 Web2/Views/Account/ChangePassword.cshtml
  162. +0 −59 Web2/Views/Home/About.cshtml
  163. +0 −3 Web2/Views/_ViewStart.cshtml
  164. +0 −30 Web2/Web.Debug.config
  165. +0 −31 Web2/Web.Release.config
  166. +0 −74 Web2/Web.config
  167. +0 −27 Web2/packages.config
  168. BIN lib/ServiceStack.Common.dll
  169. BIN lib/ServiceStack.Interfaces.dll
  170. BIN lib/ServiceStack.Redis.dll
  171. +464 −0 lib/ServiceStack.Text.XML
  172. BIN lib/ServiceStack.Text.dll
  173. +34 −0 redis-provider.sln
View
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Console</RootNamespace>
- <AssemblyName>Console</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <TargetFrameworkProfile>
- </TargetFrameworkProfile>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
- <PlatformTarget>x86</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
- <PlatformTarget>x86</PlatformTarget>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="ServiceStack.Common">
- <HintPath>..\packages\ServiceStack.Common.3.8.3\lib\net35\ServiceStack.Common.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Interfaces">
- <HintPath>..\packages\ServiceStack.Common.3.8.3\lib\net35\ServiceStack.Interfaces.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Redis">
- <HintPath>..\packages\ServiceStack.Redis.3.8.4\lib\net35\ServiceStack.Redis.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Text">
- <HintPath>..\packages\ServiceStack.Text.3.8.3\lib\net35\ServiceStack.Text.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="app.config" />
- <None Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
View
@@ -1,42 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Console {
- class Program {
- static void Main(string[] args) {
-
- using (var redisClient = new ServiceStack.Redis.RedisClient("127.0.0.1", 6379)) {
- redisClient.Add<string>("session", "chadmeyer", DateTime.Now.AddMinutes(1));
-
- System.Console.WriteLine(string.Format("value of session is {0}", redisClient.Get<string>("session")));
-
- System.Threading.Thread.Sleep(2000);
-
- redisClient.Add("timer", "1", DateTime.Now.AddSeconds(15));
-
- System.Console.WriteLine("added a timer");
-
- bool keyExists = true;
- int count = 1;
-
- while (keyExists) {
- if (redisClient.ContainsKey("timer")) {
- System.Console.WriteLine(string.Format("counting the timer to expired key {0}", count));
- count++;
- System.Threading.Thread.Sleep(1000);
- }
- else {
- keyExists = false;
- System.Console.WriteLine(string.Format("Key was expired after {0} seconds", count));
- }
- }
- }
-
-
- System.Console.ReadLine();
-
- }
- }
-}
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Console")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("Console")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("b716f11e-e2e0-41fd-9e59-acb49885b6df")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
View
@@ -1,3 +0,0 @@
-<?xml version="1.0"?>
-<configuration>
-<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
View
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
- <package id="ServiceStack.Common" version="3.8.3" />
- <package id="ServiceStack.Redis" version="3.8.4" />
- <package id="ServiceStack.Text" version="3.8.3" />
-</packages>
View
0 README
No changes.
View
@@ -1,54 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Console", "Console\Console.csproj", "{D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web2", "Web2\Web2.csproj", "{985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web2.Tests", "Web2.Tests\Web2.Tests.csproj", "{F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|Mixed Platforms = Debug|Mixed Platforms
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|Mixed Platforms = Release|Mixed Platforms
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Debug|Any CPU.ActiveCfg = Debug|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Debug|Mixed Platforms.Build.0 = Debug|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Debug|x86.ActiveCfg = Debug|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Debug|x86.Build.0 = Debug|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Release|Any CPU.ActiveCfg = Release|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Release|Mixed Platforms.ActiveCfg = Release|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Release|Mixed Platforms.Build.0 = Release|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Release|x86.ActiveCfg = Release|x86
- {D9EDC08D-9EC2-4E8F-AEE4-E75C02C66746}.Release|x86.Build.0 = Release|x86
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Debug|x86.ActiveCfg = Debug|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Release|Any CPU.Build.0 = Release|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {985790EF-4E0E-4ABB-8BAD-0E4B894E7D97}.Release|x86.ActiveCfg = Release|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Debug|x86.ActiveCfg = Debug|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Release|Any CPU.Build.0 = Release|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {F1B88D1A-7F3C-4CCB-8B34-3E13B7169B93}.Release|x86.ActiveCfg = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
@@ -0,0 +1,37 @@
+using System.Web;
+using System.Web.Optimization;
+
+namespace RedisProvider {
+ public class BundleConfig {
+ public static void RegisterBundles(BundleCollection bundles) {
+ bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
+ "~/Scripts/jquery-1.*"));
+
+ bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
+ "~/Scripts/jquery-ui*"));
+
+ bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
+ "~/Scripts/jquery.unobtrusive*",
+ "~/Scripts/jquery.validate*"));
+
+ bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
+ "~/Scripts/modernizr-*"));
+
+ bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
+
+ bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
+ "~/Content/themes/base/jquery.ui.core.css",
+ "~/Content/themes/base/jquery.ui.resizable.css",
+ "~/Content/themes/base/jquery.ui.selectable.css",
+ "~/Content/themes/base/jquery.ui.accordion.css",
+ "~/Content/themes/base/jquery.ui.autocomplete.css",
+ "~/Content/themes/base/jquery.ui.button.css",
+ "~/Content/themes/base/jquery.ui.dialog.css",
+ "~/Content/themes/base/jquery.ui.slider.css",
+ "~/Content/themes/base/jquery.ui.tabs.css",
+ "~/Content/themes/base/jquery.ui.datepicker.css",
+ "~/Content/themes/base/jquery.ui.progressbar.css",
+ "~/Content/themes/base/jquery.ui.theme.css"));
+ }
+ }
+}
@@ -0,0 +1,10 @@
+using System.Web;
+using System.Web.Mvc;
+
+namespace RedisProvider {
+ public class FilterConfig {
+ public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
+ filters.Add(new HandleErrorAttribute());
+ }
+ }
+}
@@ -4,18 +4,10 @@
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
-using System.Web.Optimization;
using System.Web.Routing;
-namespace Web {
- // Note: For instructions on enabling IIS6 or IIS7 classic mode,
- // visit http://go.microsoft.com/?LinkId=9394801
-
- public class MvcApplication : System.Web.HttpApplication {
- public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
- filters.Add(new HandleErrorAttribute());
- }
-
+namespace RedisProvider {
+ public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
@@ -31,14 +23,5 @@ public class MvcApplication : System.Web.HttpApplication {
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
-
- protected void Application_Start() {
- AreaRegistration.RegisterAllAreas();
-
- RegisterGlobalFilters(GlobalFilters.Filters);
- RegisterRoutes(RouteTable.Routes);
-
- BundleTable.Bundles.RegisterTemplateBundles();
- }
}
}
Oops, something went wrong.

0 comments on commit 8149e7c

Please sign in to comment.