asp.net关于网页,网页表格和mvc [英] asp.net about web pages,web forms and mvc

查看:82
本文介绍了asp.net关于网页,网页表格和mvc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我先生,我很新鲜,我正在使用asp.net进行网页开发,有三种类型,如网页,网页表格和mvc,这对于网页开发有好处,并告诉我他们两者之间有什么不同网页,网页表格和mvc ..谢谢你

解决方案

第一个是最早的,被称为 Web表单

基本上,它是一个面向组件的高级Web框架,可以处理封装行为和视图的按钮和网格等控件。它是 ASP.NET 最受欢迎的风格,但由于对生成的标记缺乏控制而受到批评。虽然这是我个人的最爱,但我必须指出,开始学习Web编程是一种不好的方法,因为它隐藏了你的实现细节(当你获得经验时这很好)并且学习起来有点复杂。



来源: WebForms [ ^ ]

< br /> 
ASP.NET MVC

ASP.NET MVC 模式的实现。我不会在这里详细介绍,因为你没有问过这个问题。



来源: MVC [ ^ ]

< br /> 
ASP.NET网页

是一种全新的风格,针对较小的项目和初学者开发者(至少在我看来)。它适用于开发约10页的小型项目。我称之为基本PHP风格的大多数逻辑都是每页写一个文件。它使用 Razer 语法来注入服务器端代码。



来源:网页 [ ^ ]



请注意 Web窗体使用页面(与MVC不同)因此存在一个混淆 ASP.NET 网页是。

发现它这里 [ ^ ]



参考类似的问答:ASP.NET网页,WebForms或MVC [ ^ ]

另一个线程比较 Web窗体和ASP.NET MVC [ ^ ]


我们可以使用Asp.Net开发Web应用程序。有两种ASP.NET编程模型可供选择用于开发。

1. ASP.NET WebForms

2. ASP.NET MVC(模型视图控制器)



由于您是ASP.Net的新手,建议您浏览下面给出的一些链接,这些链接可能对您决定使用哪种编程模型有所帮助。

选择右编程-model-with-asp-net [ ^ ]

什么-asp-net-programming-model-to-choose [ ^ ]

aspnet-programming-models [ ^ ]

选择正确的编程模型 [ ^ ]


< pre lang =sql> Asp.Net 灵活的网络平台,可让您 构建出色的网络应用程序使用三种不同的编程模型。那些模型是ASP.NET Web Forms,

所有三个 这些编程模型是完全支持的选项,使用 百万开发人员。

让我们来看看它们如何组合在一起为什么有三种选择。

所有这些模型构建 相同的核心ASP.NET网络平台。





详情请访问:

http://mnaveed.wordpress.com/ [ ^ ]


plz tell me sir and i m fresh and i m using asp.net for web development ,there are three types like web pages,web forms and mvc so kindly which one is good for web development and tell me what is different between they both web pages,web forms and mvc..thank you

解决方案

The first one is the oldest and is called Web Forms.
Basically, it is a high level component oriented web framework that works with controls like buttons and grids that encapsulate behaviour and view. It is the most popular flavour of ASP.NET but has been criticised for the lack of control over the generated markup. While this is my personal favourite I must point out that it is a bad way to start learning web programming because it hides the implementation details from you (which is good when you get experience) and is a bit complex to learn.

Source : WebForms[^]

<br />
ASP.NET MVC

is an implementation of the MVC pattern for ASP.NET. I will not go into details here because you did not ask about it.

Source: MVC[^]

<br />
ASP.NET Web Pages

is a brand new flavour that is targeted at smaller project and beginner devs (at least in my opinion). It is good for developing smaller projects with ~ 10 pages. Most of the logic is written in a single file per page in what I call "Basic PHP style". It uses the Razer syntax for injecting the serverside code.

Source: WebPages[^]

Note that Web Forms uses pages (unlike MVC) therefore there is a confusion what ASP.NET Web Pages is.
Found it here[^]

Refer similar QA: ASP.NET Web Pages, WebForms or MVC[^]
Another thread comparing Web Forms And ASP.NET MVC[^]


We can develop a web application by using Asp.Net. There are two ASP.NET programming models to choose for developement.
1. ASP.NET WebForms
2. ASP.NET MVC (Model View Contoller)

Since you are new to ASP.Net, suggestion would be that you go through some of links given below that may be helpful for you to decide which programming model to go with.
select-right-programming-model-with-asp-net[^]
what-asp-net-programming-model-to-choose[^]
aspnet-programming-models[^]
choosing-the-right-programming-model[^]


Asp.Net is flexible web platform that enables you to build great web applications using three different programming models. Those models are ASP.NET Web Forms,

All three of these programming models are fully supported options that are used by millions of developers.

Let’s take a Look at how these fit together and why there are three choices.

All these models build on top of the same core ASP.NET web platform.



For Detail Visit:
http://mnaveed.wordpress.com/[^]


这篇关于asp.net关于网页,网页表格和mvc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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