tigey
tigey
CC#
Created by tigey on 4/17/2023 in #help
❔ ASP.NET Core Web API controller method parameter is not null, but property values are always null.
Previously one could get away with having the data property set to something like {tripRequest: payload} and it would be fine, but in ASP.NET Core it did not like that. Either way, it work now.
5 replies
CC#
Created by tigey on 4/17/2023 in #help
❔ ASP.NET Core Web API controller method parameter is not null, but property values are always null.
5 replies
CC#
Created by tigey on 4/17/2023 in #help
❔ ASP.NET Core Web API controller method parameter is not null, but property values are always null.
Looks like it had to do with how I was passing the payload data into the AJAX call.
5 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
I am back in front of the computer now so imma give it a shot
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Yar Im thinking so.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Ahh
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Example 2
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Oh hO!!! Load the XAML via a XamlReader and set the result to the content of the Window. Call CSC only to compile.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Which project files?
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Everything that I see so far related to XAMLC is from a Xamarin standpoint.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Well as I understand it (and I have not looked into further than a cursory glance at this point) there is a XMLC.exe compiler, but I havent gotten around to looking into how that is used or how the output can be merged with the CSC compiler output into a single assembly.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
In those instances however, I was using MSBuild to build the project. I do not have that luxury here so I am looking for how one would do it "manually".
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
And vice versa I am pretty sure
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
Yes you can. I have run a lot of WPF windows through a Win Forms application before.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
It is "based on winforms" because it is using only CSC compiler and Winforms is written entirely in C#. If there is a method by which I can compile XAML and C# files as necessary into a viable assembly, then I can add that functionality into the application.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
And I can make modifications to its compile methodology.
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
I have access to the Razor codebase: https://github.com/RazorEnhanced/RazorEnhanced
35 replies
CC#
Created by tigey on 12/19/2022 in #help
❔ Compiling XAML + CSharp from commandline
I play Ultima Online on a free server. There is a third party "Assistant" appplication named Razor that allows for scripting macros that affect the game (e.g. move north, dig tile, inspect backpack, etc). Within the last couple of years it has allowed IronPython scripts and C# scripts in addition to the ClassicUO syntax scripts. The C# scripts that it allows for right now can handle Windows Forms UI. I personally do not like Win Forms UI and want to see if I can get some WPF going on in there.
35 replies