Re: Unable to locate the .NET SDK

2020-12-15 Thread David Rhys Jones
Hi I had this problem before.i fixed it by updating the 2019 installer for visual studio and then downloading the required files in the updated installer. Hth Davy On Sun, 13 Dec 2020, 04:56 David Burstin, wrote: > Totally agree Mike. That is exactly what I do too. Saves headaches and >

Re: Xamarin macOS app

2020-07-15 Thread David Rhys Jones
Hello, I've not done it, but have you explored doing a window in dotnet core and seeing what it looks like when you publish to macos? Davy David JONES djones...@gmail.com +33 7 66 42 54 07 +33 6 52 03 96 70

Re: [OT] Impact of covid19 on devs

2020-06-01 Thread David Rhys Jones
Hi, I was working as a contractor for an Oil company, they had to remove all contractors. I've been partially laid off, I am still employed by my company but the Government is paying my salary. I'm being forced to do online training while they look for work for me. I was planning to change

Re: [OT] DevOps login fails

2020-02-03 Thread David Rhys Jones
I've had this problem before but with Azure. The problem was the browser, try logging in with Edge and see if that helps. David JONES On Mon, Jan 27, 2020 at 11:59 PM Greg Keogh wrote: > > https://{yourorganisation}.visualstudio.com is now the old format.. The >> newest is now

Re: Core 3.0 and C# 8

2019-09-26 Thread David Rhys Jones
Hi You are using 2019 right. 2017 can't run 3.0. If you are using 2019. Download the installer again and the add the package from the list. Davy On Fri, 27 Sep 2019, 06:18 Greg Keogh, wrote: > Folks, > > I'm keen to experiment with C# 8 features and get familiar early, but I > can't get any

Re: Friendly URL for intranet apps

2019-09-23 Thread David Rhys Jones
Hi, Also check to see if the web server, iis or other, is accepting All ips or named Ips. you might have to add http://servera to the list of bindings. Davy. David JONES djones...@gmail.com +33 7 66 42 54 07 +33 6 52 03 96 70

Re: JSON deserialize

2019-07-24 Thread David Rhys Jones
Hi Just my .02c but I have had nothing but problems with microsoft json serializers. Davy On Wed, 24 Jul 2019, 05:33 Greg Keogh, wrote: > > it's worth noting that NewtonSoft Json.NET will NOT be installed by > default as of .Net Core 3.0: > > I was preparing an invoice to send to James

Re: [Off Topic] Drop Box alternatives with a large number of files (about 0.5M+ files).

2019-05-23 Thread David Rhys Jones
Hi, I use onedrive, with the save space and download files as you use them. I also limit the amount of bandwidth it's using. I've not experienced the same issues that you have. My git repository is in my onedrive folder which is a bit bigger than your set up, Regards Davy *... .. / ---

Re: [OT] Sql Server writes causing contention

2019-03-27 Thread David Rhys Jones
Hello, Have you tried copying the data in place, by creating a temporary column to contain the data while you drop and recreate your column? Davy. *... .. / --- -.-. / .-.. . --. . .-. . / ... -.-. .. ... / -. .. -- .. ..- -- / . .-. ..- -.. .. - .. --- -. .. ... / .- -... . ...

Re: Async Await.

2019-03-26 Thread David Rhys Jones
Some call APIs but the vast majority are just mapping calls. Changing one object into another. Davy On Tue, 26 Mar 2019, 21:51 Greg Keogh, wrote: > > This is pretty typical for the entire project. >> var legalEntity = await CreateLegalEntityObjectAsync(...); >> var billingAccount =

Re: Async Await.

2019-03-26 Thread David Rhys Jones
vel, everything > further up ends up needing to become "async/awaited" too. > > David > > On Tue, 26 Mar 2019 at 06:45, David Rhys Jones > wrote: > >> Hi Greg, >> >> This is pretty typical for the entire project. >> var legalEntity

Re: Async Await.

2019-03-26 Thread David Rhys Jones
Hi Greg, This is pretty typical for the entire project. var legalEntity = await CreateLegalEntityObjectAsync(...); var billingAccount = await CreateBillingAccountObjectAsync(...); var billingAccountUid = billingAccount.UserName; var billingAccountTaxServiceAddressPcode =

Async Await.

2019-03-26 Thread David Rhys Jones
Hello all, I've started a new post, and one of the applications here uses Async Await for nearly every method call, even for simple calls that just create an object and return it. Are there any pitfalls for using this many await methods in an application? Davy. *... .. / --- -.-. / .-..

Re: [OT] 5G

2019-03-04 Thread David Rhys Jones
Oz is getting 5g? How about they fix the blank parts up a bit first. https://www.nperf.com/en/map/AU/-/355.Vodafone/signal/?ll=-30.60009387355006=157.6757812503=4 *... .. / --- -.-. / .-.. . --. . .-. . / ... -.-. .. ... / -. .. -- .. ..- -- / . .-. ..- -.. .. - .. --- -. .. ... /

