Giter Site home page Giter Site logo

sitecore-mvc-contrib's People

Contributors

herskinduk avatar kevinobee avatar mikeedwards83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sitecore-mvc-contrib's Issues

Improve "Clean" task build script

It looks like the build task "Clean" does not get rid of stale assemblies.

We should probably expand on the cleaning task or force a rebuild.

Should Sample route registration be more transparent

Route registration is done by adding a reference to the SitecoreContribSample assembly. Whilst elegant - it is less than obvious where the route registration is done.
Should we change this to be more clear?

Features need documenting

While I understand the goal of the project is to make our lives easier working with sitecore, this project could benefit from better documentation of existing features and how to use them.

InjectViewInPlaceholderFilter responds to Ajax requests

The InjectViewInPlaceholderFilter will act on any ajax requests made to a controller that has also has a route configured to use the placeholder injector mechanism. This will prevent controller actions returning JSON results if the controller is also used to service placeholder injection routes.

HttpContextHelpers compilation errors

[13:13:35][tests\unit-test\Sitecore.Mvc.Contrib.Test\Sitecore.Mvc.Contrib.Test.csproj] CoreCompile (26s)
[13:13:35][CoreCompile] Csc (26s)
[13:13:35][Csc] c:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\packages\Moq.4.0.10827\lib\NET40\Moq.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\packages\NUnit.2.6.2\lib\nunit.framework.dll /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\lib\Sitecore.Kernel.dll /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\lib\Sitecore.Mvc.dll /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\artifacts\Build\SitecoreAbstractions.dll /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\artifacts\Build\SitecoreMvcContrib.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" /reference:D:\TeamCity\Install\buildAgent\work\a2b94f0746baa2b1\build\..\artifacts\Build\System.Web.Mvc.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\Sitecore.Mvc.Contrib.Test.dll /target:library ..\..\..\src\Common\CommonAssemblyInfo.cs ..\..\..\src\Common\CommonVersionInfo.cs Controllers\ControllerBaseShould.cs Controllers\AreaControllerRunnerTests.cs Data\Validators\ControllerRenderingValidatorShould.cs Data\Validators\ControllerValidatorShould.cs GlobalSuppressions.cs Pipelines\MvcEvents\InjectionFilterShould.cs Pipelines\Response\GetRenderer\AreaControllerShould.cs Presentation\RenderingItemProviderShould.cs Presentation\Renderer\AreaControllerRendererShould.cs Presentation\Renderer\ChildActionRendererShould.cs Properties\AssemblyInfo.cs TestItem.cs Utils\HttpContextHelpers.cs "D:\TeamCity\Install\buildAgent\temp\buildTmp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
[13:14:00][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.ComponentModel.DataAnnotations.ValidationAttribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[13:14:01][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.Web.WebPages.Razor.WebRazorHostFactory' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[13:14:01][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.Web.WebPages.StartPage' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[13:14:01][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.Web.WebPages.WebPageBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[13:14:01][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.Configuration.Provider.ProviderCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[13:14:01][Csc] Utils\HttpContextHelpers.cs(4, 11): error CS0012: The type 'System.Configuration.Provider.ProviderBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[13:14:02][tests\unit-test\Sitecore.Mvc.Contrib.Test\Sitecore.Mvc.Contrib.Test.csproj] Project tests\unit-test\Sitecore.Mvc.Contrib.Test\Sitecore.Mvc.Contrib.Test.csproj failed.

Error with Sitecore 8

When using the project on Sitecore 8, there is an exception:

A route named 'SocialConnectorSpecific' is already in the route collection. Route names must be unique.
Parameter name: name

If you comment out AreaRegistration.RegisterAllAreas() in the PostStart, everything works fine

Test failing

All tests relying on TestItem are currently broken.

Multiple .sln files

There are two Sitecore.Mvc.Contrib.sln. I suspect the one under src is redundant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.