Results 1 to 8 of 8

Thread: proper way to make an asp.net app

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    proper way to make an asp.net app

    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..

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Hyperactive Member
    Join Date
    May 2001
    Posts
    306
    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.

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.

    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    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!!!!

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yes you do need IIS still. the framework adds-on to it
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    so I should install IIS on my development machine as well correct.. once you answer that I think I got it..

  8. #8
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yeah..unless they are networked then you could choose a directory from a mapped drive on your box that already has iis.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width