Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Designers Corner // Coding / Scripting / Programming

Coding / Scripting / Programming Discussions on all manner of coding and scripting.

Reply
 
LinkBack Thread Tools Display Modes
Old 27-June-05, 02:55 PM   #1 (permalink)
'Da Doctor of Funk
FunkyFresh's Avatar
Unhappy ASP.NET Problem

I've used ASP for years, and my work just switched over to using ASP.NET. Course, they won't spring for training and I don't have any on-the-job time (and even less off-the-job time) to learn it. Here's the latest thing that has me banging my head against the wall:

Let's say you have some major changes underway to one section of your site, and in the meantime you have a critical quick fix that needs to be made in another section.

In ASP, you would fix the offending page, copy it to the server, and be done with it.

In ASP.NET, applications are compiled on the local machine into a single .dll, which then gets copied to the server. So fixing that one page and recompiling would put all of my not-yet-ready changes onto the server too. As I can see 'em, the options I'm left with are:
  1. Undo all the major changes, implement the minor one, recompile and copy the .dll to the server
  2. Wait 3 months till the major ones are complete to make the minor one.
  3. Get another development machine
  4. Use some black magic hack to keep two copies of the same project on one machine. I tried copying the project to another directory. Visual Studio refused to open it, complaining about the physical path not matching the virtual path. If anyone knows a way to make this work, please please please share!
  5. Take another job offer where I'd be working with PHP on Apache.

I suppose I could copy all of my "major changes" code to a backup directory, overwrite it with "live" code from the server, make the fix, recompile, deploy, and copy my "major changes" code back. But ideally I'd really like to have two copies of the project on my local machine, a "live" one and a "test" one, because these minor fixes happen often. Any ideas?
FunkyFresh is offline     Reply With Quote
Old 27-June-05, 03:26 PM   #2 (permalink)
Apex Master Tech Apprentice
mrcracker's Avatar
Default

I'm thinking about a fix for your immediate problem, not sure yet what the best route would be, but either 1 or 2, depends on how serious the problem is. In the longterm though I suggest you start using Source Safe. It comes with Visual Studio and is built to do all of the crap involved with maintaining code. There are much more involved programs out there if you work with a large team of developers, but they tend to be a bit pricey as well as needing a decent amount of training. Sourcesafe will handle version control for you and take care of all of these sorts of things.
mrcracker is offline     Reply With Quote
Old 27-June-05, 03:39 PM   #3 (permalink)
'Da Doctor of Funk
FunkyFresh's Avatar
Default

Thanks for the suggestion! I do keep the latest production version of the code loaded in SourceSafe, but I admit I've been reluctant to use it for anything more (I connect over a frame relay to the SS server three states away -- it's painfully slow). I think I will try to work something with SourceSafe -- thanks!
FunkyFresh is offline     Reply With Quote
Old 27-June-05, 04:13 PM   #4 (permalink)
Master VB Pr'hoe'grammer
Monsignor Funkibut's Avatar
Lightbulb That Physical Path/Virtual Path thing

Ive never run into that cause Im not an ASP jock but I have an idea.

Almost everything in Visual Basic is really a text file, despite it's file extension. With a little care, most VB files can be opened in Notepad and manipulated successfully.

See if you can open the ASP.NET project file in Notepad and just edit the path.

I dunno ......
-MF
Monsignor Funkibut is offline     Reply With Quote
Old 27-June-05, 04:20 PM   #5 (permalink)
Apex Master Tech Apprentice
mrcracker's Avatar
Default

If you have that production version, load the stuff you've been working on as a new version in ss, pull the active stuff, put in the quick fix, compile and upload to the site. Then pull the version you were working on and you're back in business. You'll have to add the quick fixes twice, but there may be a way around it.
mrcracker is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problem turning into big problem Fahye Windows OS Problems 5 17-September-06 03:20 PM
Can't tell if i have a problem... NCXCStud Video Cards 2 26-July-05 10:27 AM
Ram problem..? XtaSy Anything Goes 0 25-January-04 08:50 PM
problem with cpu fan WDoG Motherboards / CPUs 16 09-August-03 05:36 PM
Big Problem player Motherboards / CPUs 13 16-May-03 01:17 AM


All times are GMT -5. The time now is 12:31 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.15065 seconds with 9 queries