{"id":16413822,"url":"https://github.com/smartstore/dev-docs-code-examples","last_synced_at":"2025-10-13T22:37:48.273Z","repository":{"id":83642291,"uuid":"604629146","full_name":"smartstore/dev-docs-code-examples","owner":"smartstore","description":"Contains all code examples used in the technical documentation","archived":false,"fork":false,"pushed_at":"2023-07-19T10:21:08.000Z","size":158,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-13T22:37:47.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartstore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-21T13:16:42.000Z","updated_at":"2025-05-19T13:19:36.000Z","dependencies_parsed_at":"2023-10-16T09:04:28.626Z","dependency_job_id":null,"html_url":"https://github.com/smartstore/dev-docs-code-examples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/smartstore/dev-docs-code-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartstore%2Fdev-docs-code-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartstore%2Fdev-docs-code-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartstore%2Fdev-docs-code-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartstore%2Fdev-docs-code-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartstore","download_url":"https://codeload.github.com/smartstore/dev-docs-code-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartstore%2Fdev-docs-code-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017147,"owners_count":26085983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:52:26.720Z","updated_at":"2025-10-13T22:37:48.268Z","avatar_url":"https://github.com/smartstore.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smartstore Code Examples\n\nContains all the code examples used in the [technical documentation](https://smartstore.gitbook.io/developer-guide/compose/modules/examples).\n\n## Introduction\n\nThis repository contains all the tutorial examples used in the Smartstore developer documentation.\nThey can be included using the **.sln** solution file.\n\n## Installation\n\n1. Copy this repository into the same directory as your Smartstore repository.\n2. Run `create-symlinks.bat`.\n\t1. Run `create-theme-symlinks.bat`, if you want to install a theme.\n3. Open Visual Studio, click **Open a project or solution** and select `Smartstore.CodeExamples-sym.sln` solution file.\n\n## Directory structure\n\nPlace this repository in the same directory as your Smartstore repository, otherwise creating the symlinks will fail.\n\nExample:\n- Smartstore repository: _/home/www/Smartstore/_\n- Place in _/home/www/_\n\n| Folder | Description                              |\n| ------ | ---------------------------------------- |\n| [root] | **Solution file** and **symlinks**       |\n| _/src_ | All **module** examples can be found here.|\n\n### Symlinks\n\nSince the modules and the solution must exist in both the sample repository and the Smartstore repository, it is necessary to connect them using symlinks.\n\n- The modules are each linked to _/Smartstore/src/Smartstore.Modules/_.\n- The solution file is linked to _/Smartstore/Smartstore.CodeExamples-sym.sln_.\n\nRunning `sysmlinks.bat` will automatically create all the symlinks. If you want to add a module to this repository just add it to the list of modules in the symlinks.bat and run it again. Existing symlinks will not be touched, only new ones are added. If the location of a module changes you must delete the existing symlink in the Smartstore repository before running the `.bat` file again.\n\nThis project structure is also well suited for developing your own modules.\n\n## Tutorials\n\n### \"Hello World\"\n\nStart your journey here and build your first Smartstore module.  \n\u0026rarr; Source code for [Hello World](./src/MyOrg.HelloWorld)  \n\u0026rarr; Developer documentation for [Building a simple \"Hello World\" module](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/building-a-simple-hello-world-module)\n\n### Tabs\n\nAdd a tab to the product editing page in the backend.  \n\u0026rarr; Source code for [Tabs Tutorial](./src/MyOrg.TabsTutorial)  \n\u0026rarr; Developer documentation for [Adding tabs](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/adding-tabs)\n\n### Widgets\n\nCreate a widget, that displays custom content in the frontend.  \n\u0026rarr; Source code for [Widget Tutorial](./src/MyOrg.WidgetTutorial)  \n\u0026rarr; Developer documentation for [Creating a Widget provider](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/creating-a-widget-provider)\n\n### Menus\n\nAccess the menu bar in the backend and add a menu item and a submenu.  \n\u0026rarr; Source code for [Menu Tutorial](./src/MyOrg.MenuTutorial)  \n\u0026rarr; Developer documentation for [Adding menu items](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/adding-menu-items)\n\n### Blocks\n\nCreate your own PageBuilder-Block to display in stories.  \n\u0026rarr; Source code for [Block Tutorial](./src/MyOrg.BlockTutorial)  \n\u0026rarr; Developer documentation for [Creating a Block](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/creating-a-block)\n\n#### Blocks (Advanced)\n\nTweak the Story view modes, to provide a better user experience and render a widget.  \n\u0026rarr; Source code for [Block Tutorial Advanced](./src/MyOrg.BlockTutorialAdvanced)  \n\u0026rarr; Developer documentation for [Creating a Block](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/creating-a-block#advanced-topics)\n\n### Export\n\nProvide a configurable export for products, store information, etc.  \n\u0026rarr; Source code for [Export Tutorial](./src/MyOrg.ExportTutorial)  \n\u0026rarr; Developer documentation for [Creating an Export provider](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/creating-a-export-provider)\n\n### Entities\n\nCreate a small messaging system, using your own database table.  \n\u0026rarr; Source code for [Domain Tutorial](./src/MyOrg.DomainTutorial)  \n\u0026rarr; Developer documentation for [Creating a Domain entity](https://smartstore.gitbook.io/developer-guide/compose/modules/examples/creating-a-domain-entity)\n\n## Themes\n\n### Basic module\n\nA blueprint of a theme module.  \n\u0026rarr; Source code for [Basic theme](./themes/Smartstore.Themes.MyTheme)  \n\u0026rarr; Developer documentation for [Theme modules](https://smartstore.gitbook.io/developer-guide/compose/theming/theme-modules)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartstore%2Fdev-docs-code-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartstore%2Fdev-docs-code-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartstore%2Fdev-docs-code-examples/lists"}