Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: igorshapiro/qapp
base: 4cec10ce4b
...
head fork: igorshapiro/qapp
compare: 5108ec788a
  • 2 commits
  • 72 files changed
  • 0 commit comments
  • 1 contributor
Showing with 175,248 additions and 14 deletions.
  1. BIN  packages/NLog.2.0.0.2000/NLog.2.0.0.2000.nupkg
  2. BIN  packages/NLog.2.0.0.2000/lib/net20/NLog.dll
  3. +14,286 −0 packages/NLog.2.0.0.2000/lib/net20/NLog.xml
  4. BIN  packages/NLog.2.0.0.2000/lib/net35/NLog.dll
  5. +14,403 −0 packages/NLog.2.0.0.2000/lib/net35/NLog.xml
  6. BIN  packages/NLog.2.0.0.2000/lib/net40/NLog.dll
  7. +14,353 −0 packages/NLog.2.0.0.2000/lib/net40/NLog.xml
  8. BIN  packages/NLog.2.0.0.2000/lib/sl2/NLog.dll
  9. +9,119 −0 packages/NLog.2.0.0.2000/lib/sl2/NLog.xml
  10. BIN  packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.dll
  11. +8,978 −0 packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.xml
  12. BIN  packages/NLog.2.0.0.2000/lib/sl3/NLog.dll
  13. +9,141 −0 packages/NLog.2.0.0.2000/lib/sl3/NLog.xml
  14. BIN  packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.dll
  15. +9,135 −0 packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.xml
  16. BIN  packages/NLog.2.0.0.2000/lib/sl4/NLog.dll
  17. +9,542 −0 packages/NLog.2.0.0.2000/lib/sl4/NLog.xml
  18. BIN  packages/Newtonsoft.Json.4.0.8/Newtonsoft.Json.4.0.8.nupkg
  19. BIN  packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.dll
  20. BIN  packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.pdb
  21. +7,722 −0 packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.xml
  22. BIN  packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.dll
  23. BIN  packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.pdb
  24. +6,845 −0 packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.xml
  25. BIN  packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.dll
  26. BIN  packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.pdb
  27. +7,004 −0 packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.xml
  28. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.dll
  29. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.pdb
  30. +6,437 −0 packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.xml
  31. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.dll
  32. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.pdb
  33. +6,437 −0 packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.xml
  34. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.dll
  35. BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.pdb
  36. +6,467 −0 packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.xml
  37. BIN  packages/RavenDB-Client.1.0.701/RavenDB-Client.1.0.701.nupkg
  38. +5 −0 packages/RavenDB-Client.1.0.701/content/Web.config.transform
  39. +2,482 −0 packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.XML
  40. BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.dll
  41. BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.pdb
  42. +7,236 −0 packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.XML
  43. BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.dll
  44. BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.pdb
  45. BIN  packages/RavenDB-Client.1.0.701/lib/net40/AsyncCtpLibrary.dll
  46. +2,341 −0 packages/RavenDB-Client.1.0.701/lib/net40/AsyncCtpLibrary.xml
  47. +2,614 −0 packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.XML
  48. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.dll
  49. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.pdb
  50. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Debug.dll
  51. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Debug.pdb
  52. +9,482 −0 packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.XML
  53. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.dll
  54. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.pdb
  55. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.MvcIntegration.dll
  56. BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.MvcIntegration.pdb
  57. BIN  packages/RavenDB-Client.1.0.701/lib/sl40/AsyncCtpLibrary_Silverlight.dll
  58. +9,332 −0 packages/RavenDB-Client.1.0.701/lib/sl40/AsyncCtpLibrary_Silverlight.xml
  59. BIN  packages/RavenDB-Client.1.0.701/lib/sl40/MissingBitFromSilverlight.dll
  60. BIN  packages/RavenDB-Client.1.0.701/lib/sl40/MissingBitFromSilverlight.pdb
  61. +11,830 −0 packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.XML
  62. BIN  packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.dll
  63. BIN  packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.pdb
  64. BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Backup.exe
  65. BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Backup.pdb
  66. BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Smuggler.exe
  67. BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Smuggler.pdb
  68. +6 −0 qapp/Controllers/TestController.cs
  69. +15 −0 qapp/Global.asax.cs
  70. +11 −14 qapp/Web.config
  71. +3 −0  qapp/packages.config
  72. +22 −0 qapp/qapp.csproj
