Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have the following in Visual Studio 2012 on my LOCAL Work computer:

- A project/Solution consisting of 3 pages, config files, a few images
- I also added the AJAXToolkit to the project
- I did a couple of minor tweaks on WEb.config in order to have AJAXToolkit and a couple of other things work
- I believe I am using either .NET 4.0 or .NET 4.5

I can only execute/view the pages/web application locally on my computer.

My questions are:

- How can I have anyone else at work look at this application? I noticed that my URL, when my page is being executed, is something like Localhost:xxxx/NameofPage.aspx I'm on WIndows 7
I tried typing the exact URL on a different browser (same Local computer), but it didn't work

- Second and most important, How can I move this to a Server 2003? Do I need to move a Bin folder? Do I need to publish it? Do I need to move a 'package' (what is a Package?)? Do I move all 3 files as well as the respective web.config file (How do I go about moving the ajaxtoolkit I added to the project?), etc.?

Ultimately, a SHarepoint page will be pointing to this web application (the web application will be a web part of SHarepoint)

If anyone could point me in the right direction, I'll be thankful!

Thank you!!!
Posted

1 solution

It is not clear what does it mean, "move this to a Serer 2003". What "this"? What is "move"? Move development, or deploy application, or what?

So, let me ask just the first question. Here is the thing: it's a pure madness to do the development without some Revision Control system. Without it, your software does not belong you, it does not belong to your company, it belongs to every minute disaster or mistake. If does not have to me proprietary, moreover, I would say, open-source would by much better, just because your valuable code asserts are too important to hand it to something without full source code. So, it can be free of charge, very light-weight and very reliable, it can work on a server only or be distributed. You really need to stop doing what you are doing, and settle yourself with a revision control system. Please see my past answers:
Make an unclickable form[^],
Needs some words of wisedom to set up and/or use a server[^];
and the answers to this question: Revision control systems, which to choose from?[^].

[EDIT — in reply to OP's comments]

I understand you; I faced with this, too, and, at couple of the companies I worked in, there was unacceptably bad system (one example is Microsoft VSS: beware! a big no-no!) Such barriers are not easy to overcome, but overcoming them is very important. A company also need to have unattended automated batch build, system of versioning, and other must-have items. See also the "The Joel Test": http://www.joelonsoftware.com/articles/fog0000000043.html[^].

As I understand, your problem with "Server 2003" is deployment. It wasn't clear to me in first place. This is is another item. I believe the formal, comprehensive one-step batch unattended deployment procedure should be developed. I could be as simple as copying ("xcopy"-type) the content from an output directory of the development system through FTP (most typical access method for deployment in the Web world). Nothing too complex, anyway. In revision control systems, each deployment should be a single commitment step, typically creation of a "tag" or "branch" using "weak copy", which is frozen forever (thus avoiding the merging issues which stem from branching).

Also, I want to warn you against mixing up 3 procedures: built, revision control update/commit and deployment. Some teams make a mistake by defining the the procedures of updating code from revision control and build. They, for example, add revision control procedures as a build step in a MSBuild project. It really works. But the idea is really bad. Developers need to make a lot of full rebuilds by many reasons: trying out some way of variant of implementation or a fix, do some special testing, and a lot more. In most of these steps, revision control should not be involved.

Imagine you have some batch files for each operation (this is what I do). They can be: 1) full project build in all configurations; 2) MSI release build (for some types of the products); 3) deployment (for other types of projects, such as sites), 4) some kind of clean-up, optional, 5) update of the version information of the product, optional. You can have different configurations and thus different batches. For example, you can have build with and without th re-build of auto-generated documentation. Each step should be one click. But all the revision control operations should be separate and performed by a person, based on a human decision. Some of those operations also can be batches (it depends on the product you use), but… Listen to a good advice: don't mix those revision control operations with other steps mentioned above.

—SA
 
Share this answer
 
v3
Comments
TheAbominable 14-Aug-14 13:01pm    
SA, I have not looked at your past answers, but I 100% agree with you, every company/development group/team must have a Revision Control System! Where I recently started working, there is NONE! I still do not quite understand how everything works here... one of the dev people (who I question his skills) just mentioned to me that he simply starts developing on his computer, but is referencing a location on the server. Nothing is 'built' here! NOthing to check out! Nothing to check in! LOL Go figure! It is actually my job to implement TFS, but will read and do some testing with it down the road. For now, as stated, I created a 3-page site and it needs to be viewed/published/deployed to a Server 2003 site so that it can be seen and executed from the network, meaning someone can go to a URL and start making use of the form. At this time, the project is in my local computer and I do not know how to go about moving/deploying it to the server (remember, no revision control system)... I see a public folder in the server and a folder for each pertaining form (some are in classic ASP)... how do I move/deploy my files there so that they can also be used when someone types their respective URLs (actually, it is Sharepoint that references their location! THe form/3-page web app I created will be used on Sharepoint)

THank you and please let me know. Like I said, I have a Web.config file with it and I added the AjaxToolkit to the project... something tells me I must, somehow, compress the entire project and perhaps put it on a bin... not sure. HELP!
Sergey Alexandrovich Kryukov 14-Aug-14 13:59pm    
Very good. I understand. Thank you for the clarifications.

Please see my update to the answer, after [EDIT]. I hope I covered all the topics involved, but please feel free to ask your follow-up question if something is missing or unclear. I hope you will ultimately accept this answer formally (green "Accept" button).

—SA
TheAbominable 18-Aug-14 10:40am    
Sergey,

THank you so much for the information and insight you've provided! I really appreciate it. At this time, I'm doing quite a few things at once, but the TFS deployment will take place within the next few months. I will be referencing your comments.
Sergey Alexandrovich Kryukov 18-Aug-14 11:17am    
You are welcome.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900