Re: Blazor comments

2019-01-29 Thread David Rhys Jones
Flash died because it was bug ridden and provided a huge amount of backdoors into pc's. Silverlight was only there to take flash's market share. When flash died so did silverlight it's mission accomplished. Microsoft's goal for many years is to be web based only. The keep trying to push developers

Re: SPA decision

2017-04-05 Thread David Rhys Jones
I'm working on a SPA at the moment, except it's not, there is a client side facing SPA and an angular / MVC admin site. The MVC side of things are pretty straight forward, even with all the angular stuff in there complicating things. The SPA site is, a youg devloppers wet dream of technologies,

[Advice] Xamarin as a next step.

2017-03-13 Thread David Rhys Jones
Hi, I'm currently working on Web aps, using javascript / angular / c# back ends with sql. I've been doing c# since it was in beta 1, javascript since the last centurary and angular since monday ;-) My manager now wants me to learn Xamarin, but I don't feel confortable doing mobile apps etc.

Re: Client-side data into asp.net post

2017-01-23 Thread David Rhys Jones
Of course the "correct" way to do this, is install a number of javascript packages, some NPM, grunt, gulp and 30+ other incompatible things that you don't need. ;-) Davy *... .. / --- -.-. / .-.. . --. . .-. . / ... -.-. .. ... / -. .. -- .. ..- -- / . .-. ..- -.. .. - .. --- -. .. ... /

Re: [OT] node.js and express

2016-11-21 Thread David Rhys Jones
I follow a number of CSS and javascript blogs, the boss thinks it's so I can stay ahead of the wave. The real reason is it gives me a chuckle every day when they try to solve a problem that they themselves inflicted by using a precompiler/framework that wasn't really needed in the first place. A

Re: [OT] node.js and express

2016-11-21 Thread David Rhys Jones
I agree completely, where's the like/up rep button for you Dr Greg? *... .. / --- -.-. / .-.. . --. . .-. . / ... -.-. .. ... / -. .. -- .. ..- -- / . .-. ..- -.. .. - .. --- -. .. ... / .- -... . ... .-.-.-* On Mon, Nov 21, 2016 at 10:33 PM, Greg Low (罗格雷格博士)

Re: Entity Framework - the lay of the land

2016-09-21 Thread David Rhys Jones
lah, blah NO. >> Bringing the whole database across the wire and aggregating in >> application memory is inviting a world of pain. >> >> An EF query projection containing the customer id/name and product >> category name could avoid a huge complicated SELECT * acr

Re: Entity Framework - the lay of the land

2016-09-20 Thread David Rhys Jones
; > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 > fax > > SQL Down Under | Web: www.sqldownunder.com | http://greglow.me > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozd

Re: Entity Framework - the lay of the land

2016-09-20 Thread David Rhys Jones
zdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *David Rhys Jones > *Sent:* Tuesday, 20 September 2016 7:20 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: Entity Framework - the lay of the land > > > > > > I've been work

Re: Entity Framework - the lay of the land

2016-09-20 Thread David Rhys Jones
I've been working with EF now for a few years, here's a list of what went wrong / what went right. *Large public Website* *Good:* No complex queries in EF, anything more than a couple of tables and a stored procedure is called. All objects from EF were transformed into new objects for

Re: Xamarin phone targets

2016-08-25 Thread David Rhys Jones
My windows phone runs 8.1 and it's not compatible with windows 10 so don't believe that statement. Also you are reliant on the carrier to allow you to update the OS, which many don't. But the market share of windows phones is so low it's hardly worth supporting. Especially when the phones you are

Re: REST calling REST

2016-06-21 Thread David Rhys Jones
Hi I run across this sort of oddity regulaly I've just started a project to support an existing system, I recently came across a DB call that was wrapped in an async await call, I found that it was throwing exceptions 2 /3 of the time. I removed the async await, and the pallalel foreach to

Re: [OT] New laptop

2015-11-30 Thread David Rhys Jones
On a bit of a tangent, I started a new job a couple of weeks ago and was given a Dell Inspiron 7000, with windows 10 installed. It was randomly resetting, locking up or keys stopped working. I searched on the web for solutions and came up with graphic card drivers as the cause, it wasn't

[OT]Work in Sydney.

2015-09-17 Thread David Rhys Jones
Hi all I've got a colleague who is moving to Sydney next wednesday to start his visa process. Does anyone know of .Net positions that are open? Thanks Davy *Si hoc legere scis nimium eruditionis habes*.

Re: Odd text encoding

