it just dawned on me. I needed to reference System.Core.dll in the
aspview configuration node (just like
Castle.Components.DictionaryAdapter.dll).
adding the node <reference assembly="System.Core.dll" isfromgac="true"/
> does not work.

the next step was to copy the assembly locally and compile.
<reference assembly="System.Core.dll" />
unfortunately this did not work either, but it's probably something
along these lines.


On Feb 4, 3:19 pm, Jason Meckley <[email protected]> wrote:
> scratch the previous post. the problem with dictionaryAdapterFactory
> was that I needed to reference Castle.Components.DictionaryAdapter.dll
> in the aspview node of web.config
>
> On Feb 4, 3:06 pm, Jason Meckley <[email protected]> wrote:
>
> > with some more testing I found the following line will fail
> > IEnumerable<CategoryDto> categories =
> > dictionaryAdapterFactory.GetAdapter<IView<IEnumerable<CategoryDto>>>
> > (Context.Items).Item
>
> > but this will work
> > <aspView:properties>
> > <%IEnumerable<CategoryDto> categories;%>
> > </aspView:properties>
>
> > if the controller is configured like this
> > PropertyBag["categories"] = get_list_of<CategoryDto>();
>
> > On Feb 4, 1:02 pm, Jason Meckley <[email protected]> wrote:
>
> > > for kicks I testing out lower case member names: get_a_value() instead
> > > of GetAValue()
> > > I have tests for my Url.create<>(). they are passing, so i don't think
> > > that is the problem.
> > > I am also using the Url.create<HomeController>(x=>x.index()) in the
> > > default.aspx (webform) page as a quick and dirty redirector.
>
> > > that leaves the compiler configuration.
>
> > > On Feb 4, 11:18 am, Ken Egozi <[email protected]> wrote:
>
> > > > ...
> > > > Output(Url.create<CategoryController>(c=>c.index()));
> > > > ...
>
> > > > from the looks of it, AspView did a good job compiling from the view
> > > > template to the csharp class.
> > > > now it's a matter of Url.create syntax, and/or the c#3 compiler
> > > > configuration (codedom section)
>
> > > > On Wed, Feb 4, 2009 at 6:12 PM, Victor Kornov <[email protected]> wrote:
> > > > > +1
>
> > > > > On Wed, Feb 4, 2009 at 5:59 PM, Colin Ramsay 
> > > > > <[email protected]>wrote:
>
> > > > >> Wouldn't Url.create be Url.Create, anyway?
>
> > > > --
> > > > Ken 
> > > > Egozi.http://www.kenegozi.com/bloghttp://www.delver.comhttp://www.musicglue...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to