Open Source Software for ASPs?
PsychoKodiac wonders: "I am querying the Slashdot community for help concerning ASP pages. I am currently looking for a solution to create and serve ASP content off of my own computer for the time being. I have been referred to mono_mod and SharpDevelop but I am having a difficult time finding guides or references for using these two Open Source products together. I am attracted to them due to the lack of funds needed to use them. I am hoping some one may be able to refer me to guides or perhaps an alternative to these two products if sufficient guides are not present due to the fact that mono_mod and SharpDevelop are still in development."
ASP is dead. Please upgrade to the current century.
Thank you.
Yeah, right.
If you are running Windows, go take a visit to www.asp.net and look at WebMatrix. It also includes a small web server called Cassini that can serve up .NET content as well.
x =4&tabId=46
WebMatrix
http://www.asp.net/webmatrix/default.aspx?tabInde
Cassini Web Server
http://www.asp.net/Projects/Cassini/Download/
Jump in and start developing! This is a wonderful way to learn your way around these new packages and explore what they currently can and cannot do. Download the source, compile and try and add a feature your project needs. Give yourself a Saturday or Sunday if you have to work otherwise and see what you can make of it. You'll soon discover whether or not it's ready for your project.
Some of the known limitations of Cassini:
1) Only one ASP.NET application per port.
2) No support HTTPS
3) No support of authentication (NTLM, digest)
4) Only localhost requests
It's #4 that is the show-stopper since the original post implies (or at least I inferred from it) that content is to be served to more than just localhost requests.
If you are leaning toward a Mono implemetation, there is the aforementioned mod_mono as well as XSP -- more info here.
I would say that your best bet would be to use something that is actually open source like PHP. ASP does some pretty cool stuff granted but open source is open source and ASP is not. If you want to save money go with PHP (or JSP not that I know much about JSP). The main benefit of using open source software like PHP or JSP is that you don't have to use a Mico$oft server.
99 bottles of beer in 175 characte
If you wish to learn ASP.NET you should probably look at using Microsoft's technologies, possibly in conjunction with SharpDevelop. There is a great deal of information about ASP.NET online and in print. If you want to know about SharpDevelop, there is a free digital version of their book linked on the page you linked to, maybe thats a good place to start?
If you want to learn ASP.NET on a free software platform you are up against a steep learning curve. I'd reccomend learning ASP.NET on Windows first and then making the transition to Free Software. Starting from scratch with Mono and mod_mono or XSP will be tough. As you've seen, there isn't yet a large enough community around these things to generate an abundance of tutorials, documentations and other resources. You can adapt from the Windows versions, but you'll have to deal with translating database interfaces, web server differences and minor differences in the C# libraries themselves.
If you want to learn web programming in general, Apache with PHP might be a better place to start. While PHP has its drawbacks, it is more widely used and has much more open source software available for it than the ASP.NET platform. Other excellent options have already been suggested, like JSP, Python and Ruby on Rails.
Bleh!
If you're running Windows, the easiest thing to run ASP in is IIS if you're on XP/2000, or its little brother PWS on Win9X/ME. (They're free for playing around with.) Note: Neither is available for XP Home.d eploy/setuppws.mspx ; en-us;306898 t ures/iis.mspx
e +hosting
http://www.microsoft.com/technet/archive/pwebsrv/
http://support.microsoft.com/default.aspx?scid=kb
http://www.microsoft.com/windowsxp/evaluation/fea
http://support.microsoft.com/kb/304197/EN-US/
If you're not, the easiest way to run your ASP is via a free hosting provider:
http://www.brinkster.com/Hosting/Educational.aspx
http://www.aspfree.com/asp/freeasphost.asp
http://www.alltheweb.com/search?q=free+asp+websit
HTH.
"Go to CNN [for a] spell-checked, fact-checked summary" -- CmdrTaco
And how awful would it be if a course could be completed only with a specific textbook that all students were forced to buy? Oh, the horror!
It's hard to be religious when certain people are never incinerated by bolts of lightning.
When I was at uni we were given a list of recommended books and it was our choice whether we purachsed them or not. Although some of the books were neccessary, there were always several copies available in the library.
More often than not I chose to go without the recommended book, instead utilising web resources.
So yeah, that would suck.
Don't point that gun at him, he's an unpaid intern!
Are you talking about ASP or ASP.NET?
If you are talking about ASP and you're not running Windows, then you'll probably need something like ChillISoft ASP. It's old, not free, but that's the price you pay for using legacy technologies on unsupported systems.
If you're talking about ASP.NET, then you're looking for mono. I'd suggest you go to http://www.go-mono.net/ and read the documentation there or even use Google. There's more than enough information there to guide you through setup and mailing-lists for these kinds of questions.
Slashdot's mods approve questions like this (unclear, unstructured, and could be solved with Google), yet reject perfectly good questions that might be of interest to other people.
It sounds like what you need is just a testing environment for ASP.NET code, and some basic instructions. I messed around with this a few weeks ago, so I know where you're at.
If so, you don't really need Apache/mod_mono; just use XSP, which is just an ASP.NET server written in C# by the Mono project. It may not be as fast, but you can test away with it.
Your toolbox on your local computer should probably be Mono, mcs (C# compiler), MonoDevelop (Based on SharpDevelop), XSP, and the ASP.NET examples for Mono. These are all provided by the Windows, OS X and Linux packages on go-mono.com. If you're using debian, though, you can get them as seperate packages.
Once you've got all that, copy the ASP.NET demos into your home directory, then go to that directory and run XSP (in debian, the command is just 'xsp') and take a look at the examples.
You can change or create .aspx files directly and XSP will compile them for you when you visit them; but compiling libraries and code behind files requires a command along the lines of "mcs -t:library -o CodeBehind.dll CodeBehind.cs" or something.
I hope that gets you started.
*is run over by rotten tomatoes*