如何将mvc应用程序发布为本机应用程序。 [英] how to publish mvc application as native app.

查看:106
本文介绍了如何将mvc应用程序发布为本机应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何将mvc应用程序发布为本机应用程序。



谢谢

Hi All,

how to publish mvc application as native app.

Thank you

推荐答案

首先,您应该已经解释了MVC的含义。这可以理解为众所周知的架构模式 http://en.wikipedia.org/wiki / Model_View_Presenter [ ^ ]。



如果您的意思是,问题没有任何意义,因为这个架构与任何特定平台无关,它可能是原生的,也可能不是,任何东西。



但是MVC4表示你的意思是基于这种架构模式的ASP.NET框架: http://www.asp.net/mvc [ ^ ]。



在这种情况下,问题更没意义。对于ASP.NET应用程序,概念本机本身没有意义。它至少有两个部分:服务器端和客户端。服务器端基于.NET;并且代码在CLR下工作。让它成为原生并不仅仅是不可能的;这是没有意义的事情:如果存在某些原生代码,则不清楚它会是什么;当然不是.NET而不是ASP.NET,因此代码使用MVC4框架。并且客户端代码在浏览器中执行,讨论它是否是本机是荒谬的。



整个问题没有意义,因为你,基本上,不谈什么



-SA
First of all, you should have explained what you mean by "MVC". This can be understood as the well-known architectural pattern: http://en.wikipedia.org/wiki/Model_View_Presenter[^].

If you meant that, the question would not make any sense, because this architecture is unrelated to any particular platform, it could be native or not, anything.

But "MVC4" suggests that you mean ASP.NET framework based on this architectural pattern: http://www.asp.net/mvc[^].

In this case, the question makes even less sense. For ASP.NET applications, the concept "native" itself makes no sense. It has at least two parts: server side and client side. Server side is based on .NET; and the code works under CLR. It's not just "impossible" to make it native; it is something which makes no sense: if some "native" code existed, it's unclear what it would be; certainly not .NET and not ASP.NET and hence the code using "MVC4" framework. And the client-side code is executed in a browser, it would be ridiculous to discuss if it is "native" or not.

The whole question makes no sense because you, essentially, talk about nothing.

—SA


这篇关于如何将mvc应用程序发布为本机应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