SlideShare a Scribd company logo
1.Difference between HTTP and HTTPS

     S.No   HTTP                                HTTPS

     1      URL begins with “http://" in case   URL begins with “https://” in case of
            of HTTP                             HTTPS.

     2      HTTP is unsecured                   HTTPS is secured.

     3      HTTP uses port 80 for               HTTPS uses port 443 for
            communication                       communication.

     4      HTTP operates at Application        HTTPS operates at Transport Layer.
            Layer

     5      No encryption is there in HTTP      HTTPS uses encryption.

     6      No certificates required in HTTP    certificates required in HTTPS.

     7      Most internet forums will           HTTPS should be used in Banking
            probably fall into this category.   Websites, Payment Gateway, Shopping
            Because these are open discussion   Websites, Login Pages, Emails (Gmail
            forums, secured access is           offers HTTPS by default in Chrome
            generally not required              browser) and Corporate Sector
                                                Websites. For example:

                                                PayPal: https://www.paypal.com
                                                Google AdSense:
                                                https://www.google.com/adsense/


2.Difference between GET and POST methods


     S.No   GET                                 POST

     1      Post Mechanism:                     Post Mechanism:

            GET request is sent via URL.        Post request is sent via HTTP request
                                                body or we can say internally.

     2      Form Default Method:                Form Default Method:

            GET request is the default          We have to specify POST method
            method.                             within form tag like <Form
                                                method="POST".......

     3      Security:                           Security:

            Since GET request is sent via       Since Post request encapsulated name
            URL, so that we can not use this    pair values in HTTP request body, so
            method for sensitive data.          that we can submit sensitive data
                                                through POST method.
4      Length:                               Length:

              GET request has a limitation on       POST request has no major limitation.
              its length. The good practice is
              never allow more than 255
              characters.

       5      Caching or Bookmarking:               Caching or Bookmarking:

              GET request will be better for        POST request is not better for caching
              caching and bookmarking.              and bookmarking.

       6      SEO:                                  SEO:

              GET request is SEO friendly.          POST request is not SEO friendly.

       7      Data Type:                            Data Type:

              GET request always submits data       POST request has no restriction.
              as TEXT.

       8      Best Example:                         Best Example:

              SEARCH is the best example for        LOGIN is the best example for POST
              GET request.                          request.

       9      HTTP Request Message                  HTTP Request Message Format:
              Format:
                                                    1 POST /path/script.cgi HTTP/1.0
              1 GET /path/file.html?                2 From: umarali1981@gmail.com
              SearchText=Interview_Question         3 User-Agent: HTTPTool/1.0
              HTTP/1.0                              4 Content-Type: application/x-www-
              2 From: umarali1981@gmail.com         form-urlencoded
              3 User-Agent: HTTPTool/1.0            5 Content-Length: 8
              4 [blank line here]                   6
                                                    7 Code=132

Some comments on the limit on QueryString / GET / URL parameters Length:

1. 255 bytes length is fine, because some older browser may not support more than that.
2. Opera supports ~4050 characters.
3. IE 4.0+ supports exactly 2083 characters.
4. Netscape 3 -> 4.78 support up to 8192 characters.
5. There is no limit on the number of parameters on a URL, but only on the length.
6. The number of characters will be significantly reduced if we have special characters like spaces
that need to be URLEncoded (e.g. converted to the '%20').
7. If we are closer to the length limit better use POST method instead of GET method.
3.Difference between User Controls and Master Pages

       S.No   User Controls                         Master Pages

       1      Its extension is .ascx.               Its extension is .Master.

       2      Code file: .ascx.cs or .ascx.vb       code file: .master.cs or .master.vb
                                                    extension

       3      A page can have more than one         Only one master page can be assigned
              User Controls.                        to a web page

       4      It does not contain                   It contains ContentPlaceHolder.
              Contentplaceholder and this
              makes it somewhat difficult in
              providing proper layout and
              alignment for large designs.

       5      Suitable for small designs(Ex:        More suitable for large designs(ex:
              logout button on every .aspx          defining the complete layout of .aspx
              page.)                                page)

       6      Register Tag is added when we         MasterPageFile attribute is added in
              drag and drop a user control onto     the Page directive of the .aspx page
              the .aspx page.                       when a Master Page is referenced in
                                                    .aspx page.

       7      Can be attached dynamically           Can be referenced using Web.Config
              using LoadControl method.PreInit      file also or dynamically by writing
              event is not mandatory in their       code in PreInit event.
              case for dynamic attachment.


