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.

How to deploy database on unit testing -


i have run integration unit tests (not database test). project in visual studio 2010.

i have database project setup.

  1. how can deploy database before running integration or unit tests?
  2. how can deploy database when building solution in tfs 2010?

please help

we're using visual studio 2010 application , database development. have tried having database project within application solution , having independent solutions. ended keeping them separated. deploy database our development environments directly visual studio using "deploy solution" option. database project properties has "create deployment script (.sql) , deploy database" option on deploy tab. deploy database ever environment configured. it's manual step.

when database project part of solution application project(s) gets deployed part of rest of project.

the real work in getting continuous integration working time either project has check-in built, tested , deployed ci environment. decided go ahead , unit test our stored procedures in database project.

the build agent calls command line vsdbcmd our particular set of parameters deploy databse ci environment.


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 -