2

There have been questions quite similar to this one, but I could not find any solution. So excuse me for asking it again.

I'm running Debian Linux and I installed Mono. Once I started the sample WebService with the XSP (or XSP4) server, I can not access it neither locally nor from anywhere else in the network.

The *.asmx file is in a folder from which I also start the XSP server.

Here's the sample code:

using System;
using System.Web.Services;

namespace MathService
{
    [WebService (Namespace = "http://tempuri.org/NumberService")]
    public class MathService : WebService
    {
        [WebMethod]
        public int AddNumbers (int number1, int number2)
        {
            return number1 + number2;
        }

        [WebMethod]
        public int SubtractNumbers (int number1, int number2)
        {
            return number1 - number2;
        }
    }
}
Matthias
  • 121
  • 4

1 Answers1

1

Mono now supports armhf. As of 12/8/2013 you need to build mono from its git repository (master).

git clone git://github.com/mono/mono.git

cd mono
./autogen.sh --prefix=/usr/local
make
make install

Now download and build XSP from its git repository:

git clone https://github.com/mono/xsp.git

cd xsp
./autogen.sh

/configure --prefix=/usr/local
make 
make install
HeatfanJohn
  • 3,115
  • 3
  • 26
  • 38