简体   繁体   中英

Can I run a C# game on asp.net core?

I have searched the web for the answer to this; "Is it possible to launch a game from an asp.net core web site/server?".

I don't know if the XNA framework will work with this new framework, or is there any alternative?

I would really like to not write my games in javascript, but prefer c#, and hoped that there would be a solution like a java applet, but for c#.

ASP.NET Core is a web framework that enables you to develop web applications. It is running on the server (multiplattform). For Client side code ASP.NET Core can work in conjunction with multiple client frameworks (plain javascript, AngualarJS, ...). But it does not give you the ability to develop code in C# that is executed in the browser.

As mentioned before, it is not possible to do so with the current tools the Net framework provides.

But you can use Unity , which is a game engine that allows you to write game in a couple of languages, c# is one of those.

The latest version allows you to create and publish a game using the web GL option which will run on a browser with no additional plug ins.

You probably want to take a look at that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM