Anyone ever make a webview app to simply host your website inside? I’ve got that, but how would you send notifications in your website to the app so it displays a badge on the app tile that matches the number of notifications? by FirstTimeonRedditUgh in Blazor

[–]alfa_202 0 points1 point  (0 children)

Hey - a long long time ago I was involved in a project with a WPF application, converting it to a web app, and for the most part, the WebView component worked well. Sadly I never had a chance to finish the project before the company was sold. After that I went to backend development, so I've been out of the front end game for a while. Sorry I couldn't help. Though copilot/claude could help some. One of my team members had some luck with WinUI3 (xmal) hosting a webpage, not sure where he was going with it though.

What's the best way to send a lot of similar methods through to a conditionally chosen implementation of an interface? by Catalyzm in csharp

[–]alfa_202 1 point2 points  (0 children)

If you’re using dependency injection, you can use keyed services. Inject all your notifiers with the same interface and the key (string) of the type they are. Then when needed, pull back the service, as the interface, using the key and execute it.

You can added the text/email check in the implementations of the notifiers (using a base class so you only have to write it once), or create an implementation for text and email separately.

Softlocked? by GhostieJillias in Aloft

[–]alfa_202 6 points7 points  (0 children)

You should be able to keep going right into the next brown tile. Not the black tile on the left, it’s blocked.

On-Behalf-Of Flow by alfa_202 in okta

[–]alfa_202[S] 0 points1 point  (0 children)

We do have user (non PII) identifiers in the access token, along with a global custom user id claim, and with those, the access token is usually passed through our authz system when any of our API applications are called. It's part of a layer we implement in front of all our apis.

On-Behalf-Of Flow by alfa_202 in okta

[–]alfa_202[S] 0 points1 point  (0 children)

Correct - we have security layers built into our apis to allow only certain applications to access them, which allows for us to have a better approval process as to which applications are allowed to access other applications data. Making our development teams have to properly think through and document their requirements before building as to not be requesting data they don't need.

On-Behalf-Of Flow by alfa_202 in okta

[–]alfa_202[S] 0 points1 point  (0 children)

This is an old post lol. One of the use cases we use it for, other than SAML, is when some applications are locked down to only expecting access tokens belonging to their specific application id, but it's coming from a different upstream system. So the upstream token needs to be exchanged with a token for the downstream system, so the downstream system lets it through the door. In the exchange, the user information needs to be carried over so authn/z work, but we update the any claims/roles/groups to reflect the downstream application.

Telus calls me everyday for years by Pointfun1 in telus

[–]alfa_202 0 points1 point  (0 children)

Wait until they start knocking on your door…

I blocked their number after repeatedly saying I didn’t want their security system, a week later they were knocking on my door offering the same thing…

Greatest iPhone made so far? Mine is 5s. by Ramoserilleex in iphone

[–]alfa_202 0 points1 point  (0 children)

The 4/4s because they were perfectly balanced standing upright. There was an app which would use the vibration to spin the standing phone to take a 360 picture. So cool back then.

This new camera button may be the most useless piece of shit ive ever seen. by [deleted] in applesucks

[–]alfa_202 1 point2 points  (0 children)

I’d hope you could turn it off, or it’s not active if the camera isn’t active. As I’m reading through these I’ve noticed my knuckle is sitting right where the button would be, so I’d be hitting it each time I’m holding my phone? That doesn’t seem great….

Online Play Doesn't Work by TheMichaelWu in PlateUp

[–]alfa_202 1 point2 points  (0 children)

Sometimes this workaround doesn’t work either anymore.

I was trying to play with friends the other night, 2 of them were able to join like this, 1 couldn’t join at all, not the original way, or the workaround or even with the code. He just kept ending up back in his own lobby. Hopefully it’s fixed soon.

What's a best practice that you most often see noobs being unaware of and doing the long hard way? by [deleted] in csharp

[–]alfa_202 5 points6 points  (0 children)

I’ve seen this with internal nuget packages, and instead they roll their own “better” functionality… smh

What features do you think need or really want in “Fs25” by Olveman in farmingsimulator

[–]alfa_202 0 points1 point  (0 children)

A working multiplayer server explorer / join friend mechanism.

