SlideShare uma empresa Scribd logo
1 de 32
Make
xCommerce fit to
you
Sitecore Team Leader at SoftServe.
Consultant, who always advice to find the best solution for
client issues. Over 8 years in .net business. Loves to inspire
devs, teams and go through the newest technologies stack.
Between those activities likes dancing, gym and sport in
general. Favorite color: yellow !
Twitter: robert_debowski
Blog: http://JustSitecoreThings.net
r.debowski@yahoo.com
rdebow@softserveinc.com
What is
the
xCommerce?
xCommerce = Sitecore Experience Commerce, since 9 version
What is the xCommerce?
Many changes comparing to Sitecore Commerce 8, like:
• ASP.NET Core based on
• oData RESTful Web Services
• New UI
• Full lifecycle Order Management, Promotions feature etc.
What is the xCommerce?
What is xCommerce?
What
does it bring
to you?
Storefront
What does it bring to you?
SXA and.... CXA
What does it bring to you?
And Then...
Make it
fit
Sitecore Commerce Engine SDK
Code it! – Sitecore Commerce Engine SDK
Hosting!
• Kestrel
• Hosting server
• It was launched by Microsoft along with ASP.NET Core. All ASP.NET Core apps
utilize a new MVC framework and the Kestrel web server.
• It is much more faster than IIS
Sitecore Commerce Engine
• This GitHub project has been
archived. Active development has
moved to
https://github.com/aspnet/AspNetC
ore (Part of ASPNET Core Runtime)
#1 By clicking
#By command line
Kestrel - move it, move it
Post-(it)-man !
Ok – but how to check it, debug?
• Turn of SSL verification
• Turn of AntiForgeryEnabled on Authoring
• Import Postman
samples .... from
SDK
Postman
Independent features called:
• Plugins
• Structure of elements
• Commands
• Pipelines
• Blocks
• Policies
• OData
Sequence of calls:
Commerce Api Endpoint (controller) -> Command -> Pipeline -> Block
Sitecore Commerce Engine - The Stuff
We have to know about the clue of this happy time:
Entities
But before that...
Fitness Code approaches
Extend
Entity by
Composition Policies
A named, versionable and variable set of data that can be used as facts within
behaviors to influence behavioral outcomes. (Source:
http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-
9.0_Developers_Guide.pdf)
In simple understanding we can treat
Policy like a config or setting file in some way.
Policy
• Independent features
• Only accepted way to extend Commerce Engine
• Don’t remove default ones just like that ;)
Sitecore Commerce Engine - Plugins
Sitecore Commerce Engine – Controllers and
Commands
• You can create your own pipelines and hook
into pipelines defined in other plugin
• Similar to standard Sitecore pipeline
mechanism
• In SXC9 they are in the code not XML
• Agregate SXC Blocks
• Comparing to XML approach No
„ShowConfig.ASPX” but JSON preview
• In Commerce, there is no config patching
facilities. Instead we can create our custom
plugin and can patch our Blocks through the
code.
Sitecore Commerce Engine - Pipelines
• Equivalent for Sitecore processors
• Chaining calls
• Remember about returning element
Sitecore Commerce Engine - Blocks
Sitecore Commerce Engine - Blocks
And then...
OData - OData (Open Data Protocol) is an OASIS standard that defines the best practice
for building and consuming RESTful APIs.
Sitecore Commerce Engine - OData
ODATA
ATOM JSON
HTTP
It’s so super cool till now, but what to do
to use new stuff in Sitecore side ?
Should we know something more?
Well.. Yes, we should.
We cannot use in Storefront references to
.NET Core features from SXC Enginge
Service Proxy acts a middleman between your
engine code and your storefront code, allowing
you to reference the types & controller
endpoints defined in your engine, from your
storefront code.
Sitecore Commerce Proxy
Commerce
Engine
Service
Proxy
Storefront
How to use Sitecore Commerce Service Proxy
Build your Engine
with custom plugin
Deploy engine or
run on port 5000
Add Service Proxy
project to your solution
In VS2017 expand
Connected Services
For CommerceOps & CommerceShops right click
on them and select Update OData Connected
Service (This will hit the Metadata data endpoint of the engine
and rebuild the generated code files for each)
Reference the updated ServiceProxy project in your
Storefront project and start to use your custom
engine entities.
Some extra feature which came in SXC 9.0.2
Composer
Demo
IF we have time for this now, let’s make some
FINito
Q&A

Twitter: robert_debowski
Blog: http://JustSitecoreThings.net
r.debowski@yahoo.com
rdebow@softserveinc.com

Mais conteúdo relacionado

Semelhante a Make xCommerce fit to you

One year of Sitecore XC9 in retrospect
One year of Sitecore XC9 in retrospectOne year of Sitecore XC9 in retrospect
One year of Sitecore XC9 in retrospectJonne Kats
 
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...Spark Summit
 
