current popular it i pertemuan 13 matakuliah: t0403/current popular it i tahun: 2008

17
Current Popular IT I Pertemuan 13 Matakuliah : T0403/Current Popular IT I Tahun : 2008

Upload: adriana-winnick

Post on 31-Mar-2015

219 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Current Popular IT IPertemuan 13

Matakuliah : T0403/Current Popular IT ITahun : 2008

Page 2: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Learning Outcomes

• Learner can use localization• Learner can publish the web application

Bina Nusantara Copyright © Surya Sujarwo 2008

Page 3: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Material Outline• Localizing Applications for Multiple Languages• Working with the HTTP Runtime• Configuring Applications• Stress Testing and Monitoring ASP.NET Applications• Deployment• Designer Support• Testing the Live Search Controls• Licensing Support• Globalization and Localization• Ten Tips on Deploying Your Web Application• Sample Application

Bina Nusantara Copyright © Surya Sujarwo 2008

Page 4: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Localizing Applications for Multiple Languages

• Setting Culture

• Setting Culture in global config

Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Page 5: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Working with the HTTP Runtime

Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Page 6: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Configuring Applications

• ASP.NET use hierarchical system of configuration.• At the top is the Machine.config file located at C:\

WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Machine.config

• The \CONFIG folder includes the following six files:– .Machine.config—Contains the actual configuration settings.– .Machine.config.default—Contains the default values for all configuration

settings.– .Machine.config.comments—Contains comments on each configuration setting.– .Web.config—Contains the actual configuration settings.– .Web.config.default—Contains the default values for all configuration settings.– .Web.config.comments—Contains comments on each configuration setting.

• Only the Machine.config and Web.config files are actually used. The other files are there for the purpose of documentation.

Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Page 7: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Stress Testing and Monitoring ASP.NET Applications

• Use Application Center Test Tools

Bina Nusantara References: Performance Tuning and Optimizing ASP.NET Applications (Jeffrey Hasan and Kenneth Tu, 2003)

OBJECT PERFORMANCE COUNTER DESCRIPTION

Processor %Processor Time/_Total Instance Processor utilization.

Memory Available Bytes Amount of memory on the server.

Network Interface Bytes Total/Sec Network traffic from the client to the server.

Active Server Pages Requests Queued Number of requests queued.

Web Application Avg. Requests/sec Average number of requests per second. This value is an average over the duration of the test.

Web Application Avg. Time to First Byte (TTFB) Average time between sending the request and receiving the first byte of the response.

Web Application Avg. Time to Last Byte (TTLB) Average time between sending the request and receiving the last byte of the response.

Web Application HTTP Errors Sum of all responses with HTTP result codes in the 400–499 and |500–599 ranges.

Page 8: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Deployment

• Automation with MSBuild• Deploying the website• Deploying the database• Automating configuration changes• Automating database updates• Custom configuration sections

Bina Nusantara References: Pro ASP.NET for SQL Server (Brennan Stehling, 2007)

Page 9: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Designer Support

• Designers and Dummy Data Source• Template Support in the Result Control

Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Page 10: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Testing the Live Search Controls

• The Default Look and Feel• Customizing the Live Search Controls’

Appearance

Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Page 11: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Licensing Support

• RsaLisense

Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Page 12: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Globalization and Localization

• The CultureInfo Class• The ResourceManager Class• Culture Types and Localizing Resource Files• Satellite Assemblies and Resource Fallback

Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Page 13: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Ten Tips on Deploying Your Web Application

• Use the Copy Web Site Tool– Connecting via FTP– Connecting by using the FrontPage Extensions– Connection via the file system– Transferring file in the Copy Web tool

• Use the SQL Publishing Wizard– Creating a database script– Creating a remote database from a script

• Copy a SQL Express Database• Fix the @#%*& SQL Connection• Choose an ASP.NET-Friendly Host

Bina Nusantara References: ASP.NET 3.5 For DUMMIES(Ken Cox, 2008)

Page 14: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Ten Tips on Deploying Your Web Application (Continue…)

• Head Off a Serious Lack of Trust• Arrgh! It Works Fine on MY Machine!

– Required assemblies are stored in the Global Assembly Cache (GAC)

– Tighter permission rules exist on the destination machine, or ASP.NET is running an account with fewer privileges

– The destination machine doesn’t have the identical version of the .NET runtimes

– The Web server is using a different culture setting and is misinterpreting dates

– Hardcoded paths to resources, such as images, exist– Third-party components don’t have the correct license for the

domain

• Gather Troubleshooting InfoBina Nusantara References: ASP.NET 3.5 For DUMMIES(Ken Cox, 2008)

Page 15: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Ten Tips on Deploying Your Web Application (Continue…)

• Precompile If You’re Code Shy• Encrypt Connection Information

Bina Nusantara References: ASP.NET 3.5 For DUMMIES(Ken Cox, 2008)

Page 16: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Sample Application

• Address Book• Contact Manager• Calendar• Web Log Analyzer• ASP.NET Error Manager• Online Store Application• Teamwork Network: Infrastructure, Discussion

Boards, File Libraries, Project Tracking

Bina Nusantara References: ASP.NET at Work: Building 10 Enterprise Projects (Eric Smith,2002)

Page 17: Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008

That’s AllThank You for the Attention

Bina Nusantara