使用javascript或C#构建ASP.NET / HTML5网站? [英] Use javascript or C# to build ASP.NET/HTML5 website?

查看:50
本文介绍了使用javascript或C#构建ASP.NET / HTML5网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我目前正在ASP.NET和HTML5中构建一个应用程序。我也构建了DataLayer和Business Logic层。但是,我正在尝试研究用于Presetation层的最佳方法和语言?我是一个C#开发人员,所以我很想知道使用javascript或JQuery而不是C#代码来利用面向对象的最佳方法是什么?



任何人都可以告诉我请和我指点几个教程?我正在考虑数据事务,如读取,写入数据库以及我将如何处理除c#以外的任何其他事件,如异常处理和使用自定义对象?



此外,我希望能够利用HTML5,因此该应用程序也可以在移动平台上使用,任何人都可以建议我构建我的表示层的最佳方法,以便它可以在移动和Windows PC设备上使用/>


谢谢

Hi,

I am currently build an application in ASP.NET and HTML5. I have built the DataLayer and Business Logic layer as well. However, I am trying to research on the best method and language to use for the Presetation layer? I am a C# developer so I am strugling to understand what is the best way to leverage Object Orientation using javascript or JQuery instead of C# code behind?

Can anyone advise me please and maybe point me to a few tutorials? I am thinking of the data transactions like read, writing to the database and how I will handle that in anything else other than c# like exception handling and use of custom objects?

Also, I want to be able to leverage HTML5 so the application can be used on mobile platform as well, can anyon advise me on the best way to build my presentation layer so it can be used on both mobile and windows PC devices

Thanks

推荐答案

最好的方法取决于你能做什么和你需要什么。如果您了解C#和ASP.Net,那么就使用它。我会推荐一些用户界面的jquery插件因为它们易于使用(一旦你学习了jquery)并且可以非常快速地为UI添加很多好处。



For教程,搜索这个网站和谷歌。那里有很多。
The best method will depend on what you can do and what you need. If you know C# and ASP.Net then use that. I would recommend jquery plugins for some UI things because they are easy to use (once you learn jquery) and can add a lot of niceness to UI very quickly.

For tutorials, search this site and google. There are lots of them out there.


这篇关于使用javascript或C#构建ASP.NET / HTML5网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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