开始通过asp.net建立大学管理网络Applecation [英] start to built a college management web applecation by asp.net

查看:79
本文介绍了开始通过asp.net建立大学管理网络Applecation的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我需要帮助来开始使用Visual Web Developer 2008和SQL Server 2008建立用于大学管理软件的网站,所以请允许任何人通过asp.net的初学者来帮助我一个良好的起点:(因此任何提示都将有所帮助.

Hi every one
I need a help for starting built a web site using visual web developer 2008 and SQL server 2008 for college management software , so please can any one helping me for a good starting , by the way I''m a beginner in asp.net :( so any tips will be helpful .

推荐答案

我的提示:Google是您的朋友.

如果您是"asp.net的入门者",那么您真的必须质疑为您分配开发企业级Web应用程序任务的逻辑.如果由我负责,我当然不希望初级"人员参与您所涉及的级别.
My tip: Google is your friend.

If you''re a "beginner in asp.net", one really has to question the logic of assigning you the task of developing an enterprise-level web application. If I was in charge, I certainly wouldn''t want a "beginner" to be involved at the level you''re involved.


在新版本的ASP.NET中,您可以使用一种叫做ASP.NET Web API的东西.这使您可以采用许多不同的格式(例如XML或JSON)公开数据.这个想法是要提供一个REST API,您可以在其中使用HTTP.表示您使用GET/POST/PUT/DELETE.这些工作非常简单:

GET –检索全部或一项
POST –添加项目
PUT –更新项目
删除–删除项目

如上所述,您可以检索不同格式的数据,例如XML或JSON.响应中的数据类型由HTTP标头Accept决定.默认情况下(内置),您可以使用以下两个accept标头:

application/json
applicaiton/xml

为了尝试这一点,我将使用curl来发出Web请求,因为这将允许我手动指定标头.

首先在Visual Studio 11 Bet中创建一个新的ASP.NET MVC 4 Web应用程序
In the new version of ASP.NET you can use something called ASP.NET Web API. This allows you to expose your data in many different formats, such as XML or JSON. The idea is to provide a REST API where you use HTTP for real. Meaning that you use GET/POST/PUT/DELETE. These work pretty straight forward:

GET – Retrieve all or one item
POST – Add an item
PUT – Update an item
DELETE – Remove an item

As mentioned above, you can retrieve data in different formats such as XML or JSON. The type of data that will be in the response is determened by the HTTP header Accept. By default(built-in) you can use the two following accept headers:

application/json
applicaiton/xml

In order to try this out, I will be using curl to make the web requests, because this will allow me to specify the headers manually.

Start off by creating a new ASP.NET MVC 4 Web Applicaiton in Visual Studio 11 Bet


这篇关于开始通过asp.net建立大学管理网络Applecation的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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