Run asp.net on ubuntu 12.10 linux

Thanks to mono we can run asp.net on our linux machines (i have to test some asp.net code), to do that we will use XSP, here the description took it from mono website.

XSP is a standalone web server written in C# that can be used to run your ASP.NET applications with minimal effort. XSP works under both the Mono and Microsoft runtimes. The code is available from our download page (look for XSP web server) or from the Anonymous SVN repository (module name: xsp).

To nstall it:

  1.  
  2. #install XSP
  3. sudo apt-get install mono-xsp2
  4.  
  5. # i have to use vb.net so, i installed the Visual Basic.NET Compiler
  6. sudo apt-get install mono-vbnc
  7.  

Once installed, just start XSP from the directory where your code is located, after that you can browse to http://localhost:8080 to see your web pages

  1.  
  2. $ cd /home/rene/asp/
  3. $ xsp2
  4. xsp2
  5. Listening on address: 0.0.0.0
  6. Root directory: /usr/share/asp.net2-demos
  7. Listening on port: 8080 (non-secure)
  8. Hit Return to stop the server.
  9. Application_Start
  10.  

2 thoughts on “Run asp.net on ubuntu 12.10 linux

  1. internet

    We wish to thank you yet again for the lovely ideas you gave Janet when preparing
    a post-graduate research and, nearly all highly, with
    regard to providing each of the ideas in a blog post. Provided
    that we had been aware of your web page a year before, we will have been
    rescued from the useless measures we were implementing. Thanks to you.

  2. Shashikiran

    Hi..

    The below command works for me to install xsp4 server.

    Command: sudo apt-get install mono-xsp4

    Thanks,
    Shashikiran

Leave a Reply

Your email address will not be published. Required fields are marked *