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.

CK metrics from C# project with Ndepend -


i have project school. need make report of metrics ck (chidamber kemerer metrics). report has table of metrics. question how make ndepend report generates not looking for.

please , how it... maybe tips, documents or important...

ok, if talking of these chidamber kemerer metrics, ndepend ability write code queries , rules on linq queries (cqlinq) answer needs. example:

wmc weighted methods per class

warnif count > 0  t in application.types let methods = t.methods    .where(m => !m.ispropertygetter &&                 !m.ispropertysetter &&                !m.isconstructor) methods.count() > 20 orderby methods.count() descending select new { t, methods } 

dit depth of inheritance tree

warnif count > 0  t in justmycode.types  t.isclass let baseclasses = t.baseclasses.exceptthirdparty() baseclasses.count() >= 5 select new { t, baseclasses,                  // metric value depthofinheritance takes account                 // of third-party base classes                 t.depthofinheritance  } 

noc number of children

from t in types  t.isclass let childclasses = t.derivedtypes childclasses.count() > 0 orderby childclasses.count() descending  select new { t, childclasses } 

cbo coupling between object classes

from t in application.types  let typesused = t.typesused.exceptthirdparty() orderby typesused.count() descending  select new { t, typesused } 

and on...


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 -