8 martie 2012 08:07
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 .
9 martie 2012 20:06
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.
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:
-------> MyProject.UI WebForm/WinForm/etc. project
-------> MyProject.BLL Class Library
-------> MyProject.DAL Class Library
Hope this helps!
12 martie 2012 06:41
Hi Atconway, Vidya,
Thanks for your reply.