Sitecore 10 enables marketers to be more agile and flexible at scale
Sitecore 10 enables marketers to be more agile and flexible at scaleSitecore 10 enables marketers to be more agile and flexible at scale
Sitecore 10 enables marketers to be more agile and flexible at scaleRay Business Technologies
 
Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Mark van Aalst
 
Online fast food django.docx
Online fast food django.docxOnline fast food django.docx
Online fast food django.docxvidhi184862
 
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB
 
Microsoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewMicrosoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewSpiffy
 
Activating massive omnichannel personalization
Activating massive omnichannel personalizationActivating massive omnichannel personalization
Activating massive omnichannel personalizationVasiliy Fomichev
 
Web Development Today
Web Development TodayWeb Development Today
Web Development Todaybretticus
 
24 Sitecore Tips that Every Sitecore Architect Needs to Know
24 Sitecore Tips that Every Sitecore Architect Needs to Know24 Sitecore Tips that Every Sitecore Architect Needs to Know
24 Sitecore Tips that Every Sitecore Architect Needs to KnowAshish Bansal
 
Sitecore upgrade best practices
Sitecore upgrade best practicesSitecore upgrade best practices
Sitecore upgrade best practicesedynamic
 
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKSitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKJitendra Soni
 
Career Fairs - June 2017 - Białystok - KarieraIT
Career Fairs - June 2017 - Białystok - KarieraITCareer Fairs - June 2017 - Białystok - KarieraIT
Career Fairs - June 2017 - Białystok - KarieraITukaszSkowroski
 
Launch and Scale Your E-commerce Website with Magento
Launch and Scale Your E-commerce Website with MagentoLaunch and Scale Your E-commerce Website with Magento
Launch and Scale Your E-commerce Website with MagentoAlibaba Cloud
 
When and Why We Use Legal Services at Sitecore development Company
When and Why We Use Legal Services at Sitecore development CompanyWhen and Why We Use Legal Services at Sitecore development Company
When and Why We Use Legal Services at Sitecore development Companybiztechnosys
 
Guide to Vite JS – Modern Fron-End Development Tool
Guide to Vite JS – Modern Fron-End Development ToolGuide to Vite JS – Modern Fron-End Development Tool
Guide to Vite JS – Modern Fron-End Development ToolAlbiorix Technology
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development PresentationTurnToTech
 
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journeyKeynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journeyPieter Brinkman
 
Js foo - Sept 8 upload
Js foo - Sept 8 uploadJs foo - Sept 8 upload
Js foo - Sept 8 uploadDebnath Sinha
 

Semelhante a Make xCommerce fit to you (20)

