1. Trang chủ
  2. » Luận Văn - Báo Cáo

Luận văn xây dựng hệ quản trị nội dung sử dụng ASP net MVC 4

85 557 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 85
Dung lượng 1,05 MB

Nội dung

BO MAO DUC VA DAO TAO TRUtING DAI HQC THANG LONG antalana TIMMS LONG VOitvilVITT KHOA LUAN TOT NGHIEP XAY DING Hl QUAN TR! NO DUNG St' DVNG ASP.NET MVC Giio Ain hudng din : ThS Trin Quang Dny Sinh vien thyt hien : NO Quang Hang - A17110 Chnyen nginh : Khoa luic may tinh Ha N0 - 2014 Leif NOI DAU Su did edit Internet di mang den nhieu cc hOi di nit ngin tang each gills mai ngtred tren Min the gi6i Ton dung co hOi ma Internet mang lai, ca Stith va toe chbc d8 cho dbi nhieu trang web de kit nei mci ngubi lwi v6i nhau, Ara mang Lai nhieu tier ich ham cho ngubi sir dung Nhung nhing website Itti yeu eau ngubi xiy dung va von luinh phai ce kiln thirc tot vi cite ngen ngtt trinh web nhu HTML, Php, ASP.NET de dim bao ne duqc host Ong thong sulk Chinh au bat den va hsn chi de di lam sinh mOt nhu ceu cen mOt phin mim c6 the gfilp viec xay dung va v5n hanh met website ter non don gian voi mai ngubi, Ice ca nhttng ngubi c6 kiln thirc hsn chi hoLic kitting c6 kiln thirc ye cite nem net ltip trinh web Chinh nhttng nhu ceu d61i nin tang de cho did "He quan tri nOi dung", no da mang lai nhang thig' den viec xiy dung va hash mOt website cho tit a mai ngubi VI nhttng tien ich to tan cis nd mang lsi, nen em di chan di tai "Xiy dtmg quan tri nOi dung sir dung ASP.NET MVC4" nhim muc (Itch dm hi& khai thac va img dung cite tru diem cda he quan tri nOi dung vita cuOc song NOi dung bao cao duqc chia lam chuung chinh: Chiming Ting (wan vi asp.net mvc framework Chuang giCri thieu ye m8 hInh MVC, ASP.NET Framework cing nhu cat thinh pan cc ban cis ASP.NET Framework Chuang Ting plan vi hf (pin tri nil dung Chuang neu len djnh nghla ve He quin trj nOi dung, cite d#c diem ca bim ming nhu phan lotti cite he quan tri nOi dung Chung Phin tich thilt ki hf thing Chuang bao gem cite gith down edit phen phan tich nhu: Bac tat you ciu, phen tich thiet ke CSDL, thiet Ice chirc ring Chiang /ay dgng chit alit Chuang di via viec xiy dung cu the Ulm; chive Wing curt he th6ng theo m6 hinh MVC bao gam cac: Model, View , Controller Chuang Triin khal *ng dyng Chuang hubng din each xult ban vi trim khai mOt irng dung ASP.NET MVC 1/85 LEI CAM ON Em xin chin cam an khoa Toin-tin throng Doi hoc Tilling Long di too dieu kien cho em thqc hien di tai Em xin cam an they Tran Quang Duy, ngubi di ten tinh gifip der chi &to em soot qui trinh thuc hien kheia loan Trong thbi gian duqc thay hireling din, chi bao em di hoc hei dugs rat nhiau kien thirc bo ich can thief Mac du di co ging holm thien di ti>i khea luon v6i tit a no Ivc dm ban than nhung chic chin killing thieu khei nhung thieu sot ICinh mong qut thay tan tinh chi bao Met lan nits, em xin chart thinh cam an va luta mong duqc sq dung gop qu ty bau ciia tit ca mqi nguiri de em co the den be hon ICinh chew qut thay co luen luon m?nh khOe, gat Mi duqc nhieu tong su nghiep Ha Noi, ngtly titling 12 neim 2014 Sinh vien thvc hifn Ngt; Quang Hang Trang 2/85 MVC LVC DANH MIX CAC THU4T NGtY VA it WET TAT DANH MIX HINH ANH CHUONG TONG QUAN VE ASP.NET MVC FRAMEWORK 1.1 GicH thifn vi m8 Idnh MVC 1.1.1 Ccic thank phaln cda MVC 1.1.2 Hoot cita m6 hinh MVC 1.1.1 Liu dam va nhuqc dam mia MVC 10 10 1.2 GIN thin vi ASP.NET 11 1.3 ASP.NET WebForm truyin thong 11 1.4 ASP.NET MVC Framework 13 1.4.1 Ngudn gee 13 1.4.2 C.& Marsh plain w ban ciao ASP.NET MVC 13 1.4.3 Qui: trinh hoot (long ctia mot sing thmg ASP.NET MVC 14 1.4.4 Mc5t tinh ndng ndi b4t mia ASP.NET MVC Framework 16 1.4.5 tiu dilm 16 1.4.6 NIngsc tam 16 1.4.7 So sash glut: ASP.NET webform vii ASP.NET MVC 17 1.4.8 Khbi too mdi sing dyng ASP.NET MVC Framework 18 CHIMING TONG QUAN VE IIE QUAN Tilt NQI DUNG 28 2.1 11f gun trl n4)i dung Ih gl 28 2.2 Tel eao Ini an bf quill tri n(11 dung 28 2.3 Cie ale dilm co, bin aim hf quin trj nid dung 29 2.4 Phan loft the hf quin M 41 dung CHIMING PHAN TECH THIET KE H$ THONG 29 30 30 3.1 D4C TA YEU CAU 3.1.1 Qua bai vat 30 3.1.2 Qua ly chuyen mix 32 11.1 Quon 13, binh hgln 34 11.4 Quan ISP khdo sat 3.1.5 Thing ki chpn 36 38 Tsang 3/85 3.1.6 Quoin lY tai khodn 3.2 PHAN TECH THAT ICE CO SO Hy LIEU 39 41 3.2.1 Me hinh quan he dif lieu 41 3.2.2 Danh stick bong va me td 42 3.2.3 Bang Articles 42 3.2.4 Bang Categories 43 12.5 Bang Comments 44 3.2.6 Bang Polls 44 3.2.7 Bang PollOptions 45 3.2.8 Being member 45 33 THAT Id CAC HIM VA THU TIX 46 3.3.1 spx_CheckEmailAvailability 46 3.3.2 spx CheckUserAvailability 47 THAT ICE CHITC NANG 47 14.1 Trang tin ftic 47 14.2 Trang quan tri 53 CH1rONG XAY DUNG cHtrc NANG 59 4.1 Quin It bil vik 59 4.1.1 Cost di? lieu: 59 4.1.2 Models 59 4.1.3 Controller 60 4.1.4 Views 61 4.1.5 Javascript 62 4.2 Quin It chuyen nine 63 4.2.1 Co so di? lieu 63 4.2.2 Model 63 4.2.3 Controller 64 4.2.4 View 64 43 Quin It bini lain 65 4.11 Ca sa at lieu 65 4.3.2 Model 65 Trang 4/85 4.11 Controller 66 4.3.4 Kew 66 4.4 Quin Iff khho sit, blu chop 67 4.4.1 Ca so dit lieu 67 4.4.2 Model 67 4.4.3 Controller 68 4.4.4 View 69 4.5 Quin If tii khoin 70 4.5.1 Ca so di? lieu 70 4.5.2 Model 70 4.5.3 Controller 71 4.5.4 View 72 4.5.5 Stored Procedures 73 4.5.6 Javascript 74 4.6 Thong ke 76 4.6.1 Model 76 4.6.2 Controller 76 4.6.1 View 76 CHUZING THIN KHAI (ING DUNG 5.1 Cie bate triin khai 78 78 5.2 Tries khai CMS site 78 5.3 Chu hinh HS cho Framework MVC at dung microsoft web platform installer 79 5.4 Them CMS site vim HS 81 HET LU3N 83 TAI LI$U THAM KHAO 84 Trang 5/85 DANH MVC CAC THU4T NGU VA Tit VIET TAT CMS Content Management System MVC Model View Co Framework Nin tang CSDL Co sa de lieu HTML HyperText Markup Language HTTP HyperText Transfer Protocol URL Uniform Resource Locator IIS Internet Information Services Platform Nin tang KSBC 'Chao sit btu chip ller Trang 6/85 DANH MVC HINH ANH Binh 1.1 Met kink MIT Plink 1.2 Quy trinh hoot dang cua mo kink MVC 10 Binh 1.3 Cling nghe ASP.NET WebForm 11 Binh 1.4 Cac thank philn ca ban aria ASPNET MVC 13 Binh 1.5 ASP.NET WebForm vd ASP.NET MVC 17 Binh 1.6 Kidd tgo ang Ming ASP.NET MVC 19 Binh 1.7 Hap thogi New ASP.NET MVC3 19 Binh 1.8 Minh hpa mat Solution Explorer cia ASP.NET MVC3 20 Hinh 1.9 Giao dien ca ban chgy thing dim ASP.NET MVC có san 22 Binh 1.10 Kit nit ca so' dit lieu bang Entity Framework - buck 23 Rink 1.11 Kit nth ca so at lieu being Entity Framework - bark 23 Binh 1.12 Kit nit ca sa dit lieu bang Entity Framework - bit& 24 Binh 1.13 Kit nit ca sa dit lieu bang Entity Framework - but 25 Binh 1.14 Kit not ca so' du lieu bang Entity Framework - but 26 Binh 1.15 Kit nil cc sa die lieu bang Entity Framework - buoy 27 Binh 3.1 Quy trinh quan bai Wit 30 Binh 3.2 Quy trinh Twin ly chuyen mgc 32 Binh 3.3 Quy trinh quan ly binh lu4n 34 Binh 3.4 Quy trinh quan khao suit beiu Son 36 Binh 3.5 Quy trinh thong ke 38 Hinh 3.6 Quy trinh quan ly tai khotin 39 Binh 3.7 Ca sa dit lieu town he thang 41 Binh 3.8 Giao dien mink hpa thing ki 48 Rink 3.9 Giao dien eking nh4p 49 Rink 3.10 Giao dien mink hpa chac ndng quan lf) thong tin ca nhtin 49 Rink 3.11 Giao dien mink hpa char ndng IBy lgi mat khau 50 Rink 3.12 Giao dien mink hpa chit eking bai Wit 50 Rink 3.13 Giao dien xem bai Wit 51 Rink 3.14 Giao dien binh lu4n 52 Rink 3.15 Giao dien Iva chin phumg an 52 Trang 7/85 Minh 116 Giao dien xem kit qua 52 Binh 3.17 Giao din chic ndng hien thi dank sack bill Wit 53 Minh 3.18 Giao din chic ?Ong them mdri bid wit 54 Minh 3.19 Giao di& chair ndng kiln thi dank sack chuyen MIX 54 Minh 3.20 Giao din chic ndng them mai chuyin muc 55 Minh 3.21 Giao dien cluic nong Turin ly binh lu4n 55 HIM 3.22 Giao diets dank sack cau hdi khdo sat 55 Hinh 123 Giao dien them mei cau hot 56 Minh 3.24 Giao din chink seta cau hat 56 Minh 3.25 Giao dien dank sack thank vien 56 Rink 126 Giao dien them mai thtinh vier 57 Minh 3.27 Lyn chpn 1pai thong ke 58 Minh 128 Thing ke chi tilt 58 Minh 5.1 Man hinh Publish Web 78 Minh 5.2 Man hinh lua chon platform di cai djit 79 Minh 5.3 Man hinh kilm tra cal dal NET Framework va ASP.NET 80 Rink 5.4 Kiim tra cad dolt SQL server 81 Rink 5.5 Internet Information Services (IIS) Manager 81 HIM 5.6 Add Website Dialog 82 Trang 8/85 CHUCING TONG QUAN Vit ASENET MVC FRAMEWORK 1.1 Giii thien vi m8 klub MVC Khi cic phin mini img dung ngiy sing phit Wien ion munh vi da clang thi van thiet ke kitn true cho phin mem cling tit non phut tap hon Nhftng ling dung web gib day cling di phit trier den mOt tim cao m6i, ching khan la nhitng wag dung web thong thuimg vei chi= Wing hien thj th8ng tin ma la nhting h¢ thong thong tin h8 trq nhttng tang web tucmg tic veri ngtrin ding Nhieu giai phap thiet ke kien trim he thong dirge dim veri muc dich lam cho he thong linh hoot, mem deo, di phit then vi tin tai lau dii Trong de, giii pluip thiet ke theo m8 hinh lden frac MVC duqc Trygve Reenskaug de xuat vao nhOng nam 70 cia the 14 , 20 t6 ret hieu quit M8 hinh MVC (Model - View - Controller) la mOt 'den trite phin mem hay m8 hlnh thiet Ice dirge sir dung kg thu$t phin mem N6 giup cho cac nha phat then tich 1mg dung cis hg phin kbac Model, View vi Controller M8i phin c6 mOt nhiem vp rieng biet vi dOc lip vOl cac phin Ichac Cdc thank phin cola MVC View s Controller Model Hinh 1.1 M6 hinh MVC Model Day la thinh phin chim tet ca cac nghiep Ai logic, phuong thirc xir 1Sr, truy xuat database, di Wong m8 ti dtt lieu nhu cic Class, him rcil View Dim nh$n vies hien thj thong tin, Wong tic yeti ngubi ding Controller Gift nhiem vu nhan diiu twang cac you cau W ngubi ding vi goi ding nhitng phuong thirc xir chimg 9/85 fly ding chit ning 4.5 Quin It tii 'chola 4.5.1 CesBdltlifu fu r m be r Caw Name P9 Data Type Mow MS ht u therNarne nclur(15) u Password nverchar(50) u Email nvarcer(100) Oludfu kit Status kit u HoVaTen nvercr(100) u POWS* Gioranh dale u est u DiaCti Mod SW nverdisr(20) Ea u Ig E?) 45.2 Model Mang img vol bing member doge sir Mpg, Entity Framework ttir shah ralop membertuongimgditucmgtkvericosardtihtu: public partial class member { public member() { this.Articles = new HashSet(); this.Categories = new HashSet(); this.GUIs = new HashSet(); this.PollOptions = new HashSet(); this.Polls = new HashSet(); } public public public public public public public public public public public int Userld { get; set; } string UserName { get; set; string Password { get; set; string Email { get; set; int ChucVu { get; set; int Status { get; set; string HoVaTen { get; set; System.DateTime NgaySinh { get; set; int GioiTinh { get; set; string DiaChi { get; set; string SDT { get; set; public virtual ICollection Articles { get; set; } Trang 70/85 Xgy dyng chdt Ming public public public public virtual virtual virtual virtual ICollection Categories { get; set; } ICollection GUIs { get; set; } ICollection PollOptions { get; set; ICollection Polls { get; set; } } 4.5.3 Controller Tuang (mg v6i cic chirc Wing to c6 cat cat phuong thirc nhu sau: DangKy Default — — [HttpPost] Default FormCollection collection, member user DangNhap Default - [HttpPost] Default FormCollection collection DangXuat Default - QuenMatIChau Default - string mess = "", string newpassword="" [HttpPost] Default - FormCollection collections AdminLogin AdminCP Admin - [HttpPost] AdminCP Admin FormCollection collections Logout AdminCP Admin ViewList UsersController Admin - ThemMoi UsersController Admin - [HttpPost] UsersController Admin FormCollection DangKy DangNhap QuenMatKhau AdminLogin collection, ThemMoi member user Edit UsersController Admin int id [HttpPost] UsersController Admin FormCollection Trang 71/85 My dung ch*c Mug collection, int id Edit Delete UsersController Admin int id CheckUserName UsersController — FormCollection form CheckEmail UsersController FormCollection form TrangCaNhan UsersController Admin, User ChinhSuaTTCN UsersController Admin, User [HttpPost] UsersController Admin, User FormCollection collection DoiMatKhau UsersController Admin, User [1-IttpPost] UsersController Admin, User FormCollection collection ChinhSuaTTCN DoiMatKhau 4.5.4 View DangKy.cshtml View duqc 811 dung Default/DangKy mOt de muon ding 14 lam vien ctia he th6ng DangNhap.cshtml View duqc sir dung Default/DangNhap thinh vien hay quan tri vien mu6n clang nh$p vacs he th6ng QuenMatKhau.cshtml View duqc six dung Default/QuenMatKhau mOt thimh vien tren he th6ng quen mat met khAu ding nhAp cart minh vi muOn lily lii AciminLogin.cshtml View ducrc sir dung AdminCP/AdminLogin quail tri ten muOn truy alp vim tang quilt tri he th6ng Trang 72/85 fly dyng clatc ping TrangCaNhan.cshtml View dung de hien thi User/TrangCaNhan th6ng tin cult thinh ten dang duce km tren he thong ChinhSuaTTCN.cshtml View duqc so dung Users/ChinhSuaTTCN thenh vien tren he thong muon thay di thong tin cue ben than dang duce luu tren he thong DoiMatKhau.cshtml View duqc sir dung Users/DoiMatKhau vien tren he thong muk thay di met lchiu clang nhtip al% mink TimKiem.cshtml View tri ye danh sitch Users/TimKiem?keyword thinh ten duqc tim they then ={keyword} tieu chi ViewList.cshtml View hiin thj danh sich Users/ViewList tan be thinh vien tren hg thong tren trang quin tri ThemMoi.cshtml View duce quitn tri vien Users/ThemMoi sub dung de them mai thinh ten vio he thong Edit.cshtml View duqc pan tri vien Users/Edit/{ id} stl dung mu6n thay di thong tin elm thinh vien nio tren he thong 4.5.5 Stored Procedures — spx_ChecicEmailAvailability : Kiem tra ve str khit dung ctla email qui trinh them men hay chinh sirs thong tin thinh vien ALTER PROCEDURE [dbo].[spx CheckEmailAvailability] @mail VARCHAR(50) AS BEGIN Trang 73/85 Xiy dyng chit Mug SET NOCOUNT ON; IF NOT EXISTS (SELECT • FROM member WHERE Email = ®mail SELECTtrue ELSE SELEC1"fidse END — spx_CheckUserAvailability Mem tra ve sv kha dung call ten clang nh$p tong quaff till them mai hay clang ky vien ALTER PROCEDURE [dbo].[spx_CheckUserAvailability] QUserName VARCHAR(50) AS BEGIN SET NOCOUNT ON; IF NOT EXISTS (SELECT • FROM member WHERE UserName = ®UserName SELECT 'true' ELSE SELECT 'false' END 4.5.6 Javascript Trong the view sir dung viec them mei hay chinh sirs th8ng tin thinh vien co sir dung cac him javascript de kiem tra d8 Icha dung cue ten ding nh$p cling nhu email cita vien funk 'chi Vic Sin len he thting: Him hem tra dO kha dung cila ten dling nh$p: $(document).ready(function () { $(9ttxtUserName").blur(function () var name = $("MtxtUserName").val(); //Value entered in the text box var status = $("*divStatus"); //DIV object to display the status message Trang 74/85 fly dyng chlic 'king status.html("Checking ") //While our Thread works, we will show some message to indicate the progress status.removeClass(); $.post("/Users/CheckUserName", { username: name }, function (data) { if (name "") { status.html("Ten tai khoSn khong dvdc de treng I").addClass("messFail"); } else if (name.length < 11 name.length > 12) { status.html(""); } else if (data a= "true") { status.html("C6 the s& dyng " + name + " I").addClass("messOK"); } else { status.html("Thi khan " + name + " da ton tsil").addClass("messFail"); } }); }); }); Ham hem tra ;chit dung cua email: $(document).ready(function () { $("#email").blur(function () { var name = $("#email").val(); //Value entered in the text box var status = $("#divMailStatus"); //DIV object to display the status message status.html("Checking ") //While our Thread works, we will show some message to indicate the progress status.removeClass(); $.post("/Users/CheckEmail", { ck_email: name }, function (data) { if (data == "true") { status.html("CO the sir dyng email " + name + " I").addClass("messOK"); } else { status.html("Email " + name + " da dvqc sir dyng!").addClass("messFail"); } }); }); }); Trang 75/85 /ay dung chit Wing 4.6 Thong kg 4.6.1 Model Chic niing ley dit lieu ti clic view c6 sAn ciia co sir dO lieu cho nen Entity Framework cling sink clic 16p tuong (mg voi cic view c6 co sir de lieu tuong (mg Lap danh sich cdc bai via &roc xem nhieu nhit: public partial class TopView { public public public public int ArticleID { get; set; } string Title { get; set; } Nullable ViewCount { get; set; string UserName { get; set; } } Lap danh sich cdc bii via ductc binh luau nhieu nhit: public partial class v_TopCmt { public public public public public public public public public int ArticlelD { get; set; string Title { get; set; } Nullable CategorylD { get; set; } Nullable AddedBy { get; set; } Nullable AddedDate { get; set; } Nullable ReleaseDate { get; set; Nullable ViewCount { get; set; Nullable TongCmt { get; set; } string UserName { get; set; } 4.6.2 Controller Tuong Inv vied cac chirc Wing ta c6 cdc phuong thec tuong ung nhu sau: 4.6.3 View Tuong ung vai cic clue= Ming ta c6 cac view tuong (mg nhu sau: Index.cshtml IA view hien en cic loci Reports/ thong kg cho nisei dung se Reports/Index dung Trang 76/85 My dyng chit ning TopView.cshtml View hien thi dash such Reports/TopView cac bii viol dupe xem nhieu nhAt tren he thiong TopCmt.cshtml View hien thi dash sitch Reports/TopCmt et tali vitt ce nhieu luort binh lu$n nhAt tren he thong Trang 77/85 CHUtING TRIEN KHAI trbiG DUNG 5.1 Cie but Win khai Cong viec trier khai duqc chia litm hai buck: —Trien khai co so dit lieu —Trier khai CMS site Ve pilau co so du lieu HS 128 trq SQL server cho nen to can cal SQL server di luu trEt co so lieu 5.2 Triin khai CMS site Ta tinrc hien viec nth khai CMS site bang citch sir dung chic Wing Publish tu Visual Studio nhu cac busk duti day sau chay Visual Studio voi vai fro administrator —Diu flan chuet pith vacs Project chip Publish —Sau d6 thuc hien nhu hinh dual day : GP Publish Web Profile ••=11 We Pubish method ReSplern Settings jerget location lE\STUDAKHOAJUAN_TNUITN_CMSgesteltploy IE Pier Hinh 5.1 Man hinh Publish Web 78/85 Triin khai dmg dyng di day ta c6 chip phuong that publish 11 File System vi Target Location la thu muc chfra web site di duqc Publish sau d6 chin Publish de bit diu publish website 5.3 Clin hlnh IIS cho Framework MVC s* dyng microsoft web platform installer CEng cu cli at Web platform la ding cm cfut Microsoft 116 trq cii dat trqn b0 Webplatform cfut microsoft Sau cii dolt Ong cu idled ding len ta se thiy nhu hinh: Spotlight Products Applications tam r ea Lm nrulorso El 14 ►tmosoll Mat Doss-plelhann Command Lim Tat 9/102011 Aad 2Wy OPMOK 9/1/2014 Pim sha AM 9/1/2014 Dabbed Ida VAredems Mum e e PIP 5.6.0 Fee NS Emus 9/9/2014 Add NI Memel Ann 50K -I.4.1 9/5/2014 AM • Mcrosall liMmight Willer kr Wales Min 1/79/2014 Add po McroseR Mn SOK la MET (VS2010 - 2A 4/4/2014 Add • Mcmalt Mn SDKS.* 2A for Mud Simko 202 4/4/2011 Add • Mual Autio Express 2012 fa Mb MS Microsoft Ann SDK • U I/42011 Mcrosalt MureSOKlor JET (VS 2013) • 2A MV20141 Add V hammaraislabil Winos Mud SPA Hinh 5.2 Man hinh lea chon platform di cai ddt Trang 79/85 Triin khai *ng dyng Ta phiti dam bio ring NET framework vi ASP.NET MVC da duce chi (Mt tren may Search results for NET Noma bland Indal 00 WCF MA Salvias San andel few MT Frynavork 44 4262010 ni MT 43 for *Was II 0/V2011 Installed MOLT MC Mb Langur Pads (Augui12012) 0/13202 MOMS ni 110 MT fatenliblky 43 0/1/2011 Stalled MI await 2/162013 Add ASPMT MVC Maud Studio X401 4/11/2011 AI AWMT MC 3/162010 MAAS D4 Iffmresaft Arun SDI( far SET (0620121 • 24 SAV2014 Add Mal Ann t _ a 14 Miens* Awe SIX for MT M2013) - 00 AWAIT and Wals14414 20111 f Yowl Study 2012 ar Inatiostul I L Add Add Add 413/2M 1W17/201 21111004 Install i Add L V bit Hinh 5.3 Man hinh kiem tra cal NET Framework viz ASP.NET ICiem tra xem dh di at he quin tri co sa de lieu SQL, Server Trang 80/85 ▪ Triin khai drag dyng Spotlight Products Applications p Nome Relesal SQL Sems 200162 Monspnwit SINS SpranvIIIISP1 7/2V2011 Installed ia 47/2012 waded 10/1/2012 head SOL Eve tom= 61111.6 11.0 Miatak• SOl San• Ompull• SP1 am 6/7/2012 Miersa/19:11 Ewa Lomeli Fain 11.0 OAS, 201a 47I2012 installed SOS, feeve 20129.d Mom roust Noes Opel NAV 427/2012 Waged lAluova SQ Sera• Carallast W1/2012 Installed Pacmolt Miss 101 PHP OAS SOL Saw in OS Ewen 4/18/2012 '11 p Add Mknooft SQL bps ltx.101101111m 11.0 Ohnk SOL Sars Slund Mangenat owes pm ante Old 141) et (X110 an 7P or 20- 1/IV2013 ammo Maw Maws/ 1.0 I gal Ismitalmoddlei tel Hinh 5.4 Kilns gra cal dot SQL server 5.4 Them CMS site vim HS Khoi chay Internet Information Services (IIS) Manager nhu hinh ve : re vg r “E• ; Op L430 lame • T4 Afteiffin-• a la et s •• 0•11•111110 p r AP a llie•fl I til s•• ysEanitiiiiisi Mt MIN FIT M1.1 a Calm Ws, embasia Rpm Podia faien1101 Coeds win ki7 • Gin Nan **Ikaler • 4.• •anincr a t II Comotale• OMNI OSIOny Y T eve hmdal 4:11 e 1St HIM swum OM loos 1.1.1 linabn Cilts- S 311 0/•0 14•1•11 Cad ME flee /••s•••• GI tit g, C•••••ham Sal Wm Sap= C•••••1- Cmkoinla Hinh 5.5 Internet Information Services (HS) Manager ChuOt pluii vim note site chon add website cua so add website hien thj nhu sau : Trang 81/85 Tri&n khai frng dyng x Add Website Application pool: I 'CAME Select— Content Directory Physical pads IEASTULANICHOOLLUAN_TTAKLIN_CMS\ Testdeploy Pass-through authentication I Type Test Sdtings I ,1 IP address Unassigned Poch le° Hod rat L crinsite.com Exampie tscontoso.com or markeling.contosozom E Start Website immediately I ok I Hinh 5.6 Add Website Dialog day an thiet mOt so thong tin cho website nhu ten site, dutmg din file he thong Trang 82/85 PIT LU4N Trong lch6a lujn nay, em di trinh bly &tang hieu bier ye ASP.NET MVC Framework, nhttng lden thirc ca bitn ya xiy dung duqc mOt he quan tri nOi dung don eat Tai lieu Qua nhttng yin de chinh sau: —Giai thieu ye ASP.NET MVC ye lam quen yeti mOt img dung ASP.NET MVC; —Giai tieu Ye he quitn tri nOi dung va citc loci he quim tri nOi dung; —Toim by quy trinh xiy dung mOt he quiln tri nOi dung don gian Sau hoan thinh lch6a luin tot nghiep em hi Yung diy se la mOt di lieu ce ich cho nhttng ngubi mu6n tim hieu, xly dung hay nghien dm ye lie quan tri nOi dung MOt lin nits, em xin chin cam an gut thiy co di to dieu kien gitip der em hoan 'thee lu$n • Kit qui thu duct + Phin Itch thiet ke va xiy dung duqc mOt he quan tri nOi dung dan glair; + Nang cao hieu biet ve ASP.NET MVC; + Tim hieu va stl dung mi5 hinh MVC tong yiec ph& then img dung; + Tim hieu ya sfr dung Razor View tong ASP.NET MVC 4; + Tim hieu ya sir dung Javascipt cho each hinh dOng phia Client; + Citi thien lchit 'ling vier., dich vit tra milt di lieu • Huang phit trier + Pith tie!' thy chinh giao then cho website; + Philt trien he thong thu dien tir; + Phit trien them cac tinh fling thucmg mai dien tti cho he quin tri nOi dung de h6 trq them ye cac website thuang mui Trang 83/85 TAI LIEU IMAM MIA° Sikh Pro ASP.NET MVC Framework - Steven Sanderson Wrox ASP.NET MVC 1.0 Website Programming Problem.Design Solution Jun 2009 Web http://weblogs.asp.net http://www ,asp.net/mvc/tutorials http://www.codeproject.com http://stackoverflow.com/ Trang 84/85

Ngày đăng: 04/07/2016, 00:10

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w