Java and dot net with core