4.Difference between Build and Rebuild


       S.No   Build                                 Rebuild

       1      A build compiles only the files       A rebuild rebuilds all projects and files
              and projects that have changed.       in the solution irrelevant of whether
                                                    they have changed or not.

       2      Build does not updates the xml-       Rebuild updates the xml-
              documentation files                   documentation files


Note: Sometimes,rebuild is necessary to make the build successful. Because, Rebuild cleans
Solution to delete any intermediate and output files, leaving only the project and component files,
from which new instances of the intermediate and output files can then be built.
5.Difference between generic handler and http handler


      S.No   Generic Handler                      Http Handler

      1      Generic handler has a handler        http handler is required to be
             which can be accessed by url with    configured in web.config against
             .ashx extension                      extension in web.config.It does not
                                                  have any extension

      2      Typical example of generic           For http handler, page handler which
             handler are creating thumbnails of   serves .aspx extension request and give
             images                               response.



Please visit my blog @ http://onlydifferencefaqs.blogspot.in/

More Related Content

What's hot (20)

PPTX
SPDY - or maybe HTTP2.0
Andreas Bjärlestam
 
PDF
DEF CON 27 - BEN SADEGHIPOUR - owning the clout through ssrf and pdf generators
Felipe Prado
 
PDF
Introduction to Web Technology
Rob Bertholf
 
PPTX
INFT132 093 03 Web Concepts
Michael Rees
 
PPT
Integrating RSS Into Your Web Site
Michael Sauers
 
PDF
HTTP 완벽가이드 1장.
HyeonSeok Choi
 
PDF
Demystifying SEO & Modern KPI Reporting
Rob Bertholf
 
PPTX
HTTP
vaibhavrai1993
 
PPTX
Rest presentation
srividhyau
 
ODP
Linux Apache Php Mysql Lamp1273
hussulinux
 
PPTX
Best practices for RESTful web service design
Ramin Orujov
 
PDF
Hidden Features in HTTP
Great Wide Open
 
PDF
Understanding the Web through HTTP
Olivia Brundage
 
PPTX
HTTP fundamentals for developers
Mario Cardinal
 
PDF
Web Hosting Starter Guide
webhostingguy
 
PPT
Web Browsers And Other Mistakes
guest2821a2
 
PPT
Common Gateway Interface
Balu Masulkar
 
PPTX
Design Beautiful REST + JSON APIs
Stormpath
 
KEY
Rest and the hypermedia constraint
Inviqa
 
PDF
2014 database - course 1 - www introduction
Hung-yu Lin
 
SPDY - or maybe HTTP2.0
Andreas Bjärlestam
 
DEF CON 27 - BEN SADEGHIPOUR - owning the clout through ssrf and pdf generators
Felipe Prado
 
Introduction to Web Technology
Rob Bertholf
 
INFT132 093 03 Web Concepts
Michael Rees
 
Integrating RSS Into Your Web Site
Michael Sauers
 
HTTP 완벽가이드 1장.
HyeonSeok Choi
 
Demystifying SEO & Modern KPI Reporting
Rob Bertholf
 
Rest presentation
srividhyau
 
Linux Apache Php Mysql Lamp1273
hussulinux
 
Best practices for RESTful web service design
Ramin Orujov
 
Hidden Features in HTTP
Great Wide Open
 
Understanding the Web through HTTP
Olivia Brundage
 
HTTP fundamentals for developers
Mario Cardinal
 
Web Hosting Starter Guide
webhostingguy
 
Web Browsers And Other Mistakes
guest2821a2
 
