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.

C# Project has auto generated classes, but what auto generated them? -


i working on project original developer on, on last couple of years 2 other developers have maintained , upgraded project.

there class files inside following @ top:

//------------------------------------------------------------------------------ // <auto-generated> //     code generated tool. //     runtime version:2.0.50727.1433 // //     changes file may cause incorrect behavior , lost if //     code regenerated. // </auto-generated> //------------------------------------------------------------------------------  using system.xml.serialization;  //  // source code auto-generated xsd, version=2.0.50727.1432. //  

any idea have generated these files? there issues inside 1 of them want clean up, says changes might overwritten.

it's xml schema definition tool. want clean up?

note 1 of operations performed xsd.exe "xsd classes", generated class files in question:

xsd classes
generates runtime classes xsd schema file. generated classes can used in conjunction system.xml.serialization.xmlserializer read , write xml code follows schema.

you should able change source xsd files, re-run xsd.exe in order change output while maintaining compatibility exe itself.


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 -