Skip to content
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    Z
    Both VB and C# contain a way of testing mutually exclusive possibilities, the Select Case and Switch clauses respectively. Only one of them works properly. A Visual Basic Select Case clause, returning a description of how old someone is. The age range for a young person is a tad generous, reflecting the age of the author of this article.
  • 0 Votes
    3 Posts
    0 Views
    Kornfeld Eliyahu PeterK
    MonogDB has 355 contributors at this point (of which 1/10th is actually MongoDB employee)... As a lot of open source projects it became mature and prime-time ready by those contributions, not because of the one started it... In the case of MongoDB the idea wasn't that original at all... Look around you - you have endless solutions for the very same problem... One goes up and the second vanishes... The reason has a lot of factors, like quality and cost... In case the cost goes up people will put their effort in the next project in line... Writing code is not simple, but only a small part of an application life-cycle... "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
  • 0 Votes
    9 Posts
    0 Views
    U
    I'm having the same problem as you, happy wheels free
  • 0 Votes
    4 Posts
    0 Views
    J
    So far so good. I really like it. Finally got use to the ObjectId and my models are matching up in .Net Core and Angular. The Net Core Mongo drivers are pretty cool, but a whole different beast. MongoDB is fine for my portfolio website and a good learning experience. Got praise last night at the Agile meetup for taking the time to learn it. So it be a valuable tool or experience. I’m in Vegas for the weekend, won $50 so far. If it ain't broke don't fix it Discover my world at jkirkerx.com
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    J
    It was about updating the country collection, and not inserting. Guess there are two ways to work with MongoDB, one being through a context using the driver, and the other working with the MongoDB .Net Core driver straight. This is where I got confused. So I'm using my MongoDBContext in my repositories which are CRUD and just the driver in my services which are REST. Anyways, this is just a learning exercise for later use. I'll dump it and replace it with a text file written in the same BSON format later down the road. But at least I got this working for now, well I haven't consumed yet so I'll find out. // Let See if we can inject the States collection into Countries/States var filter_US = Builders.Filter.Eq(s => s.ShortName, country.ShortName.ToUpper()); var update_US = Builders.Update.Set(s => s.States, states_US); await websiteCountries.UpdateOneAsync(filter_US, update_US); And my result, I saw Arizona is wrong, fixed. { "_id" : ObjectId("5b8434defb1e6524f8cc0554"), "DisplayId" : "5b8434defb1e6524f8cc0554", "LongName" : "United States", "ShortName" : "US", "States" : [ { "_id" : ObjectId("5b8434dffb1e6524f8cc0582"), "Name" : "Alabama", "Abbr" : "AL" }, { "_id" : ObjectId("5b8434dffb1e6524f8cc0583"), "Name" : "Alaska", "Abbr" : "AK" }, { "_id" : ObjectId("5b8434dffb1e6524f8cc0583"), "Name" : "Arizona", "Abbr" : "AZ" }, { "_id" : ObjectId("5b8434dffb1e6524f8cc0585"), "Name" : "Arkansas", "Abbr" : "AR" }, On a side not about my Angular V6 .Net Core 2.1 training exercise: I finally got all my folders and files organized efficiently. Basically modules, components and services in Angular, plus my routing with lazy loading is correct. Figured out how to change navbars and footers using *ngIf. Got my new Auth Guard authentication working in Angular, including the Auth0 token and wrote a REST service in .Net Core to handle it, with cookies and token generation. My ContactUs works with my CRUD Repository, just have to write the email part, and figure out if I should do it in .Net Core, Angular or write something in NodeJS for it. Perhaps a .Net console app. So now I can move forward with more head scratchers and frustration. What I have learned so far is that Angular V6 is one th
  • 0 Votes
    15 Posts
    0 Views
    J
    jkirkerx wrote: I've had customers tell me to remove eg. Hawa That would be a customer specific configuration then. So something that overrides the base.
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • What do you think of MongoDB?

    Database csharp javascript asp-net mongodb dotnet
    22
    0 Votes
    22 Posts
    0 Views
    L
    Nathan Minier wrote: I just don't assume the technology that mucks with the data will be a UI :) "Any kind of client" then :) Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
  • 0 Votes
    2 Posts
    0 Views
    J
    Did some reading up on it and now it makes sense to me. Changed the id to InternalId that was generated by MongoDB.Bson and called GetSingleMessage to confirm the write, which results in a 201 code. This must be part of the CRUD operation procedure. I'll read up on the Id part, auto-increment for MongoDB. Then figure out if I need it the value of not, and whether it should be a string or int. Must admit it was exciting to see my angular app work correctly. var result = CreatedAtRoute("GetSingleMessage", new { id = message.InternalId }, message); return result; If it ain't broke don't fix it Discover my world at jkirkerx.com
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    P
    The article could be comfortably reduced to the following: Quote: The buzz around NoSQL databases has quieted. Does that mean NoSQL usage is waning, or that NoSQL has become such a part of the IT landscape that we almost don't notice it anymore? It might be either or both, I don't actually know. 98.4% of statistics are made up on the spot.
  • Upgrading iSeries RPG skills

    The Lounge mongodb cloud database sql-server oracle
    11
    0 Votes
    11 Posts
    0 Views
    abmvA
    Well currently all over the globe software houses and shops have re-skill plans in place with a consideration towards the future and the so call digital transformation.Skeptical as it may be. Microsoft themself have tied up with edx and have a few courses @ Microsoft - Free Courses from Microsoft | edX[^] also Introduction to Data Science[^] Training for such areas could be arranged and such courses could be conducted in your company for transforming or re-skilling.Moving to the cloud does not by itself mean that things will just work as planned unless you are contracting out the whole stuff. Then its time for that long vacation. Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
  • 0 Votes
    7 Posts
    0 Views
    D
    Do it now while you are still allowed to... I'm pretty sure I would not like to live in a world in which I would never be offended. I am absolutely certain I don't want to live in a world in which you would never be offended. Freedom doesn't mean the absence of things you don't like. Dave
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    D
    Because JSON is the hierarchical cluster :elephant: data model know to several orders of magnitude more devs these days than any pre-sql relic. :rolleyes: Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
  • WHOOOOHOOOO!!!! :D

    The Lounge csharp javascript asp-net postgresql mongodb
    30
    0 Votes
    30 Posts
    0 Views
    D
    I thought it was opposite. It is amazing how people can think and jot down something so proper. Have a :beer: and relax for a while. "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]
  • 0 Votes
    1 Posts
    1 Views
    No one has replied