{"id":21328427,"url":"https://github.com/wiredviews/xperience-query-debugger","last_synced_at":"2025-03-16T00:17:07.991Z","repository":{"id":98317998,"uuid":"321217240","full_name":"wiredviews/xperience-query-debugger","owner":"wiredviews","description":"A demo .NET console application for easy query debugging in Kentico Xperience applications","archived":false,"fork":false,"pushed_at":"2021-01-27T21:30:46.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T12:49:00.639Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiredviews.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-14T03:04:41.000Z","updated_at":"2022-05-23T22:08:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1518fb6-8376-4a6b-bdcf-dc16a6fe474c","html_url":"https://github.com/wiredviews/xperience-query-debugger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredviews%2Fxperience-query-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredviews%2Fxperience-query-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredviews%2Fxperience-query-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredviews%2Fxperience-query-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiredviews","download_url":"https://codeload.github.com/wiredviews/xperience-query-debugger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806108,"owners_count":20350782,"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","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-11-21T21:28:55.680Z","updated_at":"2025-03-16T00:17:07.969Z","avatar_url":"https://github.com/wiredviews.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xperience Query Debugger\n\nA demo .NET console application for easy query debugging in Kentico Xperience applications\n\n## Setup\n\n1. Clone the repository and restore the packages\n\n   ```bash\n   \u003e git clone https://github.com/wiredviews/xperience-query-debugger\n   \u003e cd xperience-query-debugger\n   \u003e dotnet restore\n   \u003e code .\n   ```\n\n1. Update `Xperience.QueryDebugger\\appsettings.json` with your connection string\n\n   ```json\n   {\n     \"Logging\": {\n       \"LogLevel\": {\n         \"Default\": \"Information\",\n         \"Microsoft\": \"Warning\",\n         \"Microsoft.Hosting.Lifetime\": \"Information\"\n       }\n     },\n     \"ConnectionStrings\": {\n       \"CMSConnectionString\": \"\u003cConnection String\u003e\"\n     }\n   }\n   ```\n\n1. Debug and check the Debug window for query text\n\n### Using in an Xperience Solution / Project\n\nIf you want to incorporate this into your Xperience 13.0 project to help debug queries you are working on for your site, you can also use [User Secrets](https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-3.1\u0026tabs=windows), in VS Code or Visual Studio, to store your Connection String and other settings.\n\nThis app also supports using an `appsettings.local.json`, which you could ignore from source control if needed.\n\nWhether or not you include this project in source control along with your application code depends on how you want to use it.\n\nIf it's a way to share query snippets for your team and be able to quickly test those, then use User Secrets to store the Connection String and commit everything to source control.\n\nIf it's a scratchpad to explore ideas but not share with the team, then add the project path to your `.gitignore` and debug in VS Code so you don't run into the limitations in Visual Studio with not having the project in your shared solution files.\n\n## References\n\n### Blog Posts\n\n- [Kentico Xperience Xplorations: Quickly Debugging Queries in a Console Application](https://dev.to/seangwright/kentico-xperience-xplorations-quickly-debugging-queries-in-a-console-application-34bn)\n\n### Packages\n\n- [Xperience Query Extensions](https://github.com/wiredviews/xperience-query-extensions)\n- [Xperience appsettings.json Registration](https://github.com/wiredviews/xperience-appsettings-json-registration)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredviews%2Fxperience-query-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiredviews%2Fxperience-query-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredviews%2Fxperience-query-debugger/lists"}