Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated demo projects to use new Rejuicer nuget package and webactiva…

…tor.
  • Loading branch information...
commit f76477a18504580b4a66bcf932265d4782e8b248 1 parent 68fcd6e
@skroonenburg skroonenburg authored
Showing with 205 additions and 80 deletions.
  1. +24 −0 Demos/Mvc/MvcDemo/MvcDemo/App_Start/Rejuicer.cs
  2. +0 −22 Demos/Mvc/MvcDemo/MvcDemo/Global.asax.cs
  3. +15 −5 Demos/Mvc/MvcDemo/MvcDemo/MvcDemo.csproj
  4. +0 −3  Demos/Mvc/MvcDemo/MvcDemo/Scripts/example.coffee
  5. +3 −3 Demos/Mvc/MvcDemo/MvcDemo/Web.config
  6. +7 −0 Demos/Mvc/MvcDemo/MvcDemo/packages.config
  7. BIN  Demos/Mvc/MvcDemo/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
  8. BIN  Demos/Mvc/MvcDemo/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
  9. BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.4/lib/40/Rejuicer.dll
  10. +26 −0 Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Content/App_Start/Rejuicer.cs.pp
  11. +19 −0 Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Content/web.config.transform
  12. BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Rejuicer.1.2.6.nupkg
  13. BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/lib/35/Rejuicer.dll
  14. BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/lib/40/Rejuicer.dll
  15. BIN  Demos/Mvc/MvcDemo/packages/WebActivator.1.5/WebActivator.1.5.nupkg
  16. BIN  Demos/Mvc/MvcDemo/packages/WebActivator.1.5/lib/net40/WebActivator.dll
  17. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/YUICompressor.NET.1.5.0.0.nupkg
  18. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/EcmaScript.NET.modified.dll
  19. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Iesi.Collections.dll
  20. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Yahoo.Yui.Compressor.NET20.dll
  21. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/EcmaScript.NET.modified.dll
  22. BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/Yahoo.Yui.Compressor.dll
  23. +4 −0 Demos/Mvc/MvcDemo/packages/repositories.config
  24. +23 −0 Demos/WebForms/WebFormsDemo/WebFormsDemo/App_Start/Rejuicer.cs
  25. +0 −16 Demos/WebForms/WebFormsDemo/WebFormsDemo/Global.asax.cs
  26. +10 −25 Demos/WebForms/WebFormsDemo/WebFormsDemo/Web.config
  27. +18 −6 Demos/WebForms/WebFormsDemo/WebFormsDemo/WebFormsDemo.csproj
  28. +7 −0 Demos/WebForms/WebFormsDemo/WebFormsDemo/packages.config
  29. BIN  ...Forms/WebFormsDemo/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
  30. BIN  ...Forms/WebFormsDemo/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
  31. +26 −0 Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Content/App_Start/Rejuicer.cs.pp
  32. +19 −0 Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Content/web.config.transform
  33. BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Rejuicer.1.2.6.nupkg
  34. BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/lib/35/Rejuicer.dll
  35. BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/lib/40/Rejuicer.dll
  36. BIN  Demos/WebForms/WebFormsDemo/packages/WebActivator.1.5/WebActivator.1.5.nupkg
  37. BIN  Demos/WebForms/WebFormsDemo/packages/WebActivator.1.5/lib/net40/WebActivator.dll
  38. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/YUICompressor.NET.1.5.0.0.nupkg
  39. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/EcmaScript.NET.modified.dll
  40. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Iesi.Collections.dll
  41. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Yahoo.Yui.Compressor.NET20.dll
  42. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/EcmaScript.NET.modified.dll
  43. BIN  Demos/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/Yahoo.Yui.Compressor.dll
  44. +4 −0 Demos/WebForms/WebFormsDemo/packages/repositories.config
