Kom i kontakt med vår kundtjänst, lär dig allt via vår SDK eller ladda ner den senaste uppdateringen.
I've tried to implement a WCF Service and at the same time have a "no-read" for all content in Lemoon. With this scenario i stumbled upon a strange fact.
Request for static files are handled as Lemoon Content-requests? Ive tried to insert a Ignore route to all svc-files but it wont bite.
routes.IgnoreRoute("{*allsvc}", new { allsvc = @".*\.svc(/.*)?" });
I've located this piece of code that perhaps is the culprit?
internal static bool IsLemoonRequest(this MindrouteContext context) { return (((context.RequestLocation != RequestLocation.None) && (context.RequestLocation != RequestLocation.StaticFile)) && (context.RequestLocation != RequestLocation.EmbeddedResource)); }
No, static files are not handled as Lemoon requests. The code you found says that static files should NOT be handled by Lemoon.