| |
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.
|
31 Articles match "Protocol","Web"
| Related DevelopMentor Courses | MORE | | Ninject WCF Extensions for RESTful Services Download the code for this post. while ago I blogged about using Ninject for dependency injection with WCF Services. The advantage of using DI is that it allows you to achieve loose coupling in your application architecture, so that you’re not tightly bound to a particular infrastructure implementation, such as data access or logging. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. NinjectWebCommon.cs ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 Roll Your Own REST-ful WCF Router The built-in router is great for a lot of different scenarios – it provides content-based routing, multicasting, protocol bridging, and failover-based routing. 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. This allows the service to be entirely stateless and function easily in a web farm environment without maintaining client state between method calls. Enjoy. DevelopMentor Courses - Tuesday, April 24, 2012 |
25 Articles match "Protocol","Web"
| The Latest from DevelopMentor | MORE | | The Architecture of WCF Over the lifetime of Windows there have been many technologies to achieve this: sockets, DCOM, MSMQ,NET Remoting, ASMX Web Services and more. There are two types of channels in WCF: transport and protocol. Transport channels are probably the most obvious: they move bytes from one place to another using some transport protocol. Protocol channels are designed to layer in functionality not supported by the transport, for example, transaction flow of HTTP. The three core protocol channels that come with WCF are security, transaction flow and reliable messaging. DevelopMentor Courses - Sunday, April 7, 2013 Using optimistic concurrency with RavenDB These days that is usually not the case and with web applications that is completely impossible due to the stateless nature of the web. With document database we tend to interact with the database over an HTTP connection and turns out the HTTP protocol has an optimistic concurrency mechanism in the form of E-TAG’s. Whatever database your are using, relational or document, there is one thing you can be certain of as soon as you get a second user of the system and that is concurrency conflicts. Just make sure to check with your stakeholder of this is acceptable. try. {. The Problem Solver - Wednesday, January 30, 2013 Using optimistic concurrency with RavenDB These days that is usually not the case and with web applications that is completely impossible due to the stateless nature of the web. With document database we tend to interact with the database over an HTTP connection and turns out the HTTP protocol has an optimistic concurrency mechanism in the form of E-TAG’s. Whatever database your are using, relational or document, there is one thing you can be certain of as soon as you get a second user of the system and that is concurrency conflicts. Just make sure to check with your stakeholder of this is acceptable. try. {. The Problem Solver - Wednesday, January 30, 2013 | -
| The Best from DevelopMentor | MORE | - List all SharePoint groups a user belongs to
It uses the UserGroup web service to list all the SharePoint Groups a user belongs to in a specified Site Collection. It's a small console application which requires two parameters: ···The first parameter is the Url of the site collection including protocol (example: [link]. ···The second parameter is the full username including Domain (example: MOSSWORKuser). This is just a small Utility requested on one of the SharePoint Newsgroups. using System; using System.IO; using System.Xml; using ListUsersGroups.ug; namespace ListUsersGroups. {. class Program. {. if (args.Length. The Black Knight Sings - Monday, July 20, 2009 - Using HTTP status codes in a REST service
Now the HTTP protocol also contains a way of sending status information back to the client but when using SOAP that is mostly ignored, all we use is a 200 OK or an 500 Internal Server Error error status. The best known of these are the 303 See Other and the 301 Moved Permanently which are used a lot on the web to redirect a browser to another URL. Using HTTP status codes with the WCF Web API returning custom HTTP status codes with the WCF Web API is quite easy. When we build services, or write any code for that matter, error can occur and we have to cater for those. The Problem Solver - Wednesday, July 20, 2011 - WCF Data Services versus WCF Soap Services
The truth is that RIA Services rests on Data Services, which is turn sits on top of Web HTTP Services (aka REST), which is tightly coupled to HTTP as a transport and XML, Atom or Json as a format. Only SOAP Services (leaving Workflow Services aside for the moment) can be used with any format and transport protocol. The other way to go is to select a REST-based programming model, which leverages the universality of the HTTP protocol and uses a URI addressing scheme. That’s because WCF supports the WS-* SOAP protocols that have evolved over the last several years. Tony and Zuzana's World - Tuesday, April 13, 2010 - Ninject WCF Extensions for RESTful Services
Download the code for this post. while ago I blogged about using Ninject for dependency injection with WCF Services. The advantage of using DI is that it allows you to achieve loose coupling in your application architecture, so that you’re not tightly bound to a particular infrastructure implementation, such as data access or logging. The problem with WCF services is that by default they are required to have a parameterless constructor, which does not play nice with DI containers, such as Ninject , which support injection of dependencies via constructor parameters. NinjectWebCommon.cs ToSelf().Named( DevelopMentor Courses - Sunday, April 8, 2012 - Digging into WCF REST
Building REST-ful Services with the WCF Web Programming Model REST is defined as an architectural style for building services that embrace the principles of the web. Tony will provide concrete examples of where it makes sense to implement REST-ful web services. He’ll also get down and dirty using the WCF Web Programming Model and show how WCF makes it easy to serve up POX or JSON, increasing the reach of your services to clients that don’t understand or care about SOAP. It creates a Visual Studio solution with just a single web project. WCF 3.5 Tony and Zuzana's World - Saturday, September 10, 2011 - WIF, ADFS 2 and WCF–Part 1: Overview
A lot has been written already about passive federation and integration of WIF and ADFS 2 into web apps. ADFS 2 has a number of endpoints under the /services/trust base address that implement the WS-Trust protocol. The whole active/WS-Trust feature area is much less documented or covered in articles and blogs. Over the next few posts I will try to compile all relevant information about the above topics – but let’s start with an overview. You can see the endpoints in the MMC console under the Service/Endpoints page. in IdP –> RSTS scenario). Stay tuned…. www.leastprivilege.com - Monday, October 11, 2010 - Need WIF Training?
Externalizing Authentication for Web Applications. WIF includes support for the WS-Federation protocol. This protocol allows separating business and authentication logic into separate (distributed) applications. In the spirit of the preceding modules, we will have a look at how WIF integrates into the (SOAP) web service world. You will learn how to separate authentication into a separate service using the WS-Trust protocol and how WIF can simplify the WCF security model and extensibility API. Claims & Federation for the Web and Mobile World. Day 2. www.leastprivilege.com - Wednesday, November 9, 2011 %>
| | |