2015-09-10 Thread David Rhys Jones
I cant understand why they don't just store the XML in the ntext column directly in the first place... maybe someone was hoping that gzip run can save some size? Re Davy: >> There are also performance implications with binary data, >I think its quite the contrary, there is an extra step involved

MEF - Microsoft Extension Framework. Opinions requested.

2015-05-27 Thread David Rhys Jones
Hi all, I recently joined a new team and one of the Developpers is one of those guys that likes to complicate things for the hell of it. The current technology he is trying to push is MEF (Extension Framework) with every web page / section in a new plugin. Can I have some opinions on what

Re: Peer-to-Peer

2015-04-27 Thread David Rhys Jones
I've looked at them before, expecting exactly the same thing as you Greg. As far as I can tell, it still needs a central server to store the names. So the point of all that horrible complexity escapes me. I ended up scrapping everything that I had done with the p2p classes, and wrote a small web

Re: [OT] Unbelievable ad tracking

2014-12-19 Thread David Rhys Jones
Was it an android? It detects from surfing habits. Google Now tells me how congested the roads are on a friday night to the PUB! *Si hoc legere scis nimium eruditionis habes*. On Fri, Dec 19, 2014 at 9:31 AM, Tony Wright tonyw...@gmail.com wrote: You think that's bad. I bought a new phone

Re: [OT] Windows 10 Preview

2014-11-14 Thread David Rhys Jones
doesn't matter if you resize the command window you don't get more lines, you have to change the buffer and width in the properties to make it work. *Si hoc legere scis nimium eruditionis habes*. On Fri, Nov 14, 2014 at 9:24 AM, Stephen Price step...@perthprojects.com wrote: Yes, I had a

Re: 3d Trilateration

2014-10-20 Thread David Rhys Jones
gis.stackexchange.com http://gis.stackexchange.com/questions/66/trilateration-using-3-latitude-and-longitude-points-and-3-distances On 8 October 2014 04:54, David Rhys Jones djones...@gmail.com wrote: Hi all, Does anyone have code / link to a library that can do 3d Trilateration? *I've been

3d Trilateration

2014-10-07 Thread David Rhys Jones
Hi all, Does anyone have code / link to a library that can do 3d Trilateration? *I've been looking for the last hour, lots of theory and references to matlab but nothing that looks like what I need.* *Thanks* *Davy.* *Si hoc legere scis nimium eruditionis habes*.

Re: [ot] intranet

2014-07-28 Thread David Rhys Jones
Second one note, I use a tablet and one note to take notes in meetings. I've tried using a wiki, but everyone in the team gave up on it after just one week, Davy Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not

Re: linq question

2014-05-20 Thread David Rhys Jones
If you have all the constraints set up correctly and you are using EF. from t in tasks .Include (TaskTags) .Include(TaskTags.Tags) where t.tagId = 9 select t; you should get back a nice object with all the info that you want. Davy. Davy, So you want to keep data which is local, only

Re: [OT] Copy Paste from protected Web page

2014-05-19 Thread David Rhys Jones
is caching enabled for the Css in the server. [OutputCaching] does the server have the permissions set to allow all in the machine / server config. Add a web config into your css directory as mentioned here:

Re: FW: linq and timezone conversion

2014-05-19 Thread David Rhys Jones
Hi, you can't use local functions in a database query, your query would look like this, Select IssueId, IssueTitle, EtaDate = ?? from vwIssues. get all the data from the database with a .ToList(); then loop over the collection and call the method, you could even do this with a parallel loop.

Re: FW: linq and timezone conversion

2014-05-19 Thread David Rhys Jones
a reasonable size). This also avoids making an intermediate List -- Greg On 19 May 2014 22:10, David Rhys Jones djones...@gmail.com wrote: Hi, you can't use local functions in a database query, your query would look like this, Select IssueId, IssueTitle, EtaDate = ?? from vwIssues. get all

Re: [OT] Specflow

2014-04-29 Thread David Rhys Jones
Hi, I use specflow on a daily basis, with IE automation. Some tips: Start with the generic case and then add methods that use this generic case to make things easier. ex: When I am logged in as username with password password then I create steps for When I am logged in as a User When

Re: [OT] Thurday afternoon rant

2014-04-29 Thread David Rhys Jones
Could you serialize an ExpandoObject? Davy Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not WANTED to be made available outside our building, which can only WEAKEN our security by being off site, hosted offsite. BOFH:

Re: [OT] Thurday afternoon rant

2014-04-10 Thread David Rhys Jones
Xml is never the best solution, sometimes it's the only solution though, frequently it's the easiest as well. .02c Davy Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not WANTED to be made available outside our

Re: Debugging Function parameters

2014-04-08 Thread David Rhys Jones
Hi, Best guess it's Customer Id. - Turn on the exception for NullReferenceException Debug - Exceptions - Common Language - System Then check, NullReferenceException ArgumentNullException NotImplementedException That will help you correct any problems, however you really need to refactor

