資源描述:
《Beginners-guide-to-visual-studio-lightswitch》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、BeginnersGuidetoVisualStudioLightSwitch(Part-1)VisualStudioLightSwitchisanewtoolforbuildingdata-drivenSilverlightApplicationusingVisualStudioIDE.ItautomaticallygeneratestheUserInterfaceforaDataSourcewithoutwritinganycode.Youcanwriteasmallamountofcodealsotomeetyourrequirement.Recently,Igotsometim
2、etoexploreVisualStudioLightSwitch.IcreatedasmallDBapplicationwithproperdatainsertingUIwithinasmallamountoftime(withoutanyXAMLorC#code).Hereinthisarticle,Iwillguideyoutounderstanditwiththehelpofasmallapplication.Therewillbeaseriesofarticlesonthistopicregularly.Readthecompletearticletolearnaboutcr
3、eatingaSilverlightdatadrivenapplicationwiththehelpofVisualStudioLightSwitch.SettingupLightSwitchEnvironmentMicrosoftVisualStudioLightSwitchBeta1isaflexible,businessapplicationdevelopmenttoolthatallowsdevelopersofallskilllevelstoquicklybuildanddeployprofessional-qualitydesktopandWebbusinessapplic
4、ations.TostartwithLightSwitchapplicationdevelopment,youneedtoinstalltheVisualStudioLightSwitchinyourdevelopmentmachine.Todoso,followthebelowsteps:?InstallVisualStudio2010?InstallVisualStudioLightSwitchTheLightSwitchinstallationwillinstallallothercomponentstoyourPConebyoneincludingSQLExpress,Silv
5、erlight4,LightSwitchBetaserveretc.YoucandownloadtheLightSwitchBeta1fromhere:MicrosoftDownloadCenter(VisualStudioLightSwitchBeta1)CreatingaLightSwitchProjectOnceyouinstalledVisualStudioLightSwitch,RuntheProducttocreateanewproject.GotoFile–>New–>ProjectorpressCtrl+Shift+Ntoopenthe“NewProject”.From
6、theleftpanel,select“LightSwitch”.Intherightpane,itwillfiltertheLightSwitchprojecttemplates.ThiswillincludeoftypeVB&C#.Selectyourrespectivetype.HereIwillusetheC#version.IntheabovedialogWindow,enterthenameoftheproject,selectproperlocationfortheprojecttocreateandhit“Ok”.ThiswillcreatetheblankLightS
7、witchprojectforyoubytheVisualStudio2010IDE.Itwilltakesometimefortheprojectcreation.So,bepatient.CreateaDatabaseTableAftertheprojecthasbeencreatedbytheIDE,itwillopenupthefollowingscreen:Youcanseethat,ithastwooptionsintheUI.Yo