English 中文(简体)
NET 3.5 WCF请求过滤
原标题:.NET 3.5 WCF request filtering
  • 时间:2012-01-16 08:50:37
  •  标签:
  • .net
  • wcf
  • iis

Can anyone say is there any way to configure request filtering for WCF get request on .NET 3.5? Specifically I want to pass datetime in UTC format as a part of a line like webservicehost/webservicemethod/param1/param2/1-16-2012T11:48:50 and I have got a problem with colons inside time because IIS treats it as a port or smth like directory name where colon is definitely illegal.

最佳回答

您可尝试通过如下参数:query strings,代之以将时间档值列入单一报价。 例如:

http://webservicehost/webservicemethod?param1=&param2=&param3= 1-16-2012T11:48:50:

问题回答

暂无回答




相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签