SlideShare une entreprise Scribd logo
1  sur  26
Thanks to our
                                                                              AWESOME
                                                                               sponsors!




  START              BENEFITS            HOW TO       INSIDE     PLUGINS           CUSTOM       CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors     Write your   Conclusion etc.
01



             Courtship And
             Rick Moranis                ASP.NET Bundling and Minification




  START              BENEFITS             HOW TO       INSIDE     PLUGINS         CUSTOM       CONTACT
Behind the words   Why should you care    Strategies   Timeline   Preprocessors   Write your   Conclusion etc.
3                                                                   ASP.NET Bundling and
  START
                                                                                                        Courtship & Rick Moranis


     Old usages
                                                                               Minification

                   BUNDLING
                   BEDROOMCOURTING
                                                                       MINIFICATION
                                                                      MAKING THINGS SMALLER
                   To bundle means to go to bed                        To Minify is to make things smaller
                   with one of the opposite sex                        by repeated increases in production
                   or visit the bedroom of a                           technology. To use new advances to
                   sweetheart in order to talk to                      reduce the size of the item being
                   ones beloved. Wrapping up                           created.
                   and being restricted, into the
                   covers.

                                                         http://www.horseshoe.cc/pennadutch/culture/customs/bundling.htm

  START              BENEFITS            HOW TO       INSIDE           PLUGINS            CUSTOM                 CONTACT
Behind the words   Why should you care   Strategies   Timeline         Preprocessors       Write your           Conclusion etc.
4                                                              ASP.NET Bundling and
  START Meanings
                                                                                                 Courtship & Rick Moranis


     Modern
                                                                          Minification

                   BUNDLING INTO ONE
                   COMBINING MANY FILES
                                                                 MINIFICATION
                                                                 REDUCING A FILE’S SIZE
                   To bundle means to combine                    To Minify is to make things smaller
                   many asset (Typically                         by many different techniques.
                   JavaScript or CSS) files into a               Including :
                   single file. Reducing the                     •       removing whitespace.
                   number of files.                              •       renaming internal variables
                                                                 •       removing duplicate code
                                                                 •       Byte compression (zip)



  START              BENEFITS            HOW TO       INSIDE     PLUGINS           CUSTOM                 CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors      Write your           Conclusion etc.
5                                                              ASP.NET Bundling and
  BENEFITS you care?
                                                                                              Courtship & Rick Moranis


     Why should
                                                                          Minification

                   BUNDLING
                   FEWERREQUESTS
                                                                 MINIFICATION
                                                                 FEWER BYTES OVER THE WIRE
                   Gives Less time waiting for                   Saves on bandwidth costs
                   round trips.
                                                                 Works better on mobile and
                   Fewer Blocks when hitting                     low bandwidth situations
                   request limits
                                                                 Quicker time to load the page




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
6                                                              ASP.NET Bundling and
  BENEFITS you care?
                                                                                              Courtship & Rick Moranis


     Why should
                                                                          Minification


  Demo 1


  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
7                                                                ASP.NET Bundling and
  HOW TO BAM!
                                                                                                Courtship & Rick Moranis


    Enabling
                                                                            Minification

                                   Enable
                                    1.Debug = “false”

                                    2.EnableOptimizations = True




  START              BENEFITS            HOW TO         INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care    Strategies    Timeline   Preprocessors   Write your           Conclusion etc.
8                                                              ASP.NET Bundling and
  HOW TO BAM!
                                                                                              Courtship & Rick Moranis


    Enabling
                                                                          Minification



             Demo 2


  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
9                                                                  ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                                  Courtship & Rick Moranis


    Configuring
                                                                              Minification

                                   Bundles
                                         • A Logical Grouping
                                         • Everything that a page will need
                                               • Jquery
                                               • Underscore
                                               • Backbone
                                               • Backbone.Marionette (a plugin)




  START              BENEFITS              HOW TO         INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care     Strategies     Timeline   Preprocessors   Write your           Conclusion etc.
