Re: [OT] New laptop

2016-04-05 Thread Greg Keogh
> > Do you have each website on its own machine or something? > I'm using web apps (not vms) for all my websites. > Like you, I have no VMs. I have no SQL DBs at the moment either. I have an "App Service" to host each site and domain. My Subscription page just now shows $30 for basic Small App ser

Re: Coffee snobs

2016-04-07 Thread Greg Keogh
Are these things IoT enabled? -- *GK* On 8 April 2016 at 10:56, Bill McCarthy wrote: > When my delonghi broke down(leaking water), I started looking at > alternative machines. Most of the cheap machines will make a good short > single shot. But I like long flat white (occasionally a long macchi

Parallel tasks

2016-04-20 Thread Greg Keogh
Folks, I want to make the parallel calls to a web service that can take 2 to 5 seconds. It's like this now: Task t1 = GetStuffAsync("Key1"); Task t2 = GetStuffAsync("Key2"); Task t2 = GetStuffAsync("Key3"); await t1; await t2; await t3; UpdateUI(t1.Result); UpdateUI(t2.Result); UpdateUI(t3.Result)

Re: Parallel tasks

2016-04-20 Thread Greg Keogh
> > Sorry, GetStuffAndUpdateUI should have been called > GetStuffAndUpdateUIAsync. > Chaps, yes, this is equivalent to a callback and Thomas' code works as planned (after awaiting them all). Now I'm trying to shrink this down to the smallest possible functional-looking code possible -- *Greg*

Re: Parallel tasks

2016-04-20 Thread Greg Keogh
ke(); *GK* On 20 April 2016 at 17:55, Thomas Koster wrote: > On 20 April 2016 at 17:34, Greg Keogh wrote: > > Folks, I want to make the parallel calls to a web service that can take > 2 to > > 5 seconds. It's like this now: > > > > Task t1 = GetStuffAsync("

[OT] Azure container list

2016-04-20 Thread Greg Keogh
Folks, I hoping to assign an Azure Container as a download location for releases and documentation, so I stuffed some test files into a container, made it public and browsed to it: https://redcentre.blob.core.windows.net/download (produces ResourceNotFound) https://redcentre.blob.core.windows.net/

Re: [OT] Azure container list

2016-04-20 Thread Greg Keogh
> > Knock up an ASPX that lists the files and deploy that into an App Service > Or just put the doco (how big can it be?) in an App Service and turn on > directory browsing. > But containers and blobs cost a few cents per month, whereas an App Service is deployed and running always and I found tha

Re: [OT] WinHlp32.exe and .CHM help file format

2016-04-21 Thread Greg Keogh
Chaps, I loved making chm files back in the 90s with RoboHelp and HDK, then in the 00s I used NDoc a lot. Now I use Sandcastle to generate help sites, and it's the only output option I've used, never chm. I guess it's so easy to publish and update a help web site these days that it's the natural wa

Re: Parallel tasks

2016-04-25 Thread Greg Keogh
> > Now I'm trying to shrink this down to the smallest possible >> functional-looking code possible >> > > >> new Action(async () => { var r = await GetStuffAsync("Key1"); updateUI(r) >> }).Invoke(); >> new Action(async () => { var r = await GetStuffAsync("Key2"); updateUI(r) >> }).Invoke(); >> new

Re: Parallel tasks

2016-04-27 Thread Greg Keogh
> > You can shorten "f.Invoke()" to just "f()". You can elide "r" as well: > > new Action(async () => UpdateUI(await GetStuffAsync("key1")))(); > new Action(async () => UpdateUI(await GetStuffAsync("key2")))(); > new Action(async () => UpdateUI(await GetStuffAsync("key3")))(); > I like that shorte

Re: Parallel tasks

2016-04-27 Thread Greg Keogh
> > If you are not waiting for the tasks to finish, won't you run into a race > condition? > The backend in my actual case is reading a web service, which can be hammered by overlapping calls. All of the callbacks will run on the UI thread, so they can't step on each other. I hope I'm right?! -- *

Reading XLSX files

2016-04-27 Thread Greg Keogh
Folks, maybe 10 years ago I easily read the rows out of an XLS file using OleDb and a reader. Today I tried to read an XLSX file the same way. First I discovered I had to install AccessDatabaseEngine_x64.exe to be able to register a provider to open the file. My test file has a single sheet named F

Re: Reading XLSX files

2016-04-27 Thread Greg Keogh
t specify a query in the constructor > pass it to the property after the connection is open. > > Hth > Davy > > Sent from my iPhone > > On 27 Apr 2016, at 14:20, Greg Keogh wrote: > > Folks, maybe 10 years ago I easily read the rows out of an XLS file using > OleDb

Excel reading surprise

2016-04-28 Thread Greg Keogh
Folks, here's an obscure and sad warning: I eventually got the OleDb code from yesterday working to read XLSX files, after installing the AccessDatabaseEngine_x64.exe file and discovering the correct sheet/table name. The code works in NUnit tests. The code is actually called from a T4 template in

Re: Excel reading surprise

2016-04-28 Thread Greg Keogh
x27;t need to support xslb (binary format) > Try > DocumentFormat.OpenXml. In nuget > > Regards > Davy > > Sent from my iPhone > > > On 28 Apr 2016, at 11:13, Greg Keogh wrote: > > > > Folks, here's an obscure and sad warning: I eventually got

WPF app toolbar

2016-05-02 Thread Greg Keogh
Folks, sometime in the last couple of weeks a small black toolbar appears at the top of WPF apps running in the debugger. The buttons offer help for looking into the visual tree, but it's a damn nuisance (it obscures stuff). Is this a part of VS2015 SP2? That's the only thing I changed in recent we

Re: WPF app toolbar

2016-05-02 Thread Greg Keogh
> > Yes it is an improvement part of VS2015 SP2. To hide it check off: > Options\Debugging\Enable UI Debugging tools for XAML \ Show runtime tools > in application > Ta! That's fixed it. I couldn't find the option despite a casual search. I didn't help that I didn't know what it was called (like t

[OT] Shimmering purple pixels

2016-05-13 Thread Greg Keogh
Folks, my 4 year old DELL U2711 developer a strange problem yesterday lunchtime when I noticed that the scrollbars inside VS2015 were shimmering purple. I actually thought it was some weird new SP2 feature, but then I noticed the edges of other icons of the same purple shade where doing the same th

Re: [OT] Shimmering purple pixels

2016-05-15 Thread Greg Keogh
> > Have you checked the cables? > > Unplug and re plug. Or change it to a different one. > > I had a weird display issue once and it was because the cable was loose. > Good grief! You were right. I pulled all the cables and put them back, and it's come good -- *Greg*

Universal library tests

2016-05-18 Thread Greg Keogh
Folks, I recently converted a legacy .NET 4.0 dll into a Universal Windows library project, and it's working okay being called from a Universal app. I just can't figure out how to convert the legacy VS unit tests to Universal. There is a new project type called "Unit Test App (Universal Windows)",

Fwd: Universal library tests

2016-05-18 Thread Greg Keogh
Don't worry, I asked my cat. He said add a Universal Test project anyway (the one with the dummy UI). This also adds a skeleton class which references some obscure extension SDK libraries for unit testing, so you get the familiar [TestXXX] attributes to put on test classes and methods. However, it

Re: Universal library tests

2016-05-18 Thread Greg Keogh
> > I think when I was playing in this area last, I didn't go with that > UI test project. I went with a normal Test project and treat it (the Class > under test) like a normal assembly. Was a while ago though so may be > mis-remembering. > I think I've guessed what you're supposed to do ... you do

Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Greg Keogh
Have you decided on the style you need: SOAP and XML, or RESTful? -- *GK* On 6 June 2016 at 21:20, Preet Sangha wrote: > I've been out of .net Web stuff for many years and now need to build a > webservice with a sql backend. I've seen many posts on here from you guys > going web stuff and wonder

Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Greg Keogh
> > It's seems to me that a restful one would be the simplest in terms of > usage for all the clients (various tools and programs within the > organisation). > > Personally I find them easier to work with when coding to them as clients, > and I'll be writing the first client for this service too. >

Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Greg Keogh
> > For the DB I suspect the latest entity framework will be sufficient but am >>> open to ideas about other technologies that might not have been present >>> when I last worked with it 5 years ago. >>> >>> This service will only be used in house, but might be housed in the >>> cloud and security i

Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Greg Keogh
> > Greg, am I correct in thinking azure table storage is only a cheaper > option when the number of reads is light? Preet mentions he will need > reporting and depending on how heavy those are hit azure table storage > could get expensive. > Hmmm! I'm not sure as my demands have only reached the

Re: Contemporary frameworks to use for restful web services with SQL backend

2016-06-06 Thread Greg Keogh
> > And here is a list of caveats for table storage: > Depending which side of the mirror you're looking through, many of your caveats may be considered blessings, especially the "no enforced schema". The absence of the features you listed is what makes the ATS API so mercifully simple and useful i

Re: [OT] Looking for work

2016-06-06 Thread Greg Keogh
> > I had a tough time down there too. Everywhere seemed to want an AngularJS > "expert" when I was looking. > Oh hell! I'll never work again -- *GK*

[OT] PC powering off

2016-06-09 Thread Greg Keogh
Folks, my 5 month old hand-built PC has developed a serious problem where it randomly just switches itself off, no warning, just instant off. It happened twice earlier in the year, which I wrote off as flukes. Now it's happening a few times a day. Pressing power on does nothing. If I pull all the p

Re: [OT] PC powering off

2016-06-09 Thread Greg Keogh
Thanks chaps, I'm going to work from the bottom up. I'll swap the power cord on two machines first. I don't think it's overheating, as I can hear the fans whirring (noisy bastards!), but I could use one of those apps that shows you the MB temperature and conditions?! If it's the power supply, then

Azure files

2016-06-11 Thread Greg Keogh
Is anyone here using Azure files and mounting shares are drive letters? I ask because this feature could be a great way of migrating one of our legacy apps into Azure. Web searches hint that you both can and can't map an Azure file share as a drive on your desktop PC. Some say that Windows 10 suppo

Re: Azure files

2016-06-11 Thread Greg Keogh
> > It is for use within azure only. You can attach the shares to VMs. It also > has a lot of other caveats re single identity to connect to it so no acls > etc. > Thanks for confirming that, which I suspected. There are many web pages where people do suggest that you can mount the shares on your d

SQL Server Collation

2016-06-11 Thread Greg Keogh
I'm installing SQL Server 2016 Express for the first time to try it out. It's asking me for a default collation and its default is Latin1_General_Cl_AS. Is this a good default, or are there better choices? I know it might be a complicated argument. I thought I'd check first with the SQL boffins in

Re: SQL Server Collation

2016-06-12 Thread Greg Keogh
> > Now that Latin1_General_CI_AS has become the default, I had used it for > the new samples for 2016 (Wide World Importers). The product group got me > to change it to Latin1_General_100_CI_AS as they said that’s the one they > now prefer. (In which case, why isn’t it the default you ask…) > OK!

Re: DDD Melbourne

2016-06-19 Thread Greg Keogh
> > Given how quickly tickets have gone each week, it is obvious that a > sizeable proportion of the developer community in Melbourne has missed out. > I also saw these posts and decided to not even bother to try and get a ticket. I did plan to email the organisers and suggest they find a venue pr

Re: DDD Melbourne

2016-06-19 Thread Greg Keogh
> > Yes, I know quite a few people who didn't even bother - which is a real > shame as they are passionate developers (though none are as passionate as > GK - Greg I would give you an honorary ticket if I could). > You're very kind. However, I'll burn my ticket if any presentation uses JavaScript

REST calling REST

2016-06-19 Thread Greg Keogh
I sure I did this years ago, but maybe it was SOAP or REST, or a mix, I'm not sure now. Today I've got a REST service A calling a REST service B and it stalls on the await HttpClient.SendAsync in A. I can run the same code from an NUnit test okay. Surely this isn't impossible. Is there some trick

Re: REST calling REST

2016-06-20 Thread Greg Keogh
> > Are the calls on the same server? If so remove the async await, from the > call and try again, did you get an error? > Yesterday I gave up and used a synchronous WebClient.DownloadString inside the WebApi controller and it worked fine. Today as an experiment I rejigged the code a bit. I made

Target x86/x64

2016-06-23 Thread Greg Keogh
Folks (including any Microsoft boffins on this subject), When I read Joe Duffy's book Framework 2.0 10 years ago he clarified how the .NET compilers generate platform agnostic IL which is JIT'd into native code at run

Re: [OT] Free Blog

2016-06-23 Thread Greg Keogh
> > I've always used blogspot but I'm not very active anymore. > I picked blogspot for some reason a few years ago after a quick look around many (too many!) choices. I think it seemed popular and has lots of templates and a pleasant UI. However ... the html formatting of blogspot is absurdly amate

UWP build and packaging

2016-07-03 Thread Greg Keogh
Are there many people in here writing and deploying Universal apps? I ask because weird unexpected things are happening when I package my app for side-loading and testing. I estimate that the small app I'm writing would generate a 4MB MSI file if it was a desktop app. However my first UWP package

Re: UWP build and packaging

2016-07-07 Thread Greg Keogh
> > Been doing it for a while now and yes build process is ridiculously long. > Better with Update 3 and particularly if you can leverage the shared > framework ( > https://blogs.msdn.microsoft.com/dotnet/2015/09/28/whats-new-for-net-and-uwp-in-win10-tools-1-1/ > ) > Good to hear from you, I was g

Re: [OT] Drive encryption

2016-07-07 Thread Greg Keogh
I don't think Home edition has Bitlocker -- *GK* On 8 July 2016 at 16:15, David Connors wrote: > NFI re home edition but I have used BitLocker and also PGP Whole Disk > Encryption. Both were fine and I didn't see any perf issues at all. > > On Fri, 8 Jul 2016 at 15:59 Tom P wrote: > >> Hi folks

Re: UWP build and packaging

2016-07-10 Thread Greg Keogh
> > Did you confirm that you’re using the shared framework? > Urgh, where is that option? I've browsed around all the menu and properties but I can't find any mention of it. However, a web search finds this: https://blogs.msdn.microsoft.com/dotnet/2015/09/28/whats-new-for-net-and-uwp-in-win10-too

Re: Headphones Review [OT]

2016-07-21 Thread Greg Keogh
> > Basically anyone making eating noises makes me want to be violent. > Rap and opera have the same effect upon me. To compound your misophonia, what about being stuck in the cinema next to someone who eats a huge cup of popcorn, for over an hour, crunching and wafting of sickly sweet isobutyl-pe

Anyone using HockeyApp?

2016-07-24 Thread Greg Keogh
Folks, I just became aware of HockeyApp and I can authenticate into it using my MSDN credentials. It tells me I'm on the default free plan where I can create 2 apps. From a quick eye over the KB articles it looks quite impressive and helpful, but I'll probably

Re: Anyone using HockeyApp?

2016-07-25 Thread Greg Keogh
looked at as an option) mainly > because I think that only does your iOS devices (and the app has to go > through some review process to be available to the external users). > > > I'm wondering what the deployment to Windows Phone users process is (does > HockeyApp suppor

Re: Anyone using HockeyApp?

2016-07-25 Thread Greg Keogh
pp support em? Doesn't seem to). > -- > *From:* ozdotnet-boun...@ozdotnet.com on > behalf of Greg Keogh > *Sent:* Monday, 25 July 2016 2:51:53 PM > *To:* ozDotNet > *Subject:* Anyone using HockeyApp? > > Folks, I just became aware of HockeyAp

Re: Anyone using HockeyApp?

2016-07-25 Thread Greg Keogh
es your iOS devices (and the app has to go > through some review process to be available to the external users). > > > I'm wondering what the deployment to Windows Phone users process is (does > HockeyApp support em? Doesn't seem to). > -- >

Re: Azure Pricing

2016-07-26 Thread Greg Keogh
Hi Grant, you might be one of the few people in history with the will power to attempt to use the calculator, I balked. My usage is small in comparison, about 60MB of Table rows and 3GB of Blobs, all with trivial IO counts. My recent account summaries show a cost of about $0.25/month for this data,

Re: Azure Pricing

2016-07-26 Thread Greg Keogh
On 27 July 2016 at 08:21, Grant Molloy wrote: > Hi Greg, > > I did these calcs before seeing the calculator, and it pretty much > confirmed my calcs for storage. > > As a complete Azure newb, I'm assuming I have the following options.. > > 1. Virtual machine where I'd install company licensed ver

[OT] IIS redirecting

2016-07-26 Thread Greg Keogh
Folks, on 2008R2 IIS I have to redirect/rewrite all incoming requests for: http://www.oldsite.com/anything to http://www.newsite.com/anything But despite stuffing around and around I can't find any URL Rewrite rule that does this *silently* so the visitor only see newsite.com. A redirect rule w

Re: [OT] IIS redirecting

2016-07-26 Thread Greg Keogh
> > can you see what the network is doing? you dont need fiddler u can just > use chrome: as an example type 'google.com' into the browser and then the > first response is a 302 > I don't use Chrome, but I had a look in Fiddler anyway and it produces no clues, just a 404 response. I was told earl

[OT] Windows 10 anniversary upgrade

2016-08-14 Thread Greg Keogh
Yesterday morning I rushed to my PC to watch a live stream of a music competition. Twenty minutes later I get to sign in because the anniversary upgrade arrived without warning. Now I find the signin screen, the elevation prompt, and file open dialogs have changed appearance and behaviour, tray ico

Xamarin phone targets

2016-08-24 Thread Greg Keogh
Folks, a new cross-platform Xamarin project in VS2015 gives you projects including UWP and Windows Phone 8.1. I'm not sure which of these I should use to continue and develop an app that includes Windows phones as a target device. I'm not sure if the 8.1 Silverlight target is now obsolete and I sho

Re: Xamarin phone targets

2016-08-24 Thread Greg Keogh
t run Windows 8.1 will receive an automatic upgrade to Windows 10, so unless you have specific reasons why you’d rather target Windows 8.1, we recommend that you use the project templates that target Windows 10. On 25 August 2016 at 12:18, Greg Keogh wrote: > Folks, a new cross-platform Xamarin pr

Re: Anyone using HockeyApp?

2016-09-14 Thread Greg Keogh
On 15 September 2016 at 14:48, Nick Randolph wrote: > We’re using HockeyApp in anger…. Well a lot less anger now but initially > it caused no end of frustration > I've been using it for several weeks now, with only a couple of uploads of the 5 apps per week. I'm finding it "acceptable", but the

Re: Entity Framework - the lay of the land

2016-09-15 Thread Greg Keogh
> > What type of projects is EF not suitable for? >> > Ones that run on computers. > What do you suggest as an alternative? *GK*

Re: Entity Framework - the lay of the land

2016-09-15 Thread Greg Keogh
> > What do you suggest as an alternative? > > Writing stored procedures. > What about the classical problem of "impedance mismatch". You have to carefully maintain DataSets or similar and use DataAdapter to fill them, then writing data back is a circus trick with the ADO.NET classes. Then they in

Re: Entity Framework - the lay of the land

2016-09-15 Thread Greg Keogh
> > Using something like PetaPoco makes that pretty easy. > Okay, I never saw that before. It's still and ORM, albeit a small one. At a glance at the home page, you're coding SQL statements inside code (tight coupling), it's not a LINQ provider at all, and it uses T4 templates (like EF does anyway

Re: Entity Framework - the lay of the land

2016-09-15 Thread Greg Keogh
> > The people who think that ORMs are a good idea have a code-centric view of > the world. > Stored procs! Here's the black hole of the argument. To me it's a simple reductionist problem... Clean-shaven code-centric people write real-world apps. Beardy DBAs design databases. Coders need database

Re: Entity Framework - the lay of the land

2016-09-15 Thread Greg Keogh
> > > >> What can bridge the "impedance" gap? Something has to. >> > > I agree. It is called effort. > Come on David ... *effort* into what exactly? What tool, technology, kit, gizmo? I need more detail. I'm a coder. I've got to drag stuff in and out of databases that I don't own and didn't design

Re: Entity Framework - the lay of the land

2016-09-17 Thread Greg Keogh
GL If your table design matches your object design, at least one of them is a > poor design (again I'm talking about serious apps). > Then there's no hope. Game over man! It was easier for Jeff Goldblum to plug his laptop into an alien mothership that it is for coders and DBAs to exchange data ef

Re: Entity Framework - the lay of the land

2016-09-18 Thread Greg Keogh
> > I had an argument internally that caching was good, with the alternate > side saying that “cache invalidation” was hard so they never use it. > I think it is "hard" but don't write it off completely. Search for "second level cache" and you'll see it's not that trivial to use properly. Some ORM

Xamarin update warning

2016-09-18 Thread Greg Keogh
Folks, on Friday Xamarin Studio told there were updates available, this happens every month or so, so I said "sure" and let it go. This morning I find compile errors relating to casts, arrays and IEnumerable that make no sense, like the compiler has become stupidly aggressive. Then I discover I ca

[OT] Ad tracking and security

2016-10-04 Thread Greg Keogh
Folks, this would normally be a Friday topic, but can someone explain how this is possible? ... Last week my wife purchased some clothes online from 'Tread Store'. This morning I was at her PC searching in IE for some technical answers and I followed a link to Experts Exchange. In the discussion t

Re: [OT] Ad tracking and security

2016-10-04 Thread Greg Keogh
> > Google “how advertisers track you” (or maybe using www.DuckDuckGo.com > might be more apropos) > Fascinating search results! I can't see any suspicious cookies (but who knows!), so I guess this is being done by IP address, something you can't easily hide without jumping through a few hoops. S

Re: [OT] Ad tracking and security

2016-10-04 Thread Greg Keogh
> > There might be a few text based BBSes kicking around that Greg could > subscribe to. > Who says they can't track those over a dial-up?! Haven't you seen the 1983 movie *Wargames*? -- *GK*

Re: [OT] Ad tracking and security

2016-10-04 Thread Greg Keogh
> > I thought I’d read that even common adblocker programs are now deciding > which ads to let through (ie: who has paid them to be “relevant”). I think > “Adblock Plus” was the topic of the article. > I've been using ABP for several months now in IE11 on my work machine, and it's quite good, as i

Active Directory B2C

2016-10-10 Thread Greg Keogh
Folks, is anyone familiar with Azure Active Directory B2C? I ask because it looks like it might be useful for us, but I'm not sure because the info HERE is more marketing than technical. Here's why I'm asking... At the far backend

Re: Active Directory B2C

2016-10-12 Thread Greg Keogh
t; > XAM Consulting - Mobile Technology Specialists > > www.xam-consulting.com > > Blog: www.michaelridland.com > > > > On Tue, Oct 11, 2016 at 3:46 PM, Greg Keogh wrote: > >> Folks, is anyone familiar with Azure Active Directory B2C? I ask because >> it look

Re: [OT] Angular certification

2016-10-12 Thread Greg Keogh
> > Are there any Angular certifications you guys can recommend that may be > taken seriously? > Can anyone even take Angular seriously?! I thought it was already abandoned by the author who went off to write a new competing BlahJS, or is a new group completely rewriting it to Angular 2, or somet

Re: [OT] Angular certification

2016-10-13 Thread Greg Keogh
> > How it feels to learn JavaScript in 2016 > > That's fabulous. It would be funny if it wasn't true -- *GK*

Re: Active Directory B2C

2016-10-26 Thread Greg Keogh
> > Checkout https://auth0.com/ - the company is run by the guys who build > the foundation of the identity stuff in MS. I’m a huge fan of this > recently, given the ease of moving between multiple identity providers, you > can set a role into the users metadata – depending on your usage you may >

Re: [OT] Angular certification

2016-10-26 Thread Greg Keogh
> > Scripting Language Fatigue: When you have to learn Yet Another Scripting > Language (YASL) > You mean YAJSF (yet another JavaScript framework). I received the usual notification about the next ALT.NET meetup (which I missed), and guess what ... someone spruiked YAJSF. See: October Meeting

Azure table query

2016-10-31 Thread Greg Keogh
Folks, I have an Azure table with a "column" (property) that corresponds to an int? property of a class, so the value is not present in some rows. All queries on this column produce no matches. Even something like "MyProp ge 0" produces nothing although there are rows with such values. I thought th

[OT] node.js and express

2016-11-20 Thread Greg Keogh
Folks, although I've been insulting JavaScript for years, I have always liked scripting. I decided to install node.js and run the tutorials on how to make a REST service. There are lots of tutorials, many of them contradictory or incomplete, or the documented steps don't work as expected. After con

Re: [OT] node.js and express

2016-11-20 Thread Greg Keogh
> You're not alone Greg. It's like going back to spaghetti but everyone > around me doesn't agree. > Thanks heavens someone is sympathetic. I thought I was crazy, but I'm glad to know you are too! -- *Greg*

Re: [OT] node.js and express

2016-11-21 Thread Greg Keogh
> > Totally agree Greg. About 80% of what we are currently building could be > done in 1/10 of the time using winforms or mvc. > So there are lots of crazy people in here ... Fabulous! I can also write Winforms or WPF apps in 1/10 (or far less) the time of equivalent JS code. I have also had Clic

Re: [OT] node.js and express

2016-11-22 Thread Greg Keogh
> > Well, I used Hotdog > [This is a Friday topic but] Good god! I remember seeing a prominent newpaper picture back in 1996 of Steve Outtrim lounging back in his Ferrari, purchased on the sales of HotDog HTML editor (apparently he was too young to get insurance for a Porsche). Writing HTML was th

Re: Target x86/x64

2016-11-24 Thread Greg Keogh
> > Old thread, but catching up with old posts, and no replies here. > > No, it won't. All it does is control a flag that goes into the exe header > so the OS knows what size process to run it in. > >> Now that almost all desktop and server machines are running 64-bit >> Windows, I want to know if

Re: [OT] node.js and express

2016-11-24 Thread Greg Keogh
> > If in VS and not javascript then productive, else not productive. Not quite, more general: If JavaScript then not productive ;-) Slick and professional tooling supporting a language ecosystem is of vital importance to me and I hope others feel the same way. You can buy the coolest most fanta

Re: [OT] node.js and express

2016-11-27 Thread Greg Keogh
> > I **think** Greg Keogh started with this with some investigations on how > hard it was to implement something using framework/technique X. Cool. You > have learnt what not to do, not how to do something with the latest tech > just because Scott Hanselmann mentioned it. &g

Re: [OT] node.js and express

2016-11-29 Thread Greg Keogh
; > > All I will say is we asked for it. If we didn’t ask for it, we accepted > it. If we didn’t accept it, we assumed that the new was good and ran with > it. > > > > We make a whole lot of assumptions on server side tech and place a whole > deal of constraints and measures

Re: [OT] node.js and express

2016-11-29 Thread Greg Keogh
> > "The Only Thing Necessary for the Triumph of Evil is that Good Men Do > Nothing" > Sadly, with JS I think so. I have some other good news through. Many weeks ago someone in here (I forget sorry!) mentioned a lightweight ORM named Dapper. I had a need for something like that last week, and I re

[OT] Windows Server 2016 as guest

2016-12-02 Thread Greg Keogh
Folks, just for a look at Server 2016 I tried to install it as a guest in Hyper-V in Server 2012 R2, but it blue screens with *Your PC ran into a problem and needs to restart*. Stop code MACHINE CHECK EXCEPTION. I guess I'm using an invalid combination, but web searches don't confirm this. Any ide

Re: [OT] Windows Server 2016 as guest

2016-12-04 Thread Greg Keogh
> > I am running it fine as a guest on an Intel NUC (host partition is 2012 > R2). > OK, then that narrows it down to something wrong at my end. Thanks.

Re: [OT] Windows Server 2016 as guest

2016-12-04 Thread Greg Keogh
> > Try gen1 vs gen2 machine and futz with UEFI settings to see if that helps. > I've never had to do that before, but I'll look into it. My server is not a "real" server, but one of my previous moderate power work machines that was wiped and turned into a 2012R2 server. > Are you installing off

Re: Entity Framework - the lay of the land

2017-01-03 Thread Greg Keogh
Hi Grant et al, You're psychic, as I was going to post on this old topic later in the week, as I've rejigged my thinking a little in recent months. I also used CodeSmith to make CRUD for a few good years and I was impressed by how easy it was. I used the netTiers templates, not handmade. What I l

Re: Entity Framework - the lay of the land

2017-01-03 Thread Greg Keogh
> > >turn off lazy loading and use eager loading instead. > Hell yeah! > Stored procs are best, of course, as it's often much easier to get stored > proc changes through change control in enterprises than code changes in an > app, which requires virtually a compete redeploy. > Mostly hell yeah,

[OT] IT in 'The Martian'

2017-01-05 Thread Greg Keogh
Folks, we watched *The Martian* last night on a friend's huge TV with 3-D glasses (which really work, it's a technical marvel). Fabulous looking movie, a bit too long, clearly targeted for the big screen and those sorts of audiences, science stretched to the limits of credibility but you don't real

