• /r/csharp
  • MSXML2 – Is this still a thing?

    Noobie programmer here, I was handed an old C# project and asked to fix a minor bug. It was a two-line fix that was easy even without knowing C#, but I can’t build the project without the error “The type or namespace name ‘MSXML2’ could not be found” I’ve tried searching online but can’t find […]

  • /r/csharp
  • IEnumerable to XML LINQ Help

    OK, I have a pretty basic class contains 5 properties, Name, Id, date and time and title. The class is called Thingies for this example. I need to export this to XML, I have tried XElement myStuff = new XElement(“MyStuff”, Thingies.Select(c => new XElement(“Stuff”, c))); return myStuff.ToString(); All I get back in the Name.space.Thingies not […]

  • /r/csharp
  • HELP! Asp.net mistake

    Hi. so here is my dilemma, i created an asp.net application “empty” because i was not sure what MVC was(I found out later), so i have been pumping out .aspx pages and css styling, without knowing that azure needed the MVC controllers for hosting. is there anyway to add controllers to my “empty” asp.net project?? […]