Questions tagged [cosmos]

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more! THIS TAG IS NOT FOR QUESTIONS ABOUT THE AZURE COSMOS DB DATABASE - for any questions related to Cosmos DB, please use the [azure-cosmosdb] tag.

141 questions
0
votes
1 answer

Trying to play a sound file using c# open source managed operating system (cosmos) project in visual studio

using System; using System.Collections.Generic; using System.Text; using Sys = Cosmos.System; using System.Threading; using System.Media.SoundPlayer; Since cosmos uses c#, I am trying to use System.Media.SoundPlayer to play a sound file, but…
0
votes
1 answer

How can I split a string but keep text within quotes together without Regex or Linq

I want to split a string and keep text within quotes so I can properly parse arguments at a command line. However, Regex and Linq are not supported on COSMOS. I need some way to split a string like the following: This is "a very" important string…
0
votes
1 answer

how to fix mouse manager in cosmos os

i was making a cosmos os project and want to make a mouse cursor but it continue crashing before run canvas = FullScreenCanvas.GetFullScreenCanvas(); canvas.Clear(System.Drawing.Color.Aqua); Sys.MouseManager.ScreenWidth =…
0
votes
1 answer

CosmosDB 429 appears in azure portal but c# code against same collection/database not raise 429 exception

At specific given point in time, if we refer azure portal metrics option against our cosmos db account it shows 429 happened many times but c# code written (for same cosmos db account/database/collection) using cosmos sql sdk, not throwing 429 even…
191180rk
  • 735
  • 2
  • 12
  • 37
0
votes
1 answer

Can Azure Cosmos DB do this kind of query?

I have a JSON object stored in Azure Cosmos DB, and I'm seeing if there's a way to write workable queries doing basic things like Order By. The structure looks something like : [ { "id":"id1", "title":"test title", …
Aibynn
  • 115
  • 1
  • 8
0
votes
1 answer

How to select posts of thousand of thousands following users in azure cosmos db?

I created sample cosmos db using follow link. https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-model-partition-example And it is nice work. But I have one big problem. how to select top at least 100 posts of my thousands of thousands…
0
votes
1 answer

Use Azure Cosmos DB Migration Tool to export from Azure Table API to json

I want to migrate the data from Cosmos Table API to a json file. I have copied the PRIMARY CONNECTION STRING from the portal and this is the command I am trying to run from using the migration tool: dt.exe /s:DocumentDB /s.ConnectionString:"PRIMARY…
Angela
  • 477
  • 1
  • 10
  • 20
0
votes
1 answer

HttpRequestException: An error occurred while sending the request

I developed a project using asp.net core MVC and cosmos db. When I try to post the form I got HttpRequestException: An error occurred while sending the request error. I debug it using break point. await…
ABCD
  • 379
  • 1
  • 8
  • 25
0
votes
1 answer

Unable to fetch results when JSON includes sql keywords

I am trying to fetch records on cosmos db that match a certain condition but I have been unable to, looks like cosmos is complaining about left and I have been unable to find an alternative. Here is the query that I have been trying to fetch records…
Jai
  • 155
  • 2
  • 9
0
votes
0 answers

CosmosDb use of continuation token while read operation

Team, I am using cosmos db for storing unique codes so my requirement is to get unique codes for single user. With the help of Continuation token feature provided by cosmos db I am able to get unique codes. Now I have a situation for getting unique…
Kumari Dimple
  • 343
  • 2
  • 4
  • 14
0
votes
1 answer

How can I add a filesystem to Cosmos?

I'm a bit of a novice with Cosmos(and c# in general), and I want to know if it is possible to create a file system (fat32, if it helps, but it doesn't have to be).
Okteta
  • 11
  • 4
0
votes
1 answer

Creating a node.js server on Azure that will allow AJAX calls from Javascript on the client

I've created a webapp where most of the processing is done by the users browser using Javascript. For it's development I've used locally stored JSON docs but I need to be able store these in an Azure Cosmos DB. I'm struggling to understand how to…
pixie
  • 55
  • 8
0
votes
1 answer

Cross JOIN collections and GroupBy CosmosDB Javascript API

I am searching for a solution in the Javascript API for CosmosDB, where you can perform an INNER/OUTER JOIN between two document collections. I have been unsuccessful. From my understanding, Javascript Stored Procedures run within a collection,…
monstertjie_za
  • 7,277
  • 8
  • 42
  • 73
0
votes
1 answer

Cosmos basic example does not run

I am trying to get started with Cosmos using C#. I installed Visual studio 2017, and Cosmos user kit. On many tutorials on youtube, I have seen that the VMWare player starts whenever they press the "run" button. However, in my case, I get the…
DilupaH
  • 11
  • 3
0
votes
1 answer

See raw bytes being sent in COSMOS

In COSMOS is there an easy way to see the raw bytes being sent over the line by the Command Sender? We want to capture what is sent out and don't know where all the protocol layers get added.
Jason
  • 1,098
  • 12
  • 33