Re: [OT] IT in 'The Martian'

2017-01-06 Thread Greg Keogh
not out of the question. Nasa >> doesn't use of the shelf chips. In it's craft. That's why you will see >> laptops all over the place in Nasa footage, they don't meet the radiation >> proof specs of Nasa but are not mission critical. >> Converting. A -

WebApi all 404

2017-01-16 Thread Greg Keogh
Folks, I just installed a WebApi app on a GoDaddy server and every request produces 404. The same app on nearly identical servers all work okay. I've been searching and fiddling for over 2 hours now with no progress at all. Every sensible suggestion I've found in web searches is useless ... pool se

Re: WebApi all 404

2017-01-17 Thread Greg Keogh
Change your routing entries J > > · Add some logging to a global action filter – log lots of shit > to see what it is trying to get through. > > > > Really just guessing though as I haven’t seen this behaviour. > > > > - Glav > > > &g

Re: WebApi all 404

2017-01-18 Thread Greg Keogh
> > Did you come across this article? > > https://support.microsoft.com/en-au/kb/2023146 > I think so, or very similar ones. Sadly the role changes didn't work. The Rick Strahl article hints that my older server is running IIS 7.0 whereas all the other ones are 7.5, and he reckons I MUST use runA

Re: Friday Rant (today!)

