| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 15538 | 2002-02-09 11:36:00 | Incoming Programming Novice... Teach me how to use ASP/ASP.NET on linux (preferably) | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 35042 | 2002-02-09 11:36:00 | Hi there, This is likely to be a really long thread... I want to build my website in asp. So I went to the library, and got a book called ' beginning asp.net using VB.NET. ' At the time I was unaware that there was any difference between asp and asp.net. I now know that asp.net is a bit newer and fancier, and easier to do complex things with... Now, after trying to install the pre-requisites for the ASP.NET install (on windows 98SE) I learnt that in order to use it I need windows 2000, or XP. I ' m on a zero budget for this mission, so that had to go out the window... The next option that occured to me was to use it under linux, but that means getting the appropriate software (I don ' t object to a huge fat download if that ' s what ' s required, so long as it ' s free)... So my first requirement is for someone to tell me where/what software I am going to need... I am aware that if I know the language well, I can just write it in a text editor, and upload it to a server (unlikely free...damn...). But I want to be able to see what my pages look like as I ' m making them, thus I need to have a free server to generate the HTML for me, or host them myself, which requires more software... Either alternative is cool with me, so can you tell me what software I need to code the asp.net (or just classic asp) pages, and where to find a server to host them free (or what software I need to host my own)... Next quest... Finding a free host. I could put together a small server to host my own pages, and put my website on this, if that is possible, otherwise I am going to need a server capable of using asp/asp.net and doing it free... If I am out of my tree thinking I can get asp hosting free, now is a REALLY good time to tell me to host it myself. If that ' s the case I need to know what software to put on my hosting server... Another alternative... If I am wrong right from square one, and it is possible to install the .NET framework on windows 98 SE then can you help me with how to get it working. When I code an asp.net page to tell the current time, as I ' ve been shown from an example in the book it shows only the HTML component, but leaves out the & lt;asp:label id= ' time ' runat= ' server ' / & gt; part and consequently displays an incomplete page. Here is the code I wrote to display the time: & lt;script language= ' vb ' runat= ' server ' & gt; Sub Page_Load() time.text=Hour(Now) & ' : ' & Minute(Now) & ' : ' & Second(Now) End Sub & lt;/script & gt; & lt;html & gt; & lt;head & gt; & lt;title & gt;The Punctual Webserver & lt;/head & gt; & lt;/title & gt; & lt;body & gt; & lt;h1 & gt;Welcome & lt;h1 & gt; In Webserverland the time is currently: & lt;asp:label id= ' time ' runat= ' server ' / & gt; & lt;/body & gt; & lt;/html & gt; Now, before you look too closely at it, I ' ll tell you what I ' ve installed (as per the book ' s instructions) to execute the asp code. Firstly, IIS5.0... (Internet informations services 5) Secondly, MDAC 2.7 RTM (Microsoft Data Acess Components 2.7) Thirdly, Personal Web Server (to host pages on my own machine, to save time ftp ' ing my files all over the place) Fourth, .NET Framework - The book said this would install all the required components to use ASP.NET and vb... Now, when I run the code listed above, it only shows me the HTML part, as follows: ' WELCOME (in large font, as per heading 1) In Webserverland the time is currently: ' That ' s it... No ASP code appears to be processed... Yes, I saved it as .aspx, and yes, it was in the right directory, a virtual directory created as per the instructions, that works Okay, and remember that the HTML is working seamlessly. But whatever part is trying to process the ASP.NET code is failing miserably... What is doing that? Ok, let ' s break it down here... Is the problem with the ASP.NET code not being processed an irrepairable problem because win98SE is incapable of performing the appropriate operations? I ' d be very much obliged if you can tell me that right at the beginning of your reply, so that I can get that idea out of my head. If that ' s the case, then bring on the linux chaps, and tell me what I need to run the equivalent operations on mandrake 8.0 Note that I prefer to work with RPM ' s, but if you have good instructions for using tar.ga or tarballs, that ' s ok too... I just need it explained in detail. Enough for one post, I ' ll summarise: Can Windows 98 SE host an ASP.NET page in any way AT ALL??? If so, what piece of my software is failing? If not, can Linux do it? If so, what software do I need? Can I get free hosting? If not, what do I need to host it myself? Anything else I need to know? Thanks in advance...!! :) the FAT man |
Guest (0) | ||
| 35043 | 2002-02-09 20:59:00 | Erin, I'm probably wrong on this, but my first guess is that the .NET version won't run on Linux, because its a Microsoft version, and Microsoft doesn't seem to be too PRO Linux. We had to upgrade to XP to use .NET for the same reason. However I'm sure you could find something for ASP for Linux. |
Guest (0) | ||
| 35044 | 2002-02-10 01:42:00 | Hi, You are almost undoubtedly correct Mike, but people have made all sorts of microsoft things for linux... .NET though, is about as microsoft-ish as it is possible to get, so yup, probably not... Still, ASP would do... Are you using ASP.NET? Who hosts it, or do you do it yourself? What Software do you need to use your own computer to process the ASP pages? Thanks for your reply... :) the FAT man |
Guest (0) | ||
| 1 | |||||