Skip to main content

Posts

Showing posts from September, 2016

Featured post

XM Cloud content sync from prod to uat or UAT to prod step by step

When working with Sitecore, it’s common to need content synchronization across environments. Today, I’ll walk you through the steps to sync content from Production to UAT/TEST and vice versa. Steps to Follow 1. Set Up Your Workspace Create a folder on your computer where you will manage the script files and exported data. Open the folder path in PowerShell to begin scripting. We need to run some scripts in PowerShell to update the folder with the basic requirements for syncing content. PS C:\Soft\ContentSync> dotnet new tool-manifest PS C:\Soft\ContentSync> dotnet nuget add source -n Sitecore https://nuget.sitecore.com/resources/v3/index.json PS C:\Soft\ContentSync> dotnet tool install Sitecore.CLI PS C:\Soft\ContentSync> dotnet sitecore cloud login If the above error occurs, you will need to run a different command to resolve the issue. PS C:\Soft\ContentSync> dotnet sitecore init now, Again run above command to open and authenticate with XM Cloud. It will be there a...

Homework 6.4 MongoDB for .NET Developers

MongoDB Homework 6.4 for MongoDB for .NET Developers. Answer is given in below image.

Homework 6.3 MongoDB for .NET Developers

MongoDB Homework 6.3 for MongoDB for .NET Developers. Answer is given in below image.

Homework 6.2 MongoDB for .NET Developers

MongoDB Homework 6.2 for MongoDB for .NET Developers. Answer is given in below image.

Homework 6.1 MongoDB for .NET Developers

MongoDB Homework 6.1 for MongoDB for .NET Developers. Answer is given in below image.

Homework 5.4 MongoDB for .NET Developers

MongoDB Homework 5.4 for MongoDB for .NET Developers. Answer is given in below image.

Homework 5.3 MongoDB for .NET Developers

MongoDB Homework 5.3 for MongoDB for .NET Developers. Answer is given in below image.

Homework 5.2 MongoDB for .NET Developers

MongoDB Homework 5.1 for MongoDB for .NET Developers. Answer is given in below image.

Homework 5.1 MongoDB for .NET Developers

MongoDB Homework 5.1 for MongoDB for .NET Developers. Answer is given in below image.

Homework 6.2 MongoDB Advanced Deployment and Operations

MongoDB Homework 6.2 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 6.1 MongoDB Advanced Deployment and Operations

MongoDB Homework 6.1 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 5.3 MongoDB Advanced Deployment and Operations

MongoDB Homework 5.3 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 4.3 MongoDB Advanced Deployment and Operations

MongoDB Homework 4.3 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 4.2 MongoDB Advanced Deployment and Operations

MongoDB Homework 4.2 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 2.4 MongoDB Advanced Deployment and Operations

MongoDB Homework 2.4 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 2.3 MongoDB Advanced Deployment and Operations

MongoDB Homework 2.3 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 2.2 MongoDB Advanced Deployment and Operations

MongoDB Homework 2.2 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 1.3 MongoDB Advanced Deployment and Operations

MongoDB Homework 1.3 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 1.1 MongoDB Advanced Deployment and Operations

MongoDB Homework 1.1 for MongoDB Advanced Deployment and Operations. Answer is given in below image.

Homework 5.3 MongoDB for DBAs

MongoDB Homework 5.3 for DBAs. Answer is given in below image.

Homework 5.2 MongoDB for DBAs

MongoDB Homework 5.2 for DBAs. Answer is given in below image.

Homework 3.4 MongoDB for DBAs

MongoDB Homework 3.4 for DBAs.

Homework 3.3 MongoDB for DBAs

MongoDB Homework 3.3 for DBAs. She below image for the answer of homework 3.3.

Homework 1.4 MongoDB for DBAs

MongoDB Homework 1.4 for DBAs. Ans is given.

Homework 1.2 MongoDB for DBAs

MongoDB Homework 1.2 for DBAs. Download data from handout and import it into MongoDB   by using mongoimport utility. Product collection will be imported into pcat database. Then run the below command in shell. db.products.find( { type : "case" } ).count() It gives count result : 3. So that answer will be  : - 3

Homework 1.1 MongoDB for DBAs

MongoDB Homework 1.1 for DBAs. Download MongoDB from Mongodb websites and install it on computer . After completing of installation run below command in shell. db.isMaster().maxBsonObjectSize It will return number 16777216. Answer of homework is :- 16777216

Homework 4.4 MongoDB for .Net Development

MongoDB Homework 4.4 of .Net development. Answer of this homework is given below.

Homework 4.3 MongoDB for .Net Development

MongoDB Homework 4.3 of .Net development. In this tutorial you can learn how to make fast of your application in MongoDB using Mongoproc. First download hangouts from MongoDB homework and restore it in your mongodb database by using below command. Before executing below command first of all extract all file which you downloaded. echo db.dropDatabase() | mongo blog mongorestore dump mongo blog After restoring of data you will get 10000 data which is posted in blog . Now answer of this homework is given in below image.

Homework 4.2 MongoDB for .Net Development

MongoDB Homework 4.2 of .Net development answer is . 

Homework 4.1 MongoDB for .Net Development

MongoDB Homework 4.1 of .Net development. Here you can learn How to write query of  which can utilise at least one index to find matching records from collection. suppose we have following collection. Then how can write query to get result of MongoDB homework 4.1. > db.products.getIndexes() [ { "v" : 1, "key" : { "_id" : 1 }, "ns" : "store.products", "name" : "_id_" }, { "v" : 1, "key" : { "sku" : 1 }, "unique" : true, "ns" : "store.products", "name" : "sku_1" }, { "v" : 1, "key" : { "price" : -1 }, "ns" : "store.products", "name" : "price_-1" }, { "v...

MongoDB Quiz 24, Week 4 for .NET Developers Mongostat

Answer of Quiz 24  Week 4   is given below MongoDB  of  Mongostat .

MongoDB Quiz 23, Week 4 for .NET Developers Profiling

Answer of Quiz 23  Week 4   is given below MongoDB  of  Profiling. Ans is :-  db.system.profile.find( { millis : { $gt:1000 } } ).sort( { ts : -1 } )

MongoDB Quiz 22, Week 4 for .NET Developers Efficiency of Index Use Example

Answer of Quiz 22  Week 4   is given below MongoDB  of  Efficiency of Index Use Example.

MongoDB Quiz 21, Week 4 for .NET Developers Efficiency of Index Use

Answer of Quiz 21  Week 4   is given below MongoDB  of   Number of  Efficiency of Index Use .

MongoDB Quiz 20, Week 4 for .NET Developers Text Indexes

Answer of Quiz 20  Week 4   is given below MongoDB  of   Number of Index Entries.

MongoDB Quiz 19, Week 4 for .NET Developers Geospatial Spherical

Answer of Quiz 19  Week 4   is given below MongoDB  of  Geospatial Spherical. Ans : -   db.stores.find({ loc:{ $near: { $geometry: { type: "Point", coordinates: [-130, 39]}, $maxDistance:1000000 } } })