MCAD/MCSD:VisualBasic
.NETXMLWebServicesand
ServerComponentsStudy
Guide
byPamelaFanstill, ISBN:0782141935
Brian
ReismanandMitch
Ruebush
Sybex©2003(598pages)
Thisbookpreparesyoufor
DevelopingXMLWebServices
andServerComponentswith
MicrosoftVisualBasic.NETand
theMicrosoft.NETFramework
exam(70-310).
TableofContents BackCover
TableofContents
MCAD/MCSD—VisualBasic.NETXML
WebServicesandServerComponents
StudyGuide
Introduction
AssessmentTest
CreatingandManaging
Chapter1 WindowsServices
CreatingandManaging
Chapter2 ServicedComponents
CreatingandManaging
Chapter3 .NETRemotingObjects
CreatingandManaging
XMLWebServices
Workingwiththe.NET
Chapter5 DataProviders
Chapter6 - WorkingwiththeDataSet
Chapter7 - WorkingWithXMLData
Chapter8 - TestingandDebugging
OverviewofSecurity
Chapter9 Concepts
Deploying,Securing,and
Chapter10 - ConfiguringWindowsBasedApplications
DeployingandSecuring
Chapter11 XMLWebServices
Glossary
Index
ListofFigures
ListofTables
ListofListings
ListofExercises
ListofSidebars
Chapter4 -
MCAD/MCSD:VisualBasic
.NETXMLWebServicesand
ServerComponentsStudy
Guide
byPamelaFanstill, ISBN:0782141935
Brian
ReismanandMitch
Ruebush
Sybex©2003(598pages)
Thisbookpreparesyoufor
DevelopingXMLWebServices
andServerComponentswith
MicrosoftVisualBasic.NETand
theMicrosoft.NETFramework
exam(70-310).
TableofContents
BackCover
BackCover
Here’sthebookyouneedtoprepareforthe
DevelopingXMLWebServicesandServerComponents
withMicrosoftVisualBasic.NETandtheMicrosoft.NET
Frameworkexam(70-310).ThisStudyguideprovides:
In-depthcoverageofofficialexamobjectives
PracticalinformationonWebservicesandserver
components
Hands-onexercisesdesignedtogiveyoutheskills
neededtoapproachtheexamswithconfidence
Authoritativecoverageofallexamobjectives,
including:
CreatingandmanagingMicrosoftWindowsservices,
servicedcomponents,.NETremotingobjects,and
XMLWebservices
Consumingandmanipulatingdata
TestingandDebugging
DeployingWindowsservices,servicedcomponents,
.NETRemotingObjects,andXMLWebServices
AbouttheAuthors
PamelaFanstill,MCSD,MCT,hasover20years’
experienceinIT.Sheisafull-timetrainer,specializing
inVisualBasic,XML,ActiveServerPages,andSQL
Server.Pamisalsoatechnicalcontributorfor
Microsoft’sCertificationandTraininggroup.Brian
Reisman,MCSD,MCT,isoneofthefewMCTsapproved
topresenttheMicrosoft.NETDeveloperTrainingTour.
MitchRuebush,MCSD,MCT,hasover20yearsIT
experience,andhasbeenworkingwithVisualBasic
sinceversion3.BothBrianandMitchareco-authorsof
MCAD/MCSD:VisualBasic.NETWindowsandWeb
ApplicationStudyGuidefromSybex.
MCAD/MCSD-VisualBasic.NETXMLWeb
ServicesandServerComponentsStudyGuide
PamelaFanstillwithBrianReisman
andMitchRuebush
AssociatePublisher:NeilEdde
AcquisitionsandDevelopmentalEditor:JeffKellum
ProductionEditor:LizBurke
TechnicalEditor:HelenO'Boyle,GordMaric,MikeStover
Copyeditor:SharonWilkey
Compositor:InteractiveCompositionCorporation
GraphicIllustrator:InteractiveCompositionCorporation
CDCoordinator:DanMummert
CDTechnician:KevinLy
Proofreaders:NancyRiddiough,SarahTannehill,EmilyHsuan
Indexer:TedLaux
BookDesigner:BillGibson
CoverDesigner:ArcherDesign
CoverIllustrator/Photographer:GeorgetteDouwma,FPGInternational
Copyright©2003SYBEXInc.,1151MarinaVillageParkway,Alameda,
CA94501.Worldrightsreserved.(forbookswithreusablecodeonthe
CD)Theauthor(s)createdreusablecodeinthispublicationexpresslyfor
reusebyreaders.Sybexgrantsreaderslimitedpermissiontoreusethe
codefoundinthispublicationoritsaccompanyingCD-ROMsolongas
theauthor(s)areattributedinanyapplicationcontainingthereusable
codeandthecodeitselfisneverdistributed,postedonlinebyelectronic
transmission,sold,orcommerciallyexploitedasastand-aloneproduct.
Asidefromthisspecificexceptionconcerningreusablecode,nopartof
thispublicationmaybestoredinaretrievalsystem,transmitted,or
reproducedinanyway,includingbutnotlimitedtophotocopy,
photograph,magnetic,orotherrecord,withouttheprioragreementand
writtenpermissionofthepublisher.
LibraryofCongressCardNumber:2002116885
ISBN:0-7821-4193-5
SYBEXandtheSYBEXlogoareeitherregisteredtrademarksor
trademarksofSYBEXInc.intheUnitedStatesand/orothercountries.
ScreenreproductionsproducedwithFullShot99.FullShot99©19911999InbitIncorporated.Allrightsreserved.
FullShotisatrademarkofInbitIncorporated.
TheCDinterfacewascreatedusingMacromediaDirector,COPYRIGHT
1994,1997-1999MacromediaInc.FormoreinformationonMacromedia
andMacromediaDirector,visit.
Internetscreenshot(s)usingMicrosoftInternetExplorer6.0reprintedby
permissionfromMicrosoftCorporation.
Microsoft®InternetExplorer©1996MicrosoftCorporation.Allrights
reserved.Microsoft,theMicrosoftInternetExplorerlogo,Windows,
WindowsNT,andtheWindowslogoareeitherregisteredtrademarksor
trademarksofMicrosoftCorporationintheUnitedStatesand/orother
countries.
SYBEXisanindependententityfromMicrosoftCorporation,andnot
affiliatedwithMicrosoftCorporationinanymanner.Thispublicationmay
beusedinassistingstudentstoprepareforaMicrosoftCertified
ProfessionalExam.NeitherMicrosoftCorporation,itsdesignatedreview
company,norSYBEXwarrantsthatuseofthispublicationwillensure
passingtherelevantexam.Microsoftiseitheraregisteredtrademarkor
trademarkofMicrosoftCorporationintheUnitedStatesand/orother
countries.
TRADEMARKS:SYBEXhasattemptedthroughoutthisbookto
distinguishproprietarytrademarksfromdescriptivetermsbyfollowingthe
capitalizationstyleusedbythemanufacturer.
Theauthorandpublisherhavemadetheirbesteffortstopreparethis
book,andthecontentisbaseduponfinalreleasesoftwarewhenever
possible.Portionsofthemanuscriptmaybebaseduponpre-release
versionssuppliedbysoftwaremanufacturer(s).Theauthorandthe
publishermakenorepresentationorwarrantiesofanykindwithregardto
thecompletenessoraccuracyofthecontentshereinandacceptno
liabilityofanykindincludingbutnotlimitedtoperformance,
merchantability,fitnessforanyparticularpurpose,oranylossesor
damagesofanykindcausedorallegedtobecauseddirectlyorindirectly
fromthisbook.
ManufacturedintheUnitedStatesofAmerica
10987654321
SoftwareLicenseAgreement:TermsandConditions
Themediaand/oranyonlinematerialsaccompanyingthisbookthatare
availablenoworinthefuturecontainprogramsand/ortextfiles(the
'Software')tobeusedinconnectionwiththebook.SYBEXherebygrants
toyoualicensetousetheSoftware,subjecttothetermsthatfollow.Your
purchase,acceptance,oruseoftheSoftwarewillconstituteyour
acceptanceofsuchterms.
TheSoftwarecompilationisthepropertyofSYBEXunlessotherwise
indicatedandisprotectedbycopyrighttoSYBEXorothercopyright
owner(s)asindicatedinthemediafiles(the'Owner(s)').Youarehereby
grantedasingle-userlicensetousetheSoftwareforyourpersonal,
noncommercialuseonly.Youmaynotreproduce,sell,distribute,publish,
circulate,orcommerciallyexploittheSoftware,oranyportionthereof,
withoutthewrittenconsentofSYBEXandthespecificcopyrightowner(s)
ofanycomponentsoftwareincludedonthismedia.
IntheeventthattheSoftwareorcomponentsincludespecificlicense
requirementsorend-useragreements,statementsofcondition,
disclaimers,limitationsorwarranties('End-UserLicense'),thoseEndUserLicensessupersedethetermsandconditionshereinastothat
particularSoftwarecomponent.Yourpurchase,acceptance,oruseofthe
SoftwarewillconstituteyouracceptanceofsuchEnd-UserLicenses.
Bypurchase,useoracceptanceoftheSoftwareyoufurtheragreeto
complywithallexportlawsandregulationsoftheUnitedStatesassuch
lawsandregulationsmayexistfromtimetotime.
ReusableCodeinThisBook
Theauthor(s)createdreusablecodeinthispublicationexpresslyfor
reusebyreaders.Sybexgrantsreaderslimitedpermissiontoreusethe
codefoundinthispublication,itsaccompanyingCD-ROMoravailablefor
downloadfromourwebsitesolongastheauthor(s)areattributedinany
applicationcontainingthereusablecodeandthecodeitselfisnever
distributed,postedonlinebyelectronictransmission,sold,or
commerciallyexploitedasastand-aloneproduct.
SoftwareSupport
ComponentsofthesupplementalSoftwareandanyoffersassociated
withthemmaybesupportedbythespecificOwner(s)ofthatmaterial,but
theyarenotsupportedbySYBEX.Informationregardinganyavailable
supportmaybeobtainedfromtheOwner(s)usingtheinformation
providedintheappropriateread.mefilesorlistedelsewhereonthe
media.
Shouldthemanufacturer(s)orotherOwner(s)ceasetooffersupportor
declinetohonoranyoffer,SYBEXbearsnoresponsibility.Thisnotice
concerningsupportfortheSoftwareisprovidedforyourinformationonly.
SYBEXisnottheagentorprincipaloftheOwner(s),andSYBEXisinno
wayresponsibleforprovidinganysupportfortheSoftware,norisitliable
orresponsibleforanysupportprovided,ornotprovided,bytheOwner(s).
Warranty
SYBEXwarrantstheenclosedmediatobefreeofphysicaldefectsfora
periodofninety(90)daysafterpurchase.TheSoftwareisnotavailable
fromSYBEXinanyotherformormediathanthatenclosedhereinor
postedtowww.sybex.com.Ifyoudiscoveradefectinthemediaduring
thiswarrantyperiod,youmayobtainareplacementofidenticalformatat
nochargebysendingthedefectivemedia,postageprepaid,withproofof
purchaseto:
SYBEXInc.
ProductSupportDepartment
1151MarinaVillageParkway
Alameda,CA94501
Web:
Afterthe90-dayperiod,youcanobtainreplacementmediaofidentical
formatbysendingusthedefectivedisk,proofofpurchase,andacheck
ormoneyorderfor$10,payabletoSYBEX.
Disclaimer
SYBEXmakesnowarrantyorrepresentation,eitherexpressedor
implied,withrespecttotheSoftwareoritscontents,quality,performance,
merchantability,orfitnessforaparticularpurpose.Innoeventwill
SYBEX,itsdistributors,ordealersbeliabletoyouoranyotherpartyfor
direct,indirect,special,incidental,consequential,orotherdamages
arisingoutoftheuseoforinabilitytousetheSoftwareoritscontents
evenifadvisedofthepossibilityofsuchdamage.Intheeventthatthe
Softwareincludesanonlineupdatefeature,SYBEXfurtherdisclaimsany
obligationtoprovidethisfeatureforanyspecificdurationotherthanthe
initialposting.
Theexclusionofimpliedwarrantiesisnotpermittedbysomestates.
Therefore,theaboveexclusionmaynotapplytoyou.Thiswarranty
providesyouwithspecificlegalrights;theremaybeotherrightsthatyou
mayhavethatvaryfromstatetostate.Thepricingofthebookwiththe
SoftwarebySYBEXreflectstheallocationofriskandlimitationson
liabilitycontainedinthisagreementofTermsandConditions.
SharewareDistribution
ThisSoftwaremaycontainvariousprogramsthataredistributedas
shareware.Copyrightlawsapplytobothsharewareandordinary
commercialsoftware,andthecopyrightOwner(s)retainsallrights.Ifyou
tryasharewareprogramandcontinueusingit,youareexpectedto
registerit.Individualprogramsdifferondetailsoftrialperiods,
registration,andpayment.Pleaseobservetherequirementsstatedin
appropriatefiles.
CopyProtection
TheSoftwareinwholeorinpartmayormaynotbecopy-protectedor
encrypted.However,inallcases,resellingorredistributingthesefiles
withoutauthorizationisexpresslyforbiddenexceptasspecifically
providedforbytheOwner(s)therein.
ThisbookisdedicatedtoBillCarn,whotaughtmetohavefaithinmy
ownabilities.Thankyouforallyoursupportovertheyears.
-PamelaFanstill
Acknowledgments
IwouldliketothanktheeditorialteamatSybexforalltheirhelpand
guidanceandforgivingmetheopportunitytowritemyfirstbook.Jeff
Kellum,theacquisitionsanddevelopmentaleditor,hasbeenwiththis
projectfromstarttofinish.Jeffdidagreatjobofteachingmeaboutthe
authoringprocessandhowtocreatelogicalflowandstructureforeach
chapterandthebookasawhole.LizBurke,theproductioneditor,and
SharonWilkey,thecopyeditor,alsomadeexcellentcontributionstothe
accuracyandconsistencyofthismaterial.Manythankstoallofyou.
Ialsosendsincerethankstomyhardworkingtechnicaleditors,Helen
O'Boyle,MikeStover,andKyleBurns.Theywereresponsiblefortesting
alloftheexercisesandcodefoundinthebook,andmakingsurethatmy
factsandexplanationswereontarget.SpecialthankstoHelenforher
securityexpertiseandformakingamajorcontributionbyoutliningand
draftingChapter9.
Mycoauthors,BrianReismanandMitchRuebush,alsohavemydeepest
gratitude,forsteppinginlateintheprocess(afterjustcompletingworkon
theirownbook)totakeoverChapters10and11andtokeepour
scheduleontrack.
Iwouldalsoliketothanksomefriendswhoprovidedtheencouragement
toundertakethisprojectinthefirstplace.MydiscussionswithJoeKaram
overtheyearshavespurredmyinterestinthenewesttechnologiesand
encouragedmetofocusmyworkinthe.NETdirection.Joealsohelped
metoclarifymyapproachtothematerialinthisbookandprovided
feedbackonmyfirstdrafts.TcatHouserismyfriendandcoach,whokept
melaughingandhelpedmewiththemanychallengesIfacedin
completingthiswork.
Iwouldalsoliketothankmyfamily-mymother,MarionFanstill,andmy
son,TobiasRitter,fortheirsupportandunderstandingduringthisproject.
ToOurValuedReaders:
ThankyouforlookingtoSybexforyourMicrosoftcertificationexamprep
needs.WeatSybexareproudofthereputationwe'veestablishedfor
providingcertificationcandidateswiththepracticalknowledgeandskills
neededtosucceedinthehighlycompetitiveITmarketplace.
WebelievethattheMCSDprogram,recentlyupdatedforVisualStudio
.NET,betterreflectstheskillsetdemandedofdevelopersintoday's
marketplaceandofferscandidatesaclearerstructureforacquiringthe
skillsnecessarytoadvancetheircareers.Andwiththeirrecentcreation
oftheMCADprogram,Microsoftprogrammerscannowchoosetopursue
thecertificationthatbestsuitstheircareergoals.
JustasMicrosoftiscommittedtoestablishingmeasurablestandardsfor
certifyingdevelopers,Sybexiscommittedtoprovidingthose
professionalswiththemeansofacquiringtheskillsandknowledgethey
needtomeetthosestandards.
TheSybexteamofauthors,editors,andtechnicalreviewershaveworked
hardtoensurethatthisStudyGuideiscomprehensive,in-depth,and
pedagogicallysound.We'reconfidentthatthisbook,alongwiththe
collectionofcutting-edgesoftwarestudytoolsincludedontheCD,will
meetandexceedthedemandingstandardsofthecertification
marketplaceandhelpyou,theMicrosoftcertificationexamcandidate,
succeedinyourendeavors.
GoodluckinpursuitofyourMCADorMCSDcertification!
NeilEdde
AssociatePublisher-Certification
Sybex,Inc.
MCAD/MCSD:VisualBasic.NETXMLWebServicesandServer
ComponentsStudyGuideExam70-310
Objective
CreatingandManagingMicrosoft
Windows®Services,Serviced
Components,.NETRemotingObjects,
andXMLWebServices
CreateandmanipulateaWindows
service.
Writecodethatisexecutedwhena
Windowsserviceisstartedorstopped.
Chapter
1
Createandconsumeaserviced
component.
Implementaservicedcomponent;Create
interfacesthatarevisibletoCOM;Create
astronglynamedassembly;Registerthe
componentintheglobalassemblycache;
Managethecomponentbyusingthe
ComponentServicestool.
2
Createandconsumea.NETRemoting
object.
Implementserver-activatedcomponents;
Implementclient-activatedcomponents;
Selectachannelprotocolandaformatter.
ChannelprotocolsincludeTCPandHTTP.
FormattersincludeSOAPandbinary;
Createclientconfigurationfilesandserver
configurationfiles;Implementan
asynchronousmethod;Createthelistener
service;Instantiateandinvokea.NET
Remotingobject.
CreateandconsumeanXMLWeb
3
service.
ControlcharacteristicsofWebmethodsby
usingattributes;CreateanduseSOAP
extensions;CreateasynchronousWeb
methods;ControlXMLwireformatforan
XMLWebservice;Instantiateandinvoke
anXMLWebservice.
4
ImplementsecurityforaWindowsservice,
aservicedcomponent,a.NETRemoting
object,andanXMLWebservice.
1,9
AccessunmanagedcodefromaWindows
service,aservicedcomponent,a.NET
Remotingobject,andanXMLWeb
service.
2
ConsumingandManipulatingData
Accessandmanipulatedatafroma
MicrosoftSQLServer™databaseby
creatingandusingadhocqueriesand
storedprocedures.
5
CreateandmanipulateDataSets.
ManipulateaDataSetschema;Manipulate
DataSetrelationships;Createastrongly
typedDataSet.
6,7
AccessandmanipulateXMLdata.
AccessanXMLfilebyusingthe
DocumentObjectModel(DOM)andan
XmlReader;TransformDataSetdatainto
XMLdata;UseXPathtoqueryXMLdata;
GenerateanduseanXSDschema;Write
aSQLstatementthatretrievesXMLdata
fromaSQLServerdatabase;Updatea
SQLServerdatabasebyusingXML;
ValidateanXMLdocument.
7
TestingandDebugging
Createaunittestplan.
8
Implementtracing.
Configureandusetracelistenersand
traceswitches;Displaytraceoutput.
8
InstrumentanddebugaWindowsservice,
aservicedcomponent,a.NETRemoting
object,andanXMLWebservice.
Configurethedebuggingenvironment;
Createandapplydebuggingcodeto
componentsandapplications;Provide
multiculturaltestdatatocomponentsand
applications;Executetests.
1,8
Useinteractivedebugging.
8
Logtestresults.
Resolveerrorsandreworkcode;Control
debuggingintheWeb.configfile;Use
SOAPextensionsfordebugging.
8
DeployingWindowsServices,ServicedComponents,.NET
RemotingObjects,andXMLWebServices
Planthedeploymentofanddeploya
Windowsservice,aservicedcomponent,
a.NETRemotingobject,andanXMLWeb
service.
Createasetupprogramthatinstallsa
Windowsservice,aservicedcomponent,
a.NETRemotingobject,andanXMLWeb
service.
10
11
10
11
Registercomponentsandassemblies.
PublishanXMLWebservice.
Enablestaticdiscovery;PublishXMLWeb
11
servicedefinitionsintheUDDI.
Configureclientcomputersandserversto
useaWindowsservice,aserviced
component,a.NETRemotingobject,and
anXMLWebservice.
1
Implementversioning.
10
Plan,configure,anddeployside-by-side
deploymentsandapplications.
10
ConfiguresecurityforaWindowsservice,
aservicedcomponent,a.NETRemoting
object,andanXMLWebservice
Configureauthenticationtype.
AuthenticationtypesincludeWindows
authentication,Microsoft.NETPassport,
customauthentication,andnone;
Configureandcontrolauthorization.
Authorizationmethodsincludefile-based
authorizationandURL-based
authorization;Configureandimplement
identitymanagement.
9
10
Note Examobjectivesaresubjecttochangeatanytimewithoutprior
noticeandatMicrosoft'ssolediscretion.PleasevisitMicrosoft's
Website(www.microsoft.com/traincert)forthemostcurrent
listingofexamobjectives.
Introduction
MicrosoftCertifiedApplicationDeveloper(MCAD)andMicrosoftCertified
SolutionDeveloper(MCSD)tracksforVisualStudio.NETarethepremier
certificationsforprogrammingprofessionals.Coveringthecore
technologiesaroundwhichMicrosoft'sfuturewillbebuilt,theseprograms
arepowerfulcredentialsforcareeradvancement.
Thisbookhasbeendevelopedtogiveyouthecriticalskillsand
knowledgeyouneedtoprepareforDevelopingXMLWebServicesand
ServerComponentswithMicrosoftVisualBasic.NETandtheMicrosoft
.NETFramework(exam70-310).
TheMicrosoftCertifiedProfessionalProgram
Sincetheinceptionofitscertificationprogram,Microsofthascertified
almost1.5millionpeople.Asthecomputernetworkindustrygrowsin
bothsizeandcomplexity,thisnumberissuretogrow-andtheneedfor
provenabilitywillalsoincrease.Companiesrelyoncertificationstoverify
theskillsofprospectiveemployeesandcontractors.
MicrosofthasdevelopeditsMicrosoftCertifiedProfessional(MCP)
programtogiveyoucredentialsthatverifyyourabilitytoworkwith
Microsoftproductseffectivelyandprofessionally.ObtainingyourMCP
certificationrequiresthatyoupassanyoneMicrosoftcertificationexam.
Severallevelsofcertificationareavailablebasedonspecificsuitesof
exams.Dependingonyourareasofinterestorexperience,youcan
obtainanyofthefollowingMCPcredentials:
MicrosoftCertifiedApplicationDeveloper(MCAD)Thistrackis
designedforapplicationdevelopersandtechnicalconsultantswho
primarilyuseMicrosoftdevelopmenttools.Currently,youcantakeexams
onVisualBasic.NETorVisualC#.NET.Youmusttakeandpassthree
examstoobtainyourMCADcertification.
MicrosoftCertifiedSolutionDeveloper(MCSD)Thistrackisdesigned
forsoftwareengineers,developers,andtechnicalconsultantswho
primarilyuseMicrosoftdevelopmenttools.Currently,youcantakeexams
onVisualBasic.NETandVisualC#.NET.Youmusttakeandpassfive
examstoobtainyourMCSDcertification.
MicrosoftCertifiedDatabaseAdministrator(MCDBA)Thistrackis
designedfordatabaseadministrators,developers,andanalystswho
workwithMicrosoftSQLServer.Asofthisprinting,youcantakeexams
oneitherSQLServer7orSQLServer2000.Youmusttakeandpassfour
examstoachieveMCDBAstatus.
Note BoththeDevelopingWebApplicationsandDeveloping
WindowsApplicationsexamscancountasanelectiveforyour
MCDBA.
MicrosoftCertifiedSystemAdministrator(MCSA)TheMCSA
certificationisthelatestcertificationtrackfromMicrosoft.This
certificationtargetssystemandnetworkadministratorswithroughly6to
12monthsofdesktopandnetworkadministrationexperience.TheMCSA
canbeconsideredtheentry-levelcertification.Youmusttakeandpass
fourexamstoobtainyourMCSA.
MicrosoftCertifiedSystemEngineer(MCSE)onWindows2000This
certificationtrackisdesignedfornetworkandsystemadministrators,
networkandsystemanalysts,andtechnicalconsultantswhoworkwith
MicrosoftWindows2000ProfessionalandServerand/orWindowsXP
Professional.Youmusttakeandpasssevenexamstoobtainyour
MCSE.
Note MicrosoftwillsoonbereleasingnewexamsonWindows
Server2003.
MicrosoftCertifiedTrainer(MCT)TheMCTtrackisdesignedforanyIT
professionalwhodevelopsandteachesMicrosoft-approvedcourses.To
becomeanMCT,youmustfirstobtainyourMCSE,MCSD,orMCDBA;
thenyoumusttakeaclassatoneoftheCertifiedTechnicalTraining
Centers.Youwillalsoberequiredtoproveyourinstructionalability.You
candothisinvariousways:bytakingaskills-buildingortrain-the-trainer
class,byachievingcertificationasatrainerfromanyofseveralvendors,
orbybecomingaCertifiedTechnicalTrainerthroughCompTIA.Lastof
all,youwillneedtocompleteanMCTapplication.
HowDoYouBecomeanMCADorMCSD?
AttaininganyMCPcertificationhasalwaysbeenachallenge.Inthepast,
studentshavebeenabletoacquiredetailedexaminformation-evenmost
oftheexamquestions-fromonline'braindumps'andthird-party'cram'
booksorsoftwareproducts.ForthenewMicrosoftexams,thisissimply
notthecase.
Microsofthastakenstrongstepstoprotectthesecurityandintegrityof
theircertificationtracks.Now,prospectivestudentsmustcompletea
courseofstudythatdevelopsdetailedknowledgeaboutawiderangeof
topics.Itsuppliesthemwiththetrueskillsneeded,derivedfromworking
withVisualStudio.NETandrelatedsoftwareproducts.
TheVisualStudio.NETMCADandMCSDprogramsareheavily
weightedtowardhands-onskillsandexperience.Fortunately,ifyouare
willingtodedicatethetimeandefforttolearnVisualStudioandVisual
Basic.NET,youcanprepareyourselfwellfortheexamsbyusingthe
propertools.Byworkingthroughthisbook,youcansuccessfullymeet
theexamrequirementstopasstheDevelopingXMLWebServicesand
ServerComponentswithMicrosoftVisualBasic.NETandtheMicrosoft
.NETFrameworkexam.
MCADExamRequirements
CandidatesforMCADcertificationmustpassthreeexams,includingone
DevelopingWeborWindowsApplicationsexam,oneDevelopingXML
WebServicesandServerComponentsexam,andoneelective.Youcan
getyourcertificationineitherVisualBasic.NETorVisualC#.NET,or
both(youcanmixandmatchlanguages).Fordetailsontheexam
requirements,visit
/>
MCSDExamRequirements
CandidatesforMCSDcertificationmustpassfiveexams,includingone
DevelopingWebApplicationsexam,oneDevelopingWindows
Applicationsexam,oneDevelopingXMLWebServicesandServer
Componentsexam,oneSolutionArchitectureexam,andoneelective.As
withtheMCADprogram,youcangetyourcertificationineitherVisual
Basic.NETorVisualC#.NET,orboth(youcanmixandmatch
languages).Fordetailsontheexamrequirements,visit
/>
TheDevelopingXMLWebServicesandServer
ComponentswithMicrosoftVisualBasic.NETandthe
Microsoft.NETFrameworkExam
TheDevelopingXMLWebServicesandServerComponentsexam
coversconceptsandskillsrelatedtodevelopingandimplementingweb
andWindowsapplicationswithVisualBasic.NET.Itemphasizesthe
following:
CreatingandmanagingWindowsservices,servicedcomponents,
.NETRemotingapplications,andXMLWebservices
Consumingandmanipulatingdata
Testinganddebugging
Understanding.NETFrameworksecurityconcepts
DeployingWindowsservices,servicedcomponents,.NET
Remotingapplications,andXMLWebservices
MaintainingandsupportingWindowsservices,serviced
components,.NETRemotingapplications,andXMLWeb
services
ConfiguringandsecuringWindowsservices,serviced
components,.NETRemotingapplications,andXMLWeb
services
Note Microsoftprovidesexamobjectivestogiveyoua
generaloverviewofpossibleareasofcoverageonthe
Microsoftexams.Keepinmind,however,thatexam
objectivesaresubjecttochangeatanytimewithout
priornoticeandatMicrosoft'ssolediscretion.Please
visitMicrosoft'sTrainingandCertificationwebsite
(www.microsoft.com/traincert)forthemost
currentlistingofexamobjectives.
TypesofExamQuestions
Inanefforttobothrefinethetestingprocessandprotectthequalityofits
certifications,Microsofthasfocuseditsexamsonrealexperienceand
hands-onproficiency.Thereisagreateremphasisonyourpastworking
environmentsandresponsibilities,andlessemphasisonhowwellyou
canmemorize.
Note Microsoftwillaccomplishitsgoalofprotectingtheexams'
integritybyregularlyaddingandremovingexamquestions,
limitingthenumberofquestionsthatanyindividualseesina
betaexam,limitingthenumberofquestionsdeliveredtoan
individualbyusingadaptivetesting,andaddingnewexam
elements.
Examquestionscanbeinavarietyofformats.Dependingonwhich
examyoutakeorwhichcertificationyouarelookingtoachieve-whetherit
beMCSE,MCSD,orMCDBA-youmightseemultiple-choicequestionsas
wellasselect-and-placeandprioritize-a-listquestions.Simulationsand
casestudy-basedformatsareincludedaswell.Let'stakealookatthe
typesofexamquestionsyoumightseesoyou'llbepreparedforallofthe
possibilities.
Tip WiththereleaseofWindows2000,Microsofthasstopped
providingadetailedscorebreakdown.Thisismostlybecauseof
thevariousandcomplexquestionformats.Previously,each
questionfocusedononeobjective.Theexams,however,contain
questionsthatmightbetiedtooneormoreobjectivesfromone
ormoreobjectivesets.Therefore,gradingbyobjectiveisalmost
impossible.Additionally,Microsoftnolongeroffersascore.Now
youwillbetoldonlywhetheryoupassorfail.
Note Formoreinformationonthevariousexamquestiontypes,goto
www.microsoft.com/traincert/mcpexams/policies/innovation
Multiple-ChoiceQuestions
Multiple-choicequestionscomeintwomainforms.Oneisa
straightforwardquestionfollowedbyseveralpossibleanswers,ofwhich
oneormoreiscorrect.Theothertypeofmultiple-choicequestionismore
complexandbasedonaspecificscenario.Thescenariomightfocuson
severalareasorobjectives.Thesearethemajorityofquestionsyouwill
findonexam70-310.
Select-and-PlaceQuestions
Select-and-placeexamquestionsusegraphicalelementsthatyoumust
manipulatetosuccessfullyanswerthequestion.Forexample,youmight
seeadiagramofacomputernetwork,takenfromtheselect-and-place
demodownloadedfromMicrosoft'swebsite.
Note YouarenotlikelytoseethisquestiontypeforExam70-310.
Atypicaldiagramwillshowcomputersandothercomponentsnextto
boxesthatcontainthetext'Placehere.'Thelabelsfortheboxes
representvariouscomputerrolesonanetwork,suchasaprintserver
andafileserver.Basedoninformationgivenforeachcomputer,youare
askedtoselecteachlabelandplaceitinthecorrectbox.Youneedto
placeallofthelabelscorrectly.Nocreditisgivenforthequestionifyou
correctlylabelonlysomeoftheboxes.
Inanotherselect-and-placeproblem,youmightbeaskedtoputaseries
ofstepsinorderbydraggingitemsfromboxesonthelefttoboxesonthe
rightandplacingtheminthecorrectorder.Oneothertyperequiresthat
youdraganitemfromtheleftandplaceitunderaniteminacolumnon
theright.
Simulations
Simulationsarethekindsofquestionsthatmostcloselyrepresentactual
situationsandtesttheskillsyouusewhileworkingwithMicrosoft
softwareinterfaces.Theseexamquestionsincludeamockinterfaceon
whichyouareaskedtoperformcertainactionsaccordingtoagiven
scenario.Thesimulatedinterfaceslooknearlyidenticaltowhatyousee
intheactualproduct.
Note YouarenotlikelytoseethisquestiontypeforExam70-310.
Becauseofthenumberofpossibleerrorsthatcanbemadeon
simulations,besuretoconsiderthefollowingrecommendationsfrom
Microsoft:
Donotchangeanysimulationsettingsthatdon'tpertaintothe
solutiondirectly.
Whenspecificinformationhasnotbeenprovided,assumethat
thedefaultisused.
Makesurethatyourentriesarespelledcorrectly.
Closeallofthesimulationapplicationwindowsaftercompleting
thesetoftasksinthesimulation.
Thebestwaytoprepareforsimulationquestionsistospendtime
workingwiththegraphicalinterfaceoftheproductonwhichyouwillbe
tested.
Note Microsoftwillregularlyaddandremovequestionsfromthe
exams.Thisiscalleditemseeding.Itispartoftheeffortto
makeitmoredifficultforindividualstomerelymemorizeexam
questionsthatwerepassedalongbyprevioustest-takers.
TipsforTakingtheXMLWebServicesandServerComponents
Exam
Herearesomegeneraltipsforachievingsuccessonyourcertification
exam:
Arriveearlyattheexamcentersothatyoucanrelaxandreview
yourstudymaterials.Duringthisfinalreview,youcanlookover
tablesandlistsofexam-relatedinformation.
Readthequestionscarefully.Don'tbetemptedtojumptoan
earlyconclusion.Makesureyouknowexactlywhatthequestion
isasking.
Answerallquestions.
Forquestionsyou'renotsureabout,useaprocessofelimination
togetridoftheobviouslyincorrectanswersfirst.Thisimproves
youroddsofselectingthecorrectanswerwhenyouneedto
makeaneducatedguess.
ExamRegistration