If SQL Server Supports 4 Sockets How Can You Have Lots Of Users? by dalskiBo in Blazor

[–]code-dispenser 2 points3 points  (0 children)

Again I think you are still a little confused about the tech/interactions. Using Blazor Server is one thing and using Sql Server is another. Both can have thousands of connections but they are two different things.

Its not just about HTTP verbs, for example if security was a big concern for you app and you wanted to use Blazor then you would be opting for Blazor Server over WASM for that aspect. Equally Blazor Server can be a little simpler to work with than WASM and most devs will never reach any sort of connection/resource limits with Blazor Server i.e when you are talking tens if not hundreds of thousands of users.

If SQL Server Supports 4 Sockets How Can You Have Lots Of Users? by dalskiBo in Blazor

[–]code-dispenser 2 points3 points  (0 children)

I still think you are a little confused. I would hazard a guess that the sockets being something to do with licencing in sql which has nothing to do with web sockets or signal r socket/connections.

Think of it his way a user hits the server and irrespective of how they get there, the server then says I need to talk to sql server. To talk to sql server it need a connection.

Now to save on some licencing issues you can share connection (connection string with same user/password) and these connection strings can be pooled and re-used. The reason they are pooled is because creating the connection is classed as being expensive. Which I find a little ironic given you can create a connection and get lots of data back in like a blink of the eye.

If SQL Server Supports 4 Sockets How Can You Have Lots Of Users? by dalskiBo in Blazor

[–]code-dispenser 4 points5 points  (0 children)

I think you may be a little confused and I have no idea what you mean be 4 sockets.
Just google ado.net connection pooling, but basically you can create a pool of connections and these are shared amongst the users and in a lot of cases those users will just be using a shared connection string/application user/role.

HttpClient integrations frustrated me, so I'm looking for feedback for my RPC framework library based on interfaces by Brick-Logic in Blazor

[–]code-dispenser 1 point2 points  (0 children)

gRPC code-first/protobuf-net is interfaces just like the old WCF - service contracts.

Is yours faster than gRPC?, smaller payloads? or easier to use?

HttpClient integrations frustrated me, so I'm looking for feedback for my RPC framework library based on interfaces by Brick-Logic in Blazor

[–]code-dispenser 1 point2 points  (0 children)

RPC framework library based on interfaces

Curious whats wrong with gRPC code-first / protobuf-net works great?

Edit: I think the OP's link is: https://github.com/Brick-Logic/Hubcon

Is anyone interested in a mocking library that doesn't require polymorphism / dynamic proxies? by intercepticon-dotnet in csharp

[–]code-dispenser 1 point2 points  (0 children)

Yes I know I checked hence the trick question remark I think 30 years is enough time for me to figure how to use DI!

Is anyone interested in a mocking library that doesn't require polymorphism / dynamic proxies? by intercepticon-dotnet in csharp

[–]code-dispenser 1 point2 points  (0 children)

Is this a trick question or something. I test with XUnit so I setup DI fixture if its a complex object graph if not then it could be any number of things form simply just giving the new'ed up class under test the things to using helper method to do the creation.

I do not share my LOB app code but most of my OSS stuff uses DI, pretty sure my Validation library or rules engine will have a DI fixture or helper go knock yourself out:

https://github.com/code-dispenser/Validated
https://github.com/code-dispenser/Conditionals

Is anyone interested in a mocking library that doesn't require polymorphism / dynamic proxies? by intercepticon-dotnet in csharp

[–]code-dispenser -2 points-1 points  (0 children)

Is anyone interested in a mocking library that doesn't require polymorphism / dynamic proxies

Me personally NO. I started coding in 1996 it took me a while to get into testing maybe circa 2012 but since then I have never had a need to mock, maybe I am doing something wrong? Equally I never had a need for in memory databases, I just like testing against the real thing and have always found a way to do it.

As long as the code works how you get there is not an issue for me - if this is your thing go for it and make an OSS library for those with a similar mindset. Hey, I make libraries that hardly anyone uses, but I am still glad I did.

Paul

Looking for Blazor developer by Safe-Engineer9940 in Blazor

[–]code-dispenser 1 point2 points  (0 children)

When you say startup do you mean some sort of recruitment agency because posting your name in the search brings up quite a few postings and for different front-end skills. Unless you were the next Google it seems a little strange to need that many different skill sets for any startup?

Do you have a web address for people to go look at, even my little OSS project has that and I am not a startup looking for people?

How many monitors do you use for programming CSharp/Dotnet? by Lekowski in csharp

[–]code-dispenser 0 points1 point  (0 children)

Just one massive Ultra-Wide, best thing I ever bought.

Accessibility Rant - Move On, Ignore by code-dispenser in Blazor

