[Mono-list] How to use WCF service
Andrus
kobruleht2 at hot.ee
Fri Jun 11 07:06:59 EDT 2010
I'm using latest IE .
I cleared IE cache, restarted IE, tried F5 but problem presists.
Mod_mono.conf contains lot of AddType lines for .asmx and other extensions.
I'm wondering why adding similar one more line,
AddType application/x-asp-net .svc
to end of file does not enable svc file processing.
Andrus.
----- Original Message -----
From: Jan van der watt
To: Andrus
Sent: Friday, June 11, 2010 1:31 AM
Subject: ***SPAM*** Re: [Mono-list] How to use WCF service
Just a dumb comment here, but I've found with Firefox & Chrome that once they've "seen' the URL and retrieved some contents for it, they cache it, and you have to restart then before they will actually re-query the server.
It's happened a time or two that I got my pre-compiled apps' "ASP.NET marker" and couldn't get the "server" to work, and in the end I simply had to restart the browser!
Best regards
Jan
2010/6/11 Andrus <kobruleht2 at hot.ee>
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
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100611/26f742fa/attachment.html
More information about the Mono-list
mailing list