I’ve installed .NET 6 (version 6.0.100-rc.1.21458.32) and Visual Studio 2020 Preview (although it might be not a prerequisite). I am trying to debug a hello-world application but I am getting a build error regarding Java. I’ve installed Java 17 setting Path as well as pointing to the Java Development Kit Location in Visual Studio settings (tools->options->Xamarin->Android Settings). Because that didn’t
Tag: .net
Controller Endpoint Naming Convention
I have a controller endpoint and I need help with the naming convention. Basically, the endpoint is supposed to find a customer by their Id/Email (which is sent in the url of the request). Thus I need to have two endpoints, one for users/{id} and one for users/{email}. The issue is, the above wouldn’t work as the routes are exactly
Gradle – throw exception if project still has SNAPSHOT dependencies
I want to fail the gradle build if the current project still has snapshot dependencies. My code so far only looks for java dependencies, missing the .NET ones so it only works for java projects. I want to make it work for all projects. I need some help in generifying this snippet to be applicable to all types of dependencies(not
Need to reference and use a C# dll in Java
I need to reference a .Net dll in java. I have used jni4net libraries for the same. I have followed the steps mentioned in the video below : https://www.youtube.com/watch?time_continue=351&v=8OoSK_RWUe4 I have followed all the steps required to reference jni4net libraries but i get the following runtime Exception: After following all the steps, This is my code: I have tried executing
Call Java function using .Net(C#)
is it possible to invoke function which is written in Java using WCF or any class application written in C# .net Can it be possible by using webOrb.. i can’t find enough information about Java to .Net remoting.. Answer If you want to communicate between C# and Java you have a couple of options. The cleanest: Build a service. This
How do I start creating a small compiler for a school project in java or c#
for my final exam (to graduate from university) I’ve been asked to create a tiny compiler, with the following requirements: The student must develop a basic compiler with all the design parts that conforms it (lexical analysis, syntaxis analysis, parsing, etc). This compiler will have an interface that shows 2 panels, a graphic representation (A) and code representation (B). The
How project Lombok in java works and is that possible in .net using attributes?
Project Lombok makes it trivial to implement the boilerplate code in the classes. Is that possible with .NET attributes? Is any .net port there? Answer Well in Lombok a Java class might look like this While in C# the same class would look like this So C# (3.0 in this example) gets rather close without any other libraries, but as
What are the main benefits of using Mono over Java? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.
IKVM and Licensing
I have been looking into IKVMing Apache’s FOP project to use with our .NET app. It’s a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU Classpath. From what I’ve seen, no one can say for sure if this stuff can be used in a commercial product. Has anyone used IKVM,