Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008."— Presentation transcript:

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

2 Learning Outcomes Learner can use localization Learner can publish the web application Bina Nusantara Copyright © Surya Sujarwo 2008

3 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

4 Localizing Applications for Multiple Languages Setting Culture Setting Culture in global config Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

5 Working with the HTTP Runtime Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

6 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)

7 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) OBJECTPERFORMANCE COUNTERDESCRIPTION Processor%Processor Time/_Total InstanceProcessor utilization. MemoryAvailable BytesAmount of memory on the server. Network InterfaceBytes Total/SecNetwork traffic from the client to the server. Active Server PagesRequests QueuedNumber of requests queued. Web ApplicationAvg. Requests/secAverage number of requests per second. This value is an average over the duration of the test. Web ApplicationAvg. Time to First Byte (TTFB)Average time between sending the request and receiving the first byte of the response. Web ApplicationAvg. Time to Last Byte (TTLB)Average time between sending the request and receiving the last byte of the response. Web ApplicationHTTP ErrorsSum of all responses with HTTP result codes in the 400–499 and |500–599 ranges.

8 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)

9 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)

10 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)

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

12 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)

13 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)

14 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 Info Bina Nusantara References: ASP.NET 3.5 For DUMMIES(Ken Cox, 2008)

15 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)

16 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)

17 That’s All Thank You for the Attention Bina Nusantara


Download ppt "Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008."

Similar presentations


Ads by Google