One year of Sitecore XC9 in retrospect
One year of Sitecore XC9 in retrospectOne year of Sitecore XC9 in retrospect
One year of Sitecore XC9 in retrospect
 
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...
Building a Data Warehouse for Business Analytics using Spark SQL-(Blagoy Kalo...
 
tonyz
tonyztonyz
tonyz
 
Sitecore 10 enables marketers to be more agile and flexible at scale
Sitecore 10 enables marketers to be more agile and flexible at scaleSitecore 10 enables marketers to be more agile and flexible at scale
Sitecore 10 enables marketers to be more agile and flexible at scale
 
Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8
 
Online fast food django.docx
Online fast food django.docxOnline fast food django.docx
Online fast food django.docx
 
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
 
Microsoft WebMatrix Platform Overview
Microsoft WebMatrix Platform OverviewMicrosoft WebMatrix Platform Overview
Microsoft WebMatrix Platform Overview
 
Activating massive omnichannel personalization
Activating massive omnichannel personalizationActivating massive omnichannel personalization
Activating massive omnichannel personalization
 
Web Development Today
Web Development TodayWeb Development Today
Web Development Today
 
24 Sitecore Tips that Every Sitecore Architect Needs to Know
24 Sitecore Tips that Every Sitecore Architect Needs to Know24 Sitecore Tips that Every Sitecore Architect Needs to Know
24 Sitecore Tips that Every Sitecore Architect Needs to Know
 
Sitecore upgrade best practices
Sitecore upgrade best practicesSitecore upgrade best practices
Sitecore upgrade best practices
 
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKSitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
 
Career Fairs - June 2017 - Białystok - KarieraIT
Career Fairs - June 2017 - Białystok - KarieraITCareer Fairs - June 2017 - Białystok - KarieraIT
Career Fairs - June 2017 - Białystok - KarieraIT
 
Launch and Scale Your E-commerce Website with Magento
Launch and Scale Your E-commerce Website with MagentoLaunch and Scale Your E-commerce Website with Magento
Launch and Scale Your E-commerce Website with Magento
 
When and Why We Use Legal Services at Sitecore development Company
When and Why We Use Legal Services at Sitecore development CompanyWhen and Why We Use Legal Services at Sitecore development Company
When and Why We Use Legal Services at Sitecore development Company
 
Guide to Vite JS – Modern Fron-End Development Tool
Guide to Vite JS – Modern Fron-End Development ToolGuide to Vite JS – Modern Fron-End Development Tool
Guide to Vite JS – Modern Fron-End Development Tool
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development Presentation
 
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journeyKeynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
 
Js foo - Sept 8 upload
Js foo - Sept 8 uploadJs foo - Sept 8 upload
Js foo - Sept 8 upload
 

Último

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 

Último (20)

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 

Make xCommerce fit to you

  • 2. Sitecore Team Leader at SoftServe. Consultant, who always advice to find the best solution for client issues. Over 8 years in .net business. Loves to inspire devs, teams and go through the newest technologies stack. Between those activities likes dancing, gym and sport in general. Favorite color: yellow ! Twitter: robert_debowski Blog: http://JustSitecoreThings.net r.debowski@yahoo.com rdebow@softserveinc.com
  • 4. xCommerce = Sitecore Experience Commerce, since 9 version What is the xCommerce? Many changes comparing to Sitecore Commerce 8, like: • ASP.NET Core based on • oData RESTful Web Services • New UI • Full lifecycle Order Management, Promotions feature etc.
  • 5. What is the xCommerce?
  • 8. Storefront What does it bring to you?
  • 9. SXA and.... CXA What does it bring to you?
  • 12. Sitecore Commerce Engine SDK Code it! – Sitecore Commerce Engine SDK
  • 13. Hosting! • Kestrel • Hosting server • It was launched by Microsoft along with ASP.NET Core. All ASP.NET Core apps utilize a new MVC framework and the Kestrel web server. • It is much more faster than IIS Sitecore Commerce Engine • This GitHub project has been archived. Active development has moved to https://github.com/aspnet/AspNetC ore (Part of ASPNET Core Runtime)
  • 14. #1 By clicking #By command line Kestrel - move it, move it
  • 15. Post-(it)-man ! Ok – but how to check it, debug? • Turn of SSL verification • Turn of AntiForgeryEnabled on Authoring • Import Postman samples .... from SDK
  • 17. Independent features called: • Plugins • Structure of elements • Commands • Pipelines • Blocks • Policies • OData Sequence of calls: Commerce Api Endpoint (controller) -> Command -> Pipeline -> Block Sitecore Commerce Engine - The Stuff
  • 18. We have to know about the clue of this happy time: Entities But before that...
  • 19. Fitness Code approaches Extend Entity by Composition Policies
  • 20. A named, versionable and variable set of data that can be used as facts within behaviors to influence behavioral outcomes. (Source: http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC- 9.0_Developers_Guide.pdf) In simple understanding we can treat Policy like a config or setting file in some way. Policy
  • 21. • Independent features • Only accepted way to extend Commerce Engine • Don’t remove default ones just like that ;) Sitecore Commerce Engine - Plugins
  • 22. Sitecore Commerce Engine – Controllers and Commands
  • 23. • You can create your own pipelines and hook into pipelines defined in other plugin • Similar to standard Sitecore pipeline mechanism • In SXC9 they are in the code not XML • Agregate SXC Blocks • Comparing to XML approach No „ShowConfig.ASPX” but JSON preview • In Commerce, there is no config patching facilities. Instead we can create our custom plugin and can patch our Blocks through the code. Sitecore Commerce Engine - Pipelines
  • 24. • Equivalent for Sitecore processors • Chaining calls • Remember about returning element Sitecore Commerce Engine - Blocks
  • 27. OData - OData (Open Data Protocol) is an OASIS standard that defines the best practice for building and consuming RESTful APIs. Sitecore Commerce Engine - OData ODATA ATOM JSON HTTP
  • 28. It’s so super cool till now, but what to do to use new stuff in Sitecore side ? Should we know something more? Well.. Yes, we should. We cannot use in Storefront references to .NET Core features from SXC Enginge
  • 29. Service Proxy acts a middleman between your engine code and your storefront code, allowing you to reference the types & controller endpoints defined in your engine, from your storefront code. Sitecore Commerce Proxy Commerce Engine Service Proxy Storefront
  • 30. How to use Sitecore Commerce Service Proxy Build your Engine with custom plugin Deploy engine or run on port 5000 Add Service Proxy project to your solution In VS2017 expand Connected Services For CommerceOps & CommerceShops right click on them and select Update OData Connected Service (This will hit the Metadata data endpoint of the engine and rebuild the generated code files for each) Reference the updated ServiceProxy project in your Storefront project and start to use your custom engine entities.
  • 31. Some extra feature which came in SXC 9.0.2 Composer Demo IF we have time for this now, let’s make some

Notas do Editor

  1. We have to understand what
  2. Composition - Entities can be extended by adding components to the Components property on the entity. - Components are simply classes that are injected into the entity by a plugin through a Pipeline Block (more on how to create custom plugins in a separate post). - A good thing about this pattern is that it allows us to inject components into an entity without interfering with components injected by other plugins. POLICY Entities can also be extended by adding Policies. A policy is basically a set of rules for an entity. It is a class that defines a set of data that can be used by business processes to determine behavior. E.g. you could define a policy for the cart entity that sets the maximum cart value or the maximum number of line items. In essence, policies are code based configuration settings.