Thursday, July 2, 2009

For data connections

However, the most dynamic web sites are associated with the data, some designers have been successful in implementing
Complete facilities that suit the wishes of users. Microsoft celebrated the old ASP sites with built in several versions
Efficiency and safety problems. Besides, even the simple purpose of the score lines of code required.
ASP.NET 2.0 data controls to work with two groups of data through a rich suite of features provides.
The data source control to add data sources to offer behavior. Data - that is bound to take control
And to present information in HTML. The number of data source control to connect to almost any source can
Data data, and control of, presentations and other user tables, lists, trees offer. Task
Together, these controls the user data through the ability to page, as well as data and edit it to offer.
Code
Because the ASP or any other web site it is impossible for almost every web site requires customized code
All the technology to forecast the needs of businesses. ASP.NET 2.0 more than 20 different languages supports.
Even if the programmer uses the language, the code is translated into a single intermediate
Performance of the first language. ASP.NET 2.0 control on the server, but the programmer is killed
The code (for example, Java or other client-side script) to go out in a section for writing the option to
Performance on the client.
Componentization
To develop web sites are easy to maintain and, if different parts independently of each other can be made.
Traditional ASP pages, large content, HTML, ASP control, and is based on a script with the code.
ASP.NET 2.0 logical to divide the site into parts for more efficient and provides a model and structure. For
For example, normally a separate code file is placed in the presentation layer from the (text and HTML tags).
In addition, Visual Web Developer easily to provide data processing products for the construction of the Wizard provides.
Web Services
Enterprise information and offer services on your site. For example, the headquarters of the world
color and value www.Ford.com you can give a list of quotes. But in the last few years we
Saw a demand for those services will be available for other sites. For example, a local Ford dealer in May
and color on www.YourLocalFordDealer.com want to provide a list of values. Web services allow a
Consumer site (local dealer), a provider site (Ford headquarters) to receive information from. Local
Ford Dealer Ford corporate real-time data provided by the web site using the services, but keep it can display
Local user on the page of the site. ASP.NET 2,0 conforms to a full service web solution offers
Specifications of the soap (Simple Object Access Protocol, a web service to ask for data from a well) for
And XML (extensible markup language, a format for data).


Caching and performance
The designer in a uniform language is compiled on a development machine writes the page
. NET 2.0 with Microsoft intermediate language (MSIL) called. Then it is a copy of the deployment
Machine. This page is requested the first time in a general collection undergoes further
Language runtime (CLR), which it will serve to optimize the hardware for the page. This two-step
Process for software and hardware to optimize continuity of achieves the double goal. Two steps
Of. NET 2.0-depth analysis of team performance are. The great aspect for Beginners
The compilation of all that happens automatically.
ASP.NET 2.0 pages easily, so that subsequent requests are faster service enables caching. When, cached
A final version of the page in the RAM of the server so that it can be immediately sent to the next store
But also to rebuild the server page request. In addition, the designer can specify that only
Parts of pages, a process known as fragment caching can be cached. Fragment caching accelerates service
Of a non-changes in some parts of the page while still being allowed to generate a dynamic custom pieces.
If you want, you also have the option to the data is invalid Microsoft SQL Server 7 or more are using
Part of the page for that data - or of employees, but less dependent variable (the list is probably a caching
Their retail outlets). Until it gets a message from the SQL data cache in an invalid page caching will
The underlying data that the server has changed. With a designation of a data cache set to receive an SQL
Notice the data has changed. SQL Server will notify. NET when the data, the ASP.NET triggers has changed
Show a 2.0 to reread.
Errors and exception handling
A web site, in fact, any system, errors need to answer. ASP.NET 2.0 to react to a system provides
For errors. Response code can be in an error page or a redirect can be done. Error page can be
This error is unique to an error page or the entire site can be used for. Of. NET 2.0 Framework also
Allows many levels of error handling. If an error occurs in a data handled at this stage it can be read
Data source. If so, the next bubble level error is not handled and can be handled there.
Unhandled errors through the layers of designer options to resolve the issue with the bubble
But the problem is the most effective level.
Deployment
In the past, Windows or Linux sites setup a series of steps that need to register and configure the deployment
The host machine on site. The ASP.NET 2.0 team, naming it one of XCOPY deployment targets
That a simple copy of a folder and all subfolders of the old DOS command after a performance. A simple
XCOPY deployment to host your site from the development machine deploys. All registration and
Automatically when the machine-level optimization is the first request hits the site.
Development Tools
Although not part of ASP.NET 2.0, Microsoft for the construction of the improvement in equipment has spent considerable effort
ASP pages, the views of the studio, Visual Web Developer, and Visual Web Developer Express products.
This ides (integrated development environments) to allow drag-and-drop building of pages. Most
Common action automatically, or are directed to the Wizard. Typing in cases where it is necessary to IDE
Is wise to complete the phrases. Freely download this book uses the VWD Express.