10                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis

                                                                          Minification

     Demo 3
    Configuring




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
11                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis


    Configuring
                                                                          Minification

                                   Default Ignore list
                       bundles.IgnoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled);

                       bundles.IgnoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled);

                       bundles.IgnoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled);




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
12                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis


    Configuring
                                                                          Minification


                                         Demo 4


  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
13                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis


    Configuring
                                                                          Minification

                                   When does it not use CDN


     (Debug=false && Enableoptimizations=false)

     || useCDN=false




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
14                                                             ASP.NET Bundling and
  HOW TO TAGS
                                                                                              Courtship & Rick Moranis

                                                                          Minification

     Demo 5
    Configuring




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
15                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis


    Configuring
                                                                          Minification

                                   Async and defer
                                 • Async loads asynchronously and unblocking




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
16                                                             ASP.NET Bundling and
  HOW TO BUNDLES
                                                                                              Courtship & Rick Moranis


    Configuring
                                                                          Minification

                              Async and defer
                            • Defer loads asynchronously but in order




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
17                                                                     ASP.NET Bundling and
  INSIDE
                                                                                                       Courtship & Rick Moranis


     TIMELINE
                                                                                  Minification

                                                      Application Scope

                   PRE-Application                                            Application_Start


    • Registers BundleModule                                          • Calls RegisterBundles




  START              BENEFITS            HOW TO           INSIDE          PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies        Timeline       Preprocessors   Write your           Conclusion etc.
18                                                                 ASP.NET Bundling and
  INSIDE
                                                                                                  Courtship & Rick Moranis


     TIMELINE
                                                                              Minification

                                          REQUEST Scope
         Bundle module                                             BundleHandler
   • Is Request for Valid Bundle?                                • Return 304 (not modified)
                                                                   for conditional get header
   • Send to BundleHandler
                                                                 • Return from cache if exists




  START              BENEFITS            HOW TO       INSIDE         PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline       Preprocessors   Write your           Conclusion etc.
19                                                             ASP.NET Bundling and
  INSIDE
                                                                                                  Courtship & Rick Moranis


     TIMELINE
                                                                          Minification

            Response Scope (Happens on View Render)
                           Get Files                                             Ignore


                   File Extensions                                               ORDER

                                Build                                            Minify

                                                                        Place IN Cache



  START              BENEFITS            HOW TO       INSIDE     PLUGINS             CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors       Write your           Conclusion etc.
20                                                             ASP.NET Bundling and
  PLUGINS
                                                                                              Courtship & Rick Moranis


     PREPROCESSORS
                                                                          Minification

                   Take Code you understand to js and CSS
                                         • LESS
                                         • SASS
                                         • CoffeeScript
                                         • TypeScript
                                         • Others?



  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
21                                                             ASP.NET Bundling and
  Plugins
                                                                                              Courtship & Rick Moranis


     Preprocessors
                                                                          Minification

                                         Demo 6


  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
22                                                             ASP.NET Bundling and
  Custom own preprocessor
                                                                                              Courtship & Rick Moranis


     Write your
                                                                          Minification

    CSS Convert Images to DATA URI
          • Idea from Mads Kristensen
          • data:[<mime type>][;charset=<charset>][;base64],<encoded data>
          • Reduces Requests
          • Access Files at bundle reference
          • Seems like logical extension of bundling




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
23                                                             ASP.NET Bundling and
  Custom own preprocessor
                                                                                              Courtship & Rick Moranis


     Write your
                                                                          Minification

                                   Plans
                                         • Look through css for url(?embed)
                                         • Encode the Image file
                                         • Change the CSS




  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
24                                                             ASP.NET Bundling and
  Plugins
                                                                                              Courtship & Rick Moranis


     Preprocessors
                                                                          Minification

Demo 7


  START              BENEFITS            HOW TO       INSIDE     PLUGINS         CUSTOM                CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors   Write your           Conclusion etc.
