A real C++ vs C# story

2023-08-31 Thread Greg Keogh via ozdotnet
Folks, it's Friday and I have an anecdote to share before I return to today's coding fiasco. I'll just tell you what happened and try to avoid making judgements, I'll leave that to you. For about 4 years we've had an Azure hosted Web API/service driving a moderately complex Blazor app and some

Re: A real C++ vs C# story

2023-08-31 Thread Greg Keogh via ozdotnet
n. Your main choices were C/C++, VB and Java. I stand by my opinion that C++ is the most absurdly complex and idiotic language in contemporary use. Ooops! I made a judgement. *GK* > > On Fri, 1 Sept 2023 at 08:44, Greg Keogh via ozdotnet < > ozdotnet@ozdotnet.com> wrote: > &g

Re: Blazor popularity and use

2023-09-07 Thread Greg Keogh via ozdotnet
> > Is anyone here actively using Blazor on a decent sized project? I used it > for a while on my last contract but am unable to find new work anywhere > that uses Blazor, not a single one! Compared to server-side ASP.NET and JS Frameworks, Blazor is a gift from heaven .. well ... sort-of.

Re: Blazor popularity and use

2023-09-07 Thread Greg Keogh via ozdotnet
pt framework what > choices do you have? .Net Maui? Flutter? > > On Fri, 8 Sep 2023, 12:31 pm DotNet Dude via ozdotnet, < > ozdotnet@ozdotnet.com> wrote: > >> I find it very hard to believe Blazor demand has overtaken JS. That’s an >> insane comment from

Re: Blazor popularity and use

2023-09-07 Thread Greg Keogh via ozdotnet
at 13:08, David Connors via ozdotnet < ozdotnet@ozdotnet.com> wrote: > > > On Fri, 8 Sept 2023 at 12:06, Greg Keogh via ozdotnet < > ozdotnet@ozdotnet.com> wrote > >> I must end on a sad note. ASP.NET, Blazor, JS, or whatever, all >> finish-up rendering in a we

Re: Blazor popularity and use

2023-09-07 Thread Greg Keogh via ozdotnet
vity is tragic. > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile > > SQL Down Under | Web: https://sqldownunder.com | About Greg: > https://about.me/greg.low > > >

Re: [OT] Junked business registry overhaul blew out by $2.3b

2023-08-29 Thread Greg Keogh via ozdotnet
> > Maybe we should set up OzDotNet Consultants specializing in government > contracts? We could be swimming in cash! > Yeah, when I see news about a planned $4bn IT project going ahead, I think "I'll get some mates together and do it for half the price". A replacement MYKI system, no problems.

[OT] Identifying domain details

2023-11-01 Thread Greg Keogh via ozdotnet
Folks, I'm preparing the paperwork to take some fraudulent plumbers to the Magistrate's Court for "recovery of civil debt". Background information is on my web page SCAM - KM Heating & Cooling . As part of the case I'm going to ask if

Re: Minimal Web API code helper package

2023-10-30 Thread Greg Keogh via ozdotnet
> > I think the package you are looking for is Carter > > > > https://www.nuget.org/packages/Carter > > https://github.com/CarterCommunity/Carter > Folks, some quick feedback. Carter wasn't quite as attractive as I guessed. It adds too much of what I call "magic plumbing" and lots of fluent

Minimal Web API code helper package

2023-10-18 Thread Greg Keogh via ozdotnet
Folks, a couple of weeks ago I was watching a video where someone used a NuGet package in a minimal Web API project to change the plumbing slightly so that it was easier to code the endpoint methods. By default, the endpoint methods must be strictly coded and it's tricky to break them apart or

Re: Minimal Web API code helper package

2023-10-18 Thread Greg Keogh via ozdotnet
> > I think the package you are looking for is Carter > > https://www.nuget.org/packages/Carter > > https://github.com/CarterCommunity/Carter > Yes thanks, that looks familiar. It doesn't look quite as *clever* as I recall, but I'll look into it anyway. I tried something vaguely similar myself

Web app deploy without Visual Studio

