Group, I sent an email directly to Fabio last night to avoid further bickering on the list hoping that the topic would just die. Unfortunatley, the nature of the web is to allow things to live on long past their time (which is part of the reason this topic came to be--most of the documentation I found for Medium Trust encouraged disabling lazy loading or finding a host that allows reflection). Fabio and I both consider the issue resolved and hope you can too.
This is our exchange... ================ Sorry, it was probably innappropriate for me to jump on the list and post my solution given my inexperience with the project, but I was excited to finally have it working after several hours of frustration. I did use Google, which is how I found Martijn's post. The problem with the 10,800 Google results was that I had to sift through half of them to find one that allowed me to run in partial trust and use lazy loads. If it is so blatantly obvious, then why do so many of those 10,800 pages end up with someone suggesting that people change hosts to one that allows reflection, or saying that the only way is to disable lazy loading? Even most of the discussions I found in the Forge said disable lazy loading. Of course, now having read your informative comments, I realize that I don't even need Castle and can simply use the NHibernate ProxyGenerators. I actually came across it a couple days ago, but wasn't sure if it was ready for prime time with only 1,900 downloads and still being listed as being beta (not to mention the most previous comment on the blog post was from October 2008). I had at least heard of Castle and figured it was trustworthy. I'll be trying the ProxyGenerators tonight. Lastly, in response to the tone of your comments, may I direct you to your post on the front page of the Forge (http://nhforge.org/content/ WelcomeMessage.aspx). You yourself talk about how scattered the documentation for the project and it's contributions are. You also talk about the Forge being "a place to have a cohesive community working together." At the time I thought I was contributing to the project and helping people out--I didn't expect to get jumped on by a project developer (which, based on your responses, I assume is because you took my last paragraph as an attack rather than a suggestion to grow the community). Now, off to get a glass of water and an Alplax so I can get some rest :) [this is meant as a joke and not scarcasm] Thank you for pointing me in the right direction on the ProxyGenerators. ================= And his response... If you want work with Castle trunk you must download Castle sources (via SVN), compile it in your box, copy Castle.Core and Castle.DynamicProxy2 in the lib of NH's sources and compile NHibernate.Bytecode.Castle (now is easy because I have removed the circular reference with castle project). A way to help the community is do something for it. When you have your work done you can write a blog-post or contribute something in the NH- Forge's wiki, or even more simply (but less persistent) send an e-mail to the nhusers list. Perhaps a blog post titled "NHibernate working in Medium Trust" would be better indexed by google. If you want share your experience in NH-Forge let me know. Now that you know nhusers-list, you know which is the right place where ask a question about a problem with NH use... better if you will do it before feel frustrated ;) Now I can go to sleep without get an Alplax because you are back as NH's user. LOL ================= And by the way, I am not German...well, I guess I'm 1/8th:) I didn't think I was demanding anything--I was suggesting it to enable further growth of the community. I already had a working solution to my problem and was attempting to share it with the world. Not the first time I've made a fool of myself, LOL. In the future when I get stuck I will follow Fabio's advice and ask for guidance from the list. I may also do as Markus suggests and pick up the Manning book. I apologize if I've offended anyone as it was not my intention. Is there a moderator that can lock or remove this topic? Best Regards, Sam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
