djibouti
djibouti
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
Thanks - yeah I know how to implement the flow, I was just hoping that there was some way to directly combine React + asp.net (with ssr, not the template one which doesn't allow ssr)
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
Unfortunately I still need to hide the back end request with a server-side api call (not my call)
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
I thought you might say that, and yeah I guess I've come around to that being the case
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
There is no authentication for users. There is a unique identifier they can enter and then the application needs to display some information from the back end api. The response isn't information terribly sensitive so it's fine to display it based on that identifier. But there are ways it could be abused so I need the api call protected. I realize it sounds odd, but those are the instructions I have to work with.
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
No, there's no user accounts for this app. But I still want to secure the backend so adding a UI+server layer where the request is done from ssr seems best
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
From the client side, fetch won't work since I need to use a 'secret' to obtain the access token for the API.
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
(should I delete this post since I'm just asking in #web anyway? I really didnt intend to cross post but I clearly have at this point
18 replies
CC#
Created by djibouti on 1/16/2023 in #help
✅ How can I use ReactJS with Asp.net core with server side HTTP calls?
The back end is what I'm trying to protect. It has API controllers with Authorize attribute that requires a token that generated from Azure AD. To get that token from Azure AD, I have a secret. I obviously can't put that secret for getting access tokens in the client side code, so my thought was I will need to make this app have some server-side component to it that can keep the secret... secret, along with making all my HTTP requests to the back end.
18 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
/close
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I appreciate all the help here.
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I think this is a good alternative to including the whole Windows SDK just for toast notifications. I lose some functionality - like arguments / responses and setting my own custom image/icons. But shaving 2/3 off the build size seems like a good compromise.
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
Linking this for myself to revisit later when I can get to my laptop https://roundwide.com/implementing-system-tray-app-with-wpf-and-mvvm/
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I will look into the win7 style
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
Ah ok. Didn't realize
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
And msix doesn't like you installing a bunch of apps that require admin rights. (Rightfully so)
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I think the only hangup really was the installation of uwp app required msix or something like that.
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
It's an app for connecting to our app infrastructure and requires a few dependencies
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I haven't. Maybe I should look into it. I was worried about working in a new framework. I think I also determined my use case might not fit. This application needs admin permissions at times and my installer runs several other installers at the same time (exe).
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I'll try that out!
45 replies
CC#
Created by djibouti on 11/23/2022 in #help
✅ WPF Build size triples after changing target framework to net6.0-windows10.0.17763.0
I suppose the browser is responsible for that though
45 replies