Re: Visual Studio Macros stopped working?

2014-03-06 Thread David Rhys Jones
At least I don't have to search. My marco that I use every 2 -3 mins has stopped working (Close document reformat and remove usings). Davy Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not WANTED to be made available

Re: Signing up for Azure - Mobile Verification Failed?

2014-02-24 Thread David Rhys Jones
I have a google voice account set up for just this sort of problem, US phone number comes through to gmail. Davy. Davy, So you want to keep data which is local, only ever going to be local, only needed locally, never accessed remotely, not WANTED to be made available outside our building,

Re: Code commenting

2013-09-13 Thread David Rhys Jones
For the last 5 years or so the only comments that I have left in code. are the public interface XML comments that are well written with examples. not the usual you find. /// summary /// Gets the User by Id /// /summary public void GetUserById(long id){} I have left comments that point out that a

Re: Parallet.ForEach

2013-06-24 Thread David Rhys Jones
= new DisplayableCustomer(); Mapper.Map(source, destination); return destination; }); ? (As a .NET 3.5 developer guessing) -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 17 June 2013 22:15, David Rhys Jones djones...@gmail.com wrote: Oops sent too quickly. ICollectionCustomer

Parallet.ForEach

2013-06-17 Thread David Rhys Jones
Hi guys, I'm having a very wierd problem. I've got a collection that I map like this ICollectionCustomers data = GetCustomers(); Parallel.ForEach( data, (source) = { Davy, The US Congress voted Pizza sauce a vegetable. Don't even try to convince me of anything in the states is sane any

Re: occasionally connected application design problem

2013-03-27 Thread David Rhys Jones
This is just an Idea, Message Queues, - pick your flavor. Server and Clients have incoming queues. the server queue thread turns continuously listing to it's incoming queue and post backs all the updates / insert / deletes to the client queues (except the one making the update); the clients

Re: LINQ select nullable Id

2013-03-04 Thread David Rhys Jones
Hi Greg. FirstOrDefault() will return 0 for non null Ints, So I'm guessing that t.Id is an (int). So you're going to have to do something like this. ListAB abs = new ListAB(); for (int i = 0; i 10; i++) { abs.Add(new AB { Id = i }); }

Re: File/folder sync options for Windows

2012-04-06 Thread David Rhys Jones
Hi, I use all of the following. 1. xcopy \\server \\local /x /y /z /d xcopy \\local \\server /x /y /z /d /u if you want to copy a new file, you need to do it manually to the server. 2. Dropbox 3. Write an app that uses file system watcher and copy the files / delete the files on the server.

Re: New look of Visual Studio, what are your thoughts?

2012-02-27 Thread David Rhys Jones
Hi, I read Scott's blog, and then went back to the Microsoft blog to take a second look. *Things that I use a lot that are missing.* Solution Explorer, Properties and Macro Explorer icons in the tool-bar. *Toolbar changes.* [image: Inline image 1] *Comment / Uncomment . * I use CTRL+K C /

Re: [OT] t-sql, dealing with null

2012-01-19 Thread David Rhys Jones
Oh and I forgot, you can write positive queries for negative results. ie select * from address where city 'New York' -- Never use this form. consider * 1. select * from address where not addressId in (select addressId from address where city = 'New York')* *2. select * from address

Re: [OT] t-sql, dealing with null

2012-01-18 Thread David Rhys Jones
Rule number 1, Don't do business logic in the database. .02c Davy, The US Congress voted Pizza sauce a vegetable. Don't even try to convince me of anything in the states is sane any more!

Re: ASCII to int

2011-10-10 Thread David Rhys Jones
int total = 0; string str = abcdefghijklmnopqrstuvwxyz; foreach (char c in str.ToCharArray()) { total += (int)c; } Assert.AreEqual(42, total); Davy, Always code as if the guy who ends up maintaining your

Re: Forcing Dispose to be Called.

2011-01-25 Thread David Rhys Jones
:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Rhys Jones *Sent:* Monday, 24 January 2011 23:08 *To:* ozDotNet *Subject:* Forcing Dispose to be Called. Hi all, Background: I've got a service connection that is limited to 5 logins, (internal app

Forcing Dispose to be Called.

2011-01-24 Thread David Rhys Jones
Hi all, Background: I've got a service connection that is limited to 5 logins, (internal app written in another dept, Java Webservice not WCF compatible.), I've implemented a library (C# 3.5) that calls this and a number of different services to provide a coherent data source for our Excel

Re: [OT] VBScript return string runtime error

2010-11-29 Thread David Rhys Jones
Just as a side note. The last time I developped a com interface in .net and used that object in excel I had a hell of a lot of problems with versioning etc. What I ended up doing, and it worked very well, was wrap the Com .net object in a WSC windows script component. I don't know if they are