Search results for query: *

  • Users: madaxe2020
  • Content: Threads
  • Order by date
  1. M

    Await File Download From Rest API

    I'm downloading files from a Jira Task, and while debugging my code exists before the file is downloaded as a result the thread is exiting and the file is not downloading. i added the do loop and this gives enough time for the file to download, but I don't like it. how can i stop the code form...
  2. M

    Resolved Deserialization With Interfaces Issue

    Were building a bunch of REST API End Points, we decided that we wanted a generic transportation object to be returned from all Rest calls that contains the data and other attributes. The problem is that all of the models implement a common interface "IModlesBase" to support this. Now I don't...
  3. M

    Memory Stream Reading Chunks

    Is this even possible, I want to construct a memory stream where the first byte defines how the stream should be consumed, the next 4 bytes defines how many bytes the next chunk has and so on thanks madaxe
  4. M

    xml element name prefix issue

    i need to pass this xml but the problem is the std: prefix namespace on the xmlelements, if I strip the std: in notepad++ it deserializes fine is there a way to get around this thanks madaxe <?xml version="1.0" ?> <std:node name="S1_standard" xmlns:std="3D Design & Engineering Software -...
  5. M

    How to Create TreeView in XAML with CheckBoxes.

    Morning, I have a 'View Model' that creates a data structure that is variable and up to 6 levels deep. I'm struggling writing the XAML to display the treeview can somebody help, the treeview should also have check boxes also. the goal will be to set the parents check box if all children are...
  6. M

    WPF Close Event Handler Not Working After Dependancy Inject Was Added

    Doe anybody Know why my close event handler is no longer working after adding dependency injection thanks Madaxe namespace CATIAAppsSideWidget { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private...
  7. M

    .Net Core Serilog AppSettings Dependancy Injection With WPF

    Evening All, My logs wont write to file, if I uncomment '.WriteTo.File("log.txt")' then I get a log file, but I really want the appsettings to manage the configration. Can anybody see why its not writting the log files Thanks in Advance Madaxe public partial class App : Application {...
  8. M

    C# Core - Creating a COM Interface For CAD

    Afternoon, Our Code stack is written in C# Core so that its cross platform. I now want to want to write some extensions for our CAD system which used VBA so i need a TLB. Is it even possible to create a COM class and generate a tlb at compile time with .Net Core, in the same manor as .Net...
  9. M

    Linq Group By Return Type

    The code runs but i dont know how to get a specified type I want to get a IEnumerable<IEnumerable<ConnectionModel>> something with a defined type, but im struggling on casting to this data type can somebody help? Thanks Madaxe var Someobject = AllConnectionModels.OrderBy(x =>...
  10. M

    Resolved DeleteAsyn Not Working

    I cant get my DeleteAsync working it silently fails at the highlited line 20 during the DeleteAsyn my controller is expecting the Json body below Can anybody help? Thanks Madaxe { "continent_name": "Test" } public static bool DeleteContinentData(string ContinentName)...
  11. M

    Resolved Updating Combobox After View model Is Updated

    in my application I can add / remove Continents to the data grid view , this works fine but if i change a name belonging to an existing continent the change is not reflected in the data grid view what do i have to change to get the data grid view to update thanks Madaxe <DataGrid...
  12. M

    Resolved Clearing Textbox With MVVM

    The behavior I wont is for the textbox to clear after the button is selected and the record added to the combobox and the datagridview I'm using MVVM as my pattern, and have bound the textbox to a property which I'm setting to string.Empty after the new record is created, but the textbox wont...
  13. M

    Resolved Problem With MVC Pattern - ICommand With Button

    I hope somebody can help, I'm learning the M-V-VM pattern and in this example the Button should become deactivated when there is no string in the text field and when the button is selected its suppose to throw a debug assert. There is no error , warnings it just does not work, the button seems...
  14. M

    Resolved Create a Multi-Layer Data Model from a MySQL Query

    How can i expand the linq query to create additional levels of grouped data. thanks Madaxe namespace ConsoleApp3 { class Program { static void Main(string[] args) { List<SignInReport> SignInReports = new List<SignInReport>()...
Back
Top Bottom