Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Community Bloggers

Browse by Tags

All Tags » ASP.NET » WCF   (RSS)

  • Dev Connections Las Vegas: Session Code

    I just returned from another fantastic Dev Connections conference in Las Vegas. For the four sessions I delivered, this post lists the code samples and resources I referenced. If you are looking for something specific and can't find it here, shoot me an email. Tutorial resources will be posted separately. Enjoy! Introduction to C# 3.0 C# 3.0 Samples ADO.NET 3.5 Samples Exploring Windows CardSpace Cardspace Samples ASP.NET and WCF: Meet Your New Web Service See code from my book Learning WCF posted here See my webcast series on WCF for MSDN Architectural Considerations for ASP.NET Applications GalleryDemo20 - This sample illustrates different globalization techniques including the use of generated resources for page content, the use of resources to select localized images and dynamically loaded user controls, the use of localized database tables, and caching based on theme, culture and query string params CustomResourceProviders - This sample illustrates the use of custom localization expressions and custom resource providers. The code is based on this article: http://msdn2.microsoft.com/en-us/library/aa905797.aspx and updated for VS 2008. Extending the Visual Studio IDE for localization - I wrote a follow on article on this for MSDN, it has not yet been published, hopefully soon (backlog) but I will post the code here in an update to this post, after a quick review later this week. Distributed Boundaries - This sample was based on the ConnectionOrientedBindings lab from Chapter 3 of my book Learning WCF. All the code for my book is here: http://www.thatindigogirl.com/LearningWCFCode.aspx . This particular sample shows how to use a WCF service behind your ASP.NET applications to introduce a security boundary between NETWORK SERVICE and access to data and other resources. I talked about this in two articles for the server side, long ago: Sandboxing with Impersonation Sandboxing with Enterprise Services TransactionsOverHttp - This shows how to flow transactions over WCF web services, but I have many more examples of WCF transactions here: http://www.thatindigogirl.com/LearningWCFCode.aspx MessagingIntermediaryVia - Illustrates a pass-through router over HTTP where even reliable messaging headers can pass through both directions. MessagingIntermediaryDuplex - Illustrates a duplex router that supports reliable messaging headers two-way out of band over named pipes. Technorati Tags: WCF , CardSpace , C# 3.0 , Globalization , Localization , Routers , ASP.NET Read More...
  • New and Notable 177

    Multithreading and Concurrency Software Transactional Memory Part IV - Thread-Bound Transactions Software Transactional Memory Part V - Integration with System.Transactions Parallel LINQ Restating the Concurrency Problem Herb Sutter is starting a new column on Effective Concurrency Shared nothing parallel programming \ Software Design/Smart Clients/CAB/Web Clients Using NUnitAsp to test Pages w/Forms Authentication Build your own CAB #12 - Rein in runaway events with the "Latch" Build your own CAB #13 - Embedded Controllers with a Dash of DSL A whole pile of goodness taking CAB forward from the folks at SCSFContrib . which includes A full implementation of the UI layer for CAB done in WPF with 100% code coverage in tests!! (see Bill's post ) WCF/SOA ChannelFactory Behaviors David Chappell declares the REST vs. WS-* War over . Here's hoping Orcas/LINQ ScottGu continues his excellent series with LINQ to SQL (Part 4 - Updating Our Database) ADO.NET Entity Framework The ADO.NET Entity Framework June 2007 CTP is now available. See the team blog for changes Ruby/Subversion My team-mate Steve points to some great resources on the Beauty of Ruby as well as finding a Web-based Subversion Browser Other Link Blogs Interesting Finds: July 10, 2007 PM Edition Daily Grind 1182 Technorati Tags: CAB , Ruby , Concurrency , Microsoft .NET , Software Transactional Memory , PLINQ , NUnitASP , Software Design , Design Patterns , Ruby on Rails , Subversion Read More...
  • Dev Connections - Orlando - The Code!

    Once again a fantastic conference in Orlando. Dev Connections just keeps getting better and I always enjoy being part of it. Not to mention the weather in Orlando isn't bad! Here are links to my code samples for each talk I delivered. Enjoy! .NET Technology Roadmap Tutorial This tutorial provides an overview of all the key Microsoft technologies for today, tomorrow and the forseeable future - to help you understand and weigh choices for building web, windows and SOA applications. Links to the tutorial code can be found in this blog entry (keep an eye out for updates, additions over time): http://www.dasblonde.net/2007/03/23/MakingSenseOfTheMicrosoftTechnologyAvalanche.aspx ASP.NET and WCF All of my WCF samples for my book can be found here: http://www.thatindigogirl.com/LearningWCFCode.aspx ASP.NET and CardSpace Demonstrations in this talk can be found here: http://www.dasblonde.net/downloads/code/CardSpaceSamples.zip WCF Federated Security My claims-based samples can be found here: http://www.dasblonde.net/downloads/code/ClaimsBasedSamples.zip And, my STS sample here (NOTE: this sample will be updated shortly with an upcoming article, stay tuned!): MediaServicesFederation.zip (2.07 MB) WCF Contracts and Versioning All of my WCF samples for my book can be found here: http://www.thatindigogirl.com/LearningWCFCode.aspx See ServiceContracts, DataContracts and AdvancedSerialization directories. ASP.NET Performance (I picked up this talk at the last minute...I have some links to post, will get to it later tonight!) Read More...
  • Making Sense of the Microsoft Technology Avalanche

    I created a presentation in November of last year with the goal of helping folks make sense of the vast number of Microsoft technologies from development tools, language, data, windows, web and SOA development. This blog post holds the latest links to resources and code for each section. System Requirements The links below use the following technology platforms: Visual Studio 2005 and .NET 2.0 .NET 3.0 NET 3.0 Runtime (installed with Vista) http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en Windows SDK for .NET 3.0 http://www.microsoft.com/downloads/details.aspx?familyid=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en Visual Studio 2005 Orcas Extensions for .NET 3.0: WCF&WPF (Nov 2006) http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en WF (Nov 2006) http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en ADO.NET and LINQ CTP for VS 2005 (May 2006) LINQ CTP http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en ADO.NET vNext CTP http://www.microsoft.com/downloads/details.aspx?FamilyId=B68F6F53-EC87-4122-B1C8-EE24A043BF72&displaylang=en ADO.NET vNext Entity Data Model Designer Prototype, CTP http://www.microsoft.com/downloads/details.aspx?FamilyID=74bda7b2-9ca9-4eea-a33f-31942ddc9dbe&displaylang=en Visual Studio Orcas CTP (March 2007) Instead of using Orcas plug-ins to Visual Studio 2005, you can install Visual Studio Orcas CTP (for now, safer to run as VPC) http://www.microsoft.com/downloads/details.aspx?familyid=cf76fcba-07af-47ac-8822-4ad346210670&displaylang=en&tm Development Tools In this section I reviewed the stack of development tools and explained how to choose between them. Express Editions http://msdn.microsoft.com/vstudio/express/ Visual Studio http://msdn.microsoft.com/vstudio/ http://msdn.microsoft.com/vstudio/future Visual Studio Team System http://msdn.microsoft.com/vstudio/teamsystem Expression Products http://www.microsoft.com/products/expression Language Enhancements In this section I talked about moving from .NET 1.1 to 2.0, and discussed the key features of 2.0 that folks should be leveraging. Then, I focused on the language enhancements forthcoming with C# 3.0 and VB 9.0. C# Developer Center http://msdn2.microsoft.com/en-us/vcsharp VB Developer Center http://msdn2.microsoft.com/en-us/vbasic Read More...
  • New and Notable 150!!

    This is it, the big 150! The first New and Notable was on May 19, 2003 , (my first post was March 29, 2002 ) and I paid homage to the master, "I have always admired Mike's ability to look at the world out there and put it all into one great post, The Daily Grind . While I can't pretend to have Mike's writing ability, I would like to start moving to something similar instead of multiple seperate posts." I wish I had the discipline of Mike because if I posted daily I would be well towards 1000 instead of 150-) but hey I'm pretty proud of my record. I love this community and in the last 25 years this community (and Microsoft) have been real good to me and my family. I hope that what I have been picking here has been of good use to the community to keep you informed on key .NET activities as well as the architectural and design side. Thus, I go forth and pick: Entity Framework, ADO.NET 3, Orcas, MVP Summit One of the best writers in the community today is certainly Jeremy Miller . His latest post, MVP Summit Recapped: Linq for Entities, MonoRail, and Shameless Name Dropping , is a fine example of why. In one post, he is able to write quite elequently on complex subjects like the subtle design flaws in Entity Framework 3 and why WF 4 will rock your world. He is able to take a technology, stick to his design principles and stand his ground, educating and helping all involved achieve something better than was there before. He certainly wasn't the only one of us doing that but his post really captures the core design principles of no infrastructure code in business logic classes. Infrastructure is Infrastructure, business logic is business logic. We want the same thing: No marker interfaces, no codegen, no partial classes. Just plain "PO" and support for the Unit of Work pattern. David Laribee also talks on this area and makes clear that its a vision thing that doesn't really compare to NHibernate which is just OR/M; it's a full Read More...
  • New and Notable 149

    Yup, I'm still stuck in Seattle and I still feel like crap. Tomas just went off to the airport and I feel like the last MVP left in Seattle. Just want to get out of here and home but can't do that until tomorrow night. Lots of stuff stored up Entity Framework/ADO.NET 3/ORM/ASP.NET/MonoRail I consider my (and all the Code Better guys) biggest contribution to the whole Summit has been our conversations with the Microsoft Data Team on Linq for Entities . I would like to thank the Microsoft guys for being so open to feedback and understanding us In the meantime, Ayende went and did LINQ for NHibernate in his spare Time; does this man ever sleep???? Actually the second proudest moment came some of us CB bloggers with the special meeting with Scott Guthrie on how to make ASP.Net better support MVC much like Rails and MonoRail. My dissatisfaction with ASP.NET is well known and the reasons are expressed well by Ayende here on the leaky abstractions with WebForms and Jeremy Miller here . I expressed many times on my blog that I would just as soon go to Ruby on Rails if I had to do any Web stuff today. Several of the CB bloggers let me know about the goodness that is MonoRail. It's really awesome to see ScottGu have an MVC framework in the works as Jeffery talks about here Inheritance in the Entity Framework is the latest from the Data Team They also updated the 101 LINQ Samples that were included in the March CTP have now been updated to include the 101 LINQ to Entities Samples. To check out the newest samples download from here . Software Architecture/WCF/SOA Nice discussion from Harry on answering Dr. Nick's questions on SSB/WCF The Feb 2007 release of both the GAT and GAX have been released with Vista support but Harry has noted that you have to re-install all your guidance packages which is not so good Christian Weyer has some great slide decks from DevWeek 2007 Matias has an awesome post, " The holy grail of Enterprise SOA security " about SOA Enterprise Security using WCF Read More...
  • New and Notable 138

    I have already said my piece on the Vista launch but also Office 2007 launches today which really rocks. The much better Outlook 2007 is worth the price of admission alone IMHO. Vista and Office Launches Vista Launch Page Bill Gates Keynote European Launch Windows Vista Upgrade Advisor Office 2007 Launch Page Nial Kennedy on launch in San Francisco Microsoft Debuts Vista in Global Marketing Blitz Robert McLaws posts on all those great Vista Updates that finally showed up last night on my Update. Can someone get me to stop playing Hold 'Em Ultimate Extra, my fingers hurt -) Software Architecture/SOA Pablo asks "CRUD Service for Service - Is a Bad Practice?" I think it depends, and as Robert Wilczynski says in the comments, some kinds of CRUD are fine, but the greater anti-pattern is chatty contract/interface. What's your thoughts? Pablo also talks about Services in .NET Part 1 Edward has started a new series of posts about factory basics called 'Factories 201', and he has kicked that off with a post entitled "What are they (concretely)?" [via Jezz Santos ] Arnon continues his excellent architectural writings on his Architect Blog with What Is SOA Anyway?: Part I, Ambiguity and Anyway? Part II, Hype Soma talks about Software Factories [via Harry ] WCF/Web Services/Workflow William Tay makes the very real case for why WS-ReliableMesaging is vital. I mean, when people *** about WS-*, I don't get how its not obvious that "the main characteristics of Web services is communication over unreliable communication channels such as the Internet employing unreliable data transfer protocols such as HTTP, SMTP and FTP" and many of us need things like WS-RM and other standards to build real service-oriented systems that actually do something. Luckily for me, Indigo bakes all this goodness in so it's just an attribute to me The master, David Chappell, tells us What's Really Important About SCA ( Service Component Architecture )? YAY! Mark Mercuri tells us the good news that the current Read More...
  • Dev Connections Session - The Avalanch of Technologies

    A big thanks to all the participated in this monstrous tutorial at Dev Connections. Whew, I can fully admit it was a lot of work to put all the information together in one place, but I hope that you got a lot out of it. For those that didn't attend, the goal of the tutorial was to provide an overview of the current state of the various technologies and tools for Microsoft developers, with an emphasis on the reasons for moving forward with each technology stack, and hopefully some enlightenment on when you might choose each technology. I'll be keeping this one day session current for future conferences, and for on-site sessions with clients. If you are interested in such a thing, contact me at IDesign: www.idesign.net . Here are the resources I promised from the tutorial. Development Tools In this section I reviewed the stack of development tools and explained how to choose between them. Express Editions http://msdn.microsoft.com/vstudio/express/ Visual Studio http://msdn.microsoft.com/vstudio/ http://msdn.microsoft.com/vstudio/future Visual Studio Team System http://msdn.microsoft.com/vstudio/teamsystem Expression Products http://www.microsoft.com/products/expression Language Enhancements In this section I talked about moving from .NET 1.1 to 2.0, and discussed the key features of 2.0 that folks should be leveraging. Then, I focused on the language enhancements forthcoming with C# 3.0 and VB 9.0. C# Developer Center http://msdn2.microsoft.com/en-us/vcsharp VB Developer Center http://msdn2.microsoft.com/en-us/vbasic Demos: VB8.zip (211.26 KB) CSharp2.zip (326.47 KB) CSharp3.zip (40.65 KB) Data Access In this section I focused on data access technologies, designing the data access tier, and key features of ADO.NET 2.0, vNext and LINQ to give you some idea how to prepare for the next set of innovations. ADO.NET 2.0 http://msdn.microsoft.com/data/ref/adonet ADO.NET vNext http://msdn.microsoft.com/data/ref/adonetnext LINQ http://msdn.microsoft.com/data/ref/linq Demos: When you install ADO.NET vNext and LINQ there are numerous overview documents, tutorials, and samples that will really help you get up to speed here. These are the demos that I showed in the tutorial. Windows Development In this section I reviewed Windows Forms 2.0 innovations, primarily ClickOnce, and then talked about how to prepare for WPF and who should use it today. Windows Forms Home http://msdn.microsoft.com/windowsforms WPF Home http://wpf.netfx3.com/ Demos: Find my ClickOnce samples in this Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us