Questions tagged as '.net'

0
answers

Eager Loading EF Core 2.1 Load only First Level

Well, I need a lot of help! I'm having a C # WebAPI project as per PRINT below: The problem is this: I need to access the data of navigation properties created by EF Core 2.1 DBFirst, but only the first level! What is happening is that...
asked by 02.01.2019 / 19:41
1
answer

Error ORA-00942 TABLE DOES NOT EXIST occurring in System.Data.OracleClient. VB.NET

I have an application on vb.net using .Net Framework 2.0 . Below is a snippet of my application code: strComando = "SELECT CD_LOCALIDADE, NO_LOCALIDADE FROM COPAGIS_GDB.MUB_LOCALIDADES WHERE FL_IMPLANTADO='S' ORDER BY NO_LOCALIDADE" fsOa...
asked by 13.03.2014 / 15:14
1
answer

WCF services with a number of different methods (endpoints)

I took a project that uses WCF and I am not able to unravel this mystery. I have two solutions: Project A and Project . When it attempts to instantiate OAuthServiceClient within Project B , it generates the following error:   ...
asked by 10.12.2018 / 13:55
0
answers

Entity Framework 6 get attributes in SaveChanges

I am using Entity Framework 6 with Oracle . The database is from a legacy system, so I plan to set the primary registry keys on hand. To make life easier, I want to get the SaveChanges of DbContext data from the tab...
asked by 11.12.2018 / 17:43
0
answers

Change .NET Framework Version Visual Studio 2017 for mac

I've done a .net MVC project in visual studio for mac in framework 4.5 How do I change to version 3.5? I tried to change but it did not work: In addition, I've already downloaded an older version of the mono but it also does not w...
asked by 23.12.2018 / 14:48
1
answer

How to make requests via C #? WebRequest vs HttpClient

I have a project in .Net Framework 4.6.1, and in my research I concluded that I can use the WebRequest to make requests to other web services via the backend. I would like to be able to make requests using any HTTP verb . You can also us...
asked by 17.12.2018 / 13:12
0
answers

X509Certificate2UI.SelectFromCollection is closing the application

On a given client, when accessing the X509Certificate2UI.SelectFromCollection function the application is closing without even going through the error handling. This function opens a Windows dialog box for the user to select a digital...
asked by 07.12.2018 / 12:05
1
answer

NHibernate + .NETFramework 3.5

Would anyone know what the latest version of Nhibernate works in .NET 3.5? I got to search the site itself, but I could not find it. The one I own is 2.1.0.4000.     
asked by 29.11.2018 / 20:59
0
answers

MSBuild.Community.Tasks.Targets not found

When I try to open a project it gives an error:    The project "C: \ Program Files (x86) \ Microsoft Visual   Studio \ 2017 \ Community \ MSBuild \ MSBuildCommunityTasks \ MSBuild.Community.Tasks.Targets "   imported was not found. In additio...
asked by 29.11.2018 / 17:18
1
answer

Bank connection object: should I have only one for the whole system or one instance per class?

What is the best practice: to have only one point (Singleton) that returns the connections to the database or to create an instance of the connection for each object? My system accesses multiple banks and so I created a AcessoBanco cla...
asked by 23.11.2018 / 20:23