[Mono-list] How to use WCF service

Andrus kobruleht2 at hot.ee
Thu Jun 10 12:20:58 EDT 2010


Atsushi,

I added

AddHandler mono .svc

to end of /etc/apache2/mod_mono.conf file and

restarted apache using

/etc/init.d/apache2 restart

I tried also line

AddType application/x-asp-net .svc

but .svc files are still opened as text in browser.
How to fix ?

Andrus.


----- Original Message ----- 
From: "Atsushi Eno" <atsushieno at veritas-vos-liberabit.com>
To: "Andrus" <kobruleht2 at hot.ee>
Cc: <Mono-list at lists.ximian.com>
Sent: Thursday, June 10, 2010 5:56 PM
Subject: Re: [Mono-list] How to use WCF service


> You'll have to have AddHandler for .svc extension along with the
> configuration manner:
> http://www.mono-project.com/Mod_mono#Manual_Mod_Mono_Configuration
>
> Atsushi Eno
>
>> Mono 2.6.3 packages  are installed in Debian with mod_mono and web
>> application in htdocs. ASMX web services work OK.
>>
>> Trying to invoke WCF web service by typing
>>
>> Myservice.svc to browser returns svc file contents.
>> How to use svc web service ?
>>
>> Andrus.
>>
>> Mono JIT compiler version 2.6.3 (tarball Thu Mar 18 21:01:17 UTC 2010)
>> Copyright (C) 2002-2010 Novell, Inc and Contributors.
>> www.mono-project.com
>>         TLS:           __thread
>>         GC:            Included Boehm (with typed GC and Parallel Mark)
>>         SIGSEGV:       altstack
>>         Notifications: epoll
>>         Architecture:  amd64
>>         Disabled:      none
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
>>
>
Andrus Moor
OÜ Eetasoft
Akadeemia 21-G302
Tallinn 12618
www.eetasoft.ee
tel. 6654214,  6654215



More information about the Mono-list mailing list