You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2009 |
Jan
(4) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2011 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Twitter <con...@tw...> - 2014-03-26 01:24:31
|
Diego Nascimento ainda está esperando que você participe do Twitter...
Através do Twitter você fica conectado ao que está acontecendo neste momento com as pessoas e organizações que lhe interessam.
Aceitar convite
https://twitter.com/i/3bc8c6f3-37e0-4b28-ab1a-cfb5939263eb
--
You can unsubscribe from receiving email notifications from Twitter at anytime. For general inquiries, please visit us at Twitter Support.
Remover inscrição: https://twitter.com/i/o?t=1&iid=ef8fbe9a20a945d099ca988861124e29&uid=0&c=bFRPYIg4rm70sHF1zEBhOMEY5gScqejnltz5dUQBActy1C0KbVS3zT%2FNecpx24jQzWGJBmhgWwY%3D&nid=156+26+20140324
Precisa de ajuda?
https://support.twitter.com |
|
From: Diego N. (v. Twitter) <con...@tw...> - 2014-03-21 19:23:21
|
Diego Nascimento enviou um convite para você
Através do Twitter você fica conectado ao que está acontecendo neste momento com as pessoas e organizações que lhe interessam.
Aceitar convite
https://twitter.com/i/3bc8c6f3-37e0-4b28-ab1a-cfb5939263eb
--
You can unsubscribe from receiving email notifications from Twitter at anytime. For general inquiries, please visit us at Twitter Support.
Remover inscrição: https://twitter.com/i/o?t=1&iid=b416be4e98be4b0c8f963c1f44f13aa1&uid=0&c=bFRPYIg4rm70sHF1zEBhOMEY5gScqejnltz5dUQBActy1C0KbVS3zT%2FNecpx24jQzWGJBmhgWwY%3D&nid=9+26
Precisa de ajuda?
https://support.twitter.com |
|
From: Michael L. <mik...@gm...> - 2011-06-01 08:49:56
|
Hi,
I have various assemblies and a Logger Service that I would like to use in
all various assemblies to log information. I would like to have the member
variable "_logger" in "Service1" and "Service2" available as soon as the
methods "DoSomething1" and "DoSomething2" get called.
I read something about "auto-registration", but am not sure how it works. I
would like to have the configuration in the "Front-End Application" and not
in every single related assembly (Assembly1, Assembly2, etc.)
Any help is greatly appreciated.
Thanks and regards.
Mike
ASSEMBLY 1
*****************
public class Service1
{
IMyLogger _logger;
public void DoSomething1()
{
_logger.LogStuff();
}
}
ASSEMBLY 2
*****************
public class Service2
{
IMyLogger _logger;
public void DoSomething2()
{
_logger.LogStuff();
}
}
ASSEMBLY 3
*****************
public class ServiceLogger
{
public interface ILogger
{
void LogStuff();
}
}
FRONT-END APPLICATION
*********************************
public class MyFrontEnd
{
....
}
|
|
From: Nathan S. <nr...@gm...> - 2011-01-01 01:27:53
|
for new development, why not use asp.net MVC? On Fri, Dec 31, 2010 at 12:38 PM, Harish Srinivasan <har...@gm...> wrote: > Hi > I am new to Monorail, and i have been assigned to do a project in > monorail, I am having problems installing monorail- i have installed Visual > Studio 2005 along with the Service Pack 1 and its update, and i installed > CVSI 0.3.2 adn i tried opening VS 2005 -> New-> projects and iam not able to > find a new Castle Monorail project in it. Can any of you help me in > figuring out what mistake i did so that i can start working on monorail > asap. Thanks > Harish > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Castleproject-announcements mailing list > Cas...@li... > https://lists.sourceforge.net/lists/listinfo/castleproject-announcements > > |
|
From: Harish S. <har...@gm...> - 2010-12-31 18:39:00
|
Hi
I am new to Monorail, and i have been assigned to do a project in
monorail, I am having problems installing monorail- i have installed Visual
Studio 2005 along with the Service Pack 1 and its update, and i installed
CVSI 0.3.2 adn i tried opening VS 2005 -> New-> projects and iam not able to
find a new Castle Monorail project in it. Can any of you help me in
figuring out what mistake i did so that i can start working on monorail
asap. Thanks
Harish
|
|
From: Glenn G. <gle...@ho...> - 2009-08-06 10:56:33
|
Both this group and the forum are deprecated. You will have better luck posting to the Castle Users Google Group here: http://groups.google.com/group/castle-project-users From: Paul Clancy [mailto:psc...@gm...] Sent: Thursday, August 06, 2009 4:12 AM To: cas...@li... Subject: [Castle-announcements] How to hold AR object in HttpSession Hi, firstly I apologise if this has been asked before but I have spent many hours pulling my hair out trying to get this to work and haven't been able to find a solution. I also posted this to the castle forums. http://forum.castleproject.org/viewtopic.php?t=5254 My scenario Latest code from SVN trunk SQL Server 2005 Web App using HttpApplication to initialise AR. Code: public void Application_OnStart() { IConfigurationSource source = ConfigurationManager.GetSection("activerecord") as IConfigurationSource; ActiveRecordStarter.Initialize(typeof(DomainLookup).Assembly, source); } public HttpRequestScope() { BeginRequest += new EventHandler(OnBeginRequest); EndRequest += new EventHandler(OnEndRequest); } public void OnBeginRequest(object sender, EventArgs e) { HttpContext.Current.Items.Add("ar.sessionscope", new SessionScope(FlushAction.Never)); } public void OnEndRequest(object sender, EventArgs e) { try { SessionScope scope = HttpContext.Current.Items["ar.sessionscope"] as SessionScope; if (scope != null) scope.Dispose(); } catch(Exception ex) { HttpContext.Current.Trace.Warn("Error", "EndRequest: " + ex.Message, ex); } } My Problem: I need to hold my object in session (currently Inproc and state server), as the form is quite complicated and involves many ajax methods (ExtJS) How can I create an object using .Find() method, detach the object using .Evict() and store it in HttpContext.Session, then sometime later re-join the object to the current ISession? Currently, when I call .SaveAndFlush() on the object I am getting updates for every field and for every item in related HasMany collections. I'm assuming this is because the object has lost the state of the previous values. Debugging revealed the previous values collection to be null in the OnFlushDirty callback. Is this normal behaviour? I can probably live with the base objects fields being updated, but I can't allow every item in all related collections to be updated everytime. Any help much appreciated... The code for my entities... Code: [ActiveRecord("Account", Lazy = true)] [Serializable] public class Account : Entity<Account> { [PrimaryKey(PrimaryKeyType.Native, Column = "IDAccount")] public override int Id { get; set; } [Version("Revision")] public virtual int Revision { get; set; } //[Timestamp("Revision")] //public virtual DateTime Revision { get; set; } [Property(Length = 80), ValidateIsUnique("The name has already been used for another account") , ValidateNonEmpty, ValidateLength(0, 30)] // public virtual string Name { get; set; } [Property, ValidateNonEmpty] public virtual AccountType Type { get; set; } [BelongsTo("IDAccountStatus"), ValidateNonEmpty] public virtual AccountStatus Status { get; set; } .... #region Contacts public virtual void AddContact(Contact contact) { contact.Account = this; _contacts.Add(contact); } private ISet<Contact> _contacts = new HashedSet<Contact>(); [HasMany(Lazy = true, Cascade = ManyRelationCascadeEnum.SaveUpdate, Inverse=true)] public virtual ISet<Contact> Contacts { get { return _contacts; } set { _contacts = value; } } #endregion } [Serializable] [ActiveRecord("Contact")] public class Contact : Entity<Contact> { [PrimaryKey(PrimaryKeyType.Native, Column = "IDContact")] public override int Id { get; set; } [Version("Revision")] public virtual Int32 Revision { get; set; } [BelongsTo("IDAccount", Cascade=CascadeEnum.None )] public virtual Account Account { get; set; } [Property(Length = 32), ValidateNonEmpty] public virtual string Title { get; set; } [Property(Length = 80), ValidateNonEmpty] public virtual string Firstname { get; set; } [Property(Length=80), ValidateNonEmpty] public virtual string Lastname { get; set; } [Property(Length = 120), ValidateEmail] public virtual string Email { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Telephone { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Facsimile { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Mobile { get; set; } [Property(Length = 12), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Extension { get; set; } [Property(Length=48)] public virtual string JobTitle { get; set; } ... |
|
From: Paul C. <psc...@gm...> - 2009-08-06 08:12:40
|
Hi, firstly I apologise if this has been asked before but I have spent many hours pulling my hair out trying to get this to work and haven't been able to find a solution. I also posted this to the castle forums. http://forum.castleproject.org/viewtopic.php?t=5254 *My scenario* Latest code from SVN trunk SQL Server 2005 Web App using HttpApplication to initialise AR. Code: public void Application_OnStart() { IConfigurationSource source = ConfigurationManager.GetSection("activerecord") as IConfigurationSource; ActiveRecordStarter.Initialize(typeof(DomainLookup).Assembly, source); } public HttpRequestScope() { BeginRequest += new EventHandler(OnBeginRequest); EndRequest += new EventHandler(OnEndRequest); } public void OnBeginRequest(object sender, EventArgs e) { HttpContext.Current.Items.Add("ar.sessionscope", new SessionScope(FlushAction.Never)); } public void OnEndRequest(object sender, EventArgs e) { try { SessionScope scope = HttpContext.Current.Items["ar.sessionscope"] as SessionScope; if (scope != null) scope.Dispose(); } catch(Exception ex) { HttpContext.Current.Trace.Warn("Error", "EndRequest: " + ex.Message, ex); } } My Problem: I need to hold my object in session (currently Inproc and state server), as the form is quite complicated and involves many ajax methods (ExtJS) How can I create an object using .Find() method, detach the object using .Evict() and store it in HttpContext.Session, then sometime later re-join the object to the current ISession? Currently, when I call .SaveAndFlush() on the object I am getting updates for every field and for every item in related HasMany collections. I'm assuming this is because the object has lost the state of the previous values. Debugging revealed the previous values collection to be null in the OnFlushDirty callback. Is this normal behaviour? I can probably live with the base objects fields being updated, but I can't allow every item in all related collections to be updated everytime. Any help much appreciated... The code for my entities... Code: [ActiveRecord("Account", Lazy = true)] [Serializable] public class Account : Entity<Account> { [PrimaryKey(PrimaryKeyType.Native, Column = "IDAccount")] public override int Id { get; set; } [Version("Revision")] public virtual int Revision { get; set; } //[Timestamp("Revision")] //public virtual DateTime Revision { get; set; } [Property(Length = 80), ValidateIsUnique("The name has already been used for another account") , ValidateNonEmpty, ValidateLength(0, 30)] // public virtual string Name { get; set; } [Property, ValidateNonEmpty] public virtual AccountType Type { get; set; } [BelongsTo("IDAccountStatus"), ValidateNonEmpty] public virtual AccountStatus Status { get; set; } .... #region Contacts public virtual void AddContact(Contact contact) { contact.Account = this; _contacts.Add(contact); } private ISet<Contact> _contacts = new HashedSet<Contact>(); [HasMany(Lazy = true, Cascade = ManyRelationCascadeEnum.SaveUpdate, Inverse=true)] public virtual ISet<Contact> Contacts { get { return _contacts; } set { _contacts = value; } } #endregion } [Serializable] [ActiveRecord("Contact")] public class Contact : Entity<Contact> { [PrimaryKey(PrimaryKeyType.Native, Column = "IDContact")] public override int Id { get; set; } [Version("Revision")] public virtual Int32 Revision { get; set; } [BelongsTo("IDAccount", Cascade=CascadeEnum.None )] public virtual Account Account { get; set; } [Property(Length = 32), ValidateNonEmpty] public virtual string Title { get; set; } [Property(Length = 80), ValidateNonEmpty] public virtual string Firstname { get; set; } [Property(Length=80), ValidateNonEmpty] public virtual string Lastname { get; set; } [Property(Length = 120), ValidateEmail] public virtual string Email { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Telephone { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Facsimile { get; set; } [Property(Length = 32), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Mobile { get; set; } [Property(Length = 12), ValidateRegExp(@"^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$")] public virtual string Extension { get; set; } [Property(Length=48)] public virtual string JobTitle { get; set; } ... |
|
From: hammett <ha...@gm...> - 2009-03-02 06:04:14
|
Please use the devel or user list for questions. Thanks On Sun, Mar 1, 2009 at 9:01 PM, atul verma <atu...@ya...> wrote: > Hi, > > We are facing a problem with Windsor Configuration. -- Cheers, hammett http://hammett.castleproject.org/ |
|
From: Jonathon R. <jo...@jo...> - 2009-03-02 06:01:59
|
Please use the Castle Users mailing list, this is the announcements mailing list. See: http://www.castleproject.org/community/mailinglists.html On Mon, Mar 2, 2009 at 3:01 PM, atul verma <atu...@ya...> wrote: > Hi, > > We are facing a problem with Windsor Configuration. > > > Goal: > We have a web services gateway application which exposes multiple web > service endpoints.Our objective is to create hierarchical windsor > conifiguration and load it all in windsor container from root level. The > reason for this is that new services can be added inside the gateway as when > required. > > What we are doing: > The web services are to be initialized by windsor container which is > created during application_start event in the root level application in IIS > (Gateway as shown in the diagram below). > > The hierarchy in IIS of virtual directories is as follows :- > > ------ Gateway > | > -------- Global.asax > | > -------- Web.config (with windsor configuration) > | > -------- ServiceA > | > | ------- Web.config (with windsor configuration) > | > -------- ServiceB > | > ------- Web.config (with windsor configuration) > > Serices instances are initialized using WindsorHostFactory. And windsor > components for services are declared in respective web.config files using a > config section for windsor (i.e component required to instantiate ServiceA > is defined in ServiceA->web.config). > Common components (loggers, error handlers) are defined in top level > web.config (Gateway -> web.config). > > Problem: > > Step1: When we access ServiceA for the first time the windsor container get > initialized and it loads the configuration from web.config of ServiceA. Thus > we are able to access ServiceA. > > Step2: But after that if we try to access ServiceB, we get an error because > windsor configuration required to instantiate ServiceB is not loaded. This > is because the windsor container was already created in previous step and it > did not load the components required to instantiate ServiceB. > > Our goal is to achieve hierarchical windsor configuration. We are looking > for suggestions to resolve this problem or a better way of doing this. > > thanks in advance > -av > > ------------------------------ > Did you know? You can CHAT without downloading messenger. Click here<http://in.rd.yahoo.com/tagline_webmessenger_2/*http://in.webmessenger.yahoo.com/> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Castleproject-announcements mailing list > Cas...@li... > https://lists.sourceforge.net/lists/listinfo/castleproject-announcements > > -- Jono |
|
From: atul v. <atu...@ya...> - 2009-03-02 05:01:10
|
Hi,
We are facing a problem with Windsor Configuration.
Goal:
We have a web services gateway application which exposes multiple web service endpoints.Our objective is to create hierarchical windsor conifiguration and load it all in windsor container from root level. The reason for this is that new services can be added inside the gateway as when required.
What we are doing:
The web services are to be initialized by windsor container which is created during application_start event in the root level application in IIS (Gateway as shown in the diagram below).
The hierarchy in IIS of virtual directories is as follows :-
------ Gateway
|
-------- Global.asax
|
-------- Web.config (with windsor configuration)
|
-------- ServiceA
|
| ------- Web.config (with windsor configuration)
|
-------- ServiceB
|
------- Web.config (with windsor configuration)
Serices instances are initialized using WindsorHostFactory. And windsor components for services are declared in respective web.config files using a config section for windsor (i.e component required to instantiate ServiceA is defined in ServiceA->web.config).
Common components (loggers, error handlers) are defined in top level web.config (Gateway -> web.config).
Problem:
Step1: When we access ServiceA for the first time the windsor container get initialized and it loads the configuration from web.config of ServiceA. Thus we are able to access ServiceA.
Step2: But after that if we try to access ServiceB, we get an error because windsor configuration required to instantiate ServiceB is not loaded. This is because the windsor container was already created in previous step and it did not load the components required to instantiate ServiceB.
Our goal is to achieve hierarchical windsor configuration. We are looking for suggestions to resolve this problem or a better way of doing this.
thanks in advance
-av
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ |
|
From: hammett <ha...@gm...> - 2009-01-27 18:22:15
|
This is not a list to ask for help. Please use the users or devel list. Thanks On Tue, Jan 27, 2009 at 9:28 AM, Akolkar, Amit <Ami...@dk...> wrote: > I'm trying to use HttpContext.Current.Session object in Castle Monorail -- Cheers, hammett http://hammett.castleproject.org/ |
|
From: Akolkar, A. <Ami...@dk...> - 2009-01-27 17:55:17
|
I'm trying to use HttpContext.Current.Session object in Castle Monorail controller inherited from SmartDispatcherController. But HttpContext is null in this case. How to I use the session in monorail please? I read about ICustomSessionFactory in the documentation but I'm not sure how to implement it. Could you please help me with this? Thanks. -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and authorised and subject to limited regulation by the Financial Services Authority ("FSA"). Details about the extent of our authorisation and regulation by the FSA are available from us on request. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. -- |
|
From: Jonathon R. <jo...@jo...> - 2009-01-27 01:21:30
|
ActiveRecord is mature and is still under development. Take a look at the google groups mailings lists, or the SVN commit log: http://www.castleproject.org/community/mailinglists.html On Tue, Jan 27, 2009 at 10:04 AM, Edvard Pitka <edv...@ya...>wrote: > Is development around AR dead? What is the current status of this project? > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Castleproject-announcements mailing list > Cas...@li... > https://lists.sourceforge.net/lists/listinfo/castleproject-announcements > > -- Jono |
|
From: Edvard P. <edv...@ya...> - 2009-01-27 00:04:21
|
Is development around AR dead? What is the current status of this project?
|
|
From: Ayende R. <ay...@ay...> - 2008-10-10 15:59:18
|
no, on purpose 2008/10/10 Hao Yajie <ya...@gm...> > i just want to get the lastest build for the jquery is build in. while > thers seems to be a configuration error in the section of 'httpmodules' > > > 行 28: <httpModules> > 行 29: <add name="monorail" > type="Castle.MonoRail.Framework.EngineContextModule, > Castle.MonoRail.Framework" /> > 行 30: </httpModules> > > > was the class of 'Castle.MonoRail.Framework.EngineContextModule' removed by > mistake? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Castleproject-announcements mailing list > Cas...@li... > https://lists.sourceforge.net/lists/listinfo/castleproject-announcements > > |
|
From: Hao Y. <ya...@gm...> - 2008-10-10 14:51:22
|
i just want to get the lastest build for the jquery is build in. while thers seems to be a configuration error in the section of 'httpmodules' 行 28: <httpModules> 行 29: <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" /> 行 30: </httpModules> was the class of 'Castle.MonoRail.Framework.EngineContextModule' removed by mistake? |
|
From: Ayende R. <ay...@ay...> - 2008-07-12 03:07:38
|
Take this to the users list, not the announcements. On Fri, Jul 11, 2008 at 8:40 PM, Diego Nascimento < die...@gm...> wrote: > Hi, > > is the first time that i'm using the mr framework and mono, i tried to > execute a simple ASP .NET application and it didn't work. > > The error message is: > > *Description: *Error processing request. > > *Error Message: *HTTP 500. Failed to load httpHandler type > `Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, > Castle.MonoRail.Framework' > *Stack Trace: * > > System.TypeLoadException: Could not load type 'Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework'. > at <0x00000> <unknown method> > at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) > > at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] > at System.Web.Configuration.HttpHandlerAction.LoadType (System.String type_name) [0x00000] > > I read the user guide: http://www.castleproject.org/monorail/documentation/trunk/usersguide/installing.html. <http://www.castleproject.org/monorail/documentation/trunk/usersguide/installing.html> But there doesn't > > say about the binaries. > > I downloaded the binaries (http://prdownloads.sourceforge.net/castleproject/Castle-net-2.0-debug-2007-9-20.zip?download) and created > > symlinks from dll files to directories: /usr/lib/mono/1.0 and /usr/mono/2.0. But didn't work yet. > > i used the xsp2. > > web.config: > > <?xml version="1.0" encoding="utf-8"?> > > > <configuration> > <configSections> > <section > name="monorail" > type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" /> > </configSections> > > <monorail> > <controllers> > <assembly>GettingStartedSample</assembly> > </controllers> > > <viewEngines viewPathRoot="Views"> > <add type="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" /> > > </viewEngines> > </monorail> > > <system.web> > <httpHandlers> > <add > verb="*" > path="*.castle" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> > > <add > verb="*" > path="*.rail" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> > <add > verb="*" > > path="*.ashx" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> > </httpHandlers> > <httpModules> > <add > name="monorail" > > type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" /> > </httpModules> > </system.web> > > </configuration> > > > thanks > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Castleproject-announcements mailing list > Cas...@li... > https://lists.sourceforge.net/lists/listinfo/castleproject-announcements > > |
|
From: Diego N. <die...@gm...> - 2008-07-11 17:40:51
|
Hi, is the first time that i'm using the mr framework and mono, i tried to execute a simple ASP .NET application and it didn't work. The error message is: *Description: *Error processing request. *Error Message: *HTTP 500. Failed to load httpHandler type `Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework' *Stack Trace: * System.TypeLoadException: Could not load type 'Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework'. at <0x00000> <unknown method> at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] at System.Web.Configuration.HttpHandlerAction.LoadType (System.String type_name) [0x00000] I read the user guide: http://www.castleproject.org/monorail/documentation/trunk/usersguide/installing.html. <http://www.castleproject.org/monorail/documentation/trunk/usersguide/installing.html> But there doesn't say about the binaries. I downloaded the binaries (http://prdownloads.sourceforge.net/castleproject/Castle-net-2.0-debug-2007-9-20.zip?download) and created symlinks from dll files to directories: /usr/lib/mono/1.0 and /usr/mono/2.0. But didn't work yet. i used the xsp2. web.config: <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="monorail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" /> </configSections> <monorail> <controllers> <assembly>GettingStartedSample</assembly> </controllers> <viewEngines viewPathRoot="Views"> <add type="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" /> </viewEngines> </monorail> <system.web> <httpHandlers> <add verb="*" path="*.castle" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> <add verb="*" path="*.rail" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> <add verb="*" path="*.ashx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" /> </httpHandlers> <httpModules> <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" /> </httpModules> </system.web> </configuration> thanks |
|
From: Brendan R. <br...@gu...> - 2007-11-20 14:02:44
|
Using the Timok example as a guide I developed a website using Monorail with Windsor integration. It works fine on my development machine on Full Trust but when I turn on Medium trust I get the error shown below. I uploaded the app to my web host and got a similar error. I have tried the Timok example as well and it only works on Full Trust. I have tried compiling the latest truhk code with the using following nant command: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- d:\devtools\nant\nant release build -D:sign=false -D:assembly.allow-partially-trusted-callers=true -D:nunit-console=d:\devtools\nunit\nunit-console.exe -l:d:\castlebuild.log --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [RailsException: The container seems to be unavailable in your HttpApplication subclass] Castle.MonoRail.WindsorExtension.WindsorContainerAccessorUtil.ObtainContainer() +160 Castle.MonoRail.WindsorExtension.ControllerTreeAccessor..ctor() +34 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.Activator.CreateInstance(Type type) +6 Castle.MonoRail.Framework.MonoRailServiceContainer.ActivateService(Type type) +56 [ConfigurationErrorsException: Initialization Exception: Could not instantiate Castle.MonoRail.WindsorExtension.ControllerTreeAccessor] Castle.MonoRail.Framework.MonoRailServiceContainer.ActivateService(Type type) +147 Castle.MonoRail.Framework.MonoRailServiceContainer.InstantiateAndRegisterServices(ServiceEntryCollection services) +309 Castle.MonoRail.Framework.MonoRailServiceContainer.InitServices(MonoRailConfiguration config) +111 Castle.MonoRail.Framework.MonoRailServiceContainer.Start() +62 Castle.MonoRail.Framework.EngineContextModule.CreateAndStartContainer(HttpApplication context) +197 Castle.MonoRail.Framework.EngineContextModule.Init(HttpApplication context) +172 System.Web.HttpApplication.InitModulesCommon() +66 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +814 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +340 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The error is generated from Windsor/MicroKernal and with help from Roelof the error was tracked down to DefaultComponentActivator.CreateInstance(). This method uses the FormatterServices.GetUninitializedObject (http://msdn2.microsoft.com/en-us/library/system.runtime.serialization.formatterservices.getuninitializedobject.aspx) that creates a new instance of a specified object type. This method requires the following security permission: SecurityPermission For providing serialization services. Associated enumeration: SecurityPermissionFlag.SerializationFormatter, SecurityAction.LinkDemand. There is no way around the problem on a shared Medium Trust host that I know of other than to add the permission. My host will not comply with this request and I think he is within his rights. What I was going to do was switch to a host that runs off Full Trust but this is worrying me as Microsoft has recently recommended all hosts run off Medium Trust as best practice. I have been looking for alternative ways of replicating the functionality and found the following resources that reference the method in question (I am in work and unable to test them at the minute but will when I get home). http://mikeoff.blogspot.com/2006/07/creating-object-instance-without.html http://www.thescripts.com/forum/post1895549-4.html http://www.thescripts.com/forum/post1895549-4.html |
|
From: firstyi <fi...@gm...> - 2007-10-11 09:23:42
|
I download castle project, and open the MonoRail project, but not found Castle.Components.Binder project Where's Castle.Components.Binder? Thanks advance |
|
From: hammett <ha...@gm...> - 2006-11-19 16:59:14
|
A new forum has been created for portuguese speakers. http://forumbr.castleproject.org Thanks -- Cheers, hammett http://hammett.castleproject.org/ |
|
From: hammett <ha...@gm...> - 2006-11-01 14:56:31
|
== Castle Project 1.0 - Release Candidate 2 == We are proud to announce the 'Release Candidate 2'. + New web site + New and improved documentation + Visual Studio Integration improved + New build + Awesome features! More at http://www.castleproject.org == Castle Stronghold == The Castle Stronghold is a company created to offer support, consultancy and development for companies using the Castle Project to build their new generation of enterprise applications. More at http://www.castlestronghold.com -- Cheers, hammett http://hammett.castleproject.org/ |
|
From: hammett <ha...@gm...> - 2006-08-19 12:02:20
|
RnVubnksIEkndmUganVzdCBibG9nZ2VkIGFib3V0IGl0CgpodHRwOi8vaGFtbWV0dC5jYXN0bGVw cm9qZWN0Lm9yZy8/cD00MwoKTG9va3MgdmVyeSBpbXByZXNzaXZlLCBjb25ncmF0cyEhCgpPbiA4 LzE5LzA2LCBH9mtoYW4gQWx0/W72cmVuIDxnb2toYW5AYWx0aW5vcmVuLmNvbT4gd3JvdGU6Cj4g SGVsbG8gYWxsLAo+Cj4gSSdtIGN1cnJlbnRseSB3b3JraW5nIG9uIGEgVlMgYWRkaW4gZm9yIEFj dGl2ZVJlY29yZCBjb2RlIGdlbmVyYXRpb24uIEl0J3MKPiBhbiBhbHRlcm5hdGl2ZSB0byBBY3Rp dmVSZWNvcmQgR2VuZXJhdG9yIGFuZCBsb29rcyAoYW5kIGFjdHMpIGxpa2UgRExpbnEKPiBkZXNp Z25lciwgc2luY2UgYm90aCBhcmUgd3JpdHRlbiB1c2luZyBEU0wgVG9vbHMuIEknbGwgdHJ5IHRv IG1ha2UgYSBwcmV2aWV3Cj4gYXZhaWxhYmxlIGFmdGVyIHNvcnRpbmcgb3V0IGEgY291cGxlIG9m IGlzc3Vlcy4KPgo+IFlvdSBtYXkgY2hlY2sgYSBicmllZiBkZXNjcmlwdGlvbiBhbmQgc2NyZWVu c2hvdHMgYXQ6Cj4gaHR0cDovL2FsdGlub3Jlbi5jb20vUGVybWFMaW5rLGd1aWQsODZkY2UyZDgt ODNkNC00NmUzLTkwNmMtMTJjYTE0ZGY1MzgwLmFzcHgKPgo+IENvbW1lbnRzIGFuZCBzdWdnZXN0 aW9ucyBhcmUgd2VsY29tZS4KPgo+IEdva2hhbiBBbHRpbm9yZW4KPgo+Cj4gLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLQo+IFVzaW5nIFRvbWNhdCBidXQgbmVlZCB0byBkbyBtb3JlPyBOZWVkIHRvIHN1cHBvcnQg d2ViIHNlcnZpY2VzLCBzZWN1cml0eT8KPiBHZXQgc3R1ZmYgZG9uZSBxdWlja2x5IHdpdGggcHJl LWludGVncmF0ZWQgdGVjaG5vbG9neSB0byBtYWtlIHlvdXIgam9iCj4gZWFzaWVyCj4gRG93bmxv YWQgSUJNIFdlYlNwaGVyZSBBcHBsaWNhdGlvbiBTZXJ2ZXIgdi4xLjAuMSBiYXNlZCBvbiBBcGFj aGUgR2Vyb25pbW8KPiBodHRwOi8vc2VsLmFzLXVzLmZhbGthZy5uZXQvc2VsP2NtZD1sbmsma2lk PTEyMDcwOSZiaWQ9MjYzMDU3JmRhdD0xMjE2NDIKPgo+IF9fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fCj4gQ2FzdGxlcHJvamVjdC1hbm5vdW5jZW1lbnRzIG1h aWxpbmcgbGlzdAo+IENhc3RsZXByb2plY3QtYW5ub3VuY2VtZW50c0BsaXN0cy5zb3VyY2Vmb3Jn ZS5uZXQKPiBodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby9jYXN0 bGVwcm9qZWN0LWFubm91bmNlbWVudHMKPgo+Cj4KCgotLSAKQ2hlZXJzLApoYW1tZXR0Cmh0dHA6 Ly9oYW1tZXR0LmNhc3RsZXByb2plY3Qub3JnLwo= |
|
From: <go...@al...> - 2006-08-19 12:00:10
|
Hello all, I'm currently working on a VS addin for ActiveRecord code generation. It's an alternative to ActiveRecord Generator and looks (and acts) like DLinq designer, since both are written using DSL Tools. I'll try to make a preview available after sorting out a couple of issues. You may check a brief description and screenshots at: http://altinoren.com/PermaLink,guid,86dce2d8-83d4-46e3-906c-12ca14df5380.aspx Comments and suggestions are welcome. Gokhan Altinoren |