CODE Magazine / Articles

WCF

Articles filed under WCF

Articles

Showing 1–33 of 33

  1. CODE Focus Magazine: 2022 - Vol. 19 - Issue 1 - .NET 7.0 cover

    Using CoreWCF to Move WCF Services to .NET Core

    In this article, Sam Spencer explains how CoreWCF, an open-source community-driven project, facilitates the modernization of legacy WCF services by porting them to the cross-platform .NET Core framework. He outlines CoreWCF’s architecture, leveraging ASP.NET Core hosting and middleware, and describes how it preserves existing WCF contracts and data contracts while offering partial support for traditional bindings and configurations. Spencer details practical migration approaches, client support, and current limitations, emphasizing that CoreWCF provides a practical and supported pathway for enterprises to modernize WCF-dependent applications without a complete redesign.

  2. CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0 cover

    gRPC as a Replacement for WCF

    You’ve been programming in C# for a while now, and you know that you need bidirectional streaming with low latency and high throughput. Google’s remote procedure call offering (gRPC) has what you need, and Magnus shows you why.

  3. CODE Magazine: 2013 - July/August cover

    Reuse Your WCF Services from jQuery

    If you are like many developers, you are using Windows Communication Foundation (WCF) to provide services to Windows Forms, WPF, Silverlight, ASP.NET and possibly Windows 8 Store applications. Now your boss is asking you to develop some mobile applications using HTML 5 and jQuery. You know you can reuse many of your WCF services, but you are having trouble calling them from jQuery without breaking your existing applications. In this article, I will walk you through the steps for taking a sample WCF service from working just for .NET applications to working with jQuery as well. Don’t worry, your existing applications will still work with the changes you are going to make.

  4. CODE Magazine: 2013 - May/June cover

    Building a CODE Framework Service and Consuming It on an iPhone Application

    In this article, you will create a CODE Framework RESTful service and an iPhone application from scratch. For the client side, you will utilize XCode (yes, you’ll need a Mac!), which uses Objective-C as the primary language. This article won’t teach you the language; you need to know the basics of Objective-C. Even if you don’t know anything about it but want to code right away, read the article “Building a Twitter Search Client on iOS,” by Ben Scherman, available for all CODE readers in the Xiine application for Windows, Android, and iPhone. For the database, you’ll use any instance of SQL Server 2008. The service will be written in C#, using the latest version of CODE Framework, available on http://codeframework.codeplex.com, where you will find not only the download link, but also a lot of useful information.

  5. CODE Magazine: 2012 - September/October cover

    Real-Time Web Apps Made Easy with WebSockets in .NET 4.5

    In the world of browser-based development, interoperability is king. Unfortunately, interoperability can be at the expense of performance.

  6. CODE Magazine: 2012 - March/April cover

    CODE Framework: Building Services and SOA Business Layers

    In the last issue of CODE Magazine, we took a look at CODE Framework’s WPF features. This time, we are going to look at a completely different area of the framework: Creating business logic and middle tiers as SOA services. SOA is the cornerstone of many modern applications, creating systems that are more maintainable, flexible, and suitable for a wide range of scenarios, ranging from Windows to Web and Mobile scenarios using a wide variety of technologies, and outperforming conventional multi-tiered applications in a range of metrics. Using CODE Framework, it also becomes easy and extremely productive to build SOA layers.

  7. CODE Magazine: 2012 - January/February cover

    CODE Framework: Writing MVVM/MVC WPF Applications

    The CODE Framework is an open-source application framework by the makers of CODE Magazine. It is entirely free of charge. It covers a wide range of features that can be applied altogether or individually in an À la carte fashion. All of these features revolve around a single concept: Building advanced business applications in a productive and maintainable fashion while maintaining great application architecture. In this article, we are focusing on a subset of the CODE Framework, specifically the components used to build WPF applications using the MVVM and MVC patterns.

  8. CODE Magazine: 2011 - November/December cover

    Introducing Queues and Topics in Azure Service Bus

    In 2007, Microsoft unveiled a new vision called “Software + Services” that would fundamentally change the way that both Microsoft and their customers build software and have a gradual, yet marked ripple effect throughout the software giant’s entire strategy.

  9. CODE Magazine: 2011 - March/April cover

    Line-of-Business Applications Consolidation with Silverlight and Windows Communication Foundation

    It’s probably one of the most interesting moments to do a post mortem for a Silverlight project. The entire Microsoft ecosystem is boiling around the Silverlight OR HTML 5 debate fueled by the recent PDC and some statements from Microsoft officials. The interesting part about it is that it is a false debate, and like most false debates it will probably lead to nowhere. The simple truth is that Microsoft’s commitment to Silverlight has not changed a bit, and Silverlight is more healthy and strong than ever. And the fact that the same Microsoft places an important bet on HTML 5 too can only make me happy as an architect and a developer. Mostly because it assures me I’ll have my fair share of choices in the future without having to leave the development platform I like. The reality is that neither Silverlight/RIA nor HTML 5 will turn out to be the magic to fly us to the land of perfect web apps and, at least for the foreseeable future, there will always be a need for alternatives. That’s why I think the debate on Silverlight or HTML 5 is nonsense in the Microsoft ecosystem. But I digress… Let me tell you about the latest software project I participated in.

  10. CODE Magazine: 2010 - September/October cover

    Practical Messaging Scenarios with WCF 4

  11. CODE Magazine: 2010 - May/June cover

    Exploring the Bing API Using WCF

    The TV commercials took me and many others by surprise. A stream-of-conscienceless-style ad that had our brains struggling to catch up with the next topic that the next person blurted out. Funny enough, the bouncing from topic to topic by the actors in the commercial seem to be a familiar metaphor to anyone that has traversed search results at one time or another. And at the end, a familiar logo appears: Microsoft, followed by a not-so-familiar one: Bing.

  12. CODE Magazine: 2010 - May/June cover

    New Features in WCF 4 that Will Instantly Make You More Productive

    WCF 4 is all about productivity.

  13. CODE Magazine: 2010 - March/April cover

    Creating Self-Scaling Applications with Azure Services

    Microsoft’s Azure platform has finally been released into production. This new entry into the cloud computing market provides .NET developers with a scalable, robust platform for developing applications.After over a year in CTP, Azure is finally ready for prime time. At PDC 2009, Microsoft announced the release of new components, such as the management API, that make Azure worth considering for use in production environments. In this article, I’ll demonstrate how to use the different components of Azure Services to build a self-scaling application.

  14. CODE Magazine: 2009 - November/December cover

    Ask the Doc Detective

  15. CODE Magazine: 2009 - September/October cover

    Post Mortem: Tower48 Software Escrow

  16. CODE Magazine: 2009 - September/October cover

    Twitter Programming Using WCF and REST

    Along with an easy site with which you can access your account, there are many really cool Twitter clients out there. This is thanks to an exposed API that you can use to access all of Twitter’s features. The great thing is that this API uses a technology that WCF has embraced completely; I’m talking about REST. Though you can certainly use straight network programming to access and update your Twitter account, why not use the technology that Microsoft has put all their eggs into as far as communications programming is concerned? Twitter is, after all, all about communicating, right?

  17. CODE Magazine: 2009 - March/April cover

    SharePoint Applied: SharePoint 2007 with WCF and Silverlight

    Silverlight 2 just went RTM. This product is unique because for the first time in the Microsoft world, you have .NET running cross platform, in a secure way, without all the deployment hassles. It has the ability to bring rich UI, right within the browser-much like Flash, but with more capabilities and a .NET heart.So, what does this mean to you-the SharePoint developer? Well, as I elucidated in my previous article, developing rich UIs in SharePoint 2007 isn’t exactly my idea of a good time! In fact, it is a bit like a 3-year old playing drums on your head all night long while his 7-year old sister is sticking chewing gum in your hair as you are trying to sleep because you have an early morning 7 AM meeting tomorrow in a recessionary economy.Take heart! The thin .NET 3.5 development model makes it all easier.

  18. CODE Magazine: 2009 - January/February cover

    The Baker’s Dozen: 13 Miscellaneous C#, SQL, and Business Intelligence Development Tips

    No, the title isn’t a misprint-this installment of the Baker’s Dozen will visit both sides of the planet. These days, many .NET user group meetings focus on database and business intelligence topics as well as hardcore .NET content. Over the last several months, I’ve spent roughly half my time modifying my own development framework for WCF. The result is some basic but functional factory classes I’d like to share. The other half of the time, I’ve been looking at different capabilities in the SQL Server 2005 and 2008 Business Intelligence stack, and solving requirements that BI developers often face. So rather than pick one side and make the other side wait two months, I decided to combine the two.

  19. CODE Magazine: 2008 - November/December cover

    SharePoint 2007 and the Thin .NET 3.5 Development Model

    As I am flying back home over the Atlantic, I can’t help but think how much better SharePoint has become after the introduction of .NET 3.5. I have repeatedly insisted that one of the reasons behind SharePoint 2007’s huge success is the application of ASP.NET 2.0 concepts to SharePoint.In this article, I am going to talk about the specific improvements .NET 3.5 has brought to the SharePoint 2007 platform, and how that has made my development life so much better. I will talk of three exemplary examples, and in subsequent articles, I will splice each one of these topics in further depth.

  20. CODE Magazine: 2008 - September/October cover

    WCF the Manual Way… the Right Way

    Visual Studio 2008 as well as the .NET 3.0 extensions for Visual Studio 2005 add several new templates that allow you to quickly create .NET 3.0 items such as WPF forms, Workflows, and WCF services. We’ve used templates such as these since the beginning of time to create traditional application elements such as Windows Forms, Web Forms, and User Controls, so you would think that these are equally great; or would you? Unfortunately, creating WCF projects or project items come with more baggage than you can imagine. They also don’t exactly promote the best practices I feel should be considered when designing WCF services. So if you don’t use the built-in templates to create your services, what do you use? Well keep reading and I’ll show you how to create everything you need manually with ease while maintaining good design and coding practices.

  21. CODE Magazine: 2008 - July/August cover

    Heard on .NET Rocks! Jim Webber on Guerilla SOA!

    In episode #337 (jeez, can you believe we’ve produced so many shows?) Richard and I talked to Jim Webber, Global Architecture Lead for Thoughtworks, about his favorite topic, Guerilla SOA.

  22. CODE Magazine: 2008 - July/August cover

    MVP Corner: A Baker’s Dozen of Reflections

    July August 2008 MVP Corner by Kevin S. Goff

  23. CODE Magazine: 2008 - January/February cover

    Building WCF Services for Deployment in Transiently Connected Networks

    Distributed applications are now prolific in the enterprise and more and more users are relying on network connectivity both on site and on the go so they can remain productive anywhere and at any time. Since network connectivity cannot always be guaranteed, what happens when the network goes down or a network connection is simply unavailable? How can you provide your users with the best connected experience regardless of the state of the network?

  24. A Look at Windows Vista from a Developer Perspective

    Rick Strahl discusses Windows Vista for developers.

  25. CODE Magazine: 2007 - May/June cover

    The Baker’s Dozen: A 13-Step Crash Course for Learning Windows Communication Foundation (WCF)

    This article will present a crash-course in the basics of Windows Communication Foundation (WCF). WCF is one of the exciting new capabilities in the .NET 3.0 Framework. It provides a unified and uniform programming model for building distributed applications. Those who previously built multiple code bases to deal with Web services and .NET remoting will surely come to appreciate the power standardization that WCF offers. WCF, like any other new technology, requires research and experimentation to become productive. This article will assume no prior experience with WCF, and will walk you through some basic exercises and steps to show WCF’s capabilities.

  26. Chapter 1: RESTful Systems - Back to the Future

    Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services—and today's .NET platform is packed with tools for effective REST development. Now, for the first time, there's a complete, practical guide to building REST-based services with .NET development technologies.

  27. REST-Based Ajax Services with WCF in .NET 3.5

    Rick Strahl discusses Rest-Based Ajax Services.

  28. CODE Magazine: 2007 - January/February cover

    Hosting WCF Services

    Windows Communication Foundation (WCF) Services can be hosted with Internet Information Services (IIS); with the new Windows Activation Service (WAS) installed with IIS 7.0; or with any managed application process including console, Windows Forms, Windows Presentation Foundation (WPF), or managed Windows service applications.Selecting the right hosting environment for your services is a choice driven largely by deployment requirements related to transport protocol and operating platform.

  29. CODE Magazine: 2006 - November/December cover

    Fundamentals of WCF Security

    Windows Communication Foundation (WCF) is a secure, reliable, and scalable messaging platform for the .NET Framework 3.0.With WCF, SOAP messages can be transmitted over a variety of supported protocols including IPC (named pipes), TCP, HTTP and MSMQ. Like any distributed messaging platform, you must establish security policies for protecting messages and for authenticating and authorizing calls. This article will discuss how WCF accomplishes this.

  30. CODE Magazine: 2006 - May/June cover

    WCF Essentials-A Developer’s Primer

    Windows Communication Foundation (WCF) provides a run-time environment for your services, enabling you to expose CLR types as services and to consume services as CLR types.Although in theory you can build services without it, in practice, WCF significantly simplifies this task. WCF is Microsoft’s implementation of a set of industry standards defining service interactions, type conversion, marshaling, and various protocols’ management. Because of that, WCF provides interoperability between services, and it promotes productivity, including the essential off-the-shelf plumbing required by almost any application. This article describes the essential concepts and building blocks of WCF and its architecture, enabling you to build simple services. Future articles in this series will address specific aspects, such as transaction management and security.

  31. CODE Focus Magazine: 2005 - Vol. 3 - Issue 1 - Tablet PC and Mobile PC cover

    Into the Future

    In "Into the Future," Ellen Whitney and Markus Egger explore the evolving landscape of Tablet and Mobile PC development, highlighting significant advancements in hardware and software, particularly within Windows XP and Vista. They emphasize the integration of Tablet PC features into all Windows Vista editions, the introduction of sophisticated Ink Analysis for enhanced handwriting recognition, and new developer tools like the Windows Presentation Foundation (WPF) and XAML. The authors convey that these innovations create exciting opportunities and challenges for developers, while signaling a bright future for Tablet and Mobile PC technologies in both user experience and application development.

  32. Beyond the Mists of Avalon

    In "Beyond the Mists of Avalon," Markus Egger explores the evolving landscape of Microsoft's Windows Presentation Foundation (WPF) and its associated tools, highlighting the initial complexity and verbosity of XAML for UI development. He details recent advancements, including the introduction of Visual Studio "Orcas" with the "Cider" designer and the standalone "Sparkle" tool, aimed at simplifying WPF design for developers and designers alike. Egger underscores the growing maturity of WPF technologies and supporting third-party tools, encouraging developers to begin learning WPF now as it approaches readiness for production deployment with an anticipated Go-Live license.

  33. How Many Threads Do You Need?

    Markus Egger discusses the need to create multi-threaded applications.