Common Gateway Interface
Balu Masulkar
 
Design Beautiful REST + JSON APIs
Stormpath
 
Rest and the hypermedia constraint
Inviqa
 
2014 database - course 1 - www introduction
Hung-yu Lin
 

Viewers also liked (14)

PDF
Dotnet differences
Umar Ali
 
DOCX
Interview Question of Aspdotnet
MohitKumar1985
 
PPT
Asp net
MohitKumar1985
 
PDF
sap cert
Michael Tony-Egbo
 
PDF
OOPs difference faqs- 2
Umar Ali
 
PDF
Wcf difference faqs-1
Umar Ali
 
PDF
Dotnet difference between
Umar Ali
 
PPT
Javascript quiz. Questions to ask when recruiting developers.
Alberto Naranjo
 
PDF
Javascript quiz
DM's College, Assagao Goa
 
PDF
Html interview-questions-and-answers
MohitKumar1985
 
PDF
Dotnet difference questions and answers compiled- 1(updated-2)
Umar Ali
 
DOC
Javascript Question
Vinodkumar Saravana Chandrasekar
 
DOCX
Multiple choice questions with answers
Classic Tech
 
DOCX
Bit%20 ch02
Kodchawan Yookong
 
Dotnet differences
Umar Ali
 
Interview Question of Aspdotnet
MohitKumar1985
 
OOPs difference faqs- 2
Umar Ali
 
Wcf difference faqs-1
Umar Ali
 
Dotnet difference between
Umar Ali
 
Javascript quiz. Questions to ask when recruiting developers.
Alberto Naranjo
 
Javascript quiz
DM's College, Assagao Goa
 
Html interview-questions-and-answers
MohitKumar1985
 
Dotnet difference questions and answers compiled- 1(updated-2)
Umar Ali
 
Multiple choice questions with answers
Classic Tech
 
Bit%20 ch02
Kodchawan Yookong
 
Ad

Similar to Asp.Net difference faqs- 4 (20)

PDF
Introduction to the World Wide Web
Abdalla Mahmoud
 
ODP
PHP Training: Module 1
hussulinux
 
PPTX
Web technology
Anuj Singh Rajput
 
PDF
Resource-Oriented Web Services
Bradley Holt
 
ODP
Starting With Php
Harit Kothari
 
PDF
Introduction To Web (Mukesh Patel)
Tirthesh Ganatra
 
PPTX
HTTP
altaykarakus
 
ODP
SCWCD 1. get post - url (cap1 - cap2 )
Francesco Ierna
 
PPT
RESTful SOA - 中科院暑期讲座
Li Yi
 
ODP
HTTP Basic - PHP
Sulaeman .
 
PPT
Under the Covers with the Web
Trevor Lohrbeer
 
PPTX
2.2.2.2 Web Address
hazirma
 
PPT
Webbasics
patinijava
 
PDF
Web Services PHP Tutorial
Lorna Mitchell
 
PPT
Web Site Optimization
Sunil Patil
 
PPT
Web site optimization
Sunil Patil
 
PPTX
improve website performance
amit Sinha
 
PDF
High Performance Ajax Applications
Siarhei Barysiuk
 
PDF
Fulfilling the Hypermedia Constraint via HTTP OPTIONS, The HTTP Vocabulary In...
ruyalarcon
 
PPTX
Best Practices for Architecting a Pragmatic Web API.
Mario Cardinal
 
Introduction to the World Wide Web
Abdalla Mahmoud
 
PHP Training: Module 1
hussulinux
 
Web technology
Anuj Singh Rajput
 
Resource-Oriented Web Services
Bradley Holt
 
Starting With Php
Harit Kothari
 
Introduction To Web (Mukesh Patel)
Tirthesh Ganatra
 
SCWCD 1. get post - url (cap1 - cap2 )
Francesco Ierna
 
RESTful SOA - 中科院暑期讲座
Li Yi
 
HTTP Basic - PHP
Sulaeman .
 
Under the Covers with the Web
Trevor Lohrbeer
 