28                                                                                                       NEUTRA
  FOLLOW ME
                                                                                                    MINIMAL KEYNOTE PRESENTATION


                                                       SLIDES
                                                      SLIDESHARE.NET/HURRICANEPKT/COURTSHIP-AND-RICK-MORANIS

                                                      TWITTER (DEV only)
                                                                             @MarkKGreenway

                                                      TWITTER
                                                                              @HURRICANEPKT

                                                      BLOG
                                                      WWW.MARKGREENWAY.NET

                                                      DATAURI Creator
                                                      GITHUB.COM/HURRICANEPKT/BUNDLINGDATAURI




  START              BENEFITS            HOW TO           INSIDE      PLUGINS          CUSTOM                      CONTACT
Behind the words   Why should you care   Strategies       Timeline    Preprocessors    Write your                  Conclusion etc.
Thanks to our
                                                                              AWESOME
                                                                               sponsors!




  START              BENEFITS            HOW TO       INSIDE     PLUGINS           CUSTOM       CONTACT
Behind the words   Why should you care   Strategies   Timeline   Preprocessors     Write your   Conclusion etc.

Contenu connexe

Similaire à Courtship and rick moranis

Webinar - Business Implications of SaaS Multi Tenancy
Webinar - Business Implications of SaaS Multi TenancyWebinar - Business Implications of SaaS Multi Tenancy
Webinar - Business Implications of SaaS Multi TenancyScioSales
 
Understanding the Business Implications of SaaS Multi-Tenancy
Understanding the Business Implications of SaaS Multi-TenancyUnderstanding the Business Implications of SaaS Multi-Tenancy
Understanding the Business Implications of SaaS Multi-TenancyScioSales
 
Turning client-side-to-server-side-ruxcon-2011-laurent
Turning client-side-to-server-side-ruxcon-2011-laurentTurning client-side-to-server-side-ruxcon-2011-laurent
Turning client-side-to-server-side-ruxcon-2011-laurentlgandx
 
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0Rupert Clayton
 
NLJUG: Content Management, Standards, Opensource & JCP
NLJUG: Content Management, Standards, Opensource & JCPNLJUG: Content Management, Standards, Opensource & JCP
NLJUG: Content Management, Standards, Opensource & JCPDavid Nuescheler
 
Content Management Standards
Content Management StandardsContent Management Standards
Content Management StandardsDavid Nuescheler
 
Fuerzas Disruptivas en la Colaboración con Cliente
Fuerzas Disruptivas en la Colaboración con ClienteFuerzas Disruptivas en la Colaboración con Cliente
Fuerzas Disruptivas en la Colaboración con ClienteMundo Contact
 
Incapsula: Boosting Joomla Website Security
Incapsula: Boosting Joomla Website SecurityIncapsula: Boosting Joomla Website Security
Incapsula: Boosting Joomla Website SecurityImperva Incapsula
 
Incapsula: Boosting Drupal Websites Security
Incapsula: Boosting Drupal Websites Security  Incapsula: Boosting Drupal Websites Security
Incapsula: Boosting Drupal Websites Security Imperva Incapsula
 
Best Practices Europe 10 Steps To Successful Deployments
Best Practices Europe 10 Steps To Successful DeploymentsBest Practices Europe 10 Steps To Successful Deployments
Best Practices Europe 10 Steps To Successful DeploymentsJoel Oleson
 
AWS case study: real estate portal
AWS case study: real estate portalAWS case study: real estate portal
AWS case study: real estate portalAndreas Chatzakis
 
FrOSCamp Zurich: Content Management Standards
FrOSCamp Zurich: Content Management StandardsFrOSCamp Zurich: Content Management Standards
FrOSCamp Zurich: Content Management StandardsDavid Nuescheler
 

Similaire à Courtship and rick moranis (20)

Lets focus on business value
Lets focus on business valueLets focus on business value
Lets focus on business value
 
Webinar - Business Implications of SaaS Multi Tenancy
Webinar - Business Implications of SaaS Multi TenancyWebinar - Business Implications of SaaS Multi Tenancy
Webinar - Business Implications of SaaS Multi Tenancy
 
Understanding the Business Implications of SaaS Multi-Tenancy
Understanding the Business Implications of SaaS Multi-TenancyUnderstanding the Business Implications of SaaS Multi-Tenancy
Understanding the Business Implications of SaaS Multi-Tenancy
 
