Jul 29 2005

Bug in Indigo (RC1 to Beta1)

Category: .wcfAmit Bahree @ 6:52 pm

If you are hosting, your Indigo service in IIS, then you need a .svc file which basically tells IIS what assembly do you want to wire up to handle the request. Seems like on RC1 Beta 1 and another prior build (June CTP – I think, not sure though), there is a bug in the parser. Lets look at the example which in some places does break and in others does not break:

<%@Service language=c# Debug=”true” class=”Indigo2.Math” %>
<
%@Assembly Name=”Indigo2″ %>

If you notice the language attribute (on line 1), is it not in quotes and this works ok on RC1. But it does break if you do put in the quotes in some other builds, so if you had the same line as below then someplace’s it will break:

<%@Service language=“c#” Debug=”true” class=”Indigo2.Math” %>

This of course is not a show stopper, but if you are getting weird errors in IIS and are not seeing your service’s MEX, as you were expecting, this could be one of the areas among others you can look out for.

My Beta1 is still downloading, so have not had a chance to try this on that to see if it has been fixed or not; if any one has tried it then let me know; alternatively, when I finish downloading it and try it out, will post my feedback here.

Share
Similar posts to check out:
  • July 7, 2011 -- Automatic eTag Management with WCF Web API Message Handlers (0)
    ...
  • May 26, 2011 -- Troubleshooting WCF Performance – Part 1 (0)
    More related details on Dustin's post - WCF scales up slowly with bursts of work....
  • September 21, 2008 -- Avoid using “using()” (0)
    The using statement in C#, seems to be quite useful especially to a developer as theoretically, you not have to do anything to release any memory you might have used and the CLR automatically frees up this memory for you. However, over time, I have had so many issues with it and subtle problems (in certain situations) I am starting to avoid it now. The two best examples that I can think of are database connection pools and WCF connections. You might think that a “using” statement would clo...

Tags:

Leave a Reply

*

Get Adobe Flash player