简体   繁体   English

具有Oracle数据库的ASP.NET MVC2 Web应用程序

[英]ASP.NET MVC2 Web Application with Oracle Database

I am new to this technology. 我是这项技术的新手。 i am going to create a new ASP.NET MVC2 Web Application with oracle Database. 我将使用oracle数据库创建一个新的ASP.NET MVC2 Web应用程序。

Can any one guide me to do this Application. 任何人都可以指导我进行此应用程序。 I'm willing to learn. 我愿意学习。 and also i'm working on client side. 而且我也在客户端上工作。 its very urgent. 它非常紧急。

If you have any samples or reference. 如果您有任何样品或参考。 please provide me it will be very helpful to develop our application. 请提供给我,这对开发我们的应用程序将非常有帮助。

The Technologies will be ASP.NET MVC and Language C#, and ORACLE Datebase. 这些技术将是ASP.NET MVC和Language C#,以及ORACLE Datebase。

the database already created. 已经创建的数据库。 So we have to use this Database and do our module or taks. 因此,我们必须使用此数据库并执行我们的模块或任务。

Please provide ASAP. 请尽快提供。

This is a very broad question. 这是一个非常广泛的问题。 Two points to start with: 首先要注意两点:

1) Look at using ASP.NET MVC 3 if at all possible. 1)尽可能使用ASP.NET MVC 3。 It's newer, cleaner, and has a better view engine. 它更新,更清洁,并且具有更好的视图引擎。 There's no reason to start a project in MVC 2 unless you have a corporate legacy reason to do so. 没有理由在MVC 2中启动项目,除非您出于公司传统原因要这样做。 Your use of MVC 3 (or 2) should be largely independent of Oracle for everything but the database tier. 除了数据库层以外,您对MVC 3(或2)的使用应在很大程度上独立于Oracle。

2) Microsoft recommends using the Entity Framework for data access; 2)Microsoft建议使用实体框架进行数据访问; however, Oracle's Entity Framework implementation is not out of beta yet, and they do not recommend you use it in production. 但是,Oracle的Entity Framework实施还不是beta版本,因此他们不建议您在生产环境中使用它。 You can download the ODT package from Oracle for Visual Studio (and the Oracle EF beta), which will then let you follow most of the tutorials out there for MVC3 and Entity Framework, but you'll be running a risk with beta software. 您可以从Oracle for Visual Studio(和Oracle EF beta)下载ODT程序包,然后再按照其中的大多数MVC3和Entity Framework教程进行操作,但是使用Beta版软件会带来风险。 Otherwise, you'll have to use native ADO.NET or an ORM tool like NHibernate. 否则,您将不得不使用本机ADO.NET或NHibernate之类的ORM工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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