Comments on: Blunt Architecture http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/ ASP.NET Developer. ALT.NET Supporter. Pragmatic Programmer. Published Writer. Wed, 01 Dec 2010 20:34:08 +0000 hourly 1 By: Martin http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-4041 Martin Mon, 20 Sep 2010 12:23:57 +0000 /post/Blunt-Architecture.aspx#comment-4041 Hi Kevin I have also adopted this approach to my new project that I am working on. I have also come across the limitations of not being able to do Lazy Loading. I think it's very nearly a mint way to organise an MVC project though. We just need to find a way around the limitations and we're sorted. How do you go about handling large amounts of data? Like searching through 500,000 records and returning paged results? Martin Hi Kevin

I have also adopted this approach to my new project that I am working on.
I have also come across the limitations of not being able to do Lazy Loading. I think it’s very nearly a mint way to organise an MVC project though. We just need to find a way around the limitations and we’re sorted. How do you go about handling large amounts of data? Like searching through 500,000 records and returning paged results?

Martin

]]>
By: Epiphone http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1151 Epiphone Mon, 15 Dec 2008 00:42:29 +0000 /post/Blunt-Architecture.aspx#comment-1151 What kind is error is that when opening the solution in VS 2008? What kind is error is that when opening the solution in VS 2008?

]]>
By: saturn facts http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1149 saturn facts Wed, 10 Dec 2008 21:26:49 +0000 /post/Blunt-Architecture.aspx#comment-1149 This is really awesome article mate.. What is this ? "project type is not supported" even after installing MVC templates i am getting this error.. can you please help us? thanks This is really awesome article mate..
What is this ? "project type is not supported"
even after installing MVC templates i am getting this error..
can you please help us?
thanks

]]>
By: VW http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1148 VW Wed, 10 Dec 2008 06:14:59 +0000 /post/Blunt-Architecture.aspx#comment-1148 Thanks for nice post kevin.. I am getting small error when opening the solution in VS 2008.. Can i rectify that error?? Thanks for nice post kevin.. I am getting small error when opening the solution in VS 2008..
Can i rectify that error??

]]>
By: Kevin Pang http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1147 Kevin Pang Thu, 11 Sep 2008 10:17:43 +0000 /post/Blunt-Architecture.aspx#comment-1147 Another thought for those getting the "project type is not supported". Have you installed the MVC templates? That could also be why you are getting the errors. Another thought for those getting the "project type is not supported". Have you installed the MVC templates? That could also be why you are getting the errors.

]]>
By: Kevin Pang http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1146 Kevin Pang Thu, 11 Sep 2008 10:01:04 +0000 /post/Blunt-Architecture.aspx#comment-1146 @Stu To plug in SubSonic, I would probably store the SubSonic generated DAL classes into the Data layer. I would then have mapping classes in my Data layer to handle the transitioning from my business objects to the SubSonic objects and use SubSonic to handle reading/writing to the database. As Mitch pointed out though, this method will *not* support lazy loading, so it may not be the best approach for some. In those cases, I suggest using something like NHibernate to persist your objects. @Stu

To plug in SubSonic, I would probably store the SubSonic generated DAL classes into the Data layer. I would then have mapping classes in my Data layer to handle the transitioning from my business objects to the SubSonic objects and use SubSonic to handle reading/writing to the database.

As Mitch pointed out though, this method will *not* support lazy loading, so it may not be the best approach for some. In those cases, I suggest using something like NHibernate to persist your objects.

]]>
By: Kevin Pang http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1145 Kevin Pang Thu, 11 Sep 2008 09:58:43 +0000 /post/Blunt-Architecture.aspx#comment-1145 For those who are getting the "project type is not supported", it may be because the BluntArchitecture.Web is set up as a web application project type. This did not come preinstalled on some Visual Studio packages. Check out http://webproject.scottgu.com/ for more information and see if downloading the installer fixes it. For those who are getting the "project type is not supported", it may be because the BluntArchitecture.Web is set up as a web application project type.

This did not come preinstalled on some Visual Studio packages. Check out http://webproject.scottgu.com/ for more information and see if downloading the installer fixes it.

]]>
By: Jake Moon http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1144 Jake Moon Thu, 11 Sep 2008 09:37:22 +0000 /post/Blunt-Architecture.aspx#comment-1144 I also get an error when opening the solution in VS 2008: "The application for the project is not installed." This error is for the BluntArchitecture.Web project. The other projects load fine. I also get an error when opening the solution in VS 2008: "The application for the project is not installed." This error is for the BluntArchitecture.Web project. The other projects load fine.

]]>
By: Pendragon http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1143 Pendragon Thu, 11 Sep 2008 07:01:18 +0000 /post/Blunt-Architecture.aspx#comment-1143 VS 2008 SP1. I presume from your question that it's not 2008 friendly? VS 2008 SP1.
I presume from your question that it’s not 2008 friendly?

]]>
By: Stu http://www.kevinwilliampang.com/2008/08/17/blunt-architecture/#comment-1142 Stu Thu, 11 Sep 2008 06:44:12 +0000 /post/Blunt-Architecture.aspx#comment-1142 @Pendragon Are you opening it in Visual Studio 2008? @Pendragon
Are you opening it in Visual Studio 2008?

]]>