To Asp.Net Faqs
|
|
-
what are the new features in ASP.NET 2.0?
ASP.NET is a programming framework built on the common language runtime that can
be used on a server to build powerful Web applications. The first version of
ASP.NET offered several important advantages over previous Web development
models. ASP.NET 2.0 improves upon that foundation by adding support for several
new and exciting features in the areas of developer productivity,
administration and management, extensibility, and performance
-
New Server Controls:
ASP.NET 2.0 introduces many new server controls that enable powerful
declarative support for data access, login security, wizard navigation, menus,
treeviews, portals, and more. Many of these controls take advantage of core
application services in ASP.NET for scenarios like data access, membership and
roles, and personalization.
-
Master Pages:
This feature provides the ability to define common structure and interface
elements for your site, such as a page header, footer, or navigation bar, in a
common location called a "master page", to be shared by many pages in your
site. In one simple place you can control the look, feel, and much of
functionality for an entire Web site. This improves the maintainability of your
site and avoids unnecessary duplication of code for shared site structure or
behavior.
-
Themes and Skins.
The themes and skins features in ASP.NET 2.0 allow for easy customization of
your site's look-and-feel. You can define style information in a common
location called a "theme", and apply that style information globally to pages
or controls in your site. Like Master Pages, this improves the maintainability
of your site and avoid unnecessary duplication of code for shared styles.
-
Personalization
Using the new personalization services in ASP.NET 2.0 you can easily create
customized experiences within Web applications. The Profile object enables
developers to easily build strongly-typed, sticky data stores for user accounts
and build highly customized, relationship based experiences. At the same time,
a developer can leverage Web Parts and the personalization service to enable
Web site visitors to completely control the layout and behavior of the site,
with the knowledge that the site is completely customized for them.
Personalizaton scenarios are now easier to build than ever before and require
significantly less code and effort to implement.
-
Localization.
Enabling globalization and localization in Web sites today is difficult,
requiring large amounts of custom code and resources. ASP.NET 2.0 and Visual
Studio 2005 provide tools and infrastructure to easily build Localizable sites
including the ability to auto-detect incoming locale's and display the
appropriate locale based UI. Visual Studio 2005 includes built-in tools to
dynamically generate resource files and localization references. Together,
building localized applications becomes a simple and integrated part of the
development experience.
-
Administration and Management
New tools like Configuration API, ASP.NET MMC Admin Tool, Pre-compilation Tool,
Health Monitoring and Tracing have been introduced.
-
Do I need IIS to run Web applications?
If you are using Visual Studio, you can use the ASP.NET Development Server built
into Visual Studio to test your pages. The server functions as a local Web
server, running ASP.NET Web pages in a manner virtually identical to how they
run in IIS. To deploy a Web application, you need to copy it to a computer
running IIS version 5 or 6.
-
Can I upgrade my existing ASP.NET 1.x website to ASP.NET 2.0?
Yes. You can either login to the Customer Control panel and select ASP.NET 2.0
for your website.
-
Can I run my ASP.NET 2.0 applications on my local machine to test my pages?
If you are using Visual Studio, you can use the ASP.NET Development Server built
into Visual Studio to test your pages. The server functions as a local Web
server, running ASP.NET Web pages in a manner virtually identical to how they
run on a Web server. Once testing is completed you can upload your pages to our
servers.
-
Can I hide the source code for my page?
Server-side code is processed on the server and is not sent to the browser, so
users cannot see it. However, client script is not protected; any client script
that you add to your page or that is injected into the page by server
processing is visible to users. If you are concerned about protecting your
source code on the server, you can precompile your site and deploy the compiled
version.
-
Are old projects created in Visual Studio .NET 2002 or 2003 supported in Visual
Studio 2005?
Old projects will continue to run without change. In Visual Studio 2005, if you
open a project created in Visual Studio .NET 2002 or 2003, the project is
converted to the new project layout used in Visual Studio 2005. As part of the
conversion, pages that use the old code-behind model are converted to use the
new code-behind model. You cannot create pages using the old code-behind model
in Visual Studio 2005.
|
|