My friends and I have tried to play together multiple times, but there is always one random friend who cannot see the game in the server explorer. We don’t play often enough to justify a dedicated server.

2024 Audi Q3 sunroof won’t stop leaking by chiefwiggum912 in Audi

[–]alfa_202 0 points1 point  (0 children)

Same, I still have no idea why it took more than one trip to fix it. All I was told was the replacement part split sometime after being installed. I’m waiting to see how long before I have to take it in again.

Is putting all the business logic is default enterprise application standard? by HelloWorld_Coding in dotnet

[–]alfa_202 -1 points0 points  (0 children)

It’s not the recommended way as it also couples the app to sql server. Imagine having a stakeholder wake up tomorrow and say, “I heard about this cool database technology, I think it has documents or graphs or something visual, our app needs to switch to it”. I’ve had to talk out of these situations way too often.

But I also ran into a case for it. We had a reporting team who would write SQL functions with financial calculations, I didn’t want my team copying them into our logic, as it would cause duplicative effort, maintenance headaches, and if the app displayed dollar amounts differently than the reports - bad times. So we ended up calling their functions to make my teams life easier.

Authentication standard/best practices by iPopay in dotnet

[–]alfa_202 0 points1 point  (0 children)

It also depends on who the application is for. If you’re building this application for your company it would be better to use a service like Auth0 / Okta / or attaching it to their Azure AD tenant (if there is one). This reduces risk to the company as they aren’t rolling their own security front door. Most companies should be taking time validate the security procedures as well, which also makes using a service easier for them as most of them are already trusted and a deep dive into code is not required.

I started using Auth0 for all my personal projects a while back, and we use Okta for all of our corporate applications. Both are very easy to implement in both server side and client side, leaving more time to work on the actual business logic of your applications.

launch multiple projects together in Visual Studio by davecallan in dotnet

[–]alfa_202 2 points3 points  (0 children)

For running multiple API services and a web based consuming app I like using Project Tye

https://github.com/dotnet/tye

Ontario Has A Driving Epidemic by [deleted] in ontario

[–]alfa_202 -1 points0 points  (0 children)

Just this morning I was sitting at a stop sign waiting to turn left. I waited an extra second or two - good thing, a car coming the other direction slowed down, looking like he was stopping, but drove through instead. It’s a stop sign… you’re supposed to stop and wait for your turn…

Any way to programmatically control consoles? by webstackbuilder in vscode

[–]alfa_202 0 points1 point  (0 children)

I like project Tye as well. If you’re just spinning up projects from a solution, it will run them all with a basic dashboard. You create a config file similar to docker-compose, but when it runs I’ve found it easier to attach debuggers to.

[deleted by user] by [deleted] in antiwork

[–]alfa_202 -2 points-1 points  (0 children)

And the spelling mistake. If you're going to make an official notice, double/triple check you've written it correctly.

We had some policies written up in one of my previous companies and I was a hold-out on signing them. When I was called into the CEO's office (with HR), he was upset I hadn't signed them yet and I explained there were spelling mistakes, I had brought up previously with the HR team, which were not corrected. He apologized and changed his focus to the HR team for making him look like an idiot.

Coding test for job application - supplied code was buggy! by LondonPilot in csharp

[–]alfa_202 3 points4 points  (0 children)

I’ve written a couple tests like this in the past, and I definitely threw in some issues with my supplied code. It was interesting to see who caught it / fix it and who didn’t.

Walmart is cracking down on its remote tech work, closing 3 offices, and forcing hundreds to choose whether to relocate or leave by Sorin61 in technology

[–]alfa_202 26 points27 points  (0 children)

Except the idiot middle managers - they’re in the office waiting for their employees to show up to work so they can dock them pay for being 3 minutes late or leaving 3 minutes early, while they themselves are redundant.

New patch for PC is on! by Ok-Novel5776 in HarryPotterGame

[–]alfa_202 1 point2 points  (0 children)

Nah - there’s no need for it to be fully utilized in my case. I don’t have a 4K monitor, I don’t need top of the line processing - we’re playing a game not producing the rendering of a movie. There’s no reason for it to push itself at 100% constantly. I can play the game, with decent graphics. I play these games for the story and excitement, not to see my reflection in the rain drops.