| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
12 Articles match "Restful","Serialization"
| Related DevelopMentor Courses | MORE | | Ninject WCF Extensions for RESTful Services had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. Typically when exposing a REST-type endpoint from a WCF service, you would leverage the ASP.NET UrlRoutingModule by adding a ServiceRoute to the RouteTable in the Application_Start method of your Global.asax.cs Browsing to the REST-endpoint, and appending /help to the url, displays a list of available operations. DevelopMentor Courses - Sunday, April 8, 2012 Roll Your Own REST-ful WCF Router However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 Guerrilla.NET (US) Training WCF REST : Create REST based services based on the WCF and ASP.NET stacks including the new WCF 5.0 REST-oriented features. MVC : Build modern web applications and services using JavaScript, jQuery, AJAX, REST, ASP.NET MVC, and more. WCF REST : Create REST based services based on the WCF and ASP.NET stacks including the new WCF 5.0 REST-oriented features. MVC : Build modern web applications and services using JavaScript, jQuery, AJAX, REST, ASP.NET MVC, and more. Building WCF REST Services WCF 3.5 dynamic typing from C# 4.0, and 5.0 DevelopMentor Courses - Tuesday, March 1, 2011 |
9 Articles match "Restful","Serialization"
| The Latest from DevelopMentor | MORE | | Roll Your Own REST-ful WCF Router However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 Ninject WCF Extensions for RESTful Services had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. Typically when exposing a REST-type endpoint from a WCF service, you would leverage the ASP.NET UrlRoutingModule by adding a ServiceRoute to the RouteTable in the Application_Start method of your Global.asax.cs Browsing to the REST-endpoint, and appending /help to the url, displays a list of available operations. DevelopMentor Courses - Sunday, April 8, 2012 Replacing ASP.NET Forms Authentication with WIF Session Authentication (for the better) The main difference between the two is the identity to cookie serialization engine that sits below. WIF session authentication in turn has these additional features: Can serialize a complete ClaimsPrincipal (including claims) to the cookie(s). The rest of your application code should not be affected. ASP.NET Forms Authentication and WIF Session Authentication (which has *nothing* to do with ASP.NET sessions) are very similar. Whereas ForsmAuth can only store the name of the user and an additional UserData string. Has a cookie overflow mechanism when data gets too big. www.leastprivilege.com - Thursday, February 9, 2012 | -
| The Best from DevelopMentor | MORE | - Ninject WCF Extensions for RESTful Services
had the need recently to set up a REST-style WCF Services project and wanted to use Ninject for DI with it. Luckily, the Ninject WCF Extension project had been updated to support REST, so I updated the Nuget package and discovered the project would not compile. Typically when exposing a REST-type endpoint from a WCF service, you would leverage the ASP.NET UrlRoutingModule by adding a ServiceRoute to the RouteTable in the Application_Start method of your Global.asax.cs Browsing to the REST-endpoint, and appending /help to the url, displays a list of available operations. DevelopMentor Courses - Sunday, April 8, 2012 - Roll Your Own REST-ful WCF Router
However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. The reason is fairly simple: the WCF Routing Service performs routing of messages in a way that is independent of the underlying transport, whereas a REST-based architecture is deeply rooted in the HTTP protocol and relies on the URI for delivery semantics. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 - Token based Authentication for WCF HTTP/REST Services: Authentication
This post shows some of the implementation techniques for adding token and claims based security to HTTP/REST services written with WCF. Their job is to serialize a received security token into a CLR representation, validate the token and turn the token into claims. Bearer" , "[link] , "https://roadie/webservicesecurity/rest/" , "WFD7i8XRHsrUPEdwSisdHoHy08W3lM16Bk6SCT8ht6A=" ); In some situations, SAML token may be used as well. For the theoretical background, see my previous post. Disclaimer. Goals and requirements. Implementation overview. Error handling. Click here.). www.leastprivilege.com - Tuesday, November 15, 2011 - Replacing ASP.NET Forms Authentication with WIF Session Authentication (for the better)
The main difference between the two is the identity to cookie serialization engine that sits below. WIF session authentication in turn has these additional features: Can serialize a complete ClaimsPrincipal (including claims) to the cookie(s). The rest of your application code should not be affected. ASP.NET Forms Authentication and WIF Session Authentication (which has *nothing* to do with ASP.NET sessions) are very similar. Whereas ForsmAuth can only store the name of the user and an additional UserData string. Has a cookie overflow mechanism when data gets too big. www.leastprivilege.com - Thursday, February 9, 2012 - Who is Improving LINQ to SQL? Plinqo by Code Smith!
SP1 (avoiding cyclic references and the need for the "unidirectional" serialization option). And to top it off, Plinqo has templates to create an ADO.NET Data Services layer that exposes entities via a REST-ful web service. A lot of people have lingering doubts about whether to use LINQ to SQL for real-world applications, especially since Microsoft has left it to languish in favor of the new version of the Entity Framework slated for release with.NET 4.0 and Visual Studio 2010. The question is, "Who is adding new features to LINQ to SQL?" Tony and Zuzana's World - Tuesday, August 4, 2009 - Article: Azure Storage
At the base level all access to Azure Storage uses pure REST APIs. However, real life is full of edge cases, error handling, security, and serialization which makes the pure HTTP model error prone. We will examine working with each of the storage services from the perspective of the StorageClient library - but keep in mind that ultimately this library is a wrapper around a basic and open RESTful API. Ultimately ADO.NET Data Services is also built on a RESTful API so this translates to the underlying HTTP REST calls. I've republished here for my readers. Enjoy! Michael C. Kennedy's Weblog - Wednesday, April 8, 2009 - Who is Improving LINQ to SQL? Plinqo by Code Smith!
SP1 (avoiding cyclic references and the need for the “unidirectional serialization option). And to top it off, Plinqo has templates to create an ADO.NET Data Services layer that exposes entities via a REST-ful web service. A lot of people have lingering doubts about whether to use LINQ to SQL for real-world applications, especially since Microsoft has left it to languish in favor of the new version of the Entity Framework slated for release with.NET 4.0 and Visual Studio 2010. The question is, “Who is adding new features to LINQ to SQL? file under a common folder. Tony and Zuzana's World - Tuesday, August 4, 2009 %>
| | |