2023-08-21 Thread Greg Keogh via ozdotnet
Folks, I have a Blazor app and a Web API that I need to "give" to someone to install in their own Azure subscription. I have only ever published to Azure from Visual Studio via right-click and make some publish profiles. In other cases I would create a Web Setup project and give someone an MSI

Re: [OT] Junked business registry overhaul blew out by $2.3b

2023-08-29 Thread Greg Keogh via ozdotnet
Couldn't they recruit enough COBOL programmers? *Greg K* On Tue, 29 Aug 2023 at 16:30, mike smith via ozdotnet wrote: > Here's a non paywalled one > > > https://www.innovationaus.com/burning-12m-a-month-govt-scraps-business-register-overhaul/ > > > -- ozdotnet mailing list To manage your

Re: [OT] Junked business registry overhaul blew out by $2.3b

2023-08-29 Thread Greg Keogh via ozdotnet
> > Worse, they were probably drowning in XML schema definitions. > Only one mention of XML in the redacted report, but three mentions of > SBR1, so that still counts.  > Aha! That leads to a bit of IT tech talk I can sort-of understand: The MBR’s starting point for the technology architecture

Re: [OT] Junked business registry overhaul blew out by $2.3b

2023-08-29 Thread Greg Keogh via ozdotnet
> > You can also read the review. It’s available online. Riveting stuff, and > of course, with lots redacted because we wouldn’t want to name names. > > > https://treasury.gov.au/sites/default/files/2023-08/review-modernising-business-registers-program-report-redacted_0.pdf > I can't read 340

SQL Server Performance monitoring

2023-07-30 Thread Greg Keogh via ozdotnet
Folks, We have a problem on a live server where web users experience occasional unpredictable "stalls". There are a few links in the chain where the problem could be, but based on some clues in logs, I suspect that it's the last link at the bottom of the chain ... SQL Server that's the source of

Re: SQL Server Performance monitoring

2023-07-30 Thread Greg Keogh via ozdotnet
U > Tools should provide an example to help get something like that going. > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile > > SQL Down Under | Web: https://sqldownunder.com | Ab

Re: SQL Server Performance monitoring [Update]

2023-08-03 Thread Greg Keogh via ozdotnet
Folks, TGIF and FYI -- some more detailed logging and feedback from office staff has opened this performance problem can of worms further. Last Monday my main suspect was SQL Server, but it might be innocent and is actually a victim. Dozens of SQL timeout exceptions are logged, but they're all

CPU profiling an MS unit test

2024-02-14 Thread Greg Keogh via ozdotnet
It's not Friday, but I can't find any way of running the CPU performance profiler over a [TestMethod] in my unit test project. Web searches produce no useful results, some hint that I can right-click a test in the test explorer and pick Profile..., but I have no such menu. Is this possible or

Re: CPU profiling an MS unit test

2024-02-22 Thread Greg Keogh via ozdotnet
Nah. When you click start, it starts whichever project is set to Start, which in my case was some WinForms old test project of no use. You can't set a library to start. I created a mini test project which did some CPU and IO work. If I start the profiler it starts and waits, and when I run a unit

Re: Web app large uploads and downloads

2024-01-02 Thread Greg Keogh via ozdotnet
Folks (welcome to the distant future of 2024) I'm pretty sure that there is no sensible way to provide a bulk Azure Blob upload facility in a web hosted app (Wasm, JS or whatever). There could be thousands of files with a total size up to hundreds of MB. Managers are currently using a WPF program

Web app large uploads and downloads

2023-12-29 Thread Greg Keogh via ozdotnet
Folks (anyone working?) I've been asked to add a feature to a Blazor Webassembly app to allow uploads and downloads of possibly large numbers of files between the local file system and Blob storage. I'm not sure how to implement this feature in a browser hosted app. I wrote a WPF tool for

Re: Web app large uploads and downloads

2024-01-02 Thread Greg Keogh via ozdotnet
Yep we usually do this sort of thing with a batch process, particularly if > there are large files. I don’t see any web app being used just to upload a > bunch of files. > > > > For fun try asking ChatGPT or one of the others to see where they go. > > > > On Wed, 3 J