View
BIN  packages/NLog.2.0.0.2000/NLog.2.0.0.2000.nupkg
Binary file not shown
View
BIN  packages/NLog.2.0.0.2000/lib/net20/NLog.dll
Binary file not shown
View
14,286 packages/NLog.2.0.0.2000/lib/net20/NLog.xml
14,286 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/net35/NLog.dll
Binary file not shown
View
14,403 packages/NLog.2.0.0.2000/lib/net35/NLog.xml
14,403 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/net40/NLog.dll
Binary file not shown
View
14,353 packages/NLog.2.0.0.2000/lib/net40/NLog.xml
14,353 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/sl2/NLog.dll
Binary file not shown
View
9,119 packages/NLog.2.0.0.2000/lib/sl2/NLog.xml
9,119 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.dll
Binary file not shown
View
8,978 packages/NLog.2.0.0.2000/lib/sl3-wp/NLog.xml
8,978 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/sl3/NLog.dll
Binary file not shown
View
9,141 packages/NLog.2.0.0.2000/lib/sl3/NLog.xml
9,141 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.dll
Binary file not shown
View
9,135 packages/NLog.2.0.0.2000/lib/sl4-windowsphone71/NLog.xml
9,135 additions, 0 deletions not shown
View
BIN  packages/NLog.2.0.0.2000/lib/sl4/NLog.dll
Binary file not shown
View
9,542 packages/NLog.2.0.0.2000/lib/sl4/NLog.xml
9,542 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/Newtonsoft.Json.4.0.8.nupkg
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.pdb
Binary file not shown
View
7,722 packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.xml
7,722 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.pdb
Binary file not shown
View
6,845 packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.xml
6,845 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.pdb
Binary file not shown
View
7,004 packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.xml
7,004 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.pdb
Binary file not shown
View
6,437 packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.xml
6,437 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.pdb
Binary file not shown
View
6,437 packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.xml
6,437 additions, 0 deletions not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.dll
Binary file not shown
View
BIN  packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.pdb
Binary file not shown
View
6,467 packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.xml
6,467 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/RavenDB-Client.1.0.701.nupkg
Binary file not shown
View
5 packages/RavenDB-Client.1.0.701/content/Web.config.transform
@@ -0,0 +1,5 @@
+<configuration>
+ <connectionStrings>
+ <add name="RavenDB" connectionString="Url=http://localhost:8080"/>
+ </connectionStrings>
+</configuration>
View
2,482 packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.XML
2,482 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Abstractions-3.5.pdb
Binary file not shown
View
7,236 packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.XML
7,236 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net35/Raven.Client.Lightweight-3.5.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/AsyncCtpLibrary.dll
Binary file not shown
View
2,341 packages/RavenDB-Client.1.0.701/lib/net40/AsyncCtpLibrary.xml
2,341 additions, 0 deletions not shown
View
2,614 packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.XML
2,614 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Abstractions.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Debug.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Debug.pdb
Binary file not shown
View
9,482 packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.XML
9,482 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.Lightweight.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.MvcIntegration.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/net40/Raven.Client.MvcIntegration.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/sl40/AsyncCtpLibrary_Silverlight.dll
Binary file not shown
View
9,332 packages/RavenDB-Client.1.0.701/lib/sl40/AsyncCtpLibrary_Silverlight.xml
9,332 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/sl40/MissingBitFromSilverlight.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/sl40/MissingBitFromSilverlight.pdb
Binary file not shown
View
11,830 packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.XML
11,830 additions, 0 deletions not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.dll
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/lib/sl40/Raven.Client.Silverlight.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Backup.exe
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Backup.pdb
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Smuggler.exe
Binary file not shown
View
BIN  packages/RavenDB-Client.1.0.701/tools/Raven.Smuggler.pdb
Binary file not shown
View
6 qapp/Controllers/TestController.cs
@@ -3,6 +3,8 @@
using System.Linq;
using System.Web;
using System.Web.Mvc;
+using System.Configuration;
+using System.Text;
namespace qapp.Controllers
{
@@ -16,5 +18,9 @@ public ActionResult Index()
return Json(new{Status = "ok"}, JsonRequestBehavior.AllowGet);
}
+ public ActionResult DB()
+ {
+ return Content(ConfigurationManager.ConnectionStrings["RavenDB"].ConnectionString, "text/plain", Encoding.UTF8);
+ }
}
}
View
15 qapp/Global.asax.cs
@@ -4,6 +4,9 @@
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
+using Raven.Client;
+using Raven.Abstractions.Data;
+using Raven.Client.Document;
namespace qapp
{
@@ -12,6 +15,8 @@ namespace qapp
public class MvcApplication : System.Web.HttpApplication
{
+ public static IDocumentStore Store { get; private set; }
+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
@@ -35,6 +40,16 @@ protected void Application_Start()
RegisterGlobalFilters(GlobalFilters.Filters);
RegisterRoutes(RouteTable.Routes);
+
+ var parser = ConnectionStringParser<RavenConnectionStringOptions>.FromConnectionStringName("RavenDB");
+ parser.Parse();
+
+ Store = new DocumentStore
+ {
+ ApiKey = parser.ConnectionStringOptions.ApiKey,
+ Url = parser.ConnectionStringOptions.Url
+ };
+ Store.Initialize();
}
}
}
View
25 qapp/Web.config
@@ -1,16 +1,14 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=152368
-->
-
<configuration>
<appSettings>
- <add key="webpages:Version" value="1.0.0.0"/>
- <add key="ClientValidationEnabled" value="true"/>
- <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
+ <add key="webpages:Version" value="1.0.0.0" />
+ <add key="ClientValidationEnabled" value="true" />
+ <add key="UnobtrusiveJavaScriptEnabled" value="true" />
</appSettings>
-
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
@@ -21,11 +19,9 @@
<add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
-
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>
-
<pages>
<namespaces>
<add namespace="System.Web.Helpers" />
@@ -33,16 +29,14 @@
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
- <add namespace="System.Web.WebPages"/>
+ <add namespace="System.Web.WebPages" />
</namespaces>
</pages>
</system.web>
-
<system.webServer>
- <validation validateIntegratedModeConfiguration="false"/>
- <modules runAllManagedModulesForAllRequests="true"/>
+ <validation validateIntegratedModeConfiguration="false" />
+ <modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
-
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
@@ -51,4 +45,7 @@
</dependentAssembly>
</assemblyBinding>
</runtime>
-</configuration>
+ <connectionStrings>
+ <add name="RavenDB" connectionString="Url=http://localhost:8080" />
+ </connectionStrings>
+</configuration>
View
3  qapp/packages.config
@@ -5,4 +5,7 @@
<package id="jQuery.Validation" version="1.8.0" />
<package id="jQuery.vsdoc" version="1.5.1" />
<package id="Modernizr" version="1.7" />
+ <package id="Newtonsoft.Json" version="4.0.8" />
+ <package id="NLog" version="2.0.0.2000" />
+ <package id="RavenDB-Client" version="1.0.701" />
</packages>
View
22 qapp/qapp.csproj
@@ -33,6 +33,28 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="AsyncCtpLibrary">
+ <HintPath>..\packages\RavenDB-Client.1.0.701\lib\net40\AsyncCtpLibrary.dll</HintPath>
+ </Reference>
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>..\packages\Newtonsoft.Json.4.0.8\lib\net40\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="NLog">
+ <HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Abstractions">
+ <HintPath>..\packages\RavenDB-Client.1.0.701\lib\net40\Raven.Abstractions.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.Debug">
+ <HintPath>..\packages\RavenDB-Client.1.0.701\lib\net40\Raven.Client.Debug.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.Lightweight">
+ <HintPath>..\packages\RavenDB-Client.1.0.701\lib\net40\Raven.Client.Lightweight.dll</HintPath>
+ </Reference>
+ <Reference Include="Raven.Client.MvcIntegration">
+ <HintPath>..\packages\RavenDB-Client.1.0.701\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
+ </Reference>
+ <Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Data.Entity" />
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />

No commit comments for this range

Something went wrong with that request. Please try again.