Understand Doking ' after S BLOG function and development purpose, it is compose builds good development environment next.
2.1 ASP.NET runs environmental compose to build
Beginning to develop Doking ' before S BLOG, should have constructed to develop an environment first. What introduce below is the compose in Windows 2000/XP operating system establishs a method.
Server of 2.1.1 installation IIS
By [begin] → [Control Panel] → [installation / delete Windows component] , tick off anthology " installation Internet information serves package " , if pursue,2-1 place is shown.
Graph 2-1 Dialog box of Windows component guide
2.1.2 go up in IIS server, to Doking ' S BLOG is installed on new home
(1) be in above all D:\List is built below " Dkblog " , open [Control Panel] → [administrative tool] → [Internet serves government implement] , open [Internet information serves] dialog box, if pursue,2-2 place is shown.
Graph 2-2 Internet information serves a dialog box
(2) right key is clicked " acquiescent Web site " , choose property, open [attribute of acquiescent Web site] dialog box, in the dialog box, click [advocate catalog] option gets stuck, point to this locality method " D:\Dkblog " , be in " executive license (P) : " next choices in pulling menu " script and executable program " , if pursue,as a result 2-3 place is shown.
Graph 2-3 Site attribute dialog box
(3) now, computer is serving to offerred WWW to serve euqally like the network eventually, acquiescent network address: The IP address of Localhost or computer (be like: 127.0.0.1) .
Remind: Everybody can not belittle the government of Internet server, if can reasonable allocation good IP address and site are fictitious catalog, also can make computer true become network server, the user that also can allow a network to go up browses the website on computer and database.
Frame of 2.1.3 installation.NET
The net that everybody can be in Microsoft carries the SDK kit of.NET Framework 2.0 and corresponding version up and down, OK also from below network address downloads installation:
24M of – of.NET Framework Version 2.0 Redistributable Package Beta 1 (x86)Http://go.microsoft.com/fwlink/ ? Linkid=30093&clcid=0x409
229M of – of.NET Framework 2.0 SDK Beta 1 X86Http://www.microsoft.com/downloads/details.aspx? Familyid=916EC067-8BDC-4737-9430-6CEC9667655C&displaylang=en
Open IE browser, hit on address column " Localhost/text.aspx " , assume Text.aspx this documentation is nonexistent now, wrong message can be returned certainly on IE browser so, the wrong message that if appear,shows like graph 2-4 place, basic form builds the moving environment that shows my ASP.NET end.
Graph 2-4 Search to be not worn file mistake information
2.1.4 in Windows 2003 operating system compose builds ASP.NET to run an environment
What introduce above is the measure that proposes ASP.NET to run an environment in the compose in Windows 2000/XP operating system and method. In Windows 2003 operating system compose builds ASP.NET to run an environment to basically have the following two kinds of methods:
1. Use [the server guide that configures you] installation IIS 6.0 and ASP.NET
(1) from [begin] menu, click " the server that manages you " .
(2) be in " the server part that manages you " below, click [add or delete a part] .
(3) read " the server guide that configures you " medium preliminary measure, click next " next " .
(4) be in " server part " below, click " applied process server (IIS, ASP.NET) " , click next " next " .
(5) be in [option of applied process server] in the dialog box, pitch on " enable ASP.NET " answer choose casing, click " next " , click again next " next " .
(6) read schematic news, click next " next " .
(7) click " finish " .
2. Use [Control Panel] installation IIS 6.0 and ASP.NET
(1) from [begin] menu, click [Control Panel] .
(2) doubleclick [add or delete a program] .
(3) click [add / delete Windows component] .
(4) be in " package " in list casing, click " applied process server " .
(5) click " detailed information " .
(6) click " Internet information serves government implement " .
(7) click " detailed information " in order to examine the list of IIS optional component.
(8) all and optional component that the choice should install.
(9) click " affirmatory " , until return [Windows component guide] .
(10) click " next " , finish next [Windows component guide] .
Additional, the IIS management in the server that can running Windows 2003 implement in enable ASP.NET directly, concrete move is as follows:
(1) from [begin] in menu, click " move " .
(2) in [move] in the dialog box [open] in casing, key in Inetmgr, click next " affirmatory " .
(3) manage in IIS implement in, develop this locality computer, click next " Web service is patulous " .
(4) in mouth of right side window, right key is clicked " ASP.NET " click next " allow " . The condition of ASP.NET turns into " allow " .
2.2 Build Doking ' S BLOG site
After compose builds good ASP.NET to run an environment, can begin to begin to develop Doking ' S BLOG website. Above all, doking must be built in Dreamweaver MX ' S BLOG site.
2.2.1 build Doking ' S BLOG site
(1) the Dreamweaver MX 2004 that start, switch arrives [file] face plate, click " control stand is nodded " , click pushbutton " build " , if pursue,2-5 place is shown.
Graph 2-5 Control stand nods a dialog box
(2) fall in its in receiving menu, choose " site (S) " , in shooting a dialog box, input site name " Dkblog " , if pursue,as a result 2-6 place is shown.
Graph 2-6 Define station name
(3) click " next " , choose " be, I want to use server technology. (Y) " , be in " technology of which kinds of server? (W) " next pulling in menu, choose " ASP.NET VB " , if pursue,as a result 2-7 place is shown.
Graph 2-7 Define server technique
(4) click " next " , choice " editor and test have in this locality (my test server is this computer) (E) " , point to filestore " D:\Dkblog " , if pursue,2-8 place is shown.
(5) click " next " , input URL address " Http://localhost/ " , click pushbutton " test URL (I) " , if check a success, can show the dialog box like graph 2-9.
Graph 2-8 Appoint the catalog position of the website
Graph 2-9 Test dialog box
(6) click " next " , click again " next " , click pushbutton " finish " , of the site that finish build.
2.2.2 deploy Doking ' S BLOG site
(1) will see Doking first ' the layout of S BLOG website, root catalog deposits file of.aspx, .htm; Bin catalog is to be used at deploy DreamweaverCtrls.dll to accuse; Dat catalog is used at depositing a database; Images catalog deposits concerned picture file. In open file face plate, in " site, Dkblog " fall to build Images of Dat of catalog Bin, catalog, catalog respectively, if pursue,as a result 2-10 place is shown.
(2) be in [file] in menu, choice [build] , in [build a dialog box] in, choice category is " dynamic page " , choose dynamic page to be " ASP.NET VB " , by " found " pushbutton founds the first dynamic webpage. Switch arrives [applied process] face plate, choice [bind calm] option gets stuck, if pursue,2-11 place is shown.
Graph 2-10 The layout of the site Graph 2-11 Bind decide a dialog box
(3) click " deploy " 2 words, point to deploy catalog in shooting a dialog box " D:\Dkblog\bin\ " , if pursue,2-12 place is shown.
(4) click " deploy " by twist, shoot the dialog box that gives the 2-13 that be like a graph, by " affirmatory " pushbutton shuts it.
Graph 2-12 Deploy installs a dialog box
Graph 2-13 Deploy file dialog box
Remind: Be sure to keep in mind DreamweaverCtrls.dll file name to reach its to be in catalog Bin name to cannot be changed, and Bin folder must maintain the root list of existence site fall.

No comments:
Post a Comment