2.2.2.2 Web Address
hazirma
 
Webbasics
patinijava
 
Web Services PHP Tutorial
Lorna Mitchell
 
Web Site Optimization
Sunil Patil
 
Web site optimization
Sunil Patil
 
improve website performance
amit Sinha
 
High Performance Ajax Applications
Siarhei Barysiuk
 
Fulfilling the Hypermedia Constraint via HTTP OPTIONS, The HTTP Vocabulary In...
ruyalarcon
 
Best Practices for Architecting a Pragmatic Web API.
Mario Cardinal
 
Ad

More from Umar Ali (20)

PDF
Difference between wcf and asp.net web api
Umar Ali
 
PDF
Difference between ActionResult() and ViewResult()
Umar Ali
 
PDF
Difference between asp.net mvc 3 and asp.net mvc 4
Umar Ali
 
PDF
Difference between asp.net web api and asp.net mvc
Umar Ali
 
PDF
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
PDF
ASP.NET MVC difference between questions list 1
Umar Ali
 
ODT
Link checkers 1
Umar Ali
 
PDF
Affiliate Networks Sites-1
Umar Ali
 
PDF
Technical Video Training Sites- 1
Umar Ali
 
PDF
US News Sites- 1
Umar Ali
 
PDF
How to create user friendly file hosting link sites
Umar Ali
 
PDF
Weak hadiths in tamil
Umar Ali
 
PDF
Bulughul Maram in tamil
Umar Ali
 
PDF
Asp.net website usage and job trends
Umar Ali
 
PDF
Indian news sites- 1
Umar Ali
 
PDF
Photo sharing sites- 1
Umar Ali
 
PDF
File hosting search engines
Umar Ali
 
PDF
Ajax difference faqs compiled- 1
Umar Ali
 
PDF
ADO.NET difference faqs compiled- 1
Umar Ali
 
PDF
Dotnet differences compiled -1
Umar Ali
 
Difference between wcf and asp.net web api
Umar Ali
 
Difference between ActionResult() and ViewResult()
Umar Ali
 
Difference between asp.net mvc 3 and asp.net mvc 4
Umar Ali
 
Difference between asp.net web api and asp.net mvc
Umar Ali
 
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
ASP.NET MVC difference between questions list 1
Umar Ali
 
Link checkers 1
Umar Ali
 
Affiliate Networks Sites-1
Umar Ali
 
Technical Video Training Sites- 1
Umar Ali
 
US News Sites- 1
Umar Ali
 
How to create user friendly file hosting link sites
Umar Ali
 
Weak hadiths in tamil
Umar Ali
 
Bulughul Maram in tamil
Umar Ali
 
Asp.net website usage and job trends
Umar Ali
 
Indian news sites- 1
Umar Ali
 
Photo sharing sites- 1
Umar Ali
 
File hosting search engines
Umar Ali
 
Ajax difference faqs compiled- 1
Umar Ali
 
ADO.NET difference faqs compiled- 1
Umar Ali
 
Dotnet differences compiled -1
Umar Ali
 

Recently uploaded (20)

PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
Practical Applications of AI in Local Government
OnBoard
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Kubernetes - Architecture & Components.pdf
geethak285
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 

