ASP.Net应用程序中的Lightswitch [英] Lightswitch inside ASP.Net application

查看:88
本文介绍了ASP.Net应用程序中的Lightswitch的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对整个集成场景有点新意,但我想知道的是,有没有办法可以在ASP.Net网站中嵌入LightSwitch应用程序创建套件。任何想法或领导都会非常感激。

Hi,
I am kinda new to the whole integrating scene but what I want to know, is there a way one could embed a LightSwitch application creation suite inside an ASP.Net website. Any ideas or a lead would be greatly appreciated.

推荐答案

首先,这个问题根本没有意义。 Lightswitch只是一个Visual Studio版本,Visual Studio只是IDE。它没有构建任何项目,它提供了用于完成这项工作的UI前端:

http ://en.wikipedia.org/wiki/LightSwitch#Visual_Studio_LightSwitch_2012 [ ^ ]。



作为所有IDE,Visual Studio应用程序是交互式的。它要求有人能够击中所有这些键,具体取决于屏幕上显示的内容,等等。你认为谁会在服务器端做到这一点? (您是否必须解释ASP.NET是一种服务器端技术?)



但是,这并不意味着这种功能的概念毫无意义。您可以真正做不同的事情:您可以创建模仿Visual Studio的Web应用程序。实际上,这很有可能,我甚至没有看到任何重大的技术问题。唯一的问题是,这将是一项巨大的工作,甚至是Visual Studio团队所做的更大的工作。但是,您可以创建高度缩小的版本。来想一想,你有一切都可以做到。首先要理解的是:Visual Studio绝对不是开发所必需的,这只是一个非常方便的工具。所有开发都可以在裸(可自由再发布的).NET Framework上完成。当然,您可以使用某些HTTP编辑器编辑所有文件,即使语法突出显示也是如此。但如何建立?一切都附带.NET Framework:MSBuild和两个编译器:C#和VB.NET。您可以通过CodeDOM在任何.NET应用程序(包括ASP.NET应用程序)中使用它们:

http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx [ ^ ]。



这就是全部。小心试试? :-)



-SA
First of all, the question, as it is, makes no sense at all. Lightswitch is nothing but a Visual Studio version, and Visual Studio is nothing but IDE. It does not build any projects, it provides the UI front-end for doing this work:
http://en.wikipedia.org/wiki/LightSwitch#Visual_Studio_LightSwitch_2012[^].

As all IDE, the Visual Studio application is interactive. It requires that someone would be able to hit all those keys, depending on what's presented on screen, and so on. Who do you think would do it on the server side? (Do you have to explain that ASP.NET is a server-side technology?)

However, it does not mean that the idea of such functionality makes no sense. You can really do different thing: you can create the Web application imitating Visual Studio. Actually, this is quite possible, and I don't even see any major technical problem. The only problem is that this would be a huge work, even greater work that the one done by the Visual Studio team. However, you could create highly scaled-down version. Come to think, you have everything to do that. First thing to understand is this: Visual Studio is absolutely not required for development, this is just a highly convenient tool. All the development can be done on bare (freely redistributable) .NET Framework. Of course, you can edit all files using some HTTP editor, even with syntax highlighting. But how to build? Everything comes with .NET Framework: MSBuild and two compilers: C# and VB.NET. You can use them in any .NET application (including ASP.NET application) via CodeDOM:
http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx[^].

That's all. Care to try? :-)

—SA


这篇关于ASP.Net应用程序中的Lightswitch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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