Turning client-side-to-server-side-ruxcon-2011-laurent
Turning client-side-to-server-side-ruxcon-2011-laurentTurning client-side-to-server-side-ruxcon-2011-laurent
Turning client-side-to-server-side-ruxcon-2011-laurent
 
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0
MWLUG 2012 BP 105 IBM SmartCloud, You Can Get There from Here 8.17.2012 v2.0
 
NLJUG: Content Management, Standards, Opensource & JCP
NLJUG: Content Management, Standards, Opensource & JCPNLJUG: Content Management, Standards, Opensource & JCP
NLJUG: Content Management, Standards, Opensource & JCP
 
Lets focus on business value
Lets focus on business valueLets focus on business value
Lets focus on business value
 
Lets focus on business value
Lets focus on business valueLets focus on business value
Lets focus on business value
 
Content Management Standards
Content Management StandardsContent Management Standards
Content Management Standards
 
2012-04-05 Small Business Cloud Computing
2012-04-05 Small Business Cloud Computing2012-04-05 Small Business Cloud Computing
2012-04-05 Small Business Cloud Computing
 
Fuerzas Disruptivas en la Colaboración con Cliente
Fuerzas Disruptivas en la Colaboración con ClienteFuerzas Disruptivas en la Colaboración con Cliente
Fuerzas Disruptivas en la Colaboración con Cliente
 
Incapsula: Boosting Joomla Website Security
Incapsula: Boosting Joomla Website SecurityIncapsula: Boosting Joomla Website Security
Incapsula: Boosting Joomla Website Security
 
2012-02-16 Cloud Solutions
2012-02-16 Cloud Solutions2012-02-16 Cloud Solutions
2012-02-16 Cloud Solutions
 
Smart SMB Presentation
Smart SMB PresentationSmart SMB Presentation
Smart SMB Presentation
 
Incapsula: Boosting Drupal Websites Security
Incapsula: Boosting Drupal Websites Security  Incapsula: Boosting Drupal Websites Security
Incapsula: Boosting Drupal Websites Security
 
Best Practices Europe 10 Steps To Successful Deployments
Best Practices Europe 10 Steps To Successful DeploymentsBest Practices Europe 10 Steps To Successful Deployments
Best Practices Europe 10 Steps To Successful Deployments
 
AWS case study: real estate portal
AWS case study: real estate portalAWS case study: real estate portal
AWS case study: real estate portal
 
Aprigo
AprigoAprigo
Aprigo
 
Coral id-python
Coral id-pythonCoral id-python
Coral id-python
 
FrOSCamp Zurich: Content Management Standards
FrOSCamp Zurich: Content Management StandardsFrOSCamp Zurich: Content Management Standards
FrOSCamp Zurich: Content Management Standards
 