View
24 Demos/Mvc/MvcDemo/MvcDemo/App_Start/Rejuicer.cs
@@ -0,0 +1,24 @@
+using Rejuicer;
+
+[assembly: WebActivator.PostApplicationStartMethod(typeof(MvcDemo.App_Start.RejuicerContent), "Configure")]
+namespace MvcDemo.App_Start
+{
+ public static class RejuicerContent
+ {
+ public static void Configure()
+ {
+ OnRequest.ForJs("~/Combined-{0}.js")
+ .Compact
+ .FilesIn("~/Scripts/")
+ .Matching("*.js")
+ .FilesIn("~/Scripts/")
+ .Matching("*.coffee")
+ .Configure();
+
+ OnRequest.ForCss("~/Combined.css")
+ .Compact
+ .File("~/Content/Site.css")
+ .Configure();
+ }
+ }
+}
View
22 Demos/Mvc/MvcDemo/MvcDemo/Global.asax.cs
@@ -24,33 +24,11 @@ public static void RegisterRoutes(RouteCollection routes)
}
- public static void ConfigureRejuicer()
- {
- /*OnRequest.ForJs("~/Combined-{0}.js")
- .Compact
- .FilesIn("~/Scripts/")
- .Matching("*.js")
- .FilesIn("~/Scripts/")
- .Matching("*.coffee")
- .Configure();
-
- OnRequest.ForCss("~/Combined.css")
- .Compact
- .File("~/Content/Site.css")
- .Configure();
-
- OnRequest.ForImage("~/CachedImage-{0}.png")
- .Combine
- .File("~/Content/transformedUrlImage.png")
- .Configure();*/
- }
-
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RegisterRoutes(RouteTable.Routes);
- ConfigureRejuicer();
}
}
}
View
20 Demos/Mvc/MvcDemo/MvcDemo/MvcDemo.csproj
@@ -35,10 +35,17 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="EcmaScript.NET.modified, Version=0.1.1.0, Culture=neutral, PublicKeyToken=7d53ba4f537753a5, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Lib\EcmaScript.NET.modified.dll</HintPath>
+ <HintPath>..\packages\YUICompressor.NET.1.5.0.0\lib\NET35\EcmaScript.NET.modified.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
+ <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <Private>True</Private>
+ <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
+ </Reference>
+ <Reference Include="Rejuicer, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\Rejuicer.1.2.6\lib\40\Rejuicer.dll</HintPath>
+ </Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
@@ -68,12 +75,15 @@
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
+ <Reference Include="WebActivator">
+ <HintPath>..\packages\WebActivator.1.5\lib\net40\WebActivator.dll</HintPath>
+ </Reference>
<Reference Include="Yahoo.Yui.Compressor, Version=1.5.0.0, Culture=neutral, PublicKeyToken=f8b4b81ec75097e2, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\Lib\Yahoo.Yui.Compressor.dll</HintPath>
+ <HintPath>..\packages\YUICompressor.NET.1.5.0.0\lib\NET35\Yahoo.Yui.Compressor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
+ <Compile Include="App_Start\Rejuicer.cs" />
<Compile Include="Controllers\AccountController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Global.asax.cs">
@@ -114,7 +124,7 @@
<Folder Include="App_Data\" />
</ItemGroup>
<ItemGroup>
- <None Include="Scripts\example.coffee" />
+ <Content Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
View
3  Demos/Mvc/MvcDemo/MvcDemo/Scripts/example.coffee
@@ -1,3 +0,0 @@
-square = (x) -> x * x
-cube = (x) -> square(x) * x
-alert square 3
View
6 Demos/Mvc/MvcDemo/MvcDemo/Web.config
@@ -15,9 +15,6 @@
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
- <httpModules>
- <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
- </httpModules>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>
@@ -49,6 +46,9 @@
<add namespace="Rejuicer" />
</namespaces>
</pages>
+ <httpModules>
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
+ </httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
View
7 Demos/Mvc/MvcDemo/MvcDemo/packages.config
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="YUICompressor.NET" version="1.5.0.0" />
+ <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
+ <package id="WebActivator" version="1.5" />
+ <package id="Rejuicer" version="1.2.6" />
+</packages>
View
BIN  .../packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
Binary file not shown
View
BIN  .../packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.4/lib/40/Rejuicer.dll
Binary file not shown
View
26 Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Content/App_Start/Rejuicer.cs.pp
@@ -0,0 +1,26 @@
+using Rejuicer;
+
+[assembly: WebActivator.PostApplicationStartMethod(typeof($rootnamespace$.App_Start.RejuicerContent), "Configure")]
+namespace $rootnamespace$.App_Start
+{
+ public static class RejuicerContent
+ {
+ public static void Configure()
+ {
+ /*
+ OnRequest.ForJs("~/Combined-{0}.js")
+ .Compact
+ .FilesIn("~/Scripts/")
+ .Matching("*.js")
+ .FilesIn("~/Scripts/") // Include coffee script, these will be automatically compiled to javascript
+ .Matching("*.coffee")
+ .Configure();
+
+ OnRequest.ForCss("~/Combined.css")
+ .Compact
+ .File("~/Content/Site.css")
+ .Configure();
+ */
+ }
+ }
+}
View
19 Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Content/web.config.transform
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.web>
+ <httpModules>
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
+ </httpModules>
+
+ <pages>
+ <namespaces>
+ <add namespace="Rejuicer"/>
+ </namespaces>
+ </pages>
+ </system.web>
+ <system.webServer>
+ <modules runAllManagedModulesForAllRequests="true">
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer"/>
+ </modules>
+ </system.webServer>
+</configuration>
View
BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/Rejuicer.1.2.6.nupkg
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/lib/35/Rejuicer.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/Rejuicer.1.2.6/lib/40/Rejuicer.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/WebActivator.1.5/WebActivator.1.5.nupkg
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/WebActivator.1.5/lib/net40/WebActivator.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/YUICompressor.NET.1.5.0.0.nupkg
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/EcmaScript.NET.modified.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Iesi.Collections.dll
Binary file not shown
View
BIN  ...s/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Yahoo.Yui.Compressor.NET20.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/EcmaScript.NET.modified.dll
Binary file not shown
View
BIN  Demos/Mvc/MvcDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/Yahoo.Yui.Compressor.dll
Binary file not shown
View
4 Demos/Mvc/MvcDemo/packages/repositories.config
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repositories>
+ <repository path="..\MvcDemo\packages.config" />
+</repositories>
View
23 Demos/WebForms/WebFormsDemo/WebFormsDemo/App_Start/Rejuicer.cs
@@ -0,0 +1,23 @@
+using Rejuicer;
+
+[assembly: WebActivator.PostApplicationStartMethod(typeof(WebFormsDemo.App_Start.RejuicerContent), "Configure")]
+namespace WebFormsDemo.App_Start
+{
+ public static class RejuicerContent
+ {
+ public static void Configure()
+ {
+ OnRequest.ForJs("~/Combined-{0}.js")
+ .Compact
+ .FilesIn("~/Scripts/")
+ .Matching("*.js")
+ .Configure();
+
+ OnRequest.ForCss("~/Combined.css")
+ .Compact
+ .FilesIn("~/Styles/")
+ .Matching("*.css")
+ .Configure();
+ }
+ }
+}
View
16 Demos/WebForms/WebFormsDemo/WebFormsDemo/Global.asax.cs
@@ -14,22 +14,6 @@ public class Global : System.Web.HttpApplication
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
- ConfigureRejuicer();
- }
-
- public static void ConfigureRejuicer()
- {
- OnRequest.ForJs("~/Combined-{0}.js")
- .Compact
- .FilesIn("~/Scripts/")
- .Matching("*.js")
- .Configure();
-
- OnRequest.ForCss("~/Combined.css")
- .Compact
- .FilesIn("~/Styles/")
- .Matching("*.css")
- .Configure();
}
void Application_End(object sender, EventArgs e)
View
35 Demos/WebForms/WebFormsDemo/WebFormsDemo/Web.config
@@ -1,64 +1,49 @@
-<?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=169433
-->
-
<configuration>
<connectionStrings>
- <add name="ApplicationServices"
- connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
- providerName="System.Data.SqlClient" />
+ <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
</connectionStrings>
-
<system.web>
<compilation debug="false" targetFramework="4.0" />
-
<httpModules>
<add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
</httpModules>
-
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
-
<membership>
<providers>
- <clear/>
- <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
- enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
- maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
- applicationName="/" />
+ <clear />
+ <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
-
<profile>
<providers>
- <clear/>
- <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
+ <clear />
+ <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
-
<roleManager enabled="false">
<providers>
- <clear/>
+ <clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
-
<pages>
<namespaces>
<add namespace="Rejuicer" />
</namespaces>
</pages>
</system.web>
-
<system.webServer>
- <validation validateIntegratedModeConfiguration="false"/>
+ <validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
- <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer"/>
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
</modules>
</system.webServer>
-</configuration>
+</configuration>
View
24 Demos/WebForms/WebFormsDemo/WebFormsDemo/WebFormsDemo.csproj
@@ -32,12 +32,17 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="EcmaScript.NET.modified">
- <HintPath>..\..\..\..\Lib\EcmaScript.NET.modified.dll</HintPath>
+ <Reference Include="EcmaScript.NET.modified, Version=0.1.1.0, Culture=neutral, PublicKeyToken=7d53ba4f537753a5, processorArchitecture=MSIL">
+ <HintPath>..\packages\YUICompressor.NET.1.5.0.0\lib\NET35\EcmaScript.NET.modified.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
- <Reference Include="Rejuicer">
- <HintPath>..\..\..\..\Lib\Rejuicer.dll</HintPath>
+ <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <Private>True</Private>
+ <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
+ </Reference>
+ <Reference Include="Rejuicer, Version=1.2.6.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\Rejuicer.1.2.6\lib\40\Rejuicer.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
@@ -54,8 +59,11 @@
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
- <Reference Include="Yahoo.Yui.Compressor">
- <HintPath>..\..\..\..\Lib\Yahoo.Yui.Compressor.dll</HintPath>
+ <Reference Include="WebActivator">
+ <HintPath>..\packages\WebActivator.1.5\lib\net40\WebActivator.dll</HintPath>
+ </Reference>
+ <Reference Include="Yahoo.Yui.Compressor, Version=1.5.0.0, Culture=neutral, PublicKeyToken=f8b4b81ec75097e2, processorArchitecture=MSIL">
+ <HintPath>..\packages\YUICompressor.NET.1.5.0.0\lib\NET35\Yahoo.Yui.Compressor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -116,6 +124,7 @@
<Compile Include="Account\Register.aspx.designer.cs">
<DependentUpon>Register.aspx</DependentUpon>
</Compile>
+ <Compile Include="App_Start\Rejuicer.cs" />
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -142,6 +151,9 @@
<Content Include="Account\Web.config" />
<Content Include="Site.Master" />
</ItemGroup>
+ <ItemGroup>
+ <Content Include="packages.config" />
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions>
View
7 Demos/WebForms/WebFormsDemo/WebFormsDemo/packages.config
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
+ <package id="Rejuicer" version="1.2.6" />
+ <package id="WebActivator" version="1.5" />
+ <package id="YUICompressor.NET" version="1.5.0.0" />
+</packages>
View
BIN  .../packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
Binary file not shown
View
BIN  .../packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
Binary file not shown
View
26 Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Content/App_Start/Rejuicer.cs.pp
@@ -0,0 +1,26 @@
+using Rejuicer;
+
+[assembly: WebActivator.PostApplicationStartMethod(typeof($rootnamespace$.App_Start.RejuicerContent), "Configure")]
+namespace $rootnamespace$.App_Start
+{
+ public static class RejuicerContent
+ {
+ public static void Configure()
+ {
+ /*
+ OnRequest.ForJs("~/Combined-{0}.js")
+ .Compact
+ .FilesIn("~/Scripts/")
+ .Matching("*.js")
+ .FilesIn("~/Scripts/") // Include coffee script, these will be automatically compiled to javascript
+ .Matching("*.coffee")
+ .Configure();
+
+ OnRequest.ForCss("~/Combined.css")
+ .Compact
+ .File("~/Content/Site.css")
+ .Configure();
+ */
+ }
+ }
+}
View
19 Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Content/web.config.transform
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.web>
+ <httpModules>
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer" />
+ </httpModules>
+
+ <pages>
+ <namespaces>
+ <add namespace="Rejuicer"/>
+ </namespaces>
+ </pages>
+ </system.web>
+ <system.webServer>
+ <modules runAllManagedModulesForAllRequests="true">
+ <add name="Rejuicer" type="Rejuicer.RejuicerModule, Rejuicer"/>
+ </modules>
+ </system.webServer>
+</configuration>
View
BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/Rejuicer.1.2.6.nupkg
Binary file not shown
View
BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/lib/35/Rejuicer.dll
Binary file not shown
View
BIN  Demos/WebForms/WebFormsDemo/packages/Rejuicer.1.2.6/lib/40/Rejuicer.dll
Binary file not shown
View
BIN  Demos/WebForms/WebFormsDemo/packages/WebActivator.1.5/WebActivator.1.5.nupkg
Binary file not shown
View
BIN  Demos/WebForms/WebFormsDemo/packages/WebActivator.1.5/lib/net40/WebActivator.dll
Binary file not shown
View
BIN  .../WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/YUICompressor.NET.1.5.0.0.nupkg
Binary file not shown
View
BIN  ...rms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/EcmaScript.NET.modified.dll
Binary file not shown
View
BIN  ...s/WebForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Iesi.Collections.dll
Binary file not shown
View
BIN  .../WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET20/Yahoo.Yui.Compressor.NET20.dll
Binary file not shown
View
BIN  ...rms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/EcmaScript.NET.modified.dll
Binary file not shown
View
BIN  ...bForms/WebFormsDemo/packages/YUICompressor.NET.1.5.0.0/lib/NET35/Yahoo.Yui.Compressor.dll
Binary file not shown
View
4 Demos/WebForms/WebFormsDemo/packages/repositories.config
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repositories>
+ <repository path="..\WebFormsDemo\packages.config" />
+</repositories>
Please sign in to comment.
Something went wrong with that request. Please try again.