- Cannot serialize member ... , because it implements IDictionary. [Error Message]
.NET Web Service support XML Soap, and IDictionary is one that can't serialized. So, be careful when define the parameter and return value. - XML Serialize IDictionary types (Hashtable, DictionaryBase etc.)
- XmlSerialization with IDictionary and CollectionBase Objects
- Or just rewrite the data entry/ data structure
- Change web service to be Remoting : An Introduction to Microsoft .NET Remoting Framework
- Visual Studio 2008, Build a signed project and also build a testing project, Error happened when trying to build the solution: "Friend assembly reference is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations."
I believe that could be fix in the Visual Studio Add on or something else, I add the PublicKeyToken and all running well. - InternalsVisibleTo and Strong-Name signed assemblies
- InternalsVisibleTo and strong names
- Debugging Unit Tests in Visual Studio 2008 and ASP.Net
- Install upgrade license into Community Server.
The stuff will send you an XML file, please check the content before install the license key file. There are plain text to define the key attribute. Check the data is correct, else the system will only show the error message and advice you to contact sales, and CAN'T ROLLBACK, your system will be have one page with error message and can't do anything....
12.18.2008
Some experiences I made recently (12/2008)
12.15.2008
WPF
There are no open file/folder dialog control in the toolbox when developing WPF project. but we can instead of Microsoft.Win32.OpenFileDialog.
WPF also can using BackgroundWorker to do working in background (working thread), only the plug the event method and running smoothly.
12.07.2008
2008/12/8
台灣盤應該還是在觀望, 所以應該又是先黑再盤吧, 所以決定先看早盤再說.
至於禮拜五的Dow, 應該是這些人已經覺得8號的bailout一定會過吧, 只是或多或少的問題.
今天有看到一篇, Mortgage forgiveness as a tax hike, 值得深思. reference : http://www.chicagotribune.com/news/nationworld/chi-oped1205forgivedec05,0,6266498.story
12.04.2008
2008/12/5
Dow –> 8,618.53, +26.84. 12:27AM GMT+8, 還在盤…
本來以為明天可以買進, 剛剛看了幾篇東西有疑慮
http://mjperry.blogspot.com/2008/12/october-housing-affordability-surges-to.html
http://mjperry.blogspot.com/2008/12/mortgage-applications-break-record.html
感覺上信貸危機應該不會在元旦前出現.
不過感覺上5/12 失業率不會太難看... MJ的東西, 新聞不會報, 不過相對來說, 可能只是貸款轉換, 換句話說, 只是用人參吊最後一口氣.
因為美國央行利率調到快變0, 撐著, 貸款才還得起來, 如果這個因素 可以解釋的話. 那空01/09 還是比較妥當. 所以明天先出手一半好了, 轉買1月的put單.
http://money.cnn.com/2008/12/04/news/economy/jobless_claims/index.htm
感覺效應不大, 畢竟CNN新聞都出來打預防針了
http://tw.stock.yahoo.com/news_content/url/d/a/081204/1/196wx.html
台灣也有報導, 所以看來幅度不會太大.
10.29.2008
BDE, Oracle, Invalid Filename
When the new computer just install the Oracle client and the BCB6 (BDE), and BDE pop up an error message “Invalid Filename” when change the server. Here is a simple check point before dive into the Oracle configuration or BDE configuration.
Click the Object in the BDE menu, and point the existing SqlPlus execute file, and try it again.
If got the error message still, maybe try to add the system variable ORACLE_HOME, as this post, and here is the reference to edit the registry.
10.27.2008
Innovation, pptPlex.
Recently, Microsoft Office Labs release an innovation plugging for PowerPoint, pptPlex. That’s really what I want. It made the presentation more fun, more flexibility… Actually, I want this function for a long time.
I can fill my slide with more tech detail, a huge roadmap picture, project detail… because I can zoom it smoothly. I can talk about the overview and down to the detail just one click. What the fantastical function!
When I pass this to my friend, the plugging and the installer which convert PPT to PDF or XPS and told him this is a cool tool for presentation. In the first time, he replied me “why is it cool? save as PDF or XPS”. At the moment, I realize the function is base on a normal technique, and bring the different view of the existed stuff. I thought, this is the innovation.
10.01.2008
暗度陳倉
很多時候, 我們都可以在現實的世界中偷學到怎咪處理專案中跟客戶應對的方式. 以下用故事說明:
現在有個case, PM跟老闆提出一個Solution A, 但是客戶那邊分兩派, Alpha派支持, 但Beta派強力反對. 針對這個Solution A的爭議不斷, 但是PM跟老闆又很想推這個Solution, 我們當嘍嘍是不知道這個Solution會賺多少, 不過拿人薪水就要做事的道理到是還懂, 所以就要盡力想辦法.
這時候, 客戶那邊突然發生了一個因為這個case還沒ready所產生的小問題, 像是未自動化帶來的人工支出. 這時侯老闆跟PM看機不可失, 於是大家想了個辦法說要去幫忙客戶解決, 這時候我們當嘍嘍的就可以用下面這一段話來跟客戶說明:
我們都知道這個A solution爭議大, 所以現在沒有用A Solution, ,就算Project B有使用原本Solution A的概念,也並不表示未來就是Solution A的一部分。PM的指示是,Project B必須要有Solution A水準;若未來有機會起Solution A,這Project B也能納入、不致浪費。
於是, Project B就進去客戶那邊開發了, 想當然, 不久, Solution A的爭議就可以無疾而終, 畢竟Project B都上線了.
這個故事呢, 重點是那個話術, 怎咪利用這種話術讓客戶覺得很爽, 然後我們暗爽, 這個就是重點了. 不過講到這邊, 我們要感謝現實中的導師. 大家可以參考這裡. 下面是相對應的應用.
XXX指出,蘇花高環差分析爭議大,目前根本沒有蘇花高,就算替代道路使用原本蘇花高路廊,也並不表示未來就是蘇花高的一段。劉揆的指示是,替代道路必須要有高速公路水準;如果未來有機會在蘇澳到花蓮間興建高速公路,這條替代道路也能納入、不致浪費。