<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-35403832.post3703438181457559430..comments</id><updated>2010-12-12T14:23:16.197+01:00</updated><category term='C#'/><category term='NAnt-Extensions'/><category term='Visual Studio'/><category term='Continuous Integration'/><category term='jQuery'/><category term='git'/><category term='TeamCity'/><category term='PDFWebViewer.NET'/><category term='.NET General'/><category term='SQL Server'/><category term='AJAX'/><category term='Sitefinity'/><category term='Castle'/><category term='MSBuild'/><category term='Servers'/><category term='ASP.NET MVC'/><category term='ASP.NET'/><title type='text'>Comments on Alanta Developer Notes: Castle: PerWebRequestLifeStyle revisited</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.alanta.nl/feeds/3703438181457559430/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35403832/3703438181457559430/comments/default'/><link rel='alternate' type='text/html' href='http://blog.alanta.nl/2009/12/castle-perwebrequestlifestyle-revisited.html'/><author><name>Marnix</name><uri>http://www.blogger.com/profile/00913090261390882195</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_G_mDY8FPULY/S1Agl88Q1qI/AAAAAAAAAAc/3rqXrGO2sNM/S220/ikke2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35403832.post-6710183056712212240</id><published>2010-12-12T14:23:16.197+01:00</published><updated>2010-12-12T14:23:16.197+01:00</updated><title type='text'>@dbones Yes, you&amp;#39;re missing the point. PWR wor...</title><content type='html'>@dbones Yes, you&amp;#39;re missing the point. PWR works ok, but breaks when used &lt;em&gt;during&lt;/em&gt; initialization or when running outside a web context, for example in unit tests.&lt;br /&gt;This means that it&amp;#39;s not possible to use components with PWR-lifestyle to initialize the application before the first request is handled.&lt;br /&gt;Note that I have successfully deployed several applications using the fix I described in my previous post on this topic (i.e. with a hybrid lifestyle that falls back to transient for scenarios where PWR doesn&amp;#39;t work)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35403832/3703438181457559430/comments/default/6710183056712212240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35403832/3703438181457559430/comments/default/6710183056712212240'/><link rel='alternate' type='text/html' href='http://blog.alanta.nl/2009/12/castle-perwebrequestlifestyle-revisited.html?showComment=1292160196197#c6710183056712212240' title=''/><author><name>Marnix</name><uri>http://www.blogger.com/profile/00913090261390882195</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_G_mDY8FPULY/S1Agl88Q1qI/AAAAAAAAAAc/3rqXrGO2sNM/S220/ikke2.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alanta.nl/2009/12/castle-perwebrequestlifestyle-revisited.html' ref='tag:blogger.com,1999:blog-35403832.post-3703438181457559430' source='http://www.blogger.com/feeds/35403832/posts/default/3703438181457559430' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2146392594'/></entry><entry><id>tag:blogger.com,1999:blog-35403832.post-5776091864954688723</id><published>2010-12-12T04:19:49.399+01:00</published><updated>2010-12-12T04:19:49.399+01:00</updated><title type='text'>(have you fixed this? as it looks like you did not...</title><content type='html'>(have you fixed this? as it looks like you did not do another follow up post)&lt;br /&gt;&lt;br /&gt;I have PWR working in my MVC2 app.&lt;br /&gt;&lt;br /&gt;1. Add the required in the web.config&lt;br /&gt;2. in the App start, create then call a function to register all the components, trans, Singleton and PWR&lt;br /&gt;&lt;br /&gt;done, it will now inject the dependences&lt;br /&gt;&lt;br /&gt;I think I may be missing the point.&lt;br /&gt;&lt;br /&gt;ps, for IIS7 you have to register it twice http://stackoverflow.com/questions/258011/problem-with-windsor-castle-with-iis7</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35403832/3703438181457559430/comments/default/5776091864954688723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35403832/3703438181457559430/comments/default/5776091864954688723'/><link rel='alternate' type='text/html' href='http://blog.alanta.nl/2009/12/castle-perwebrequestlifestyle-revisited.html?showComment=1292123989399#c5776091864954688723' title=''/><author><name>dbones</name><uri>http://www.dbones.co.uk</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alanta.nl/2009/12/castle-perwebrequestlifestyle-revisited.html' ref='tag:blogger.com,1999:blog-35403832.post-3703438181457559430' source='http://www.blogger.com/feeds/35403832/posts/default/3703438181457559430' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-754822096'/></entry></feed>
