Beginning ASP.NET 4.5.1: in C# and VB
eBook - ePub

Beginning ASP.NET 4.5.1: in C# and VB

Imar Spaanjaars

Compartir libro
  1. English
  2. ePUB (apto para móviles)
  3. Disponible en iOS y Android
eBook - ePub

Beginning ASP.NET 4.5.1: in C# and VB

Imar Spaanjaars

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

Build your ASP.NET 4.5.1 skills with real-world instruction In this comprehensive guide to getting started with ASP.NET 4.5.1, best-selling author Imar Spaanjaars provides a firm foundation for coders new to ASP.NET and key insights for those not yet familiar with the important updates in the 4.5.1 release. Readers learn how to build full-featured ASP.NET websites using Visual Studio Express 2013 for Web, Microsoft's free development tool for ASP.NET web applications. Beginning ASP.NET 4.5.1 guides you through the process of creating a fully functional, database-driven website, from creation of the most basic site structure all the way down to the successful deployment of the website to a production environment.

Beginning ASP.NET 4.5.1: in C# and VB:

  • Explains how to get started with ASP.NET 4.5.1, including an introduction to Microsoft's Visual Studio Express 2013 for Web
  • Features helpful examples for designing websites with CSS and HTML and how to overcome common formatting problems
  • Shares techniques for managing server controls in ASP.NET, including standard controls, HTML controls, and data controls
  • Provides real-world tips for creating consistent page layouts throughout your websites
  • Covers practical functionality issues like validating user input, sending e-mail from your website, and processing data at the server
  • Details what the ASP.NET state engine is and why it is important
  • Shows how to access and modify data in a SQL Server database
  • Includes coverage of jQuery, LINQ, and the Entity Framework
  • Explores measures to take for optimal security

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Beginning ASP.NET 4.5.1: in C# and VB un PDF/ePUB en línea?
Sí, puedes acceder a Beginning ASP.NET 4.5.1: in C# and VB de Imar Spaanjaars en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming Languages. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Editorial
Wrox
Año
2014
ISBN
9781118846964
Edición
1

Chapter 1
Getting Started with ASP.NET 4.5.1

WHAT YOU WILL LEARN IN THIS CHAPTER:
  • How to acquire and install Visual Studio Express 2013 for Web and Visual Studio 2013
  • How to create your first website with Visual Studio Express 2013
  • How an ASP.NET page is processed by the server and sent to the browser
  • How you can use and customize the development environment
Ever since the first release of the .NET Framework 1.0 in early 2002, Microsoft has put a lot of effort and development time into ASP.NET, the part of the .NET Framework that enables you to build rich web applications. This first release meant a radical change from the older Microsoft technology to build websites called Active Server Pages (ASP), now referred to as classic ASP. The introduction of ASP.NET 1.0 and the associated Visual Studio .NET gave developers the following benefits over classic ASP:
  • A clean separation between presentation and code. With classic ASP, your programming logic was often scattered throughout the HTML of the page, making it hard to make changes to the page later.
  • A development model that was much closer to the way desktop applications are programmed. This made it easier for the many Visual Basic desktop programmers to make the switch to web applications.
  • A feature-rich development tool (called Visual Studio .NET) that enabled developers to create and code their web applications visually.
  • A choice between a number of object-oriented programming (OOP) languages, of which Visual Basic .NET and C# (pronounced as C-Sharp) are now the most popular.
  • Access to the entire .NET Framework, which for the first time meant that web developers had a unified and easy way to access many advanced features to work with databases, files, e-mail, networking tools, and much more.
Despite the many advantages of ASP.NET over the older model, using ASP.NET also meant an increase in complexity and the knowledge needed to build applications with it, making it harder for many new programmers to get started with ASP.NET.
After the initial release in 2002, Microsoft released another version of the .NET Framework (called .NET 1.1) and the development IDE (called Visual Studio .NET 2003). Many people saw this as a service pack for the initial release, although it also brought a lot of new enhancements in both the framework and the development tools.
In November 2005, Visual Studio 2005 and ASP.NET 2.0 were released. To the pleasant surprise of many developers around the world, Microsoft had again been able to drastically improve and expand the product, adding many features and tools that helped reduce the complexity that was introduced with ASP.NET 1.0. New wizards and smart controls made it possible to reduce the code required to build an application, decreasing the learning curve for new developers and increasing their productivity.
In November 2007, Microsoft released Visual Studio 2008 and the ASP.NET 3.5 framework, followed by Visual Studio 2010 and ASP.NET 4 in March 2010 and Visual Studio 2012 and ASP.NET 4.5 in September 2012. Each version added a lot of new functionality, including LINQ (discussed in Chapter 14), the integration of the AJAX Framework (which you learn more about in Chapter 10), the ADO.NET Entity Framework (discussed in Chapter 14), the inclusion of jQuery (discussed in Chapter 11), and more.
The current versions, Visual Studio 2013 and ASP.NET 4.5.1, build on top of the successful Visual Studio 2012 and ASP.NET 4.5 releases, leaving many of the beloved features in place while adding new features and tools in other areas. Over the next 19 chapters, you learn how to build full-featured ASP.NET websites using Visual Studio Express 2013 for Web, Microsoft’s free development tool for ASP.NET web applications, which is also part of the full Visual Studio 2013 suite. This book guides you through the process of creating a fully functional, database-driven website, starting with a bare-bones website in the next chapter, all the way down to the deployment of it to a production environment in Chapter 19.
The sample site that comes with this book and all the examples are built with Visual Studio Express 2013 for Web (VSEW), so it’s important that you have it installed on your development machine. The next section shows you how to acquire and install VSEW. Once you have it up and running, you see how to create your first website, followed by an extensive tour through the many features of VSEW.

MICROSOFT VISUAL STUDIO EXPRESS FOR WEB

Microsoft Visual Studio (VS) hosts an enormous number of tools that will help you in rapidly creating complex ASP.NET web applications.
Visual Studio for Web comes in two flavors: as a standalone and free version called Microsoft Visual Studio Express 2013 for Web, and as part of the larger development suite called Visual Studio 2013, which is also available in different editions, each with its own price tag. With the commercial editions of Visual Studio, the web components are fully integrated. You just start Visual Studio 2013 and then create a Web Site Project or a Web Application Project, which in turn enables the web components of Visual Studio.
Although the Express edition of Visual Studio is free, it contains all the features and tools you need to create complex and feature-rich web applications. All the examples you find in the book can be built with the free Express edition, so there’s no need to shell out big bucks for the commercial versions of Visual Studio 2013 to follow along with this book.
I’ll use the term Visual Studio (VS) to refer to both the commercial and free versions of Visual Studio. When talking about the free edition specifically, I’ll use the terms Express edition or Visual Studio Express 2013 for Web.
Getting Visual Studio is easy. You can download it from the Microsoft site as discussed next.

Getting Visual Studio

You can get the free Visual Studio Express 2013 for Web from the Microsoft site at www.microsoft.com/express/. On the Express homepage, follow the Downloads link until you reach the page that offers the downloads for the Express products, including VSEW. From this page, you can download VSEW as a Web Install, where you download only the installer, while the remaining files are downloaded during the installation process. Make s...

Índice