03.11.2016 Views

Beginning ASP.NET 4.5 in CSharp and VB Opsylum

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Summary x 765<br />

‰ Professional LINQ (ISBN: 978-0-470-04181-9)<br />

‰ Professional Microsoft IIS 8 (ISBN: 978-1-118-38804-4)<br />

Of course, the web is also a good place for more <strong>in</strong>formation. The follow<strong>in</strong>g URLs may be helpful<br />

<strong>in</strong> your search for more <strong>in</strong>formation about <strong>ASP</strong>.<strong>NET</strong> <strong>and</strong> its related technologies:<br />

‰ http://p2p.wrox.com — The public discussion forum from Wrox where you can go for all<br />

your programm<strong>in</strong>g-related questions. This book has its own category on that site, enabl<strong>in</strong>g<br />

you to ask targeted questions. I am a frequent visitor to these forums <strong>and</strong> I’ll do my best to<br />

answer each question you may have about this book.<br />

‰ http://imar.spaanjaars.com — My own website where I keep you up to date about various<br />

web programm<strong>in</strong>g–related topics.<br />

‰ http://www.asp.net — The Microsoft community site for <strong>ASP</strong>.<strong>NET</strong> technology. Go here<br />

for news on <strong>ASP</strong>.<strong>NET</strong>, additional downloads, <strong>and</strong> tutorials.<br />

‰ http://msdn.microsoft.com/asp.net — The official home for <strong>ASP</strong>.<strong>NET</strong> at the Microsoft<br />

developers website that gives you a wealth of <strong>in</strong>formation on <strong>ASP</strong>.<strong>NET</strong>.<br />

SUMMARY<br />

Obviously, deployment is an important action at the end of the development cycle of your new<br />

website. However, it’s unlikely that you deploy your site only once. As soon as you release the first<br />

version of your site, you’ll th<strong>in</strong>k of other new <strong>and</strong> cool features you want to add, mak<strong>in</strong>g the development<br />

of your site a cont<strong>in</strong>uous process. To accommodate for this, you need to make your site easy<br />

to deploy.<br />

One way to do this is by mov<strong>in</strong>g hard-coded configuration sett<strong>in</strong>gs to the Web.config file, giv<strong>in</strong>g<br />

you a s<strong>in</strong>gle location to change parameters for the site <strong>in</strong> your development <strong>and</strong> production<br />

environments.<br />

When you’re ready to roll out your site, it’s a good idea to create a copy of your site <strong>and</strong> clean that<br />

up before you send the files to your target server. Copy<strong>in</strong>g <strong>and</strong> then publish<strong>in</strong>g a site is a breeze with<br />

the Copy Web Site <strong>and</strong> Publish Web Site comm<strong>and</strong>s.<br />

Because you will deploy your site aga<strong>in</strong>st IIS, you need to underst<strong>and</strong> some important sett<strong>in</strong>gs of<br />

this web server. In this chapter, you saw how to configure the Default Web Site <strong>and</strong> make some configuration<br />

changes. Because of the way security works <strong>in</strong> W<strong>in</strong>dows <strong>and</strong> IIS, you also need to configure<br />

your hard drive so that the accounts used by the web server can read the files <strong>in</strong> your site, <strong>and</strong><br />

write to specific folders such as App_Data <strong>and</strong> GigPics.<br />

EXERCISES<br />

This chapter has no exercises, because the Planet Wrox site is now completely f<strong>in</strong>ished. However,<br />

your biggest challenge starts now: build<strong>in</strong>g websites with the knowledge you ga<strong>in</strong>ed from this book.<br />

If you ever build a site with the <strong>in</strong>formation from this book <strong>and</strong> want to share it with me, please<br />

contact me through my website at http://imar.spaanjaars.com. Have fun!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!