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.

WCF Custom Header does not Appear in Service -


i wondering if came across issue , has answer or pointer. implemented iclientmessageinspector add header soap message on client. so, inside beforesendrequest call messageheader.createheader. seems work because see message in fiddler header in collection. on service side, have custom authenticationmanager. when service call enters implementation dont see header inserted. have feeling servicemodel stack skipping header during deserialization not sure. also, not sure on how fix if happening. maybe implement equivalent of iclientmessageinspector on service side?

any idea/pointers helpful.

in server-side wcf code, act upon soap header client (inserted iclientmessageinspector), have used implementation of idispatchmessageinspector. in afterreceiverequest() method, use request.headers.findheader() see if expected header present.


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 -