I have finally got round to publishing the codeplex project. I would really appreciate questions and feedback. Anything from XForms, generics and fluent API to project setup and unit tests.
Be the first to rate this post
Tags:
12/3/2008 3:16:43 AM #
Hi Jon, I'm always impressed by people who go to the effort of publishing their code, I appreciate the huge amount of work that involves. Well done! I've downloaded your code from CodePlex and hit the run button but get an error in StructureMapControllerFactory.GetControllerInstance() I have had the same problem in my own code that sometimes controllerType is null. I don't know why it happens (haven't really bothered to investigate) but the workaround is very simple. Just check if controllerType is null and return null if it is. The code I have used is protected override IController GetControllerInstance(Type controllerType) { IController controller = null; if (controllerType != null) { try { controller = ObjectFactory.GetInstance(controllerType) as Controller; } catch (StructureMapException) { Debug.WriteLine(ObjectFactory.WhatDoIHave()); throw; } } return controller; } after that change life is good. I probably won't have time to play more before Christmas and give any feedback but thought I might be able to help others who hit this particular problem. cheers Paul PS On the assumption that Pure Krome turns up at this site as well, Hi Dude!
Paul Linton
12/3/2008 8:52:01 AM #
Hi Paul, I have seen that error, but can't reproduce it now. I know the same error occurs when there are resources such as css and js that are referenced in the HTML, but don't exist - so I like to use the code as a check for this. There is not really a need for dependency injection in the example, I just tried to keep it "real life" with a pseudo 3-tier structure. Cheers, Jon
JontyMC
12/4/2008 9:19:16 PM #
Thanks for that. I think what is missing from the Codeplex download is Styles/xforms.css
12/4/2008 9:22:44 PM #
Cancel that last comment, I'm going blind
12/5/2008 11:26:23 AM #
Lol. If you find any more problems let me know. Hopefully I'll have the time to create some more example pages soon, especially for the javascript API.
12/27/2008 4:10:52 AM #
i hope also this can we fix
Busby SEO Test
5/8/2009 9:09:04 PM #
what a great blog, i really like it.
sulumits retsambew
5/21/2009 10:54:30 PM #
very nice info, thanks.
tukang nggame
5/30/2009 10:10:23 AM #
Release yes
5/30/2009 6:49:37 PM #
great post. Thx.
Wisata SEO Sadau
6/10/2009 9:18:58 AM #
Thanks for the nice ideas…..
Music Careers
6/24/2009 12:10:15 PM #
great info, thanks for taking the time to sharing this post
Tukang Nggame
7/3/2009 1:12:03 PM #
Nice ideas and useful information shared nicely.
Liverpool teeth whitening
7/8/2009 1:35:44 AM #
Thanks - Just the info I was looking for.. My search ends here..
Jackson
7/9/2009 4:05:25 PM #
Thanks for your post, very useful and informative
Stop Dreaming Start Action
7/9/2009 4:49:20 PM #
Nice blog, just bookmarked it for later reference
Xavier
7/10/2009 3:09:50 AM #
Paul
7/10/2009 4:32:56 AM #
Thanks for this great post - I will be sure to check out your blog more often
Christian
7/10/2009 1:23:09 PM #
thanks for the insight.
jennifer
7/10/2009 1:24:25 PM #
Good post and nice design, is this a regular template? btw. can you checkout my blog to? its http://www.site2money.com/google
Fabian
7/10/2009 5:00:11 PM #
Cool blog, I will share it my relatives. Thanks for this info!
Sue
7/10/2009 7:05:20 PM #
Very interesting post - Might be old new, but it was new to me. Thanks.
Maria
7/11/2009 7:34:41 AM #
Is this a custom theme by chance?
Marcus
7/11/2009 11:12:51 AM #
Looks great Jon, I look forward to seeing this progress! I'd like to hear more about the goals of the validation and object deserialization/serialization
Texas Hold 'em Tourneys
7/11/2009 4:33:10 PM #
Quite an interesting post. It was all new to me.
Call Center Services
7/11/2009 4:43:51 PM #
I found this post quite interesting. Thanks for sharing!
Cigarest
7/11/2009 4:50:24 PM #
Just subscribed to the RSS Feed of your blog. Thanks!
Electronics
7/11/2009 8:10:40 PM #
Very good and detailed post there OP. apprecaiate the time you put into this.
Ralph
7/11/2009 10:23:54 PM #
7/11/2009 10:59:55 PM #
7/11/2009 11:16:02 PM #
this is the only working private profile viewer
Anagnos
7/12/2009 1:29:54 AM #
is this a paid template? i like it.
tf2 weapons
7/12/2009 3:13:17 AM #
Thanks for posting this. Never heard of it before.
Microgaming Casinos
7/12/2009 9:13:16 AM #
Best Mp3 Player
7/12/2009 4:46:45 PM #
Nice information, thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance. Thanks again and good luck!
AlikHell
7/12/2009 9:22:32 PM #
Roofing
7/13/2009 3:30:28 AM #
http://www.puddingfart.com
Pudding Farts
7/13/2009 8:26:56 AM #
This is new info for me Thanks.
Dustin
7/13/2009 11:20:03 AM #
Hmm strange this post is totaly irrelevant to the search query I entered in google but it was listed on the first page.
panasonic lumix dmc fz28k
7/13/2009 12:36:48 PM #
Please let me know if you are interested to work as article writer for me? I can offer $10/article.
altec lansing inmotion im7
7/13/2009 2:10:54 PM #
Do you earn decent money from this blog or are you doing it just for fun?
canon a620
7/13/2009 2:26:59 PM #
I would like to add your blog to my blogroll please tell me what anchor should I use?
canon a720 is
7/13/2009 3:27:54 PM #
canon a520
7/13/2009 4:39:31 PM #
nikon p5100
7/13/2009 5:07:15 PM #
I like your blog curently we are looking for a part time article writer would you be interested?
fuji s100fs
7/13/2009 10:04:13 PM #
The best article I've read today Thanks!
Electronic Drum Kits
7/14/2009 8:32:16 AM #
Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it's nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere. This was the first place that told me the answer. Thanks.
Steven W. Scott
7/14/2009 10:43:33 AM #
Great post - Just subscribed to your RSS feed.. Thanks
7/14/2009 6:00:32 PM #
Looks like you put a lot of time and effort on what you've got to say. I like that.
Money Making Guide
7/14/2009 11:38:23 PM #
7/15/2009 4:40:07 AM #
The site below really works.. I got mad prizes from this site and I don't like bullshit and this site is real try this.. you'll get a extra 1$ for signing up using this link only! http://tinyurl.com/la227v
stepansky
7/15/2009 6:00:24 AM #
http://www.unlockprivateprofiles.com works great
Private Myspace
7/15/2009 11:59:53 AM #
Is there an RSS Feed I can subscribe to?
Aimbot
7/15/2009 1:26:58 PM #
Subject of this post is very interested, bookmarked
szybkie odchudzanie
7/15/2009 1:44:36 PM #
Great post - Just subscriped to your RSS feed.. Thanks. http://www.mrstiff.com
Search Engine
Powered by BlogEngine.NET 1.4.5.0 Theme by Mads Kristensen