Click here to Skip to main content
15,905,785 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Has x:bind in WinUI 3 effectively killed commanding and converters? Pin
greatoceansoftware29-Dec-22 14:56
greatoceansoftware29-Dec-22 14:56 
QuestionImplementing Google Contacts in WPF App Pin
Kevin Marois13-Dec-22 6:31
professionalKevin Marois13-Dec-22 6:31 
AnswerRe: Implementing Google Contacts in WPF App Pin
Gerry Schmitz14-Dec-22 9:08
mveGerry Schmitz14-Dec-22 9:08 
GeneralRe: Implementing Google Contacts in WPF App Pin
Kevin Marois14-Dec-22 10:22
professionalKevin Marois14-Dec-22 10:22 
GeneralRe: Implementing Google Contacts in WPF App Pin
Gerry Schmitz15-Dec-22 8:07
mveGerry Schmitz15-Dec-22 8:07 
GeneralRe: Implementing Google Contacts in WPF App Pin
Kevin Marois15-Dec-22 12:27
professionalKevin Marois15-Dec-22 12:27 
GeneralRe: Implementing Google Contacts in WPF App Pin
Gerry Schmitz15-Dec-22 16:30
mveGerry Schmitz15-Dec-22 16:30 
GeneralRe: Implementing Google Contacts in WPF App Pin
Kevin Marois15-Dec-22 18:15
professionalKevin Marois15-Dec-22 18:15 
Gerry Schmitz wrote:
The client queries the server; the server queries Google

It's a WPF app. It's calling the Google People API directly. The Secret and Key are hardcoded as constants in the C# code. The app directly queries the Google API passing the Secret and Key.

But that's what I said in my OP. We could store the Key & Secret on our sever and add an endpoint to simply return them, therefore removing them from the WPF app's code. The client app would still call the Google API directly passing the Secret and Key, it would just first, on app start, go to OUR server to get them, instead of them being in the code.

Old
  • App starts
  • App calls Google API, passing hardcoded Key & Secret

New
  • App starts
  • App calls OUR server, which returns the Key & Secret, and stores them
  • App calls Google API, passing the stored Key & Secret

Again, the ultimate goal is to get the Secret & Key out of the code.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: Implementing Google Contacts in WPF App Pin
Gerry Schmitz16-Dec-22 2:06
mveGerry Schmitz16-Dec-22 2:06 
AnswerRe: Implementing Google Contacts in WPF App Pin
jschell20-Dec-22 13:34
jschell20-Dec-22 13:34 
QuestionI have a really strange problem with WebRequest in a ServiceStack web application (hosted by XSP on Mono). It seems that the registration of request modules works in a very strange way; I am using WebRequest to create an HTTP request, and it is faili Pin
Isaac Tack12-Dec-22 1:20
Isaac Tack12-Dec-22 1:20 
AnswerRe: JWT vs Redis - to improve the performance of my application Pin
jschell13-Dec-22 10:42
jschell13-Dec-22 10:42 
QuestionCompare two remote git repositories Pin
_Flaviu17-Nov-22 21:10
_Flaviu17-Nov-22 21:10 
AnswerRe: Compare two remote git repositories Pin
Richard Deeming17-Nov-22 21:43
mveRichard Deeming17-Nov-22 21:43 
GeneralRe: Compare two remote git repositories Pin
_Flaviu17-Nov-22 21:52
_Flaviu17-Nov-22 21:52 
GeneralRe: Compare two remote git repositories Pin
Richard Deeming17-Nov-22 21:58
mveRichard Deeming17-Nov-22 21:58 
GeneralRe: Compare two remote git repositories Pin
infantformula218-Dec-22 6:17
infantformula218-Dec-22 6:17 
GeneralRe: Compare two remote git repositories Pin
Richard Deeming18-Dec-22 20:53
mveRichard Deeming18-Dec-22 20:53 
AnswerRe: Compare two remote git repositories Pin
jschell12-Dec-22 10:29
jschell12-Dec-22 10:29 
Question? where should I go ? Pin
pitwi17-Nov-22 10:35
pitwi17-Nov-22 10:35 
AnswerRe: ? where should I go ? Pin
Richard Deeming17-Nov-22 21:41
mveRichard Deeming17-Nov-22 21:41 
AnswerRe: ? where should I go ? Pin
Gerry Schmitz18-Nov-22 4:32
mveGerry Schmitz18-Nov-22 4:32 
AnswerRe: ? where should I go ? Pin
pitwi19-Nov-22 23:39
pitwi19-Nov-22 23:39 
AnswerRe: ? where should I go ? Pin
Waynegi8-Dec-22 23:38
Waynegi8-Dec-22 23:38 
QuestionFinancial/Accounting Data warehouse model design - need advice!!! Pin
Trang T10-Nov-22 17:28
Trang T10-Nov-22 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.