driib
driib
Explore posts from servers
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
Ja, men bara lite 🙂 Great to hear you managed to go back to working state!
55 replies
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
Sorry, don't have time for one-on-one help session. But there are 7.5k people here, so if you keep asking questions, you should get the help you need. Lycka till!
55 replies
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
https://git-fork.com/ could be convenient for you if you are new to git command line.
55 replies
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
No need to re-download things. Git allows you to "jump" across versions on your computer directly.
55 replies
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
Yes, Github uses Git. You should be able to: 1) Look at the diff of the changes made and think if they broke the flow. 2) You can save the changes and roll back to the previous commit to see if the code still works.
55 replies
CC#
Created by Hampus on 4/18/2023 in #help
getting data from mongodb to c#
For the "it worked 20 minutes ago", I would strongly recommend using Git: https://www.atlassian.com/git/tutorials
55 replies
CC#
Created by ABAKA on 4/18/2023 in #help
❔ Sitecore using C# ASP.net Framework
4 replies
CC#
Created by driib on 4/17/2023 in #help
❔ Getting rid of System.Net.Http.Formatting
Upd: I solved the problem, newly created project with an assembly redirect for System.Web.Http and a https://github.com/Microsoft/dotnet/blob/main/releases/net472/KnownIssues/613745%20-%20Single-name%20references%20are%20removed%20by%20the%20SDK%20when%20targeting%204.7.2.md for System.Net.Http did the trick. I must have messed up something in the process of trying other irrelevant advices.
5 replies
CC#
Created by driib on 4/17/2023 in #help
❔ Getting rid of System.Net.Http.Formatting
5 replies
CC#
Created by driib on 4/17/2023 in #help
❔ Getting rid of System.Net.Http.Formatting
A Java dev here who programmed in C#/.Net professionally ca. 10-12 years ago here trying to refresh my .Net skills. MVC 5 application was created from scratch using https://devindeep.com/how-to-create-asp-net-mvc5-web-project-in-visual-studio-2022/ and the code was moved there manually. Also, to be clear, I removed the extension assembly for Http.Formatting and replaced it with Microsoft.AspNet.WebApi.Client If I try to update all MVC 5 packages to 5.2.9 and remove the Extensions kludge, I get CS1705 Assembly 'System.Web.Http' with identity 'System.Web.Http, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Net.Http.Formatting, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' In case it helps 🙂
5 replies