<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>TheBeerHouse Starter Kit</title><link>http://forums.asp.net/1115.aspx</link><description>Discussions about TheBeerHouse Starter Kit for ASP.NET 2.0</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Chapter 3 - ASP.NET 2.0 Website programming (TheBeerHouse)</title><link>http://forums.asp.net/thread/3155315.aspx</link><pubDate>Mon, 11 May 2009 13:57:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3155315</guid><dc:creator>Lee Dumond</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3155315.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1115&amp;PostID=3155315</wfw:commentRss><description>&lt;p&gt;Just do&amp;nbsp;exactly as&amp;nbsp;the book&amp;nbsp;says: &lt;/p&gt;
&lt;p&gt;&amp;quot;If you add the Library Project to the solution containing the web project, you&amp;#39;ll be able to reference the project...&amp;quot;&lt;/p&gt;
&lt;p&gt;That means to add the project inside the existing solution, then add a reference to the new project from the web site (Add Reference, Browse Tab, click on the project).&lt;/p&gt;</description></item><item><title>Chapter 3 - ASP.NET 2.0 Website programming (TheBeerHouse)</title><link>http://forums.asp.net/thread/3154334.aspx</link><pubDate>Mon, 11 May 2009 06:44:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3154334</guid><dc:creator>khparhami</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3154334.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1115&amp;PostID=3154334</wfw:commentRss><description>&lt;p&gt;&lt;font size="1"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align="left"&gt;Hi ,&lt;/p&gt;
&lt;p align="left"&gt;I am&amp;nbsp;busy reading and coding the book &amp;quot;Wrox - ASP.NET 2.0 Website Programming Problem Design Solution&amp;quot; and at the end of chapter 3 ther is an important note as follow, that I didn&amp;#39;t understand clearly if I should create a new seprate project inside the existing project , and how can I refrence&amp;nbsp;the project to it. the class&amp;nbsp; &lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;WebCustom Event&lt;/font&gt;&lt;/font&gt;&amp;nbsp; should be made inside this new project.&lt;/p&gt;
&lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align="left"&gt;here is the note:&lt;/p&gt;
&lt;p align="left"&gt;&lt;strong&gt;Note that for custom events to be dynamically loaded correctly when the application starts, they&lt;/strong&gt;&lt;/p&gt;
&lt;p align="left"&gt;&lt;strong&gt;must be placed in their own pre-compiled assembly. This is because the ASP.NET runtimes try to&lt;/strong&gt;&lt;/p&gt;&lt;strong&gt;load them before the &lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;App_Code &lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;files are dynamically compiled, so the custom event type&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;
&lt;p align="left"&gt;&lt;strong&gt;wouldn&amp;#39;t be found if you placed the source code there. Because of this, you must create a&lt;/strong&gt;&lt;/p&gt;&lt;strong&gt;separate secondary project for the source code, and reference the compiled .&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;&lt;strong&gt;dll &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;&lt;strong&gt;file (named&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;&lt;/font&gt;&lt;/font&gt;&lt;strong&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;MB.TheBeerHouse.Custom Events.dll&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;) from the main web project. If you add the Library&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="1" face="Arial"&gt;&lt;font size="1" face="Arial"&gt;
&lt;p align="left"&gt;&lt;strong&gt;Project to the solution containing the web project, you&amp;#39;ll be able to reference the project instead of&lt;/strong&gt;&lt;/p&gt;
&lt;p align="left"&gt;&lt;strong&gt;the compiled file, so that an updated version of the DLL will be generated and copied into the web&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;project&amp;#39;s bin folder every time you compile the solution.&lt;/strong&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>