ASP.NET 2.0,Sitemaps和Querystrings [英] ASP.NET 2.0, Sitemaps, and Querystrings

查看:49
本文介绍了ASP.NET 2.0,Sitemaps和Querystrings的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在使用ASP.NET 2.0站点地图功能,而我们目前正在使用的一个

问题是需要能够生成一个

web.sitemap文件,其中包含包含查询字符串数据的URL。

不幸的是,站点地图文件的

节点中的URL中存在查询字符串似乎打破了整个网站地图导航

功能。


我没有在我面前的具体示例或错误消息

(虽然如果需要,我可以得到它们,但是......还有其他人在ASP.NET 2.0中使用查询字符串使用

站点地图URL并且看到了这种类型的

问题,和/或了解如何绕过它,或者至少知道为什么它会发生?b / b
哦,我们正在与之合作.NET 2,VS,

和TFS的Beta 2版本正在等待11月的RTM升级它们。如果这个

是一个Beta 2问题,在后续版本中已经得到纠正,那么我们也会知道这个问题。


谢谢。


- Tom Kiefer

We''ve been working with the ASP.NET 2.0 sitemap functionality, and one
problem we''re currently having is a need to be able to generate a
web.sitemap file that includes URLs containing querystring data.
Unfortunately, the presence of querystrings within the URLs in the
nodes of a sitemap file seems to break the whole sitemap navigation
functionality.

I don''t have the specific examples or error message in front of me
(although I can get ''em if needed), but... Has anyone else worked with
sitemap URLs with querystrings in ASP.NET 2.0 and seen this sort of
problem, and/or found out how to get around it, or at least know why it
happens?

Oh, and we''re currently working with the Beta 2 release of .NET, VS,
and TFS, awaiting the November RTM to upgrade the lot of ''em. If this
is a Beta 2 issue that''s been corrected in subsequent releases, we''d
appreciate knowing that, as well.

Thanks.

- Tom Kiefer

推荐答案

请检查MSDN产品反馈中心[1]报告了这些问题已经报告了
。如果已经记录了,微软将提供某种类型的响应

。然后回到这里让我们都知道你是否发现了这个

问题。对吗?


<%=克林顿加拉格尔

METROmilwaukee(sm)地区信息服务

NET csgallagher AT metromilwaukee.com

URL http://metromilwaukee.com/

URL http://clintongallagher.metromilwaukee.com/


[1] http: //lab.msdn.microsoft.com/Produc...k/Default.aspx

< th **** @ earthlink.net>在消息中写道

news:11 ********************* @ o13g2000cwo.googlegro ups.com ...
Please check the MSDN Product Feedback Center [1] where these issues have
been reported. If it has been recorded already Microsoft will have provided
some type of response. Then return here to let us all know if you found this
issue reported yet. Right?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://lab.msdn.microsoft.com/Produc...k/Default.aspx
<th****@earthlink.net> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
我们一直在使用ASP.NET 2.0站点地图功能,而我们目前所遇到的一个问题是需要能够生成一个包含web.sitemap文件的文件。包含查询字符串数据的URL。不幸的是,站点地图文件的
节点中的URL中存在查询字符串似乎打破了整个站点地图导航功能。

我没有在我面前的具体示例或错误消息
(虽然如果需要我可以得到它们)但是......还有其他人使用
网站地图URL与查询字符串一起工作ASP.NET 2.0并看到了这种问题,并且/或者发现了如何绕过它,或者至少知道它为什么会发生?

哦,我们目前正在使用.NET,VS,
和TFS的Beta 2版本,正在等待11月的RTM升级他们。如果这是一个Beta 2问题,在后续版本中已得到纠正,我们也会很高兴知道这一点。

谢谢。

- Tom Kiefer
We''ve been working with the ASP.NET 2.0 sitemap functionality, and one
problem we''re currently having is a need to be able to generate a
web.sitemap file that includes URLs containing querystring data.
Unfortunately, the presence of querystrings within the URLs in the
nodes of a sitemap file seems to break the whole sitemap navigation
functionality.

I don''t have the specific examples or error message in front of me
(although I can get ''em if needed), but... Has anyone else worked with
sitemap URLs with querystrings in ASP.NET 2.0 and seen this sort of
problem, and/or found out how to get around it, or at least know why it
happens?

Oh, and we''re currently working with the Beta 2 release of .NET, VS,
and TFS, awaiting the November RTM to upgrade the lot of ''em. If this
is a Beta 2 issue that''s been corrected in subsequent releases, we''d
appreciate knowing that, as well.

Thanks.

- Tom Kiefer



clintonG写道:
clintonG wrote:
请查看MSDN产品反馈中心[1]这些问题有报道......
Please check the MSDN Product Feedback Center [1] where these issues have
been reported...




克林顿,

是的,我熟悉MSDN产品反馈中心(我'已经找到

并在那之前发布了问题和建议),并且确实在那里找到了一条

的消息,似乎暗示带有查询字符串的网址应该是
可在站点地图节点中使用。 (有人无法获得这样的工作,但那是因为他没有对网站地图XML中的&符号进行URL编码

,这不是我们现在遇到的问题。)但是

没有别的东西看似相关。因此,我接下来在这里发布了问题

,以防其他人阅读可能有这样的问题,并且

也可能会在产品反馈中心发布。


- Tom Kiefer



Clinton,
Yes, I am familiar with the MSDN Product Feedback Center (I''ve found
and posted issues and suggestions there before), and did find one
message there that seemed to suggest that URLs with querystrings should
be usable in sitemap nodes. (Someone was having trouble getting such
to work, but that was because he wasn''t URL-encoding the ampersands
within the sitemap XML, which isn''t the problem we''re having now.) But
nothing else that seemed relevant. Thus, I next posted the question
here, in case anyone else reading might have had such problems, and
will likely post in the Product Feedback Center, as well.

- Tom Kiefer


汤姆,如果你有权访问MSDN订阅者下载,那么真的很棒/>
今晚晚些时候下载ASP.NET 2.0,它开始向订阅者发送

今天。这是找到的一种方法:-)


