小编Edg*_*gar的帖子

Windows Phone 7和System.Xml.Linq库

我正在尝试关注WP7开发的这个教程:http: //mobile.tutsplus.com/tutorials/windows/introduction-to-windows-mobile-7-development/

它正在谈论使用XElements,它需要System.Xml.Linq库,但我找不到将它添加到项目引用的方法.当我去添加引用时,.NET列表是空的,它说它被过滤到Windows Phone 7.

该教程可能已过时.该库甚至可用于WP7吗?是否有不同的方法在平台上读取XML?

我怎样才能让它运转起来?

编辑:

这里描述了同样的问题:http:
//forums.netduino.com/index.php?/ topic/1207-add-reference-net-tab-empty /

建议的修复程序对我不起作用.

编辑:

显然这是Silverlight 4工具中的一个错误:https: //connect.microsoft.com/VisualStudio/feedback/details/529718/empty-net-tab-when-adding-a-reference

c# reference windows-phone-7

4
推荐指数
2
解决办法
7081
查看次数

使用Steam API发送蒸汽优惠

我在Steam API方法中搜索发送Steam优惠并且无法找到.它可能与API或你知道其他方法吗?我想在PHP/Symfony中使用它.

php steam-web-api steam

4
推荐指数
1
解决办法
6237
查看次数

如何版MVC JavaScript包括

可能重复:
强制浏览器在asp.net应用程序中获取最新的js和css文件

我正在和别人的代码一起工作,所以我不知道整个画面,我甚至不知道MVC那么好,但问题在于......

在Site.Master中有一个

<%= Html.IncludeJs("ProductPartial")%>
Run Code Online (Sandbox Code Playgroud)

在最终加价中产生这条线

<script type="text/javascript" src="/Scripts/release/ProductPartial.js"></script>
Run Code Online (Sandbox Code Playgroud)

我在JS文件中做了一些更改,但旧版本显然是由浏览器缓存的,因此在用户刷新之前不会显示更改.通常的解决方法是在脚本源路径的末尾添加一个版本标记,但我不知道在这种情况下如何做到这一点.

有什么建议?

javascript asp.net-mvc

2
推荐指数
2
解决办法
5802
查看次数

为什么我的intellisense没有列出HttpWebRequest.GetResponse方法?

using System;
using System.Net;
using System.Xml.Linq;


namespace PhoneApp1
{
    public class ABC
    {
        //constructor

        public ABC()
        {


        }

        void abc()
        {
            String url = "";

            HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
            HttpWebResponse resp = (HttpWebResponse)req.GetRepsonse(); //why a wiggly line here?
            XDocument Xmldoc = XDocument.Load(url);
        }
Run Code Online (Sandbox Code Playgroud)

我没有得到GetResponse()这个req对象.为什么会这样?

这个链接和许多链接说它应该是可能的.

c# httpwebrequest getresponse windows-phone-7

0
推荐指数
1
解决办法
515
查看次数