A tool for convert .net WebService(.asmx) to jquery AJAX code.
.Net WebService is something I find very convenience, service side of lots project on hand has adopted this technique.
Lately ajax has been used frequently. I've been thinking, how dose client side(.html) to call web service(.asmx) more faster.
Therefore "NO2AjaxGenerator" has been created.
The advantages as following:
1. Fastly generate javascript code to call the .Net WebService(.asmx).
2. Fully support intelligent sense of your customize object under javascript side on Visual Studio 2012.
3. Easy to use, passing parametes through JSON.
4. Having same experience in Javascript like coding in C#.
標籤: ASP.net , C# , OpenSource , WebService
[ASP.net] 關於ASP.net Chart Radar圖 的一些小東西(線的顏色、最大值、刻度消失)
最近在做一些外面的專案,對方需要統計一堆的圖,我才發現原來,ASP.net Chart 超級強大,但是太多枚枚角角
不記錄一下一定會忘記,拉入一個Chart 後調整type 為 Radar .
[C#] .net WebSerivce(.asmx) corss domain 的 is not allowed by Access-Control-Allow-Origin. 問題
使用AJAX 在呼叫WebService 的時候,在 Chrome 下面會出現
會出現
OPTIONS http://localhost:32350/TestService.asmx/GetAllUsers 200 (OK) jquery-1.9.1.min.js:5
XMLHttpRequest cannot load http://localhost:32350/TestService.asmx/GetAllUsers. Origin http://localhost:32537 is not allowed by Access-Control-Allow-Origin.
我測過Chrome 會出現這問題,至少還有錯誤訊息
Firefox之firebug 直接啥都沒出現,IE10 還會正常執行(真是厲害)
這要如何解決呢?!
標籤: .Net , ASP.net , C# , Javascript , WebService