Layer Architecture ( In multiple Solution)
-
8 martie 2012 08:07
Hi All,
I have divided layered Archicture in four solution. I have created Data Access Layered, Busines, Services(include Host), Presentation as different solution.
Now i am working in Business and services layered, how i can step through my code works fine not.
But in the Data Access layered and presentation Layered we can step through the code with the windows or web aplication but i can not step through Business and service layered .
Whether i can step through the code or not? I need suggestion and guidances.
prathap
Toate mesajele
-
9 martie 2012 20:06
Hi Pratap,
I understand your concern is around debuggin the variuous layers of UI, BL and DataAccess etc.
But your description doesn't clearly state what is working and what is not.
Could you please make your language more clear and understandable.
Thanks
Vidya Vrat Agarwal. http://dotnetpassion.blogspot,com
-
9 martie 2012 20:50
@Prathap - I believe I understand your situation. See you separated each layer as a separate .NET solution and what you should have done is made each layer a separate .NET project within a single .NET solution.
You can not debug compiled code from separate solutions. However if each layer is a separate clall library project within 1 solution, you can just add a 'Project Reference' to each different layer where needed, and you will be able to debug the different layers. A conceptual layout is below:
Solution: MyProject.sln
-------> MyProject.UI WebForm/WinForm/etc. project
-------> MyProject.BLL Class Library
-------> MyProject.DAL Class Library
Hope this helps!
Thank you,
- Editat de atconway 9 martie 2012 20:51
- Propus ca răspuns de atconway 9 martie 2012 20:51
- Marcat ca răspuns de Prathap Kumar 12 martie 2012 06:39
-
12 martie 2012 06:41
Hi Atconway, Vidya,
Thanks for your reply.
prathap