Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

json rpc - When implementing a JSONRPC 2.0 server, is it required to support both named, and positional arguments? -


according spec here: http://groups.google.com/group/json-rpc/web/json-rpc-2-0

more specifically, section:

if present, parameters rpc call must provided structured value. either by-position through array or by-name through object.

to me seems obvious both styles must supported, i've filed bug report , developer feels it's developers decide method support, , spec doesn't require both.

i can't find official answer, other quoted above, other developer doesn't interpret same way do.

so, general consensus?

i agree fully, outlined in above documentation. word "must" in 4.2 sentence 1 requires "structured value". "structured value" later defined second sentence. ignore 1 of options change definition of "structured value" violation of json-rpc 2.0 specification

  1. if present, parameters rpc call must provided structured value.
  2. either by-position through array or by-name through object.

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -