用于ASP.NET的Rest API支持Web会话 [英] Rest API for asp.net supporting web session

查看:87
本文介绍了用于ASP.NET的Rest API支持Web会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个ASP.Net 3.5应用程序(不是MVC).我主要使用带有通用处理程序(ashx)的Ajax来处理ASync请求.
现在,我需要向应用程序添加其他功能,我想知道是否可以在应用程序中使用REST和JSON.

我用谷歌搜索,但不幸的是,似乎每个人都提到它与MVC捆绑在一起!
有什么简单的方法可以在ASP.net(不是ASP.net MVC)应用程序中使用它?




谢谢.

Hi Guys,

I have an ASP.Net 3.5 application (not MVC). I am mostly using Ajax with Generic Handlers (ashx ) to handle ASync requests.
Now I need to add some other features to the application and I am wondering if I can use REST with JSON in my application.

I google it but unfortunately it seems every one is mentioning it tied with MVC!
Is there any easy way to use it in an ASP.net (not ASP.net MVC ) application?




Thank you.

推荐答案

此处类似的线程使用RESTful WCF服务和JavaScript实施CRUD操作 [ ^ ]
使用jQuery AJAX调用消费WCF REST服务 [ ^ ]
使用C#开发REST Web服务-演练 [ ^ ]
ASP.NET 2.0(C#)中的REST Web服务 [ ^ ]
创建RESTful WCF服务API:分步指南 [ ^ ]
在.NET Framework 4.0中创建和使用RESTFul服务 [ ^ ]
Similar thread here RESTful web service in ASP .NET 3.5[^]

There are many articles in CP. Here are a few
Implement CRUD Operations using RESTful WCF Service and JavaScript[^]
Consuming WCF REST Services Using jQuery AJAX Calls[^]
Developing a REST Web Service using C# - A walkthrough[^]
REST Web Services in ASP.NET 2.0 (C#)[^]
Create RESTful WCF Service API: Step By Step Guide[^]
Create and Consume RESTFul Service in .NET Framework 4.0[^]


这篇关于用于ASP.NET的Rest API支持Web会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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