Re: Private Apple App distribution

2024-01-17 Thread Greg Keogh via ozdotnet
ublic can't run it, which makes forcing it into the store somewhat stupid -- *Greg* > > > On Wed, 17 Jan 2024 at 14:48, Greg Keogh via ozdotnet < > ozdotnet@ozdotnet.com> wrote: > >> Folks, >> >> We're planning a MAUI app to be installed on company Androi

Blazor css overrides

2023-11-30 Thread Greg Keogh via ozdotnet
Folks, TGIF Our Blazor app has a simple classic shape with a local wwwroot/app.css file containing all the styles for the app. I had to allow people to customise the appearance, and my way of doing that works, but not as smoothly as I hoped and I think someone might be able to suggest a better

Conditional builds of arbitrary files

2023-12-04 Thread Greg Keogh via ozdotnet
Folks, the MSBuild process provides Condition= and #if to provide lots of control over which files and code fragments are compiled and published for a given Configuration. My projects contain increasing numbers of non-cs files like html, css, js, txt, etc which often need conditional processing,

Re: Conditional builds of arbitrary files

2023-12-04 Thread Greg Keogh via ozdotnet
you build or publish, so I must remember to Alt+B+4 as needed. Thanks, *Greg* P.S. If I see you at DDD I'll shout you a drink as thanks. > > *From:* Greg Keogh via ozdotnet > *Sent:* Tuesday, December 5, 2023 11:59 AM > *To:* ozDotNet > *Cc:* Greg Keogh > *Subject:*

Re: Blazor css overrides

2023-12-03 Thread Greg Keogh via ozdotnet
ood chain, then maybe it's acceptable. > I’ve never bothered going down the rabbit hole of css to be honest. > That's putting it politely. If I bothered to learn all about css then it would certainly displace other knowledge from my brain that is more valuable. *Greg* > > > On Fri,

Private Apple App distribution

2024-01-16 Thread Greg Keogh via ozdotnet
Folks, We're planning a MAUI app to be installed on company Android and Apple phones. For Android I can just generate the APK file and side-load it (after the security settings are relaxed). I don't know how to do the same for iPhones. We don't want the app in the store. Assuming there is a

Re: Private Apple App distribution

2024-01-16 Thread Greg Keogh via ozdotnet
So you're all telling me that there is no "side load" feature for iPhone apps?! This is a dreadful obstacle to getting the app onto company staff phones. Luckily I have an Apple account that was recently renewed (for 150 goddamn $), but I'll have to fill-in all the store compliance documentation

[OT] Windows Server install problems

2024-03-15 Thread Greg Keogh via ozdotnet
Folks, it's been a non-TGIF day. My old server under the desk running Server 2019 (or 2016 I forget) died this morning and I'm trying to create a replacement I have a brand new *one of these* , so I

Re: [OT] Windows Server install problems

2024-03-16 Thread Greg Keogh via ozdotnet
> > They took a lot of device support out of server along the way and that is > when I stopped running it in my laptop. I'd install windows 11 and turn on > hyper v and run server in a vm > I guess this means I must shop around for a hardware combination (or a whole box) that specifically runs

Re: [OT] Windows Server install problems

2024-03-16 Thread Greg Keogh via ozdotnet
> > Just put the server in a vm on win11. All your problems will go away. > Okay, a consensus from such distinguished persons. I'm reconsidering my way forward -- *Greg K* > David Connors > da...@connors.com // +61 417 189 363 > > > On Sun, 17 Mar 2024 at 10:17 am,

Active Directory lookup

2024-05-23 Thread Greg Keogh via ozdotnet
TGIF! I just spiced-up an ASP.NET app so that it uses DirectorySearch.FindOne to either verify a login user account exists or to authenticate. It runs perfectly on my work PC,

Re: Active Directory lookup

2024-05-23 Thread Greg Keogh via ozdotnet
I have found the answer. I record it here in case it helps someone in the future. While avoiding AD, if you simply want to check if an account exists either locally or in the default domain do this: uint sidSize = 0; uint domainSize = 0; int accountType = 0; bool b1 = LookupAccountName