YouareemployedasasystemadministratoratCertkiller.com.YouareintheprocessofcreatinganASP.NETapplicationusingMicrosoft.NETFrameworkv3.5.
YoudecidetocreateaJavaScriptfilenamedDataScript.js.Thefollowingcodesegmentwaswrittentocreatethisfile:
TheDataScript.jsfileisinsertedasaresourceinaClassLibraryproject.ThenamespaceforthisprojectisData.Resources.TheJavaScriptMessagesobjectisusedbytheJavaScriptfunctioninordertoretrievemessagesfromaresourcefile.Thisresourcefileisnamed
TestMsgResources.resx.IntheASP.NETapplicationyouaddanAJAXWebformaswellas
referencingtheClassLibrary.ThereafteranASP.NETAJAXScriptReferenceelementisaddedtotheAJAXWebform.
YoureceiveaninstructionfrommanagementtomakesurethattheJavaScriptfunctionisabletoaccesstheerrormessagesdefinedintheresourcefile.YoushouldthusdeterminetheappropriatecodesegmentthatshouldbeaddedtotheAssemblyInfo.vbfile.
Whatshouldyoudo?()