473,412 Members | 4,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Store ASP.NET project files remotely, run project locally?

Hi, I'm after this setup, and I'm just wondering if this is even feasible.

I'd like to store my asp.net project remotely, on a network drive (all the project files, everything), But I want to be able to run the project on my local computer, off my local IIS server/asp.net configuration.

Here is what I've done, I've set up an IIS virtual drive that has the alias I want locally, and points to this network drive. I entered in my username/password to access the network drive. I do see an "Error" icon where the normal application icon would be after I added it, but I don't know how to see this error, and it really doesn't seem to affect anything, I see the files in the directory after adding it, and it works as far as I can tell.

Here's where I start getting errors, if I try to create a new project in this directory, after entering the project location "http://localhost/myvirtualdirectory" I get an authentication screen with what appears to be my local computer (it has mycomputername.mydomain.com) But entering my crendentials appears to not work (it just gives me the login screen again).

Is there a better way I should be going about this? Or can this just not be done?
Thanks
--Michael
Nov 18 '05 #1
2 1682
I was going to mention a kludge to get this working, but decided that a) it
does not work in many instances and b) it is not wise. To get this type of
scenario working, you end up with far too many kludges and burn perf on too
many machines. Best to can the idea.

If you truly need an app to run locally, or parts of an app, create that
funcationlity in a WIndowsForm app that uses "no touch" deployment from
ASP.NET. It is a clean method of keeping the code base on the server (one
place to update), while allowing the fat client to actually run the code.
Not great for all scenarios, but it works fine in those that need a
distributed architecture with the safety of a single code base.

For web apps, you can have a local copy (perhaps a dev copy) and deploy on a
regular cycle to the production machine. VS.NET copy project works well in
many, if not most, scenarios (as does Windows Explorer drag and drop ;->).
If you need to sync up to an app database, code the flexibility into your
application through some form of config. But, running an app off a virtual
directory on a remote machine is just too error prone to suggest.

May not be the answer you would like, but you end up opening a lot of holes
when you start kludging the network.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Raterus" <raterus@localhost> wrote in message
news:OP**************@TK2MSFTNGP09.phx.gbl...
Hi, I'm after this setup, and I'm just wondering if this is even feasible.

I'd like to store my asp.net project remotely, on a network drive (all the
project files, everything), But I want to be able to run the project on my
local computer, off my local IIS server/asp.net configuration.

Here is what I've done, I've set up an IIS virtual drive that has the alias
I want locally, and points to this network drive. I entered in my
username/password to access the network drive. I do see an "Error" icon
where the normal application icon would be after I added it, but I don't
know how to see this error, and it really doesn't seem to affect anything, I
see the files in the directory after adding it, and it works as far as I can
tell.

Here's where I start getting errors, if I try to create a new project in
this directory, after entering the project location
"http://localhost/myvirtualdirectory" I get an authentication screen with
what appears to be my local computer (it has mycomputername.mydomain.com)
But entering my crendentials appears to not work (it just gives me the login
screen again).

Is there a better way I should be going about this? Or can this just not be
done?
Thanks
--Michael
Nov 18 '05 #2
I use VSS to store the project remotely.
This leaves me with a local copy to run and edit.
I check out files and edit them and test them and then check them in so the
remote server is always up to date.
Has worked well (over a VPN) for over 5 months now.
(Once we turned off the Virus scanner that bogged it down!)
--
Joe Fallon

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:On**************@TK2MSFTNGP12.phx.gbl...
I was going to mention a kludge to get this working, but decided that a) it does not work in many instances and b) it is not wise. To get this type of
scenario working, you end up with far too many kludges and burn perf on too many machines. Best to can the idea.

If you truly need an app to run locally, or parts of an app, create that
funcationlity in a WIndowsForm app that uses "no touch" deployment from
ASP.NET. It is a clean method of keeping the code base on the server (one
place to update), while allowing the fat client to actually run the code.
Not great for all scenarios, but it works fine in those that need a
distributed architecture with the safety of a single code base.

For web apps, you can have a local copy (perhaps a dev copy) and deploy on a regular cycle to the production machine. VS.NET copy project works well in
many, if not most, scenarios (as does Windows Explorer drag and drop ;->).
If you need to sync up to an app database, code the flexibility into your
application through some form of config. But, running an app off a virtual
directory on a remote machine is just too error prone to suggest.

May not be the answer you would like, but you end up opening a lot of holes when you start kludging the network.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Raterus" <raterus@localhost> wrote in message
news:OP**************@TK2MSFTNGP09.phx.gbl...
Hi, I'm after this setup, and I'm just wondering if this is even feasible.

I'd like to store my asp.net project remotely, on a network drive (all the
project files, everything), But I want to be able to run the project on my
local computer, off my local IIS server/asp.net configuration.

Here is what I've done, I've set up an IIS virtual drive that has the alias I want locally, and points to this network drive. I entered in my
username/password to access the network drive. I do see an "Error" icon
where the normal application icon would be after I added it, but I don't
know how to see this error, and it really doesn't seem to affect anything, I see the files in the directory after adding it, and it works as far as I can tell.

Here's where I start getting errors, if I try to create a new project in
this directory, after entering the project location
"http://localhost/myvirtualdirectory" I get an authentication screen with
what appears to be my local computer (it has mycomputername.mydomain.com)
But entering my crendentials appears to not work (it just gives me the login screen again).

Is there a better way I should be going about this? Or can this just not be done?
Thanks
--Michael

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
I have my program dynamically register custom ActiveX components when it starts. On the most part, this works great for all my customers, except my own internal ones. Our Win2k computers are locked...
8
by: Mike Smith | last post by:
If I put an old exe file on a web site and create a link to it then IE will ask "open or save to disk?" when clicked. When I create an exe with VS.NET it does not ask anything, it just tries to...
4
by: Mark | last post by:
I am developing a Web site and can't figure out how to store the project files on the Web server instead of my local hard drive. There must be a way, otherwise people wouldn't be able to...
4
by: Brian B. | last post by:
Hi, I have an ASP.NET project written in VB.NET on a server. I have made a few changes to some files using notepad while remotely connected to the server. How can I compile the project on the...
1
by: Jerad Rose | last post by:
Hello, I have searched all over for the answer to this, to no avail. I have a web project already set up and running on a remote server, that I created from my home computer. I am now trying...
2
by: HC | last post by:
Hello, Folks. I am not sure if this can be done (and a brief search of this group didn't yield any results that I thought would do the trick) but if it can be done it would make my life easier so...
29
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I...
4
by: smurph | last post by:
We have a web application project, currently this is in sourcesafe. What I want is the developers to edit, debug and save the files locally on their own machine, then when they check in the file it...
1
by: porsch55 | last post by:
m_oProc = new Process(); ProcessStartInfo oInfo; oInfo = new ProcessStartInfo("\\\\" + sSourceServer + "\\" + Environment.SystemDirectory.Replace("C:", "C$") + "\\psexec.exe", " \...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.