This book is for anyone who wants to learn how to build rich and interactive web sites that run on the Microsoft platform. With the knowledge you gain from this book, you create a great foundation to build any type of web site, ranging from simple hobby-related web sites to sites you may be creating for commercial purposes.
Anyone new to web programming should be able to follow along because no prior background in web development is assumed although it helps if you do have a basic understanding of HTML and the web in general. The book starts at the very beginning of web development by showing you how to obtain and install Visual Web Developer. The chapters that follow gradually introduce you to new technologies, building on top of the knowledge gained in the previous chapters.
Do you have a strong preference for Visual Basic over C# or the other way around? Or do you think both languages are equally cool? Or maybe you haven’t made up your mind yet and want to learn both languages? Either way, you’ll like this book because all code examples are presented in both languages!
Even if you have some experience with prior versions of ASP.NET, you may gain a lot from this book. Although many concepts from previous versions are brought forward into ASP.NET 4, you’ll discover there’s a lot of new stuff to be found in this book, including an introduction to the ADO.NET Entity Framework, the inclusion of jQuery, ASP.NET AJAX, the many changes to the ASP.NET 4 Framework, and much more.
This book teaches you how to create a feature-rich, data-driven, and interactive web site called Planet Wrox. Although this is quite a mouthful, you’ll find that with Visual Web Developer 2010, developing such a web site isn’t as hard as it seems. You’ll see the entire process of building a web site, from installing Visual Web Developer 2010 in Chapter 1 all the way up to putting your web application on a live server in Chapter 19. The book is divided into 19 chapters, each dealing with a specific subject.
Chapter 1, “Getting Started with ASP.NET 4” shows you how to obtain and install Visual Web Developer 2010. You’ll get instructions for downloading and installing the free edition of Visual Web Developer 2010, called the Express edition. You are also introduced to HTML, the language behind every web page. The chapter closes with an overview of the customization options that Visual Web Developer gives you.
Chapter 2, “Building an ASP.NET Web Site” shows you how to create a new web site and how to add new elements like pages to it. Besides learning how to create a well-structured site, you also see how to use the numerous tools in Visual Web Developer to create HTML and ASP.NET pages.
Chapter 3, “Designing Your Web Pages.” Visual Web Developer comes with a host of tools that allow you to create well-designed and attractive web pages. In this chapter, you see how to make good use of these tools. Additionally, you learn about CSS, the language that is used to format web pages.
Chapter 4, “Working with ASP.NET Server Controls.” ASP.NET Server Controls are one of the most important concepts in ASP.NET. They allow you to create complex and feature-rich web sites with very little code. This chapter introduces you to the large number of server controls that are available, explains what they are used for, and shows you how to use them.
Chapter 5, “Programming Your ASP.NET Web Pages.” Although the built-in CSS tools and the ASP.NET Server Controls can get you a long way in creating web pages, you are likely to use a programming language to enhance your pages. This chapter serves as an introduction to programming with a strong focus on programming web pages. Best of all: all the examples you see in this chapter (and the rest of the book) are in both Visual Basic and C#, so you can choose the language you like best.
Chapter 6, “Creating Consistent Looking Web Sites.” ASP.NET helps you create consistent-looking pages through the use of master pages, which allow you to define the global look and feel of a page. Skins and themes help you to centralize the looks of controls and other visual elements in your site. You also see how to create a base page that helps to centralize programming code that you need on all pages in your site.
Chapter 7, “Navigation.” To help your visitors find their way around your site, ASP.NET comes with a number of navigation controls. These controls are used to build the navigation structure of your site. They can be connected to your site’s central site map that defines the pages in your web site. You also learn how to programmatically send users from one page to another.
Chapter 8, “User Controls.” User controls are reusable page fragments that can be used in multiple web pages. As such, they are great for repeating content such as menus, banners, and so on. In this chapter, you learn how to create and use user controls and enhance them with some programmatic intelligence.
Chapter 9, “Validating User Input.” A large part of interactivity in your site is defined by the input of your users. This chapter shows you how to accept, validate, and process user input using ASP.NET Server Controls. Additionally, you see how to send e-mail from your ASP.NET web application and how to read from text files.
Chapter 10, “ASP.NET AJAX.” Microsoft ASP.NET AJAX allows you to create good-looking, flicker-free web pages that close the gap between traditional desktop applications and web applications. In this chapter you learn how to use the built-in Ajax features to enhance the presence of your web pages, resulting in a smoother interaction with the web site.
Chapter 11, “jQuery.” jQuery is a popular, open source and cross-browser JavaScript library designed to make it easier to interact with web pages in the client’s browser. In this chapter you learn the basics of jQuery and see how to add rich visual effects and animations to your web pages.
Chapter 12, “Introducing Databases.” Understanding how to use a database is critical to building web sites, as most modern web sites require the use of a database. You’ll learn the basics of SQL, the query language that allows you to access and alter data in a database. In addition, you are introduced to the database tools found in Visual Web Developer that help you create and manage your SQL Server databases.
Chapter 13, “Displaying and Updating Data.” Building on the knowledge you gained in the previous chapter, this chapter shows you how to use the ASP.NET data-bound and data source controls to create a rich interface that enables your users to interact with the data in the database that these controls target.
Chapter 14, “LINQ and the ADO.NET Entity Framework.” LINQ is Microsoft’s solution for accessing objects, databases, XML, and more. The ADO.NET Entity Framework (EF) is Microsoft’s new technology for database access. This chapter shows you what LINQ is all about, how to use the visual EF designer built into Visual Studio, and how to write LINQ to EF queries to get data in and out of your SQL Server database.
Chapter 15, “Working with Data—Advanced Topics.” While earlier chapters focused mostly on the technical foundations of working with data, this chapter looks at the same topic from a front-end perspective. You see how to change the visual appearance of your data through the use of control styles. You also see how to interact with the data-bound controls and how to speed up your application by keeping a local copy of frequently accessed data.
Chapter 16, “Security in Your ASP.NET 4 Web Site.” Although presented quite late in the book, security is a first-class, important topic. This chapter shows you how to make use of the built-in ASP.NET features related to security. You learn about a number of application services that facilitate security. You also learn how to let users sign up for an account on your web site, how to distinguish between anonymous and logged-on users, and how to manage the users in your system.
Chapter 17, “Personalizing Web Sites.” Building on the security features introduced in Chapter 16, this chapter shows you how to create personalized web pages with content targeted at individual users. You see how to configure and use ASP.NET Profile that enables you to store personalized data for known and anonymous visitors.
Chapter 18, “Exception Handling, Debugging, and Tracing.” In order to understand, improve, and fix the code you write for your ASP.NET web pages you need good debugging tools. Visual Web Developer ships with great debugging support that enables you to diagnose the state of your application at run time, helping you find and fix problems before your users do.
Chapter 19, “Deploying Your Web Site.” By the end of the book, you should have a web site that is ready to be shown to the world. But how exactly do you do that? What are the things you need to know and understand to put your web site out in the wild? This chapter gives the answers and provides you with a good look at configuring different production systems in order to run your final web site.
Imar Spaanjaars,毕业于荷兰Leisure Management School,主修休闲管理专业,但不久就转入互联网领域。
在超过12年的职业生涯中,Imar曾就职于互联网领域的多家网络公司。最近,他创办了自己的公司De Vier Koeden,为客户提供使用ASP.NET 4等Microsoft开发的技术开发互联网和内部网应用程序方面的咨询和开发等服务。
Imar编写了多本关于ASP.NET和Macromedia Dreamweaver的书籍,包括《ASENET 3.5入门经典——涵盖C#和VB.NET(第5版)》(由清华大学出版社引进并出版)。他是Wrox社区论坛的主要贡献者之一,在那里他与其他程序员分享自己的知识。
在2008年和2009年,鉴于Imar对ASENET社区做出的突出贡献,Microsoft公司授予他“最有价值专家”称号。
刘伟琴,资深IT翻译专家,具有丰富的计算机工作经验,多年来一直从事IT翻译工作。承担过Test Partner大型软件本地化项目的翻译工作,曾参与翻译十多本计算机专业书籍。
张格仙,毕业于解放军西安通信学院计算机通信工程专业。精通数据库、ASP、ASP.NET编程,领导和参与了数个信息管理系统的设计与开发工作,具有丰富的网站开发经验。
不象国产ASP.NET的书一样跟你搞很多术语解释,这本入门介绍知识点的时候是用实例代码+工作原理讲解,不全面介绍和深入讲解,只介绍最可能用到的知识点,涉及到高级的一概略过,因此本书非常实用,容易上手,便于树立概念,但是很可能也让你看的一头雾水,好像什么都懂点但是什...
评分不象国产ASP.NET的书一样跟你搞很多术语解释,这本入门介绍知识点的时候是用实例代码+工作原理讲解,不全面介绍和深入讲解,只介绍最可能用到的知识点,涉及到高级的一概略过,因此本书非常实用,容易上手,便于树立概念,但是很可能也让你看的一头雾水,好像什么都懂点但是什...
评分不象国产ASP.NET的书一样跟你搞很多术语解释,这本入门介绍知识点的时候是用实例代码+工作原理讲解,不全面介绍和深入讲解,只介绍最可能用到的知识点,涉及到高级的一概略过,因此本书非常实用,容易上手,便于树立概念,但是很可能也让你看的一头雾水,好像什么都懂点但是什...
评分不象国产ASP.NET的书一样跟你搞很多术语解释,这本入门介绍知识点的时候是用实例代码+工作原理讲解,不全面介绍和深入讲解,只介绍最可能用到的知识点,涉及到高级的一概略过,因此本书非常实用,容易上手,便于树立概念,但是很可能也让你看的一头雾水,好像什么都懂点但是什...
评分基础很重要,文章讲得很细。 万丈高楼平地起,打牢基础很重要。 这本书花了25天看完,每天看一点点。一边看书,一边实践。效果还不错!读完了这本书,发现以前理解的很片面,知其然,而不知其所以然。 真是的是要多读书!
我必须说,这本《Beginning ASP.NET 4 in C# and VB》是一次非常愉快的学习体验。作者以一种非常平易近人的方式,引导我逐步深入ASP.NET的世界。我特别喜欢书中对于不同主题的处理方式,比如在介绍数据绑定时,它不仅展示了如何进行简单的绑定,还深入探讨了数据源控件的强大功能,以及如何在代码中手动进行数据操作。这种多角度的讲解让我能够全面地掌握相关技术。此外,本书在错误处理和调试技巧方面的介绍,也让我受益匪浅。它教会了我如何有效地定位和解决程序中的bug,这对于提高开发效率至关重要。而且,书中对用户体验和可访问性的一些建议,也让我意识到了构建高质量Web应用程序的其他重要方面。总而言之,这本书不仅仅是一本技术手册,更像是一位经验丰富的导师,在我学习ASP.NET的道路上提供了宝贵的指导和启发,让我能够自信地走向更广阔的Web开发领域。
评分这本《Beginning ASP.NET 4 in C# and VB》真的是一本宝藏!刚开始接触ASP.NET的时候,我感觉就像置身于一片知识的汪洋大海,不知道从何下手。网上的教程零散且深度不一,有时候学了半天还是云里雾里。直到我翻开这本书,一切都变得清晰起来。它循序渐进地引导我认识ASP.NET的方方面面,从最基础的页面生命周期、控件使用,到更复杂的数据库交互、用户认证,再到Web服务和AJAX的应用,每一个环节都讲解得详详细细。我特别喜欢书中对C#和VB两种语言的同步讲解,这对于不同背景的开发者来说都太友好了。即使我一开始对C#不太熟悉,通过书中的例子也能很快理解并掌握。而且,它不是那种只会罗列代码的书,而是真正地解释了“为什么”和“怎么做”,让我能够融会贯通,而不是死记硬背。书中提供的实践项目也非常有价值,让我有机会将学到的知识付诸实践,建立起实际的项目经验。每一次遇到困惑,这本书总能提供及时且准确的解答,感觉就像有一个经验丰富的导师在身边随时指导。
评分坦白说,我当初选择这本书,很大程度上是被它的“Beginning”所吸引。我一直以来都是一个对Web开发充满好奇心,但又缺乏系统性指导的初学者。在信息爆炸的时代,找到一本能够真正落地、并且覆盖核心概念的书籍实属不易。这本书在我的求学之路上扮演了关键的角色。它以一种非常友好的姿态,将ASP.NET 4这个相对庞大的框架拆解成一个个易于理解的模块。从Web Forms的经典模型,到Razor Pages的现代范式,再到MVC架构的清晰阐释,本书都做了深入浅出的介绍。更令我惊喜的是,它并没有停留在理论层面,而是通过大量生动形象的示例代码,将抽象的概念具象化。我能亲眼看到代码如何转化为实际的功能,如何响应用户的交互,如何与后台数据进行无缝对接。这本书让我深刻体会到了ASP.NET强大的灵活性和开发效率,也让我对未来的Web开发充满了信心。它就像一盏明灯,照亮了我学习ASP.NET的道路,让我不再迷茫,而是充满方向感地向前迈进。
评分说实话,我一开始对“Beginning”这个词抱有一些疑虑,担心它会过于浅显,无法满足我进一步学习的需求。然而,《Beginning ASP.NET 4 in C# and VB》完全颠覆了我的看法。它所展现出的深度和细致程度,远超我的预期。本书不仅仅是介绍如何编写代码,更是引导读者去理解ASP.NET背后的设计哲学和最佳实践。我从书中学习到了如何有效地组织代码结构,如何利用控件进行高效的UI开发,以及如何处理常见的Web应用程序中的错误和异常。最让我受益匪浅的是,它对ASP.NET MVC框架的讲解,清晰地阐述了模型、视图和控制器的职责划分,以及它们之间如何协同工作。这让我能够摆脱传统的Web Forms模式,拥抱一种更现代化、更易于测试和维护的开发方式。书中提供的代码示例也都是经过精心设计的,简洁明了,并且能够直接运行,这极大地节省了我自己编写测试代码的时间,让我能够更专注于理解核心概念。
评分在阅读《Beginning ASP.NET 4 in C# and VB》的过程中,我最大的感受就是其内容的深度和广度都达到了一个令人满意的水平,尤其是在为初学者构建扎实基础方面。本书并没有止步于简单的语法介绍,而是巧妙地将ASP.NET的各个组件及其工作原理娓娓道来。从HTTP请求的生命周期,到服务器端控件的事件模型,再到视图状态的机制,书中都进行了细致的剖析,让我能够理解Web应用程序是如何在幕后运行的。这种对底层机制的理解,对于日后解决复杂问题至关重要。我尤其欣赏作者在介绍数据访问时,所提供的多种实现方式,并对它们的优缺点进行了对比分析,这让我能够根据实际需求做出更明智的技术选择。此外,本书在安全性和性能优化方面的章节,虽然篇幅不长,但却点拨了我很多关键性的思路,为我后续的深入学习打下了良好的基础。整体而言,这本书的知识体系搭建得非常完善,堪称是一本不可多得的入门级圣经。
评分很基础的书,风格和missing manual很像,每章都有很多try it out练习
评分很基础的书,风格和missing manual很像,每章都有很多try it out练习
评分很基础的书,风格和missing manual很像,每章都有很多try it out练习
评分很务实的书,非常不错
评分很基础的书,风格和missing manual很像,每章都有很多try it out练习
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2026 qciss.net All Rights Reserved. 小哈图书下载中心 版权所有