M
Martyn Fewtrell
Hi there
I am just canvassing some opinions so feel free to add yours.
I mainly work with VB.Net on dynamic websites driven by Access and have more
recently been trying to introduce Business and Data layers. Most of my
projects are fairly small so the justification for the extra work is
marginal but it helps to clean up the projects and I can see the value.
However this is my issue.
By default if you add an Access database to a web project VS2005 likes to
place it within the App_Data folder which is fine if you want to use it from
within the same project. If you introduce the concept of a DataAccess layer
then how does the DataAccess layer connect to the database during
development (VS2005 needs to se the database). I assume that once the
DataAccess layer is compiled the DLL gets added to the Bin folder of the web
project so accessing the App_Data folder isn't a problem at that stage. To
make things worse during development I work against an IIS development
server running on Win2003 (set up to mirror my live hosting environment) but
my Visual Studio Projects are stored in the MyDocuments folder of my
workstation which happen to be redirected onto a different server (which is
backed up each night). If I create a solution in VS2005 the website is on
one server, any other VB projects end up on the other server and VS2005 is
on my workstation.
Obviously with an SQL project this isn't an issue as I can hit the database
from anywhere in the network.
I'm just curious as to how other web developers set up their working
environments and/or get around this problem.
Your views please.
Martyn Fewtrell
(e-mail address removed)
I am just canvassing some opinions so feel free to add yours.
I mainly work with VB.Net on dynamic websites driven by Access and have more
recently been trying to introduce Business and Data layers. Most of my
projects are fairly small so the justification for the extra work is
marginal but it helps to clean up the projects and I can see the value.
However this is my issue.
By default if you add an Access database to a web project VS2005 likes to
place it within the App_Data folder which is fine if you want to use it from
within the same project. If you introduce the concept of a DataAccess layer
then how does the DataAccess layer connect to the database during
development (VS2005 needs to se the database). I assume that once the
DataAccess layer is compiled the DLL gets added to the Bin folder of the web
project so accessing the App_Data folder isn't a problem at that stage. To
make things worse during development I work against an IIS development
server running on Win2003 (set up to mirror my live hosting environment) but
my Visual Studio Projects are stored in the MyDocuments folder of my
workstation which happen to be redirected onto a different server (which is
backed up each night). If I create a solution in VS2005 the website is on
one server, any other VB projects end up on the other server and VS2005 is
on my workstation.
Obviously with an SQL project this isn't an issue as I can hit the database
from anywhere in the network.
I'm just curious as to how other web developers set up their working
environments and/or get around this problem.
Your views please.
Martyn Fewtrell
(e-mail address removed)