Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ASP .NET 2.0 Beta Preview - B. Evjen.pdf
Скачиваний:
26
Добавлен:
24.05.2014
Размер:
15.33 Mб
Скачать

Introduction to ASP.NET 2.0

Figure 1-13

A New IDE for Building ASP.NET 2.0 Pages

With ASP.NET 1.0/1.1, you can build your ASP.NET application using Notepad, Visual Studio .NET 2002 and 2003, as well as the ASP.NET Web Matrix. ASP.NET 2.0 also introduces another IDE to the Visual Studio family — Visual Studio 2005.

Visual Studio 2005 offers some dramatic enhancements that completely change the way in which you build your ASP.NET applications. Figure 1-14 shows you a screen shot of the new Visual Studio 2005.

The most exciting change to the IDE is that Visual Studio 2005 builds applications using a file-based system, not the project-based system used by Visual Studio .NET. When using Visual Studio .NET, you had to create new projects (for example, an ASP.NET Web Application project). This process created a number of project files in your application. Because everything was based on a singular project, it became very difficult to develop applications in a team environment.

19

Chapter 1

Figure 1-14

Visual Studio 2005, on the other hand, is based on a file system approach. No project files are included in your project, and this makes it very easy for multiple developers to work on a single application together without bumping into each other. Other changes are those to the compilation system, which I discussed earlier. You can now build your ASP.NET pages using the inline model or the new codebehind model. Whether you build pages inline or with the new code-behind model, you have full IntelliSense capabilities no matter what model you use. This, in itself, is powerful and innovative. Figure 1-15 shows IntelliSense running from an ASP.NET page being built using the inline model.

Another feature of Visual Studio 2005 that has come over from the ASP.NET Web Matrix is that you don’t need ISS on your development machine. Visual Studio 2005 has a built-in Web server that enables you to launch pages from any folder in your system with relative ease. Chapter 2 discusses the new Visual Studio 2005 in detail.

20

Introduction to ASP.NET 2.0

Figure 1-15

Summar y

This chapter briefly introduced what is new in ASP.NET 2.0. This release offers so much that I didn’t even come close to covering it all in this chapter. You will find the new ways of working with data, presentation, and the new infrastructures effective means to create powerful and secure applications. Even though ASP.NET 2.0 is presently only in a beta format, this is a great time to learn where the product is heading and how to use it.

ASP.NET 2.0 is so powerful and has so much capability built-in that its tremendous benefits to productivity really shine through.

21