0% found this document useful (0 votes)
40 views20 pages

C# Assignment

Important assignment questions

Uploaded by

Ayesha Banu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
40 views20 pages

C# Assignment

Important assignment questions

Uploaded by

Ayesha Banu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Nore i Ayesta Banu HNO 4441-29-54 086 Gree FM. [es] Yeas ;D [it-sem] Sub Pogiamnirg fC + College ‘ Kastusba Gand Degsee EY PG; WoMens College '3 Component s of “Net Framework L$ + | The NetRomewmk 1.5 profdes al the nelessory | Componente 4y develop SQ Yun ‘VEE —byed Appicaliay - mathe Cmpovenk, ave | V CLR ; Pthe mn pal of net ameionil dkich devebps: the base of the tuclitecluve pk ack ax a bxidge hot ts uted ct fondle le ak exetubton. (PSL fs the Gre Fak of netframewak — % yesponsible Memo management, erteption handling , debugging , Keeutly ce ee eke. a "I cm prthe de ob woke on CLR % cabled Managed AV MANAGED Cope - dt Ts the Gale thot fc executed directly by Cle. }The Applitations tho axe “Created usieg ravaged fede Aukomabtcally hove CLR Senet , Such a. type Checking Security "9 aulernalfe gostoge Cottechon - J The protecs of exccubing rranoged @le % 1 Selecking a larquoge Compiler: 2+ Compiling are GE to GL- 3 Compiling SL to robe @de Execakion a ) | [MORSE Godel fT Comms “ | Displaying the Comnpilttfon 4 Kxeubion by “Vy Compiler © scanned with OKEN Scanner BYUNMIANAGED Cope |= ----—, Ot dtrectly Compile Hoes tole wk ae machine here St bos Compiled — un rnanoged é \ J | a vod not have Servite, such ay, secuily ry | | | OMEMORYMANAGEMENT- | IDCLR ree the atleioba} L lage id gereoge Golleckor 4s Maroge the all! (9. CIs — Seay for ony Bpplrcabiens specifies Cerkein Guidelines Psy declaring using + Panoging ctype ok “run time: DSt ws an Srkeqral pat of ambsme Supposttng Gas lar Communicator ' The CTS Gon be Clomitied tnt 9 types ADValue fupe b) PePesente Type Pood larquoge Fos Sb con Cyntax, but iP: tholt lorguoge Ts kutlk on CLR SE us ude ab least Ste jot the types defined by _ CTS: B-METADATA 4 AccemBLies:— PA meadota fs Vreay Snfetrosion Nol descziber a Pegram Steed fo CLR posttable Execubable file» Metadata desethec every ype 4 memory . PPlahen the le fe +the aun mode the “CLR loads he Imebadola finto memery 4 Finds Sntomefion abou! the Gde Clamer 4 memety |S Asiemblee are pa nko orfils Contacting panne and libkkexres. bet fa a Coltedlion of types cuck o4 Clowes | enlevfate + Skvuclies. | With -he © scanned with OKEN Scanner BA cak ossembly Con (onlin mulbple Gde Filec of 1 Strgle (ole File Con Fave more thon one acterbly- Axembies Can be of tholfe 4 Dyramfe- q. NET FCL (Frome work class Library )— Pet framenock tonctle of Clowes, Tnterface $ Volue Auper dhol helps fy Speeding op the applidobions devdopment prrcen 4 pwvide access 40 System Fonctional? ty. HThe FOL f 9 huge Libray of Yeusable types meant: to be used by wanoged Code . 5 Bel (Bate claw Ubaary : Pas the Ihyary tho! Conbéinc Some lommon gel of funckimnoltlics, cuch ox Beading fm % uniting th Fle pesigning qrartice & Thleracking sith databases. P>Fo ot net Framevoosk lange ms hos upgraded Le Woilh every veleote of Nek Pramevoork . 6 LINDoS FORM — 2 the Zraphitol sepresentalion of any usirdiou drcplayed Kh an Application: boyuitan Greate arn fppltcabion wing WP Py omy LR SuFPonted lanquoge. PHF con be used etther te actept S/p ov dtsply tno to User : “[Link] Das a Web development modeh, ushidh %& used to delRey fnterockive, dola den ppplizobis over the inlemd. IDDE Consicts of a large ro.0k Conbsolé Such o4 ext boxes, bultons + lal for oSsembling , Conbfuning 4 rraripubobing C42 to Gweobe EAL Poges © scanned with OKEN Scanner | : | GADD NET -— cea leach ured for vorkieg sith dola 4 dolaboser of al types at is used do tonnecl 4s doba Seurter fav el sieving ‘rraniplolirg 9 updoling dolla QEB Fortts Locuppadts the development of rhusl, Scalable web [gee # jebsiles. LS [Link] Applicobions, using yelforms, voels foges can be| Creoked by dragging » dropping Conkle on te designer hen oddivg (ede + : IO-WPF (Windows precentabton fourdafton): DMs Wer formeily @le yomed ox AVALON: [printer ‘the botes foi bailing inkerfocer thot Tdude eCumenks, media, ak 3_ dh % we rofl lode Uke’ chavadahies. SP TRAPS Pr me NWF (udindows Commurabfon foundobion)— [> Fownely knoon 04 Spin: P>Te one of the new Aechnology Rabreduted by Ms in INET framevook 3.0 foi butlding 4 vunding Connected systerns, dk is a cewice - averted -ledhnoloay fur deveosi Appltobions th dicbtbuted ¢ lem! ‘ wT 9-LINCLANG SNTEGRATED QvERY)+ Te re of the Frnportant Contenke of ne-ramevaod 5 Hrok odds roltve dota querying Capabilities to net larquoges by usig Cynlax Gimilay fo SOL: 7 | © scanned with OKEN Scanner &, VISUAL Grupo. Ner Sve s— Gk “an Snbegraled pevelopment _Ewviinnmment Provided Ly Tc te Create $ develop wiindous - tosed Web - bated Contele - based 4 rnobile - hosed) foplicobions th NET frameusoik. | She folloucirg ove -the lost Components of DDE: i || START PAGE: Frc usindow , ushen you open Vé is the | | Sort e- [Link] Bar '- Provides afferent menus fom di Pherent- | : VS Commands - . . S-ToOL_BAR Sho Cub te most frequently performed ons. Tool Box’ A usindas Corlaiiing a no-of nodes & each Node Confatne a Af of Conbwold ard Componerts that be dyoged on to a web fom. DL ¥ lacked . on jeft Side RIDE WP Sk fo nok visible u lan attecc oolBox fom VIEW © meny of by Proscing CTRLIALT Ha 5: CODE ENTToR: (ode edity allows U to uxite 4 edit uy’ (ode, You Com ude FR key of SHEFT +64 Key of toggle to Cusick form web forms designers fo Code editer. G-INTELUTSENSE? De an exkermnaly useful feolure. of Ve oy! you. type the (cde fn the (ode elit, fnkeltense Pmiide o tick cb oplions fey moking _ Larg vefes eosily a. cresible. SOE A designer’ Ps an area ty Ne, whee a apAtcotion, Wel Applicat We ' ‘ a designers: ° Seo wanes Prevent IN: EXPLORER Displays every projeck with th Lomporents . © scanned with OKEN Scanner ERTIE * utee to Sek properties fey vevtt RITES LINDO, Uteg tr Se a . S$ ab the Hime of decignirg o wrtosite 4p View lh Weck, werd —> properliar sind of FIOM. Fy. «P ey : Hooke RPOICER uted fo Cxareine 4 Find cud objecks |# enume. "io view, Geleck VIEW —S object bouncer or prey, | ICTRL4: AIL 43 OF T keg [NS CLASS VELA! Conbatne a bjacochial free views “re prete Programe ob the Top-Level Node $ desplaye +he Came, | mditobe $ propetier as oescbed ustlh a pavituby Pop san | Io view sdeck, pres CTpL 4 SHIFT + &@ ('9 SERVER EXPLOPERE Allows fo Vieto the Cewices ted! ave avilable on a forlilar Sewer. To View Select, NIELA ® Sewer explovey oy prece CTRLHIAL. + I3-(ONAPONENT Tepy;act at a place feller tel Conbefr fhe Components, fimec (onbol, added of design ime. MH OU WINDS Display ne Yesourter pF surly 4 Cretub ion” “Arpiitobins -To Vew Seleck, WEL-solP pier OV press CTRL + ALT + O keys. 5: TASK List; Displays alt foske tholyu sist have to fs Tn or Appltabion. Help to Geode % manages a ct oF pends Prqramming fake - 16 Eeroe USTHHelppu to acederate Application: developing by dsphying ot the exmm in a Gnole joindeo. It. COMMAND VAUNDOLH 49 (an perform, Such os adds a Mew Ytemn do the Prysam - press CTRL +ALT4A keys. I2- DYNAMic HELP LINDO. Provider Unes to Htairationg found in lotol help boxed on the postin of 2pe hob Ts Cumentiy tr fou. HELP View help. IAMANAGE STYLE LNDOLe chow oly the C56, Filet fos the Web Fage- VIEL. Mages Styles. © scanned with OKEN Scanner SPF aS ARCHITECTORE & CLAS HERACE “ fren rectory — a POWOPF 5 fs pork of NET framewonk U5 Db Containg cboth moanoged + Unmarogéd Components «managed Components oF WPF oS ave bated on CLR ies alse Contin am unmanaged Component Called hd pe Tegeion aye oH). Presentation Framework Precentobion ae er | [rw wee] | User 3) (ema) EE JAPF wed ApcHiTe CURE menage Components: presentation Frarrework , Presentation, ° Loirdows Bote 4 CRL- un Components srt +2, or |-PRESENTATTON ERAMELInRY+ SHS Compmed Ts Trplemented og Preserbotien frame ork Sd Assembly Tin «Web —Pramersnre Ls “PRESENTATION (opes DSmplermerted ax presentation Gedil ol >Prvides Spme oP the mock pee feobures of WPF us. ee wll tare © scanned with OKEN Scanner S-RONDOLY BACES | mplementest os yindoue Bate * dl | p>Provides -fundarentol wp Feotuver thyeading, tyre | Converter & dependency pyoperties- GTI oR Mu cope: > maroged Component fn woPr US PMteracts with direct x % acls ag a medium or nkerlet blo devel x gae. Alloux the display of a-p43-D Graphite Content: in WPF} U5 Applications & aso to wok sith Yardering of Divect-| p< VOPF U5 Appltcotions \ PF \ BS CLAS HIERARCHY j— The “wonoged Componenks of WPF Pride Several {ype 4 (losses AN LOPE CloMed axe 9 heviked from Sydern object clot GUS + Windows ‘Theeading t * Dispatchey oblet- dug toindarS’! De pendery, object ke dDindoaS Freaubie { | S46 wohrlass rmellarvisted Gy. vuol nas + VE Elena. Frame -loxk Elemet SsLivotaland + Cobe.l Gh Sus WindewsS « | cyce widans lnk] G46 whndarS «loabdle pare} “nbs © scanned with OKEN Scanner B |-SYSTEM - DISPACTCHER.. LAINDOWS. THREADING : OBJECT CLA The désplachey object claw exists fn system windows Thveading rmarage thitade. BY defaull PF Appltabiont ax WIth & threds “one By Up 4 other fer rendering DVT Abaead — ref execabirg Hiveod thot cotdin Tlps + jevents [2 Pendeving thvead - Execubee fn the back grund 2-SYSTEM. LunboLs- DEPENDENCY OBJECT CLAS. :— 1 Allows PK” derived” Clases te Use depondenyy property. ttn ba dependency Prperly is a cie Prwperty that ¥ back) by System usfndows Bependercy prpeily clow- Allow fou te use expredion ox properly Values, bind < idola , fn corporabe animabions $ Appicalion Skyles- 3 “SYSTEM -WSINDONS . FRe EARLE CLASS — PAllows You te work ust objects hak hove editable iz Sead only stakes fb Provides support fey change noliFitohions obyects of weezable lax are Catied “freerable objects > Freezable objects have astates * Frzen (xod-only) aj Unfrwze (edtlale) UL SYSTEM WINDOWS - MEDIA . vsuAL CLASS — pPSn the bate Clu te xender the clemente used tn wre lappl*cotions L>vicuat Claw Provider Yendering ~Yelohed functionaliliey C\tpring , -branufoimitions ¢ bounding box CalewWotiony i PDnPr Uses yekdined mode vendotng System (Fae Covpide Composition tyee fe Cached by the mil love Component | 5: SYSTEM . WINDOWS «UP ELE Men CLASS i— [>Pewides APD'S ke frplement the Fundamentos feative fin WPF u-5 pppltalion, Oke Cayouls & events fey tape ks © scanned with OKEN Scanner BUT Elerenk Thbsducce epay- to-use # Plextble Jayouk mode). FLayout mode Cormprisec a phoses | I eoture 9. Arrange 6- SYSTEM soon FRAMEWORK ELEMENT CLASS DAS an Tobevfoce blue GE Elemenk Cloag 2 lOPF. fromevant! level Implementation elements Hroffes odditions Peoluver to enhancer. wer Applecabions. HESYSTEM. Wiwmibol « CoNTROLe. CONTROL CLASS: INPE hos Geveral pre- define US elernenks fnew as fonkel woPF Contnl ave devived from offer Surme of he (Ox — Level funclionalibre, to vo0rk [vette the lontern: o& vPr Applitatin. Responsible for Style % presentafion of Content: Soffer Peotures to Prditobe various Charge in fous Content - Lypawidee methods, propertieg $ events to Look sith L Anitmabion $ berdsot lonlent - © scanned with OKEN Scanner Pearse aie Agee 7 ; ES GY /TYPES OF LAE AppLicaTione 4 MENU 4 PIALom Box - “They are |STANDOLONE LaPE AppLICATION 6 — p> They ave Cfrtlay to usindoux fom Applicaton P> Allows the use oP usindowe Clase } WPF Afaboy borer, MeAOge Box, open file Dfalog ele. [>Develeped to hock Content yo dota in rich guaphics fom olen user to Frterace eotth dala PXBAPC (KAM BpoLsER APPLICATION) 3— J XBAPS Proncunced OL ~-baps [PX BARS ate Webserver hosted voPF Applitation that yun Pr a wee — biowser - B+ USER CoNTRoL LIBRARY ‘— BRAN p> Alious You to Creole user Conbro| by using exithi Conky 4 Combine then Faly a SFngle vewsable onil. PThey are useful tp declave Ceverol UP Clemens 2 Ute them together Peg oF oer Conbrol- login Coke! ust A Labels} atert boxes 4 Qbuttont for ok 4 Cancel. Ly custor) (onto. LigaR yy! j sul to develop custom Conbaol¢ ushen exicking WPF Conbols ave not able te Serve ur ‘eqyurrement . po They odters you fo Ceake Conkle Ut the requived behaviour & appearance. F >There Conbwls extend or weryide the ud 4 behavibuy ot exicbng Conds: Senn © scanned with OKEN Scanner END (CONTROLS & DIALOG Box CONTROLS — \ TEND “TonTROLs - ‘ a) JENUST RIP HMenus aye Conbarl thot ablouo the user tO | Wake Celection mode up 0€ TelStslpinenaEbens | ped to Create a vrent bo fn the Form. FUSE to Creabe a menu bar fm dhe asin « | pe eeabe hos & Subhenu, a i C) appears . fn. thot menu tkem ok yunbime - [ewes etal dotument b) Content MENU STRIPE, Are Wed to Five awegs to eilty used menu menu Commande 4 fe Con bring them up by wight - Clicking another Conbas| plontert menu fkeme Con be Avsobled , Kidden ov deleled. }> Conkerk menus are not divideg Tinto Seperate yenuy ed fee, Edit + windows A I>voe Cory ute Contenk menus to di "splay conbrot— Spec! ‘Pd option cud os (ub, Copy 4 Parle fy text boxeg. © scanned with OKEN Scanner @DIALDG BoxEsMtheve ave number & built tn dialog boxes & CaF cThae ave many dialoy Such a4, a) Colour DIALOG F-displays a dfoloy box, for a Coles cebecliy poAFT - cysher voiindouns -fessmng (Colour Dialog . b)EOnT ALO HDFaloy fox dvcplys for a fork select, With Fork name, font style, fon The dala sel fe designed tor data acess Independnd| DE any dota Life Cycle of an “pgp-nel App on 1645 Phota of Life Cycle ot asp-net app: lusey xequedt, fy an appl yedurce The urified Pipelfre yecetver the ee sey yequest Bfov cock yeqprests vesporte objects are Created . kn beck ck HTTP Applizabion Clow Created $ odtocated to the yeoyuest- 5 The HITP Arpltcadion Class processes the user yeyuek © Life Cycle of an [Link] tel rq wher a user yeqyuet fer an [Link] cha voeb Pq the Pq Passes hrmugh a no-ch Chages thet Ts collective loy Gatled the Ukecyde of an ‘Acp-nel “iseb rq” b) Dsfevent shages ck an [Link] velo Pq [+ Page vequeet a Skoxt 3 Poge mibializabion ' t lL Load, S* Post back event hordling H- UnLood >The Futect ave the most Commo : be Pretnlflaaag mene: 2» Dah Suit © scanned with OKEN Scanner we a | Ayflenplates fn Aspenel Mvev— | wile Geaking a new pryjedt fn rive by Selecking | ASPET THC 4 wel applicabion”, we ust get different Poofect templates They are Gly +ernplates , Bart template ,Pnkeynet - application Hemplate , Dntranet apRitobion template, poele APP tem for (taking new appiitolion open vicual Studio > Prom Shost foge - i H>Seeck File new prjeck, abler that a nev drolog Ul POPUP fom trol - LDSeleck Templaber vicust cat 2LIER Lain project celeck [Link] MVCH Loch application} enfe, rome of prrjece “Tutovial’” Tust cl? ok- Laeter thot a revo Asp-NET MVCH project dvchog usil] Appear fry thot asp net pvider various Lyper cf” porjeck -lemplate each hex Variout User - I-Emely lemvloke tn eae + The emply ctemplole Conboins basic erngly Tae fdde Sluckure with [Link] Eile $[Link] folder lab top 2 FL wil not Conbotn satpk folder Content \dey Thee Ts Fust empty configuration On Cone, $¢ e select Empty Ternplate box pitjeet our folder % Jos Showon, belous Solution “tubwfol” Futosiad L-S pryertres, LD References Apr - dala © scanned with OKEN Scanner App - start OCH Filkevton fea ec CH Router Config-c< | PC Web Appltechin A prantig- c¢ / > Conbrriers > Models, > vPews > Global . asax Fockoges ‘Gnha Web - Contig 2: Basic template % Ive 1— P2 The Basic templake Comes ustth Mve folder Cbruclure Mew faldev hos a Shared folder hich Contotne Laycut fShkm) £ Gr .cchlind- The basic template voill Contain coipt fider wil rove them defaull caipl files £ contend foldey wit have them § [Link] chyle chet tnetde tt. B-Thkemel apptobion -lemglate .— Tk Comes sith Mve folder Chrucluve, whieh Contoiny default Home (onbwlier Actount (onbwlley udith defaull Views for both Conlanltey $ Acteunk Models, Which % evuived Px vegistrohion ‘Dt also (ome with Rasic Login & seistabion mechanton built th XE -DE Pe Cormpletely Yeody for ene Ly» Tnbvanet application Lemplode. «— SoC % Llte bud Similar to Talore Appltiediion -Lemploll lord by ane abe a LI, welated vieuo int 5: Mokgle applicotion +enplote.»— Oe ee ae to Fkemnel applteobfon demplote wasell © scanned with OKEN Scanner \Q formes sith deFaull Home + Atounk Corbuoltey » Mobile apetcabin -lemplobes algo Comme usith qin $ veqistrotion mechanism . 6. Web Api bemplote— TE Pe an another version of Inkemel apelicobion Hemploke urhich (omer with defaulk Home + value Conbat\ey watt default view for Home (onkrdter + Nalue Conlodter fhe fon API Conketller- PH Fe uted x Creaking HTP bosed REST Ful Hoel Sesvrces « EIS Manager cs web Developer’ ILS Manager :— > Trlemeb —Trforrabion ewes alco Known os TS+ FPrrs is a MicwsoFt Web caves that wns “on Windows Opercing Gytbem and Is used bo Exdarge. SatiC A durante web Conkent -with Inkemes User 1 ITs wm be wel bo hotkey deploy jd @anage (eb aegplicobinds ing techrelogics Suh oA Asp NET b PHP. TES Web Develepmae 1> For developing web Conkent Gch Bh Gabe Web pepe y ASP ges» TOAPL “cosh bind « © scanned with OKEN Scanner he dewloped fat loofqur® tn Tro Gey Only voeh -Gakanl tlevelo prot bechrolagles awe dew\bed « PP ASPNET + Derevbes fnfovention ctbouk ckvelephy “NET web appliatins USing Asp NET «ASP Pr ase will In a praveged Gle larqage Guth aS -vitval “pase ‘Net, Cot 2% - Orreged Coe © scanned with OKEN Scanner

You might also like