PRIORITY MISSION: Fix RssToolkit and WCF compliation

0 views
Skip to first unread message

David V

unread,
Nov 30, 2009, 11:43:47 PM11/30/09
to Mises.org Development
I would really like to take the development branch live, but there are
two issues that I can't figure out:

Both the RssToolkit and WCF are broken in the SVN development branch.
They work in the live site and the development snapshot I posted. I
cannot find any difference between the two versions of the site that
would break this functionality.

I would really like some help figuring this out so I can take all the
code contributions made in the last few weeks live.

Test URLs:

WCF:
http://localhost/feeds/Articles.svc/feed/atom/

RssToolkit:
http://localhost/feeds/feeds/articles.ashx

Randall Sutton

unread,
Dec 1, 2009, 8:17:40 AM12/1/09
to mise...@googlegroups.com
The problem is the code for both of these was moved from the App_Code folder to the Mises.Domain project.

The RSSToolkit isn't working because it uses a code generator which is specified in the web.config file.
            <buildProviders>
                <add extension=".rss" type="RssToolkit.Rss.CodeGeneration.RssBuildProvider,RssToolkit"/>
                <add extension=".rssdl" type="RssToolkit.Rss.CodeGeneration.RssdlBuildProvider,RssToolkit"/>
            </buildProviders>
Since Services/Articles.rss is now in the Mises.Domain project this isn't being found by the code generator and thus the classes are not being generated.

I also had to do the same for the Media.rss file.

The WCF service isn't working because the code file being referenced in Feeds/Articles.svc has been moved to the same Mises.Domain project
CodeBehind="~/App_Code/Articles/ArticlesFeed.cs"

The same is true for the Events.svc and Media.svc.  Looks like the Literature.svc wasn't defined in the web.config, so maybe it isn't used anymore.

I think it is a good idea to use the Mises.Domain project for business objects, but it looks like a few things we'll need to keep in the App_Code folder for now.

I have made the changes and it appears the feeds are working and we came compile without errors :)  The only WCF feed that is still giving me errors is the Articles.svc, so I'm not sure what I'm doing wrong there.  I will need an account to checkin the changes though, or I can email them.

Thanks,
Randall

David V

unread,
Dec 10, 2009, 1:57:16 AM12/10/09
to Mises.org Development
Hello all,

I still can't figure out the WCF. If someone could take a look at it,
I would greatly appreciate it.
Reply all
Reply to author
Forward
0 new messages