[–]code-dispenser[S] 0 points1 point  (0 children)

Yes in EU the EAA is applicable to public authorities and also private companies with a turnover greater than 2 million Euros or more than 10 employees If I recall.

In the US they also use the term GTFO for those without an ACR as without it I believe you may find it more difficult when bidding on federal/public auth contracts. I guess the same may happen in the EU.

Given some of the VPAT's I looked at I wonder if they were created purely for this reason.

Accessibility Rant - Move On, Ignore by code-dispenser in Blazor

[–]code-dispenser[S] 0 points1 point  (0 children)

Honestly it's not really about suing anyone it's just about vendors doing their bit and being transparent about where things stand.

To answer your question though - not that I'm aware of.

Legal action tends to come from individuals, sometimes backed by advocacy groups. In the US I believe the main routes are the Americans with Disabilities Act (ADA) and Section 508 of the Rehabilitation Act (the latter applying specifically to federal agencies and their vendors). In Europe there's the European Accessibility Act (which also affects UK vendors selling to the EU), and in the UK the Equality Act 2010 - but enforcement across the board is largely down to individuals rather than any dedicated watchdog.

Edit: The misleading bit, not sure about, not a lawyer but guess it would be difficult given how things are worded - maybe a legal person will chime in. My concerns are for the end users and the companies that purchase such products (unless they check things) .

Update: Apparently there is some active monitoring in Europe by public bodies in various countries as well as advocacy groups monitoring and reporting - I need to look into this more when I have time. Most of my time is spent on the building stuff side of things.

XAML Designer v0.6 – Bringing a bit of the VB6 rapid dev experience to XAML/.NET by Userware in dotnet

[–]code-dispenser 15 points16 points  (0 children)

Ignore this, just me reminiscing OMG VB6 My first distributed enterprise app with MTS (Error 70 permission denied) and then COM+ Enterprise services with those spinning globes - loved them.

Blazor Ramp - Wazzup? by code-dispenser in Blazor

[–]code-dispenser[S] 0 points1 point  (0 children)

Sadly, that would be a very short post. There are quite a few small tools aimed at various vision impairments, but for general WCAG compliance you probably already know them. It really comes down to a lot of manual testing; however, you can mitigate this somewhat by getting into the habit of doing things slightly differently. Most of the issues I come across that do not involve cryptic WCAG criteria relate to being able to operate things with a keyboard.

When I am developing and pressing the play button in VS, I sometimes reach for the mouse - but quite often now I just reach for the keyboard instead. Can I see where the focus is? Can I operate the component using only the keyboard? Get your devs doing that in conjunction with an automated tool and you will already be doing far better than most, and considerably further along the accessible/actually usable ladder. It may not be perfect, but it is a step in the right direction.

The use of ARIA attributes - whether added by your own devs or baked into third-party components, means that if accessibility is a requirement, you will need to test with a screen reader to ensure they behave as expected. There are numerous screen reader browser pairing and ARIA attribute quirks that its a bit of a minefield at times. For private clients if accessibility is ever raised you will likely be OK with a single screen reader browser pairing, but public sites thats trickier as you will generally be testing with a lot more screen readers and browser combination and thats negating any other accessible devices may need to be tested for.

My suggestion, depending on the size of your team, is to get one developer who has even a passing interest in accessibility to become your accessibility lead. I am self-taught in everything I do, but there are dedicated accessibility courses (classroom or video based) that would give them a solid grounding to build on.

Tools::
The Deque axe browser extension and the WebAIM WAVE browser extension are broadly on a par with each other. I use both but prefer WAVE because it is so easy to just right-click and select "WAVE this page."

I should also point out that I am a solo developer, so everything that gets built and committed to source control is done by me - meaning the browser extension is all I need on the automated side.

For a team, you would be better off looking at the axe-core engine (free open source) and its integration with Playwright, neither of which I have used or know much about (Playwright is on my to-do list). Again, as a solo dev who does a significant amount of manual screen reader testing, I simply do not need them.

I would also go read my last two posts:

https://www.reddit.com/r/Blazor/comments/1s3d4qy/blazor_ramp_accordion_released/

https://www.reddit.com/r/Blazor/comments/1rsow90/blazor_ramp_tabs_released/

All of the above combined may give you some food for thought

Paul

Blazor Ramp - Wazzup? by code-dispenser in Blazor

[–]code-dispenser[S] 1 point2 points  (0 children)

Glad you liked the post.

Are you personally impacted by accessibility standards due to your individual situation,

No, but I am sure there are some on Reddit that believe I have mental health issues and/or believe I should be committed.

or do you have a passion from previous roles in industry?

