Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] نسخه متنی

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

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

Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] - نسخه متنی

Jeffrey Putz

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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






Default Behavior of the IDE


The 2002 and 2003 versions of Visual Studio, by default, use the old code-behind model. There are no partial classes at all because these versions are based on v1.x of the .NET Framework. If you want to use the Page directive's src attribute, you'll have to manually add it and enter the name of the class file you want to use as code-behind. Keep in mind that building the Web project will cause a compiled version of the code-behind class to appear in the generated assembly in the /bin folder. Be sure that it doesn't appear in both places or you'll get an error.Listing 7.6. It's a bit less straightforward, but you'll spend less time fighting the IDE.

Visual Studio 2005 works differently, as we described in Chapter 6, but the biggest "issue" is just getting used to it if you've been developing with one of the previous versions for a couple years. The biggest change is that all of the class files are not compiled to a single assembly. Instead, the class files are all compiled when the application is used for the first time. That means you can make changes on-the-fly and not have to rebuild the project with every change.


/ 146