Skip to content
  • 0 Votes
    2 Posts
    0 Views
    M
    These approaches are all great but they all fail to handle the real world of MVGIGO. Latest Articles: A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework
  • Google PeopleAPI & HttpListener Redirect URI

    C# wpf csharp com security json
    11
    0 Votes
    11 Posts
    0 Views
    J
    The redirect_uri is a URI. Which means, as I suggested you can put an actual full URL in there including the port. The example in the following shows a less than trivial URL, but one to which a port could be added easily. Using OAuth 2.0 for Web Server Applications  |  Authorization  |  Google for Developers[^] Since it is a query parameter the full URL would need to be correctly escaped in that expression.
  • WPF xceed CheckcComboBox SelectAll Text

    WPF wpf csharp help question
    3
    0 Votes
    3 Posts
    4 Views
    K
    Wonderful. Thanks In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
  • 0 Votes
    4 Posts
    17 Views
    M
    A good sign is that Microsoft IS using WinUI (WinApps SDK) to build consumer-facing apps. One of them is the Photo App Microsoft rolls out Windows App SDK-Powered Photos app for Insiders[^] If I recall well, another WinUI app by Microsoft was something to do with a "Phone" app, but can't quite recall what it was. While I can agree with some of the sentiment expressed, I am starting to see great energy on WinUI team, open-sourcing of WinUI was great and their OSS participation has been great.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Getting Google Contacts

    C# wpf tutorial csharp com algorithms
    13
    0 Votes
    13 Posts
    0 Views
    L
    Once I figured out the rules it was easy. But, as with most things, the learning curve was a bit steep.
  • Change Image URL's Assembly At Runtime

    WPF wpf csharp question announcement
    2
    0 Votes
    2 Posts
    5 Views
    L
    Use relative Pack URI's. [Pack URIs - WPF .NET Framework | Microsoft Learn](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/app-development/pack-uris-in-wpf?view=netframeworkdesktop-4.8) "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • Coding Pet Peeves

    The Lounge wpf help question
    55
    0 Votes
    55 Posts
    13 Views
    H
    Maybe they're using emacs! Not joking, by the way.
  • Moving Contract template

    The Lounge wpf help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Razor RadioButton ViewModel Property Binding

    ASP.NET html asp-net wpf wcf sysadmin
    2
    0 Votes
    2 Posts
    4 Views
    Richard DeemingR
    RadioButtonFor renders an <input type="radio"> with the name set to the property name, and the value set to the specified value. If the model property matches the specified value, then the radio button will be checked. <input type="radio"> - HTML: HyperText Markup Language | MDN[^] When the form is submitted, the name and value of the checked radio button (if any) will be sent to the server, and the model binder will use it to populate the property. Adding the extra HiddenFor for the same property should not be necessary. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • 0 Votes
    3 Posts
    4 Views
    Richard DeemingR
    As Jeron said, the forum at the bottom of the article[^] is the place to post questions about the article. However, the author hasn't been active since 2014, so it's possible he may not still be here. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Google API Authentication in a WPF App

    C# security csharp html wpf com
    2
    0 Votes
    2 Posts
    0 Views
    D
    Again, you don't. Opening a browser and letting the user login using that doesn't give you ANY way of knowing when the user is logged in or not. I found samples provided by Google for Windows desktop apps just by reading the link you posted and following a couple links. They can be found at GitHub - googlesamples/oauth-apps-for-windows: OAuth for Apps: Samples for Windows[^]. Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
  • EntityFramewok Core 6 WPF App

    Database csharp asp-net database wpf com
    2
    0 Votes
    2 Posts
    6 Views
    Richard DeemingR
    Check the "default project" list in the package manager console. If you don't specify the -project argument, this is the project that's used. EF Core tools reference (Package Manager Console) - EF Core | Microsoft Learn[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Bubbling Event Question

    WPF wpf question csharp dotnet wcf
    13
    0 Votes
    13 Posts
    15 Views
    K
    Referring to the first pic with all the nested controls, I have this Routed even deep inside MyNewControl public static readonly RoutedEvent ItemSelectedEvent = EventManager.RegisterRoutedEvent("ItemSelected", RoutingStrategy.Tunnel, typeof(RoutedEventHandler), typeof(NavigationPane)); public event RoutedEventHandler ItemSelected { add { AddHandler(ItemSelectedEvent, value); } remove { RemoveHandler(ItemSelectedEvent, value); } } private void RaiseItemSelectedEvent() { // Raise the event, passing the selected item vars args = new SelectedItemEventArgs(ItemSelectedEvent, SelectedItem); RaiseEvent(args); } How do I catch this event in the window? What is the syntax? Using some kind of Preview_... is going to catch a LOT of events. Is there no way to subscribe directly to that event from the Window? If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • Expander Header Content Stretch

    WPF wpf help css wcf question
    3
    0 Votes
    3 Posts
    5 Views
    K
    That did it. I saw this article already and tried the XAML approach. I should have hep reading. Thanks If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • 0 Votes
    3 Posts
    5 Views
    Richard DeemingR
    GitHub - punker76/gong-wpf-dragdrop: The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • ListBoxItem DataTemplate with HyperLink Problem

    WPF wpf question wcf help
    3
    0 Votes
    3 Posts
    6 Views
    K
    That did it. Thanks If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • ListBox With Hyperlinks - Pass Bound Item

    WPF help wpf wcf question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • CustomControl Styling Question

    WPF question dotnet wpf com
    2
    0 Votes
    2 Posts
    6 Views
    P
    Well, the easiest way to let people know is if you document the styles just the way you have here. If people want to adjust the triggers and templates, they can see what is affected just by reading the documentation. Advanced TypeScript Programming Projects
  • Func<> Question

    C# help question wpf
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied