| |
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.
|
6 Articles match "WCF"
See all articles with
"WCF"
| The Latest from Mark's Blog of Random Thoughts | MORE | | Using the Message Mediator Service in MVVM Helpers If you need to go cross-AppDomain, cross-process, or cross-machine, consider using a formal WCF service or a message queue implementation. One of the services exposed in the MVVM Helpers library is a Message Mediator. This service implements the mediator design pattern which is used to enable objects to talk to each other without having any explicit knowledge of each other. In this pattern, we use a third-party object (the “mediator”) to negotiate communication between the interested parties. they can be used in any.NET project type). 3: ///. Any methods decorated with. will be. 6: ///. Mark's Blog of Random Thoughts - Tuesday, February 22, 2011 Creating a legacy web service proxy in Visual Studio 2008 The first is for local assemblies, and the second generates WCF-compatible proxies through SVCUTIL.EXE. This happens to be one of the most obviously changed things in Orcas - the dialog presented is a more professional version than what was supplied with the original WCF CTP for VS.2005: The "Discover" button above can locate IIS-hosted web services (not Self Hosted however) and it now shows operations directly which is pretty cool. Why not just use WCF?" The best part is the "Advanced" button though. You might be asking - "Why would I want to generate one of those? Mark's Blog of Random Thoughts - Monday, August 13, 2007 Creating a legacy web service proxy in Visual Studio 2008 The first is for local assemblies, and the second generates WCF-compatible proxies through SVCUTIL.EXE. This happens to be one of the most obviously changed things in Orcas - the dialog presented is a more professional version than what was supplied with the original WCF CTP for VS.2005: The "Discover" button above can locate IIS-hosted web services (not Self Hosted however) and it now shows operations directly which is pretty cool. Why not just use WCF?" The best part is the "Advanced" button though. You might be asking - "Why would I want to generate one of those? Mark's Blog of Random Thoughts - Monday, August 13, 2007 | | The Best from Mark's Blog of Random Thoughts | MORE | | Using the Message Mediator Service in MVVM Helpers If you need to go cross-AppDomain, cross-process, or cross-machine, consider using a formal WCF service or a message queue implementation. One of the services exposed in the MVVM Helpers library is a Message Mediator. This service implements the mediator design pattern which is used to enable objects to talk to each other without having any explicit knowledge of each other. In this pattern, we use a third-party object (the “mediator”) to negotiate communication between the interested parties. they can be used in any.NET project type). 3: ///. Any methods decorated with. will be. 6: ///. Mark's Blog of Random Thoughts - Tuesday, February 22, 2011 Creating a legacy web service proxy in Visual Studio 2008 The first is for local assemblies, and the second generates WCF-compatible proxies through SVCUTIL.EXE. This happens to be one of the most obviously changed things in Orcas - the dialog presented is a more professional version than what was supplied with the original WCF CTP for VS.2005: The "Discover" button above can locate IIS-hosted web services (not Self Hosted however) and it now shows operations directly which is pretty cool. Why not just use WCF?" The best part is the "Advanced" button though. You might be asking - "Why would I want to generate one of those? Mark's Blog of Random Thoughts - Monday, August 13, 2007 Fixing SVCUTIL.EXE for Orcas Beta 2 SVCUtil.exe also has this problem and it causes any proxy-generation from VS.NET 2008 to fail (as well as killing the client tester process which is spawned for WCF testing). Microsoft apparently didn't resign all the tools in the SDK supplied with Beta 2 of Visual Studio 2008. This is actually documented in the readme that UISpy has this issue, which of course, I didn't read. You'll know you've hit this error when the program crashes with a "System.IO.FileException" and indicates that it has failed strong-name validation. It's easy enough to fix. 3) execute "SN -Vr svcutil.exe". Mark's Blog of Random Thoughts - Monday, July 30, 2007 | - Creating a legacy web service proxy in Visual Studio 2008
The first is for local assemblies, and the second generates WCF-compatible proxies through SVCUTIL.EXE. This happens to be one of the most obviously changed things in Orcas - the dialog presented is a more professional version than what was supplied with the original WCF CTP for VS.2005: The "Discover" button above can locate IIS-hosted web services (not Self Hosted however) and it now shows operations directly which is pretty cool. Why not just use WCF?" The best part is the "Advanced" button though. You might be asking - "Why would I want to generate one of those? - Fixing SVCUTIL.EXE for Orcas Beta 2
SVCUtil.exe also has this problem and it causes any proxy-generation from VS.NET 2008 to fail (as well as killing the client tester process which is spawned for WCF testing). Microsoft apparently didn't resign all the tools in the SDK supplied with Beta 2 of Visual Studio 2008. This is actually documented in the readme that UISpy has this issue, which of course, I didn't read. You'll know you've hit this error when the program crashes with a "System.IO.FileException" and indicates that it has failed strong-name validation. It's easy enough to fix. 3) execute "SN -Vr svcutil.exe". - Creating a legacy web service proxy in Visual Studio 2008
The first is for local assemblies, and the second generates WCF-compatible proxies through SVCUTIL.EXE. This happens to be one of the most obviously changed things in Orcas - the dialog presented is a more professional version than what was supplied with the original WCF CTP for VS.2005: The "Discover" button above can locate IIS-hosted web services (not Self Hosted however) and it now shows operations directly which is pretty cool. Why not just use WCF?" The best part is the "Advanced" button though. You might be asking - "Why would I want to generate one of those? %>
309 Articles match "WCF"
See all articles with
"WCF"
| The Latest from DevelopMentor | MORE | | Unit testing a ASP.NET WebAPI controller 'One of he goals of the ASP.NET WebAPI is to make REST style API controllers more testable than more traditional WCF services where in the past. For the most part that is true but there are cases where an ApiController depends on the actual incoming request and its data and things can become a bit more difficult. Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 1: public class BooksController : ApiController. 11: {. The Problem Solver - Sunday, May 12, 2013 Why Does WCF Reject Large Messages By Default? 'If you have been working with WCF for a while you may have noticed that, by default, messages over a certain size fail to get processed. The reason for this is that WCF tries to protect the message receiver from getting swamped with messages that will consume huge amounts of memory to process. Once the binding allows messages larger than 64Kb that may not be the whole story as there are other default limits in WCF: quotas and serializer limits. Prior to WCF 4.5 However, in WCF 4.5 One final word on default endpoints introduced in WCF 4.0.If DevelopMentor Courses - Monday, April 8, 2013 | -
| The Best from DevelopMentor | MORE | - WCF Duplex Messaging
I am one of the moderators of the MSDN WCF Forum. However, the first three of these are supported natively in WCF and are known as One-way, request/response and duplex. Duplex Contracts in WCF. In WCF this idea is modelled by the contract. WSHttpBinding is the default for the built in WCF projects but it does not support duplex messaging. It will also need to supply this implementation to the WCF infrastructure and it does this by wrapping an instance in an InstanceContext object and passing it to the proxy constructor. Tags: NET;Azure;WCF .NET Meanderings - Tuesday, June 9, 2009 - WCF Instances and Threading
I have just found myself answering essentially the same question 4 times on the MSDN WCF Forum about how instances, threading and throttling interact in WCF. WCF has 3 built in instancing models: PerCall, PerSession and Single. By default WCF assumes you do not understand multithreading. Unless you turn on ASP.NET Compatibility, WCF calls are processed on IO threads in the system threadpool. You can control the throttle values using the serviceThrottling service behavior which you set in the config file or in code.NET;WCFInstancing. Concurrency. DevelopMentor Courses - Friday, February 4, 2011 - Using Silverlight to Access WIF secured WCF Services
Another technology that comes up very often is Silverlight – and especially the “story” of Silverlight and WCF/WIF. Those of you with WCF background will say: “that’s what the federation bindings in WCF are for”. In WCF you can work around that problem by adding the ValidateMustUnderstand behavior to the client stack. Tags: IdentityModel WCF This topic comes up quite often recently – so I hope the title is search engine friendly. Disclaimer: At the time of this writing, the current version of Silverlight is v3 and WIF is in beta 2. Passive. Active. WSTrust13. www.leastprivilege.com - Wednesday, October 28, 2009 - Inversion of control and WCF
One of these case is with an WCF service where WCF takes care of the service lifetime and creates new objects as needed. Fortunately WCF is designed in a very modular fashion itself and allows you to replace almost everything in the box. Basically WCF uses an implementation of the IInstanceProvider to create new service objects. Using Ninject with WCF There are plenty of IOC containers to choose from but I like Ninject and that is available through NuGet so that is what I will use for this example. www.dotnetevents.nl.NET WCF VS2010 NuGetrepo = repo; }. The Problem Solver - Tuesday, April 19, 2011 - Digging into WCF REST
Last Thursday evening I presented a talk to the Dallas.NET User Group on support in WCF 4 for building REST-ful services. 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. 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. WCF 3.5 WCF 4.0 Technical WCFEnjoy. Tony and Zuzana's World - Saturday, September 10, 2011 %>
| | |