Asp.Net difference faqs- 4

  • 1. 1.Difference between HTTP and HTTPS S.No HTTP HTTPS 1 URL begins with “http://" in case URL begins with “https://” in case of of HTTP HTTPS. 2 HTTP is unsecured HTTPS is secured. 3 HTTP uses port 80 for HTTPS uses port 443 for communication communication. 4 HTTP operates at Application HTTPS operates at Transport Layer. Layer 5 No encryption is there in HTTP HTTPS uses encryption. 6 No certificates required in HTTP certificates required in HTTPS. 7 Most internet forums will HTTPS should be used in Banking probably fall into this category. Websites, Payment Gateway, Shopping Because these are open discussion Websites, Login Pages, Emails (Gmail forums, secured access is offers HTTPS by default in Chrome generally not required browser) and Corporate Sector Websites. For example: PayPal: https://www.paypal.com Google AdSense: https://www.google.com/adsense/ 2.Difference between GET and POST methods S.No GET POST 1 Post Mechanism: Post Mechanism: GET request is sent via URL. Post request is sent via HTTP request body or we can say internally. 2 Form Default Method: Form Default Method: GET request is the default We have to specify POST method method. within form tag like <Form method="POST"....... 3 Security: Security: Since GET request is sent via Since Post request encapsulated name URL, so that we can not use this pair values in HTTP request body, so method for sensitive data. that we can submit sensitive data through POST method.
  • 2. 4 Length: Length: GET request has a limitation on POST request has no major limitation. its length. The good practice is never allow more than 255 characters. 5 Caching or Bookmarking: Caching or Bookmarking: GET request will be better for POST request is not better for caching caching and bookmarking. and bookmarking. 6 SEO: SEO: GET request is SEO friendly. POST request is not SEO friendly. 7 Data Type: Data Type: GET request always submits data POST request has no restriction. as TEXT. 8 Best Example: Best Example: SEARCH is the best example for LOGIN is the best example for POST GET request. request. 9 HTTP Request Message HTTP Request Message Format: Format: 1 POST /path/script.cgi HTTP/1.0 1 GET /path/file.html? 2 From: [email protected] SearchText=Interview_Question 3 User-Agent: HTTPTool/1.0 HTTP/1.0 4 Content-Type: application/x-www- 2 From: [email protected] form-urlencoded 3 User-Agent: HTTPTool/1.0 5 Content-Length: 8 4 [blank line here] 6 7 Code=132 Some comments on the limit on QueryString / GET / URL parameters Length: 1. 255 bytes length is fine, because some older browser may not support more than that. 2. Opera supports ~4050 characters. 3. IE 4.0+ supports exactly 2083 characters. 4. Netscape 3 -> 4.78 support up to 8192 characters. 5. There is no limit on the number of parameters on a URL, but only on the length. 6. The number of characters will be significantly reduced if we have special characters like spaces that need to be URLEncoded (e.g. converted to the '%20'). 7. If we are closer to the length limit better use POST method instead of GET method.
  • 3. 3.Difference between User Controls and Master Pages S.No User Controls Master Pages 1 Its extension is .ascx. Its extension is .Master. 2 Code file: .ascx.cs or .ascx.vb code file: .master.cs or .master.vb extension 3 A page can have more than one Only one master page can be assigned User Controls. to a web page 4 It does not contain It contains ContentPlaceHolder. Contentplaceholder and this makes it somewhat difficult in providing proper layout and alignment for large designs. 5 Suitable for small designs(Ex: More suitable for large designs(ex: logout button on every .aspx defining the complete layout of .aspx page.) page) 6 Register Tag is added when we MasterPageFile attribute is added in drag and drop a user control onto the Page directive of the .aspx page the .aspx page. when a Master Page is referenced in .aspx page. 7 Can be attached dynamically Can be referenced using Web.Config using LoadControl method.PreInit file also or dynamically by writing event is not mandatory in their code in PreInit event. case for dynamic attachment. 4.Difference between Build and Rebuild S.No Build Rebuild 1 A build compiles only the files A rebuild rebuilds all projects and files and projects that have changed. in the solution irrelevant of whether they have changed or not. 2 Build does not updates the xml- Rebuild updates the xml- documentation files documentation files Note: Sometimes,rebuild is necessary to make the build successful. Because, Rebuild cleans Solution to delete any intermediate and output files, leaving only the project and component files, from which new instances of the intermediate and output files can then be built.
  • 4. 5.Difference between generic handler and http handler S.No Generic Handler Http Handler 1 Generic handler has a handler http handler is required to be which can be accessed by url with configured in web.config against .ashx extension extension in web.config.It does not have any extension 2 Typical example of generic For http handler, page handler which handler are creating thumbnails of serves .aspx extension request and give images response. Please visit my blog @ http://onlydifferencefaqs.blogspot.in/