2017-01-18 Thread Greg Keogh
> > >Is it just me or is WIX just just a complete utter PITA? > You are not alone. "PITA" is putting it politely. I gave it a good try about 3 years ago but was disgusted by the lack of clarity, documentation and guidance about how to construct the potentially huge slab of XML. The format of the X

Re: Portable Web Server?

2017-01-19 Thread Greg Keogh
Years ago one part of our large app suite was written in WF as it seemed trendy and suitable for the task (I suppose it was). But now it's like a lone cuckoos egg in the nest and we want to pull out the working code and put it in a reusable library, but there is so much specialised WF plumbing in t

Re: Friday Rant (today!)

2017-01-21 Thread Greg Keogh
> > I disagree. We use WIX significantly inside Visual Studio, and use it to > build quite possible the largest in world using it (in terms of both > packages and size). Office also used it for years. > Then for the love of humanity, please get someone to make it easier for coders in the suburbs t

Re: Friday Rant (today!)

2017-01-21 Thread Greg Keogh
> > > Complicated, yes. Amateurish is not the word I would use. > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *Greg Keogh > *Sent:* Thursday, January 19, 2017 6:32 PM > *To:* ozDotNet > *Subject:* Re: Friday Ran

Client-side data into asp.net post

2017-01-22 Thread Greg Keogh
Folks, in an ASP.NET app is there a recommended and reliable way of passing some client-side data into the post so the server-side can get it? Here's the flow: 1. Some JavaScript rendered with the app makes a call in onload to get the ID of the device (which is actually an iPad ID). 2. J

<    5   6   7   8   9   10   11   12   13   14   >