This document provides an overview of important topics for ASP.NET developers. It covers HTTP and web server fundamentals, debugging and analysis tools, development techniques, and patterns and practices. The agenda includes sections on IIS architecture, configuration files, tools like Fiddler and Network Monitor, reducing page size and requests, caching, and common design patterns for web applications. The goal is to discuss essential knowledge for building high-performance, secure ASP.NET applications.
The Latest, Ultimative Final Version, Current Release, Approved, Last Minute ...LetsConnect
To offer your customers the best IBM Connections install possible, there are quite a few thing you should at least think about activating. The range of options you should think about spans from enabling the file sync through URL previews to assigning ToDos to multiple people.
We will take you on a tour of free features that you could enable for your users to give them a better Connections experience. You will leave this session with a checklist and links to documentation so you can start implementing right after the session.
Buzzword Bingo for this session: free, hidden settings, free, checlist, additional functionality, free, best practice
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceBrian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...Mark Broadbent
The SQL Server Database Engine is a prerequisite and fundamental part of any SharePoint deployment but the downside to all of this is the Database Server usually brings a Database Administrator with it. In this session we will explain how to configure SQL Server correctly with SharePoint deployments in mind, how the underlying architecture and mechanisms of SQL Server work and why you need to do all this! By the end of this session you will have learnt how to talk to your DBA to explain that they are doing it wrong!
The Latest, Ultimative Final Version, Current Release, Approved, Last Minute ...LetsConnect
To offer your customers the best IBM Connections install possible, there are quite a few thing you should at least think about activating. The range of options you should think about spans from enabling the file sync through URL previews to assigning ToDos to multiple people.
We will take you on a tour of free features that you could enable for your users to give them a better Connections experience. You will leave this session with a checklist and links to documentation so you can start implementing right after the session.
Buzzword Bingo for this session: free, hidden settings, free, checlist, additional functionality, free, best practice
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceBrian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
SharePoint is from Mars, SQL Server is from Venus (SQL Server for SharePoint ...Mark Broadbent
The SQL Server Database Engine is a prerequisite and fundamental part of any SharePoint deployment but the downside to all of this is the Database Server usually brings a Database Administrator with it. In this session we will explain how to configure SQL Server correctly with SharePoint deployments in mind, how the underlying architecture and mechanisms of SQL Server work and why you need to do all this! By the end of this session you will have learnt how to talk to your DBA to explain that they are doing it wrong!
WildFly AppServer - State of the Union
as presented at SoftShake Geneva, Oct 2015
http://soft-shake.ch/2015/en/
Covering the whole WildFly v8/9/10 series and the key aspects of the base AS7 architecture.
This presentation is just the showcase for the book that I authored with PACKT publication.
This presentation shows what all tiips/techniques we have covered to make our website more optimized for faster response using existing tools, codes and methods.
Webinar: Adobe Experience Manager Clustering Made Easy on MongoDB MongoDB
Adobe Experience Manager helps you organize and manage the delivery of creative assets and other content across all of your digital marketing channels. Experience Manager customers who take advantage of MongoDB can deploy a highly scalable content repository to support their business needs, as well as migrate content from legacy systems. In this session, you'll learn how you can use MongoDB to deploy AEM systems at scale. The session will cover installation, sizing, and the tools available to automate and manage your cluster.
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
SharePoint Saturday The Conference 2011 - SP2010 PerformanceBrian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
Adobe AEM Maintenance - Customer Care Office HoursAndrew Khoury
This presentation covers how to maintain Adobe Experience Manager 6.x (AEM / CQ / Communiqué) environments.
See the presentation video here:
https://helpx.adobe.com/experience-manager/kt/eseminars/ccoo-aem-Aug-recording.html
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB AtlasMongoDB
NBCUniversal, a worldwide mass media corporation, was looking for a more affordable and easier way to manage their database solution that hosts their extensive online digital assets. With Datavail’s assistance, NBCUniversal, made the move from MongoDB 3.6 to MongoDB Atlas on AWS.
Meet MariaDB 10.1 at the Bulgaria Web SummitColin Charles
Meet MariaDB 10.1 at the Bulgaria Web Summit, held in Sofia in February 2016. Learn all about MariaDB Server, and the new features like encryption, audit plugins, and more.
WildFly AppServer - State of the Union
as presented at SoftShake Geneva, Oct 2015
http://soft-shake.ch/2015/en/
Covering the whole WildFly v8/9/10 series and the key aspects of the base AS7 architecture.
This presentation is just the showcase for the book that I authored with PACKT publication.
This presentation shows what all tiips/techniques we have covered to make our website more optimized for faster response using existing tools, codes and methods.
Webinar: Adobe Experience Manager Clustering Made Easy on MongoDB MongoDB
Adobe Experience Manager helps you organize and manage the delivery of creative assets and other content across all of your digital marketing channels. Experience Manager customers who take advantage of MongoDB can deploy a highly scalable content repository to support their business needs, as well as migrate content from legacy systems. In this session, you'll learn how you can use MongoDB to deploy AEM systems at scale. The session will cover installation, sizing, and the tools available to automate and manage your cluster.
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
SharePoint Saturday The Conference 2011 - SP2010 PerformanceBrian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance. I will discuss advanced approaches for analyzing, measuring and implementing optimizations in your farm.
Adobe AEM Maintenance - Customer Care Office HoursAndrew Khoury
This presentation covers how to maintain Adobe Experience Manager 6.x (AEM / CQ / Communiqué) environments.
See the presentation video here:
https://helpx.adobe.com/experience-manager/kt/eseminars/ccoo-aem-Aug-recording.html
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB AtlasMongoDB
NBCUniversal, a worldwide mass media corporation, was looking for a more affordable and easier way to manage their database solution that hosts their extensive online digital assets. With Datavail’s assistance, NBCUniversal, made the move from MongoDB 3.6 to MongoDB Atlas on AWS.
Meet MariaDB 10.1 at the Bulgaria Web SummitColin Charles
Meet MariaDB 10.1 at the Bulgaria Web Summit, held in Sofia in February 2016. Learn all about MariaDB Server, and the new features like encryption, audit plugins, and more.
Generating the Server Response: HTTP Status CodesDeeptiJava
In this session you will learn:
Format of the HTTP response
How to set status codes
What the status codes are good for
Shortcut methods for redirection and error pages
A servlet that redirects users to browser-specific pages
A front end to various search engines
For more information, visit this link: https://www.mindsmapped.com/courses/software-development/online-java-training-for-beginners/
SharePoint 2010 Boost your farm performance!Brian Culver
Is your farm struggling to server your organization? How long is it taking between page requests? Where is your bottleneck in your farm? Is your SQL Server tuned properly? Worried about upgrading due to poor performance? We will look at various tools for analyzing and measuring performance of your farm. We will look at simple SharePoint and IIS configuration options to instantly improve performance.
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastJoel Oleson
As we ramp up to SharePoint 2010, most still haven't done the basic things to get their systems and clients ready for the bits when they arrive. There is a lot that can be done today, and tools that have been shipped in SP2 to get us ready. Here's quick practical ways to use these tools with a quick rundown to getting prepared for SharePoint 2010
Learn why DotNetNuke has become the CMS of choice for many businesses, and how Landscapes In Motion can deliver a web 2.0 dynamic and modern website based on your budget and needs.
Visit: http://www.landscapesinmotion.com.au/webconstruction
Email: sales@landscapesinmotion.com.au
.NET 8 is poised to deliver significant advancements with features such as Primary Constructors for cleaner code, enhanced Garbage Collection for better memory management, and optimized JSON Serialization for efficient data handling. Performance is further bolstered by Fast Search, Dynamic Profile Guided Optimization (PGO), and Native AOT for faster runtime and startup. Time Abstraction offers refined time operations, while improved Cryptography and Compression with ZipFile support enhance security and data management. Immutable data structures are introduced with FrozenSet, and RegEx Code Generation promises more efficient pattern matching. Additionally, Redis Output Caching could enhance distributed caching mechanisms, Background Worker enhancements may improve asynchronous task execution, and Semantic Kernel suggests more intelligent code analysis capabilities. Collectively, these features aim to streamline development workflows and boost application performance in the .NET 8 framework.
This presentation is for the developers who want to embark upon the SharePoint development and don\'t know where to start, how does it differ from traditional ASP.NET development, etc.
Spring 2007 SharePoint Connections Oleson Advanced Administration and Plannin...Joel Oleson
Advanced Administration the 2nd part in a 2 part series on Administration topics for SharePoint Server by Joel Oleson. SharePoint Connections Spring 2007 in Orlando,
Similar to CTU June 2011 - Things that Every ASP.NET Developer Should Know (20)
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Securing your Kubernetes cluster_ a step-by-step guide to success !
CTU June 2011 - Things that Every ASP.NET Developer Should Know
1. Things that Every ASP.NET
Developer should know
Darren Sim
Microsoft MVP (ASP.NET / IIS)
Member, Microsoft Developer Guidance Web Advisory Council
Director, Singapore Software Quality Testing Board (SGTQB)
2. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
3. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
4. Fundamentals
• Internet is based on TCP/IP
• World Wide Web is based on HTTP
– HTTP based on Request/Response paradigm
– Header and body
– Stateless
– Specification @ http://www.ietf.org/rfc/rfc2068.txt
8. IIS Architecture
Configuration Application Pool
SvcHost.exe w3wp.exe
WWW Windows
Publishing Process
Service Activation
(W3SVC) Service (WAS)
User Mode
Kernel Mode
HTTP.sys
9. Configuration File
Site Application
Machine.config Root web.config
web.config web.config
<system.Web> <system.Web>
Applicationhost.config
<system.webServer> <system.webServer>
*Web.config has a 100Kb file size limit.
10. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
11. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
12. Fiddler
• Tracing tool specifically for HTTP
• Shows complete request and response (not packets)
• Can save archive of session
• Can be used on own machine (ipv4.fiddler, ipv6.fiddler)
• Can create own GET requests
• Can decrypt SSL traffic!
13. Microsoft Network Monitor
• General network tracing tool for many protocols
• Hooks into network adapters
• See network frames at multiple levels
• Apply filters for specific protocols, IP addresses, etc
Free download at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=983b941d-06cb-
4658-b7f6-3088333d062f&displaylang=en
14. IIS Log Files
• Time Taken (execute, queue, and time to client – IIS 7/6)
• Sub-status codes are very useful for indicating the exact problems
• Log entries are made AFTER the page execution is complete
• Log file entries are always in GMT
• Setup cookie, referrer, bytes sent
15. Log Parser
• Utility to query IIS log files, event logs, etc
• Query syntax nearly identical to SQL
• Write series of queries for site health (HTTP status, time taken, file
sizes, down pages, orders, etc)
• ASP.NET Response.AppendToLog( )
Download Log Parser at http://tinyurl.com/5uoxz
16. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
17. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
19. Performance Culprits
Solution
• Combine all Javascript into one file
• Combine all CSS into one file
• Using MSAjax CDN instead of your own
20. Reduce & Avoid Requests
• Avoid Response.Redirect
– Invokes an extra client side HTTP Request
• Use Server.Transfer instead
21. Reduce Page Size
• The smaller the page, the quicker the download
• Especially important in these areas
– Mobile Applications (Windows Mobile, IPhone, 3G Data Card)
– Non Broadband Users
– Many offices have less capacity than broadband
– Developing Countries
22. Reduce Page Size
• Most Browsers support HTTP Compression
– GZIP & Deflate
– IE, Firefox etc
• Drastically reduces page size
• Steps
– Browser Passes Accept-Encoding in Request Header
– Data is compressed and sent to browser
– Browser decompresses html
• Only GET is compressed, POST IS NOT Compressed
23. HTTP Compression
• Server evaluates the “Accept-Encoding” header for request,
compresses resulting response
• largeGridView.aspx - 41 frames down to 7
• Implemented in February 2003 when about 3% of Fortune 1000 web
sites utilized
• Used 53% less bandwidth, ~25% faster Keynote measurements
• Now use IIS Compression (free)
24. HTTP Compression (cont…)
• IIS 7
– Can control when to stop using if CPU usage is too high
– Minimum default file size is 256K
– Only static compression is on by default
Detailed article about enabling IIS 6 compression at http://tinyurl.com/yjdo7w
25. Content Expirations
• Client asks “if-modified-since”
• Small content files it is just as expensive to see if modified as to
receive content
• Setup expiration times for content folders
• Avoid requests for files that seldom change (.js, .css, images, etc)
• Rename the file if need to override browser caching
26. Ajax Minifier
• Microsoft Ajax Minifier (Codeplex.com)
• Minimize CSS and JavaScript files
– Remove whitespace, comments, excessive semicolons, etc
• Command line, .dll, and build tasks
• jQuery-1.4.2.js minimized 55.5%
• Test after minimize!
• MSBuild Extension Pack (version #)
27. ETags
• Used for cache validation
• IIS sends the ETag header in response for static files
– hash:changeNumber
• IIS 6
– changeNumber – specific to server
– Set to 0 with Metabase Explorer, http://tinyurl.com/2agsbtc
• IIS 7
– changeNumber - 0 by default
– Completely remove header with HttpModule
28. CSS Sprite
• Combine small images into a single image
• Use CSS to “index” into the larger image
• Often 70-95% of time taken for a user is time requesting components
(images, .css, .js)
• Reduce the number of requests
**Free CSS Sprite generator at http://spritegen.website-performance.org/
29. Tracing
• Setup ASP.NET to save information about recent requests
• <trace enabled="true" pageOutput="false" localOnly="false"
requestLimit="2" mostRecent="true" />
• /Trace.axd
34. Global.asax Application_Error( )
• Every ASP.NET web site should have this coded to ensure that
unhandled exceptions are caught and logged
• HKLMSystemCurrentControlSetServicesEventLogApplication and
add key for source
• Use <customErrors mode=“On” /> to redirect to a down page
35. Validation Controls
• OWASP Top 10
– XSS (Cross Site Scripting)
– SQL Injection
• All input from web controls needs to be verified
• Leverage client validation for user experience but must validate on the server
• Common validators
– RequiredFieldValidator
– RangeValidator
– RegularExpressionValidator
– CompareValidator
– CustomValidator
36. Caching
– Data caching (Cache), cut 50% of our SQL queries which was 72,080,000
less queries each month!
– Substitution
– Output caching (shared)
– Don’t cache page (set specific cache ability)
• Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
37. Yahoo! A List Browsers
Win XP Win 7 Mac 10.6.† iOS 3.† iOS 4.† Android 2.2.†
Safari 5.† A-grade
Chrome † (latest
A-grade
stable)
A-grade (upon GA A-grade (upon GA
Firefox 4.†
release) release)
Firefox 3.6.† A-grade A-grade A-grade
A-grade (upon GA
IE 9.0
release)
IE 8.0 A-grade A-grade
IE 7.0 A-grade
IE 6.0 A-grade
Safari for iOS A-grade A-grade
WebKit for Android
A-grade
OS
Complete list available at http://developer.yahoo.com/yui/articles/gbs/
38. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
39. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
48. Patterns for Web 2.0
• The Service-Oriented Architecture Pattern
• The Software as a Service (SaaS) Pattern
• The Participation-Collaboration Pattern
• The Asynchronous Particle Update Pattern
• The Mashup Pattern
• The Rich User Experience Pattern
49. Patterns for Web 2.0 (cont…)
• The Synchronized Web Pattern
• The Collaborative Tagging Pattern
• The Declarative Living and Tag Gardening Pattern
• The Semantic Web Grounding Pattern
• The Persistent Rights Management (PRM) Pattern
• The Structured Information Pattern
50. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices
51. AGENDA
HTTP and Web Server Fundamentals
Debugging and Analysis Tools
Development Techniques
Patterns & Practices