Debugging Your Website with Fiddler and Chrome Developer Tools

Slides:



Advertisements
Similar presentations
Fred P. Baker CCIE, CCIP(security), CCSA, MCSE+I, MCSE(2000)
Advertisements

Improving Web Site Performance and Scalability While Saving Money Robert Boedigheimer ∙ Web Application
PHP syntax basics. Personal Home Page This is a Hypertext processor It works on the server side It demands a Web-server to be installed.
How the web works: HTTP and CGI explained
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Web, HTTP and Web Caching
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar 1 The Web: the http protocol http: hypertext transfer protocol Web’s application.
WWW, HTTP, GET, POST, Cookies Svetlin Nakov Telerik Corporation
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
CIS679: Lecture 13 r Review of Last Lecture r More on HTTP.
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
Fiddler and Your Website Robert Boedigheimer. About Me Web developer since 1995 Columnist for aspalliance.com Pluralsight Author 3 rd Degree Black Belt,
Lecture # 1 By: Aftab Alam Department Of Computer Science University Of Peshawar Internet Programming.
What’s Really Happening
* Web Servers/Clients * The HTTP Protocol
Introduction to Information Security
IS1500: Introduction to Web Development
Essential tools for implementing and testing websites
Block 5: An application layer protocol: HTTP
Building Web Apps with Servlets
Web Basics: HTML and HTTP
HTTP – An overview.
The Hypertext Transfer Protocol
CISC103 Web Development Basics: Web site:
How does it work ?.
1993 version of Mosaic browser.
EMBEDDED WEB TECHNOLOGY
Computing with C# and the .NET Framework
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
HTTP Protocol Specification
Hypertext Transfer Protocol
Internet transport protocols services
Introduction Web Environments
Web Caching? Web Caching:.
Web Server Design Week 8 Old Dominion University
Web Server Design Week 7 Old Dominion University
TCP/IP Networking An Example
HTTP Protocol.
Application HTTP.
HTTP, RESTful Web Services, HTTP and REST Tools: Postman, Fiddler
Uniform Resource Locators
CISC103 Web Development Basics: Web site:
WEB API.
Multimedia and Networks
CS320 Web and Internet Programming Cookies and Session Tracking
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
Uniform Resource Locators (URLs)
CS3220 Web and Internet Programming Cookies and Session Tracking
Hypertext Transfer Protocol
HyperText Transfer Protocol
Web Server Design Week 8 Old Dominion University
Hypertext Transfer Protocol (HTTP)
Web Server Design Week 8 Old Dominion University
Hypertext Transport Protocol CSE 333 Autumn 2018
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
The Application Layer: HTTP
Uniform Resource Locators

CS3220 Web and Internet Programming Cookies and Session Tracking
Application Layer Part 1
Hypertext Transport Protocol CSE 333 Winter 2019
HTTP Hypertext Transfer Protocol
An Introduction to the Internet and the Web
CSCI-351 Data communication and Networks
Presentation transcript:

Debugging Your Website with Fiddler and Chrome Developer Tools Robert Boedigheimer Principal Systems Developer Schwan's Shared Services, LLC

About Me Web developer since 1995 Pluralsight Author 3rd Degree Black Belt, Tae Kwon Do ASP.NET MVP boedie@outlook.com @boedie weblogs.asp.net/boedie

HTTP HyperText Transfer Protocol Request/response paradigm* Header and body

HTTP Request GET http://itdevconnections.com/dc17/ HTTP/1.1 Host: itdevconnections.com Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) … Chrome/60.0.3112.101 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8

HTTP Response HTTP/1.1 200 OK Content-Type: text/html Last-Modified: Thu, 25 Sep 2014 20:36:00 GMT Accept-Ranges: bytes ETag: "61b5a2510d9cf1:0" Server: Microsoft-IIS/8.0 X-Powered-By: ASP.NET Date: Mon, 28 Aug 2017 01:34:20 GMT Content-Length: 207 <!DOCTYPE html>

What is Fiddler? Tracing tool built specifically for HTTP Eric Lawrence (@ericlaw) Acquired by Telerik in 2012 http://fiddler2.com (free) C# HTTP HTTP is protocol used by the web Ignores other types of traffic (simplifies review, easier to see problems) Complete request and response Don’t need to “assemble” a request and a response like would need to do in Network Monitor/WireShark A few instances where care about packets (compression, etc), generally can look at size for that Requirements Fiddler 2 requires .NET v2.0+, Fiddler 4 requires .NET v4.0+ A beta for Mono and beta for OS X

How Does Fiddler Work? Proxy Adjusts system’s proxy configuration to intercept traffic Medium to large companies have these to allow access to the Internet Fiddler remembers the original proxy settings so it can send traffic onward (chain)

Chrome Developer Tools F12 or Ctrl-Shift-I (Windows), Cmd-Opt-I (Mac) Experiments chrome://flags/ Developer Tools experiments Canary Developers and early adopters Run side by side with Chrome Real life use dev tools in all various browsers because typical that only one has the problem…

Site Failure HTTP response status codes JavaScript errors Style issues Performance concerns Mixed content warning Compare a success and a failure!

Who’s Doing That? Who requested that? Who modified that? A configuration change can be made to Internet Explorer to indicate, via the X-Download-Initiator request header, why each request was issued

What if? Request was different Blocked something Slower connection or response Another user agent First request Simulate lat/long or orientation A configuration change can be made to Internet Explorer to indicate, via the X-Download-Initiator request header, why each request was issued

Miscellaneous Other platforms/devices Backend APIs HTTPS Someone else’s computer Render on different devices Non-optimized images Saving and sharing traces Filmstrip Setup as “Reverse Proxy” on devices where can’t set a proxy easily

Resources Pluralsight Course – Fiddler https://www.pluralsight.com/courses/fiddler “Debugging with Fiddler: The complete reference from the creator of the Fiddler Web Debugger” 2nd Edition (http://tinyurl.com/zavnkhs) https://developer.chrome.com/devtools

Questions boedie@outlook.com @boedie weblogs.asp.net/boedie