私はAtomフィードを読むために以下のコードを書いています。文の次のエラーの末尾に.NETでの原子フィードの読み方
string strUrL = "http://loluyede.blogspot.com/atom.xml";
WebRequest objWR = WebRequest.Create(strUrL);
WebProxy objWP = new WebProxy("strAddress", 1978);
objWP.Credentials = new NetworkCredential("username", "password");
objWR.Proxy = objWP;
StreamReader objSR = new StreamReader(objWR.GetResponse().GetResponseStream(), System.Text.Encoding.ASCII);
AtomFeed feed = AtomFeed.Load(objSR);
は
ERROR In Code:
The type initializer for 'Atom.Utils.DefaultValues' threw an exception.
ERROR
Server Error in '/WebAppUI' Application.
--------------------------------------------------------------------------------
Value cannot be null.
Parameter name: stream
ページ上の誰もが、私がしなければならないものを私に勧めています。
にthesyndication名前空間を見てくださいhttp://atomnet.sourceforge.net/ – Rup
はい!あなたは正しいです。私はAtom.NET.dllを使用しています – Sukhjeevan