PDA

View Full Version : asp > asp.net


[o_O]
12-16-2002, 07:13 PM
I've just made a site using asp/mysql and now it looks like i might be able to use asp.NET with this particular host. I'm assuming that is the way to go? there is a big advantage yes? it will be used with the MS SQL server so i have to learn about both. I was wondering if it would be very hard to switch? would it be like doing the whole app again from scratch or easy to convert?

oh, where to to start :(

[i know nothing of SQL server or asp.NET]

BigDaddy
12-16-2002, 08:16 PM
ASP .NET is quite a bit different. If you've ever done anything with visual basic, that would be a good thing to compare it to.

It is the future of web development, though. Classic ASP is going to be replaced by it. Once you get it down, development time is faster, you can do a little more with it, and it just runs faster.

It's not necessarily something to jump right into without doing some reading on it ahead of time, or at least making sure you've got some good reference materials on it first.

Some sites to check out:

www.asp.net
www.aspnet101.com
www.dotnetjunkies.com

[o_O]
12-17-2002, 12:56 AM
I was going to download the 'Microsoft .NET Framework Software Development Kit ' so i could install on my pc and try and learn/practice etc. I am confused slightly though over this.

If you want to distribute the .NET Framework with your application, you will also need to download the .NET Framework Redistributable.


So if i want to code some things on my local machine perhaps using a database etc, and then i would like to upload these to a server that supports ASP.NET do i need to get that ..

framework?

BigDaddy
12-17-2002, 05:18 AM
If you want to code and test on your own machine, prior to uploading it, you need the framework. Otherwise, if you're just coding, then uploading it to test, you don't need the framework.

The redistributable thing is for someone coding a client side application using C# or VB .NET. They would make an .exe that would be run on a different machine. If all you're doing is building web apps, you don't need it.

angiras
12-17-2002, 06:25 AM
the best way is to install all (130 mb) to have frsamework and sdk on your local computer
to work with the best from far is visual studio, or http://www.asp.net/webmatrix/default.aspx?tabindex=4&tabid=46 webmatrix wich is free

your asp 3 wil work withour any problem, you can have on the dame application a global.asax and a global.asa, then step by step you can transform your site, but it is impossible to "translate" it from asp to asp net

another thing you have interrest to use , option strict on (this option is only for vb net, C# is allways strict on...)
, and of course option explixcit on,

[o_O]
12-17-2002, 10:47 PM
if i download that .net framework can i run asp 3 pages on my machine too? because i tried to find the asp 3.0 application server to download but can't.

angiras
12-18-2002, 06:45 AM
your asp 3 wil work without any problem

of course asp 3 works , I have old application that I was too lazy to rewrite totally, my own site is half asp 3 half asp net

you need nothing but the framework

if you don't want to install the SDK (you can read it on line) you just install the framework alone and it is about 16 mb

angiras
12-18-2002, 06:47 AM
as I said don't forget to have a global.asa AND a global.asax at the root of your site (if you want to use it , of course !)

[o_O]
12-18-2002, 09:56 AM
I finally downloaded the .NET Framework Software Development Kit and the SQL Server 2000 trial. [not fun at all on 56k] I installed SQL server 2000 Now when going to install the framework SDK It says I should have IIS installed first to use ASP.NET :confused:

The web matrix project comes with a small personal web server as you know, would this do the trick? I am basically wanting to build an application on my local machine that interacts with the SQL server 2000 and asp 3 / asp.net. I want to be able to build and view the whole thing on my local machine and then transfer to host later. I know the web matrix personal server would be fine for viewing/testing asp.net pages but not asp 3 right? :rolleyes: and possibly issues with SQL server 2000

If so, can someone point me to where i can download IIS, I actually can't find it.

allida77
12-18-2002, 05:26 PM
Go to add/remove programs, window components, and then find iis. This can only be done on 2000 professional or XP Pro and you must have the disk.

angiras
12-18-2002, 06:08 PM
on visula studio you have a light version of SQL 2000, then you can run all your applications

mat
12-18-2002, 08:06 PM
does that web matrix personal server support the asp 3 scripts too? could it be used to develop or at least view asp 3 pages?

[o_O]
12-18-2002, 09:57 PM
well i can say now after trying it, the web matrix is not for developing asp 3

I uninstalled it and after realizing i should just stick with asp 3 for this project installed the IIS off my XP pro disk, however :rolleyes: now when i visit 'http://localhost' in my browser i get a 'not found/server error' page

:(

angiras
12-19-2002, 07:25 AM
normally you must get http://localhost/localstart.asp

[o_O]
12-19-2002, 08:47 PM
Well i had to re-install. it's working now and i'm being careful with what apps i install and setting i change. :)

thanks.