I wanna start working with ASP.NET with C# but want to do it in ubuntu.
I have installed mono and XSP2 but have some problems and questions.
The instructions I followed for installing XSP2 is this page.
But when I type "sudo apt-get install asp.net2-examples" in terminal, I get:
Package asp.net2-examples is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
E: Package 'asp.net2-examples' has no installation candidate
So I installed "asp.net-examples" instead.
Then I type "xsp2 –root /usr/share/asp.net2-demos/" but the result isn't the one shown in the page. I should just type xsp2 to get:
Listening on port: 8080 (non-secure)
Listening on address: 0.0.0.0
Root directory: /usr/share/asp.net-demos
Hit Return to stop the server.
But then, when I go to 127.0.0.1:8080 in my browser, I get:
The resource cannot be found.
Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Details: Requested URL: /
Exception stack trace:
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0
Version Information: 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1); ASP.NET Version: 2.0.50727.1433
What should I do?
Another question, How can I start a project?
And the last one: The latest ASP.NET version is 4.5, but with mono and XSP2, I have to work with ASP.NET2. Will I have compatibility problems if I want to work on codes written by others on windows with ASP.NET4.5?