<p/>Appendix D: Web Application Development Using Visual Studio .NET - Beginning ASP.NET 1.1 with Visual C# .NET 1002003 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Beginning ASP.NET 1.1 with Visual C# .NET 1002003 [Electronic resources] - نسخه متنی

Chris Ullman

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید











Appendix D: Web Application Development Using Visual Studio .NET


Overview


This appendix is a brief overview of the key elements of Visual Studio .NET that you can use to create Web applications. You should work through the examples in Chapters 10-13 to understand the sample application demonstrated in this appendix, and to understand the programming concepts we'll be using.

Visual Studio .NET is a huge tool. In the same way that you can start using Microsoft Word as a beginner one day and still be learning about its many different features several years later, Visual Studio .NET has numerous wizards and tools available if you know where to look. This appendix concentrates on the core features that you'll use as a Visual Studio .NET Web developer.

Visual Studio .NET comes in many different packages. The lowest end, designed for developers on a budget, is the language-specific edition (Visual C# Standard or Visual Basic .NET Standard). Those with MSDN subscriptions or larger wallets may use Visual Studio .NET Professional or Visual Studio .NET Enterprise Architect. Each edition has a different subset of features available. The language editions are not only language-specific, but also have the following key restrictions:



    No option to create Class Library or Server Control projects.



    No option to modify the structure of SQL databases (to create or edit tables in the Data Explorer). However, you can still view information in the database.



There are ways around each of these limitations – you can add classes to other projects (as we will do in this appendix) for adding compiled data access components or server controls to your Web applications. You can even modify the structure of SQL Server databases in Visual Studio .NET by using the SQL window and executing SQL commands directly against the database. However, a better idea is to edit databases using Web Matrix – it's a free tool, and you can edit existing databases or even create new databases using the Web Matrix Data pane.





Important

In this appendix, all of the exercises will assume that you only have Visual C# .NET Standard Edition. This will ensure that you can try out these exercises for yourself on any of the Visual Studio .NET range of products.


In this appendix, we'll recreate some of the functionality built across Chapters 10-13 of this book, concentrating on how to achieve similar results using the Visual Studio .NET environment and associated tools. We'll look at:



    Creating a Web application project, and the files that are created by default.



    Visual Studio .NET's Solution and Project based architecture.



    The main features of the environment that you'll need to be familiar with.



    Adding HTML and Web controls to pages and adding some interactivity.



    Creating custom user controls and adding them to pages.



    Moving data access code into a separate class file (a technique that can be duplicated for any custom server controls you may need to write).



We won't be discussing how any of the code in this appendix works, because this is covered in depth in the earlier chapters.

/ 220