-

<%=克林顿加拉格尔

METROmilwaukee( sm)区域信息服务

NET csgallagher AT metromilwaukee.com

URL http://metromilwaukee.com/

URL http://clintongallagher.metromilwaukee.com/


< th **** @ earthlink.net>在消息中写道

news:11 ********************** @ g49g2000cwa.googlegr oups.com ...
Well Tom, if you have access to the MSDN Subscriber downloads stay up really
late tonight and download ASP.NET 2.0 which began shipping to subscribers
sometime today. That''s one way to find out :-)

--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


<th****@earthlink.net> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
clintonG写道:
clintonG wrote:
请查看MSDN产品反馈中心[1]报告这些问题......
Please check the MSDN Product Feedback Center [1] where these issues have
been reported...



Clinton,
是的,我熟悉MSDN产品反馈中心(我之前发现了
并在那里发布了问题和建议),并且确实在那里找到了一条似乎有建议的消息具有查询字符串的URL应该可以在站点地图节点中使用。 (有人在使用这样的工作时遇到了麻烦,但那是因为他没有对站点地图XML中的&符号进行URL编码,这不是我们现在遇到的问题。)但是
没有其他似乎相关的东西。因此,我接下来在这里发布了这个问题,以防其他人阅读可能有这样的问题,并且
也可能会在产品反馈中心发布。

- Tom Kiefer



Clinton,
Yes, I am familiar with the MSDN Product Feedback Center (I''ve found
and posted issues and suggestions there before), and did find one
message there that seemed to suggest that URLs with querystrings should
be usable in sitemap nodes. (Someone was having trouble getting such
to work, but that was because he wasn''t URL-encoding the ampersands
within the sitemap XML, which isn''t the problem we''re having now.) But
nothing else that seemed relevant. Thus, I next posted the question
here, in case anyone else reading might have had such problems, and
will likely post in the Product Feedback Center, as well.

- Tom Kiefer



这篇关于ASP.NET 2.0,Sitemaps和Querystrings的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