PDA

Click to See Complete Forum and Search --> : proper way to make an asp.net app


kleinma
Sep 10th, 2002, 11:53 AM
ok i just installed VS.NET and I want to know the "proper" way to make an asp.net application...

I have 2 machines in my room. one is windows 2k advanced server. It has IIS 5 installed and has the .NET framework sp2 installed.

the other is my development machine and has xp pro vs.net installed with sp2 on the framework as well...

now I want my server to host the application obviously... so when i load up VS on the client... and select new ASP.NET application it asks for a dir... what should i select here? Someone told me all you have to do is dump your pages in a folder on a machine that has IIS and the .NET framework installed.. but i would imagine you would have to set up a site of some sort right?

I have done this with old ASP using InterDEV but it seems a little different..

Cander
Sep 11th, 2002, 02:45 PM
well other than setting up a virtual directory, all you really should need to do is copy your files over. I havent used VS .NET much, so I dont know anything more about that. But when I have written asp .net app,s I just copy the files to the server, and it works. Just put any compiled dll's into the web applications bin/ folder.

scostell
Sep 11th, 2002, 02:54 PM
I've used VS.net and can confirm with Cander. My set up is pretty much the same as yours Klienma. Development Machine and Server were on different Boxes. Actually mine was a bit trickier cause my SQL Server and IIS 5.0 where also on seperate machines (have to set up security a little different here).

I'll I did was set create my aspx pages on my develoment machine and then when I was done just copied everything in the folder (sub folders and all) to the IIS 5.0 Server hard disk. Went into the IIS setup and created a Virtual Directory.

That's all it takes.

Cander
Sep 11th, 2002, 02:57 PM
placing dll's in the bin folder is by far enough to make me pee my pants. No need to register or unregister and all that other junk..just copy the files over.

:D

kleinma
Sep 11th, 2002, 03:39 PM
so I should set up IIS on my local machine to make the aspx pages? or do i not even need to do that? will the .net framework process the aspx pages...

i guess i just get confused now because on old asp you needed IIS to process the pages.. but now you need the framework and IIS? or just the framework?

ARG!!!!

Cander
Sep 11th, 2002, 03:43 PM
yes you do need IIS still. the framework adds-on to it

kleinma
Sep 11th, 2002, 03:48 PM
so I should install IIS on my development machine as well correct.. once you answer that I think I got it..

Cander
Sep 11th, 2002, 04:00 PM
yeah..unless they are networked then you could choose a directory from a mapped drive on your box that already has iis.