Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - VistualStudio 2008 - DAL Test

Reply
 
Old 4 Weeks Ago   #1 (permalink)
mazdotnet


 
 

VistualStudio 2008 - DAL Test

Hi,

I've been doing web development for a long time using a single web
application file (Classes in App_Code folder). However, now I'm
starting a new web application and I want to break all the layers into
different projects where at least Web Application is one project & a
data access layer is another project.

My steps,
I create an application in IIS 'e.g., MyAppSite'. (I like to use IIS)
I create a new solution in VS2008 and add a class libary project 'DAL'
<- is this correct?
I add the http://localhost/MyAppSite to the solution
I change the output of my DAL to point to http://localhost/MyAppSite/Bin
and everything works fine.

My problem is debugging DAL project (I'm using LINQ to SQL). Is there
way for me to set break points in DAL project and see what the values
are? Without creating a unit test project for my .dbml file since it
has so many methods? I might want to add transactions later using
stored procedure and my own C# class..etc, I want to test the output
of the DAL (data access layer) to make sure it works (where I want to
set breakpoints if needed)

Can you please explain how I can do this? Am I taking the correct
approach by creating a Class Project for my data access layer or I
should be doing this differently?

Greatly appreciate your help


Thank you
M.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Error when installing SQL Express 2008 on Windows Server 2008 PowerShell
Errors while run DTM Test USB Address Description Test PowerShell
2008 Winter Scripting Games Begin Friday, February 15, 2008 PowerShell
Test Post Using Win Svr 2008 RC0! Vista General
How to test file-filter-driver in Driver Test Manager(DTM)? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46