<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.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>Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx</link><description>Update: I refactored some of the code and also did a better job ensuring Dispose() is called everywhere so that the DataContext object gets cleaned up properly. Download the Application Here .NET 3.5 has a lot of great new features that can significantly</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Presentation och kod från MSDN Live med webbfokus</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6759818</link><pubDate>Sat, 29 Nov 2008 11:44:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6759818</guid><dc:creator>Robert Folkesson</dc:creator><author>Robert Folkesson</author><description>&lt;p&gt;Idag k&amp;#246;rde jag och Pelle Johansson MSDN Live med webbfokus i Stockholm. F&amp;#246;rutom lite teknikstrul med&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6759818" width="1" height="1"&gt;</description></item><item><title>Presentation från Sommarkollo: nytt för webbutvecklare i VS 2008</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6538225</link><pubDate>Tue, 19 Aug 2008 12:07:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6538225</guid><dc:creator>Robert Folkesson</dc:creator><author>Robert Folkesson</author><description>&lt;p&gt;Idag k&amp;#246;rde jag tillsammans med Magnus M&amp;#229;rtensson ett sommarkollo-pass om nyheter f&amp;#246;r webbutvecklare i&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6538225" width="1" height="1"&gt;</description></item><item><title>LINQ and 3-Tiers (LINQ???????????????)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6509790</link><pubDate>Tue, 12 Aug 2008 20:29:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6509790</guid><dc:creator>LINQ and 3-Tiers (LINQ???????????????)</dc:creator><author>LINQ and 3-Tiers (LINQ???????????????)</author><description>&lt;p&gt;Pingback from &amp;nbsp;LINQ and 3-Tiers (LINQ???????????????)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6509790" width="1" height="1"&gt;</description></item><item><title>LINQ N~layer！</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6271455</link><pubDate>Fri, 13 Jun 2008 03:16:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6271455</guid><dc:creator>barney</dc:creator><author>barney</author><description>&lt;p&gt;BuildinganN-LayerASP.NETApplicationwithLINQ,LambdasandStoredProcedures(Updated)&lt;/p&gt;
&lt;p&gt;Buildin...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6271455" width="1" height="1"&gt;</description></item><item><title>re: Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6024668</link><pubDate>Tue, 25 Mar 2008 18:03:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6024668</guid><dc:creator>dwahlin</dc:creator><author>dwahlin</author><description>&lt;p&gt;I posted an example of using typed DataSets in an N-layer situation at the following URL awhile back if you're interested:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/dwahlin/archive/2006/04/06/442115.aspx"&gt;weblogs.asp.net/.../442115.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6024668" width="1" height="1"&gt;</description></item><item><title>re: Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#6024579</link><pubDate>Tue, 25 Mar 2008 17:36:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6024579</guid><dc:creator>nflsprstar</dc:creator><author>nflsprstar</author><description>&lt;p&gt;Anyone using n-layer architecture w/ typed datasets &amp;amp; custom business objects? Could you provide examples or point me to resources that correctly utilize this architecture?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6024579" width="1" height="1"&gt;</description></item><item><title>Want to Learn How to Use LINQ?  Check out LINQPad!</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#5991728</link><pubDate>Tue, 18 Mar 2008 05:40:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5991728</guid><dc:creator>Dan Wahlin's WebLog</dc:creator><author>Dan Wahlin's WebLog</author><description>&lt;p&gt;I was catching up with some of the people I follow on Twitter tonight (as a side note, I used to think&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5991728" width="1" height="1"&gt;</description></item><item><title>re: Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#5978946</link><pubDate>Sun, 16 Mar 2008 05:31:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5978946</guid><dc:creator>dwahlin</dc:creator><author>dwahlin</author><description>&lt;p&gt;KC,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried WWD 2008 Express unfortunately (haven&amp;#39;t tried the 2005 version in years either) so I&amp;#39;m not sure what it&amp;#39;s capable of handling as far as projects go. &amp;nbsp;If you find that it can&amp;#39;t load the multiple projects you could copy the .cs files into the App_Code folder of the Website and that shouldn&amp;#39;t give it a problem since I know it&amp;#39;s definitely capable of working with that type of setup.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I did a quick Google search on the error message and found the following as well which makes it sound like you may just need to copy the various project .cs files into the Website&amp;#39;s App_Code folder:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://www.cuyahoga-project.org/13/view.aspx?g=posts&amp;amp;t=912"&gt;http://www.cuyahoga-project.org/13/view.aspx?g=posts&amp;amp;t=912&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5978946" width="1" height="1"&gt;</description></item><item><title>re: Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#5975631</link><pubDate>Sat, 15 Mar 2008 14:04:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5975631</guid><dc:creator>KC</dc:creator><author>KC</author><description>&lt;p&gt;Hi Dan,&lt;/p&gt;
&lt;p&gt;When I open the solution in VWD 2008 express, projects Biz, Data, and Model fail to get loaded. I get the following error message:&lt;/p&gt;
&lt;p&gt;&amp;quot;The project system components are not installed on this computer. Please re-install Visual Studio.&amp;quot;&lt;/p&gt;
&lt;p&gt;Any reason why I am getting this message!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5975631" width="1" height="1"&gt;</description></item><item><title>re: Building an N-Layer ASP.NET Application with LINQ, Lambdas and Stored Procedures (Updated)</title><link>http://weblogs.asp.net/dwahlin/archive/2008/02/28/building-an-n-layer-asp-net-application-with-linq-lambdas-and-stored-procedures.aspx#5931068</link><pubDate>Fri, 07 Mar 2008 05:44:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5931068</guid><dc:creator>dwahlin</dc:creator><author>dwahlin</author><description>&lt;p&gt;Marty,&lt;/p&gt;
&lt;p&gt;Good question...I think having a method that returns the custom objects (but leaves the query dynamic) would be good because related methods could call the base method and then add additional filters, sorts, etc. &amp;nbsp;But, having a View is a nice idea in that case since the view could handle filtering out the unwanted fields. &amp;nbsp;I personally lean toward doing as much in the database as possible (where appropriate of course) which is why I also added sprocs into the sample app. &amp;nbsp;It's really your call though.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5931068" width="1" height="1"&gt;</description></item></channel></rss>