Dernier

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Dernier (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Courtship and rick moranis

  • 1. Thanks to our AWESOME sponsors! START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 2. 01 Courtship And Rick Moranis ASP.NET Bundling and Minification START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 3. 3 ASP.NET Bundling and START Courtship & Rick Moranis Old usages Minification BUNDLING BEDROOMCOURTING MINIFICATION MAKING THINGS SMALLER To bundle means to go to bed To Minify is to make things smaller with one of the opposite sex by repeated increases in production or visit the bedroom of a technology. To use new advances to sweetheart in order to talk to reduce the size of the item being ones beloved. Wrapping up created. and being restricted, into the covers. http://www.horseshoe.cc/pennadutch/culture/customs/bundling.htm START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 4. 4 ASP.NET Bundling and START Meanings Courtship & Rick Moranis Modern Minification BUNDLING INTO ONE COMBINING MANY FILES MINIFICATION REDUCING A FILE’S SIZE To bundle means to combine To Minify is to make things smaller many asset (Typically by many different techniques. JavaScript or CSS) files into a Including : single file. Reducing the • removing whitespace. number of files. • renaming internal variables • removing duplicate code • Byte compression (zip) START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 5. 5 ASP.NET Bundling and BENEFITS you care? Courtship & Rick Moranis Why should Minification BUNDLING FEWERREQUESTS MINIFICATION FEWER BYTES OVER THE WIRE Gives Less time waiting for Saves on bandwidth costs round trips. Works better on mobile and Fewer Blocks when hitting low bandwidth situations request limits Quicker time to load the page START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 6. 6 ASP.NET Bundling and BENEFITS you care? Courtship & Rick Moranis Why should Minification Demo 1 START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 7. 7 ASP.NET Bundling and HOW TO BAM! Courtship & Rick Moranis Enabling Minification Enable 1.Debug = “false” 2.EnableOptimizations = True START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 8. 8 ASP.NET Bundling and HOW TO BAM! Courtship & Rick Moranis Enabling Minification Demo 2 START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 9. 9 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification Bundles • A Logical Grouping • Everything that a page will need • Jquery • Underscore • Backbone • Backbone.Marionette (a plugin) START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 10. 10 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Minification Demo 3 Configuring START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 11. 11 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification Default Ignore list bundles.IgnoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); bundles.IgnoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); bundles.IgnoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 12. 12 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification Demo 4 START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 13. 13 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification When does it not use CDN (Debug=false && Enableoptimizations=false) || useCDN=false START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 14. 14 ASP.NET Bundling and HOW TO TAGS Courtship & Rick Moranis Minification Demo 5 Configuring START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 15. 15 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification Async and defer • Async loads asynchronously and unblocking START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 16. 16 ASP.NET Bundling and HOW TO BUNDLES Courtship & Rick Moranis Configuring Minification Async and defer • Defer loads asynchronously but in order START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 17. 17 ASP.NET Bundling and INSIDE Courtship & Rick Moranis TIMELINE Minification Application Scope PRE-Application Application_Start • Registers BundleModule • Calls RegisterBundles START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 18. 18 ASP.NET Bundling and INSIDE Courtship & Rick Moranis TIMELINE Minification REQUEST Scope Bundle module BundleHandler • Is Request for Valid Bundle? • Return 304 (not modified) for conditional get header • Send to BundleHandler • Return from cache if exists START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 19. 19 ASP.NET Bundling and INSIDE Courtship & Rick Moranis TIMELINE Minification Response Scope (Happens on View Render) Get Files Ignore File Extensions ORDER Build Minify Place IN Cache START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 20. 20 ASP.NET Bundling and PLUGINS Courtship & Rick Moranis PREPROCESSORS Minification Take Code you understand to js and CSS • LESS • SASS • CoffeeScript • TypeScript • Others? START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 21. 21 ASP.NET Bundling and Plugins Courtship & Rick Moranis Preprocessors Minification Demo 6 START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 22. 22 ASP.NET Bundling and Custom own preprocessor Courtship & Rick Moranis Write your Minification CSS Convert Images to DATA URI • Idea from Mads Kristensen • data:[<mime type>][;charset=<charset>][;base64],<encoded data> • Reduces Requests • Access Files at bundle reference • Seems like logical extension of bundling START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 23. 23 ASP.NET Bundling and Custom own preprocessor Courtship & Rick Moranis Write your Minification Plans • Look through css for url(?embed) • Encode the Image file • Change the CSS START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 24. 24 ASP.NET Bundling and Plugins Courtship & Rick Moranis Preprocessors Minification Demo 7 START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 25. 28 NEUTRA FOLLOW ME MINIMAL KEYNOTE PRESENTATION SLIDES SLIDESHARE.NET/HURRICANEPKT/COURTSHIP-AND-RICK-MORANIS TWITTER (DEV only) @MarkKGreenway TWITTER @HURRICANEPKT BLOG WWW.MARKGREENWAY.NET DATAURI Creator GITHUB.COM/HURRICANEPKT/BUNDLINGDATAURI START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.
  • 26. Thanks to our AWESOME sponsors! START BENEFITS HOW TO INSIDE PLUGINS CUSTOM CONTACT Behind the words Why should you care Strategies Timeline Preprocessors Write your Conclusion etc.