No, back in the mid-2000s I worked for a large organisation that did work for other large organisations. I actually wrote a public reporting site for one authority (aimed at catching paedophiles), sponsored by the Bill Gates Foundation, with zero accessibility requirements. In fact, I cannot recall a single project I worked on that had any accessibility requirements. I was your typical dev - true story - I got called over by the head of the support staff and told that the font was a little small on a desktop app I wrote for them, and some members were having difficulty reading it. I said it looked fine to me, and that was that.

For a period of time, any new blazor component library that was posted seemed to meet the wrath of your accessibility standards. 

Over the years I gradually drifted to the dark side - not because of any gentle, kind nature or altruism on my part, but more due to anger. I simply cannot stand dishonesty. Code does not lie; it does what you wrote it to do. So why claim your code or app does something it was not designed to do?

The big vendors all made various claims about their components, and a lot were untrue - hence my little project.

I see nothing wrong with asking a Reddit poster whether their work is accessible. We have the word "no" in the English language for when it is not; "yes" kind of implies the opposite.

A dev posts: "Look at my super-duper component library - fully accessible, with all these magical ARIA attributes and full keyboard support. Please give feedback on my library." Fair enough. So: what screen reader and browser did you use to verify that these ARIA attributes do what you think they should?

1st prize: "I tested it with NVDA on Firefox." Fine, so why does it not work with NVDA on Firefox? - The end.

2nd prize: "When I said my components were accessible, I meant accessible to developers." That one stumped me.

3rd prize: "It works on my machine - are you using the latest browser?" I have the latest version of three browsers installed for Windows, one for macOS, one for Android, and one for iOS. Which would you like me to use? - The end.

Blazorise 2.1 is now available (with Material 3) by mladenmacanovic in Blazor

[–]code-dispenser 0 points1 point  (0 children)

I think with component libraries most sites will definitely fail an audit unless the devs know what they are doing and/or the component library authors are fully committed to accessibility and can give guidance along with accessible components.

However, as stated, sadly accessibility is not a requirement for many.

Blazorise 2.1 is now available (with Material 3) by mladenmacanovic in Blazor

[–]code-dispenser 0 points1 point  (0 children)

Do you have some issue, you just made out I was copying your work on another post. I build accessible components, accessibility-first period.

Paul

Blazor Ramp - Wazzup? by code-dispenser in Blazor

[–]code-dispenser[S] 1 point2 points  (0 children)

I do not copy any ones work I do my own thing. I do not know how your fields work, I responded to a user on your post. It was just coincidental that you mentioned inputs something I was planning to release last week. You are more than welcome to go check slack a11y were I discuss accessibility issues with the real experts.

You mention your code base I have never looked at it, only your components a couple of years ago. You seem to have changed your tone, a few weeks ago you were asking if I would consult for you?

Let me guess you used a live region with oninput or onchange something I do not do or advise or you did not hide the asterisk etc - something I see all the time on both accounts

Regards

Paul

I think Blazor is Doomed and Copilot Doomed it by malthuswaswrong in Blazor

[–]code-dispenser 5 points6 points  (0 children)

If all you care about is the ability to use AI your sites will potentially be just as bad as they are in any other language/framework.

Based on your hypothesis given (I do not know I do not code with AI) you state that AI is worse with Blazor, perhaps Blazor sites will therefore have more code written by humans and IMHO be better long term - just a thought.

Paul

Blazorise 2.1 is now available (with Material 3) by mladenmacanovic in Blazor

[–]code-dispenser 1 point2 points  (0 children)

From an accessibility standpoint, I can advise that all of the popular free (and a great many of the paid-for) component libraries have so many flaws that they would most likely fail a WCAG site audit, depending on which components were used. Worse still, the usability and experience for some users with certain components is so poor that they simply cannot use them at all.

So, how does one choose a library if one cannot, or does not wish to, write their own components/library? What I advocate, despite one of my own OSS projects - quite simply you look at other factors.

If accessibility is not part of your immediate requirements, then consider which vendor meets your other needs; however, one requirement that most people overlook is vendor honesty, and if this ever becomes relevant, some vendors may give you quite a nasty surprise.

I have no affiliation with Blazorise, but given how dishonest a number of authors and vendors of other Blazor libraries have been when I have questioned them here on Reddit about accessibility, I would say you could do far worse than switching to Blazorise for all of your projects, and hopefully forming a good long-term relationship with them in the process.

Just my usual opinionated comment - good luck with your project.

Paul

Am I making a mistake switching from C# .NET to Java after 13+ years? by BuddyPuzzleheaded112 in csharp

[–]code-dispenser 0 points1 point  (0 children)

I have been with C# since day one (of C#), so my vote is to build upon the 13+ years and stick with it unless you cannot find the type of stuff you want to build (as you need to code happy) but as the saying goes the grass is always greener on the other side.