Posts

Showing posts with the label Visual Studio

Convert JSON to C# Class In Visual Studio

Image
I was working on Integration with one of the social media This social media provider was returning me a big complex  JSON object I wanted to deserialize this object, and if I want to convert the JSON object into C# class then this will take sometime from me,  So I found a way to do this from Visual Studio,  follow me to know how to do it 👇 Sample JSON data: {"widget": { "debug": "on", "window": { "title": "Sample Konfabulator Widget", "name": "main_window", "width": 500, "height": 500 }, "image": { "src": "Images/Sun.png", "name": "sun1", "hOffset": 250, "vOffset": 250, "alignment": "center" }, "text": { "data": "Click Here", "size": 36, ...

How to delete/ move more than one item in Sitecore easily

Image
Sometimes you need to remove/ move more than one item in Sitecore, and this as you know takes too much time if count of items is too large, The best way to do this is  Sitecore Rocks How to do it? Step1: Install Sitecore rocks Extension into Visual Studio from this link   or you can install it from Visual Studio it self through Extensions and updates in tool bar Step2: Connect your local project with Sitecore Rocks, if you don't know how to connect, please refer to this article Step 3: Below pictures details how easy to delete / move items  This is how you can delete multi items in one shot This is how you can move multi items in one shot