Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7162839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:48:05+00:00 2026-05-28T13:48:05+00:00

I’ve have been using Mono Develop 2.8 on a to make an ASP MVC

  • 0

I’ve have been using Mono Develop 2.8 on a to make an ASP MVC application.

The application works nicely in Mono Develop and when I ‘Run’ or ‘Debug’, from the IDE, it starts a local server to run my code.

Now I am at a point where I want to run my ASP MVC application outside of Mono Develop.

The first thing I have been trying to do it just mimic the steps Mono Develop takes to get this running.

I found the Mono.WebServer namespace and also the following article from 2005:

http://weblogs.asp.net/britchie/archive/2005/07/25/420512.aspx

documenting how to run your own XPS server.

class MainClass
{
    public static void Main (string[] args)
    {
        int Port=8080;

        string path="\\TempDeploy";

        XSPWebSource websource=new XSPWebSource(IPAddress.Any,Port);

        ApplicationServer WebAppServer=new ApplicationServer(websource);

        //"[[hostname:]port:]VPath:realpath"

        string cmdLine=Port+":/:"+path;

        WebAppServer.AddApplicationsFromCommandLine(cmdLine);

        WebAppServer.Start(true);

        Console.WriteLine("Mono.WebServer running. Press enter to exit...");

        Console.ReadLine();

        WebAppServer.Stop();
    }
}

I have tried this code and it generate a few warnings about using obsolete parts of the Mono.WebServer dll. When I run it and navigate 127.0.0.1:8080 I can see that something is running, I get 404 errors. The data in I have in the /TempDeploy folder is the result of running the Mono Develop ‘Deploy To The Web’ option to that directory. It contains the standard ASP MVC structure:

/TempDeploy/
    /bin/
    /Content/
    /Scripts/
    /Views/

What changes do I need to make to the above code to get it run an ASP MVC application. I assume it needs to be pointed to the dlls in the bin directory, but I don’t know what calls to make to set it up properly.

Any help would be greatly appreciated.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:48:06+00:00Added an answer on May 28, 2026 at 1:48 pm

    Just run xsp4 in the directory with your web application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a text area in my form which accepts all possible characters from
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I have thousands of HTML files to process using Groovy/Java and I need to
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a bunch of posts stored in text files formatted in yaml/textile (from
I have just tried to save a simple *.rtf file with some websites and
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.