Tag | wcf Posts

In this issue: Rob Zelt, Page Brooks, Chad Campbell, Jeff Prosise, Mike Snow, Jordan Knight, and Silverlight Web Services Team. From SilverlightCream.com: Silverlight 2 Timeline Panel Rob Zelt sent me this post this evening... and it's pretty cool that items placed get rearranged according to date. I'm sure this should spark ideas in some folks... thanks Rob! Silverlight Contrib 2008.0.0 – Alpha 2 Released! Page Brooks is making a big hit with his Silverlight Contrib project. Page, Koen Zwikstra, ...
I know many of you out there have probably already used WCF for building services. However, it's been my recent experience that several of my fellow developers either haven't built services at all or are used to the way ASP.NET does them. One of the things I've been tasked to do is to put together a presentation explaining the benefits of using WCF. In researching the topic, I found this nifty little demo (again from Channel 9) building a simple service and app using nothing more than Notepad. WCF ...
In this issue: Bart Czernicki, Pedro Cortes, Ken Cox, Koen Zwikstra, and Terence Tsang. Karl Shifflett reports that XAML Power Toys 3.4 Released... and he has a list of updates he's done to it on the page. Matt sent me a link to his site for downloading free eBooks on various tech subjects... It looks like it is worth a longer look: Free eBooks Download From SilverlightCream.com: Silverlight and the Enterprise Bart Czernicki has a good article up on talking about how well suited Silverlight really ...
Review "MCTS Self-Paced Training Kit (Exam 70-503): Microsoft .NET Framework 3.5 Windows Communication Foundation (PRO-Certification)" http://www.amazon.com/MCTS-... I like this series of books (SPTK - Self-Paced Training Kit) because the short theory here is always ended with real world examples. And these examples shows how the product is used in the real situations, to solve the ...
When consuming a WCF Service in BizTalk, I came across the error: The action is invalid or unrecognized. The reason was that when I created the logical Request/Response port for the service in the orchestration, I used a new port type. When generating the files for consuming the service, BizTalk had automatically created a Port Type for the Request/Response port. When I used this port type, the error went away ...
The WCF has such structure of the performance counter names: http://msdn.microsoft.com/e... ServiceName@ServiceBaseAddress (ServiceName).(ContractName... listener address) (ServiceName).(ContractName... endpoint listener address) In MSDN we have: "There is a limit on the length of a performance counter instance's name. When a Windows Communication Foundation (WCF) counter instance name exceeds the maximum length, WCF replaces a portion of the instance ...
I got back early this morning from a weekend away at the Minneapolis based Twin Cities Code Camp organized by Jason Bock of Magenic and featuring a slew of great presenters. I was down to do a “What is BizTalk” session while my buddy Juan Larios did a talk on Sharepoint. I like having alot of interaction in my sessions, including between attendees, and we definately had that. Some in attendance had experience with BizTalk and were able to give their real world experiences and answer questions that ...
You may be surprised to find that classes are serialized by WCF without any [DataContract] attribute attached to them. I certainly was. When WCF came out, there was much fanfare of the new, improved, superior WCF serializer (justified IMHO). The main policy sizzle was that unlike the [Serializable] marking a POCO object and then [NonSerialized] attribute marking specific fields (opt-out), WCF will now use "opt-in": Only properties specifically decorated will be serialized. This serialization policy ...
With the aid of the Microsoft.BizTalk.ExplorerOM library found in "C:\Program Files\Microsoft BizTalk Server 2006\Developer Tools" you can write your own tool for administration of your Biztalk applications. With this API you can have a look at the installed applications, add applications and configure sendports and receivelocations and all other parts of the application. Start with declaring an object of type BtsCatalogExplorer and giving it the connectionstring to the Biztalk Management database. ...
Suppose you have three tables in your database where one of them specifies a many-to-many relationship between the other two (example from AdventureWorks): Suppose also that you have a method such as GetVendors(int productID) that will retrieve all the vendors for a given product through the ProductVendors table (that is , the many-to-many table). Now, if this method is exposed via a WCF service, when your client calls it you will see an exception like this one: "System.ServiceModel.Commun... ...
Hello, Before Dublin is in charge, especially the Repository for the Web-services I'm using the custom code to manage the buzz with many URLs in Web.config files There is a utility to change all URLs in .config files by one click. http://www.codeplex.com/Fil... 1. Purpose. In my current project we've got a lot of composite WCF-services. We have several environments: Development,Test1, Test2, Production. We don't have the service repository. That means when we move the services from ...
Finally after 2 weeks I did get chance to publish the second part of my article on Sync Services. The article is a follow up article to Introduction to ADO .Net Sync and takes a look at how easily we can convert a two Tier Sync application to N tier using WCF services. The ability to sync up your data without connecting to the main database is a great value and opens the door to many complex architecture implementations. There are many examples on sync services online but most of them are in C#, ...
I've been delving a fair bit into WCF lately and have been encountering enough gotchas that it is clear that it's time for me to resurrect my tech blog. My first post: an errant WCF Socket Exception which looks like a timeout due to the message is actually an exception caused by DBNull. You may have come across the above msg at some point in working with WCF. The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote ...
Microsoft will be presenting some very interesting stuff at the PDC this year. One of the much-anticipated Oslo-related messages came last week, ahead of the conference, with the public announcement of "Dublin", an Application Server and host for WF / WCF applications. And get this: There will be CTP BITS available for .NET Framework 4.0 and Dublin at the PDC! Essentially, Dublin offers significant feature additions to the WAS (Windows Process Activation Services - remember?) that ship with Server ...
The post based on How to enable WCF tracing article Open WCF Service Configuration Editor under VS 2008 Tools menu or directly from installation folder (typically C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\SvcCo... - subfolder v6.0 can be different depending on which version of Windows SDK has been installed) To enable WCF message logging Click the Diagnostics node, and expand it. Enable Message Logging on the right Tab To edit Message Logging settings, click the Message Logging ...
In this issue: Jeff Paries, Tim Heuer, Shawn Wildermuth, Mike Snow, Jesse Liberty, Terence Tsang, Bill Reiss, and Eugene Osovetsky. From SilverlightCream.com: Filmstrip Gallery Jeff Paries sent me a note this morning that he has a new post up about a Filmstrip Gallery that began life as a work project ... it looks pretty darn cool... he has all the code and a live project example listed... thanks Jeff! Silverlight and Web Service Errors Tim Heuer touches once again on troubleshooting webservice issues, ...
I am a BizTalk developer since BTS 2004 came. And recently did BTS 2002 Migration too Recently I have been observing few Microsoft announcements and which made me to say this... First look at what I have observed... Look at Microsoft Application Server Roadmap-->Dublin Look at the Microsoft Future Modeling related articles-->Oslo Wow, it seems Microsoft is all over Europe.. Ok, here is my observation from what I heard, looking at these kind of announcements BizTalk 2009 might be the last XLANG ...
Today I received the MVP Connected System Developer award. Thank you Microsoft and all of you who supported me. I'll continue my focus on WCF/WF and Biztalk and keep evangelizing and training this technology to the community. Stay tuned.... ...
In this post: Mike Snow, Bill Reiss, Jesse Liberty, Harsh Bardhan, Tim Heuer, Matthias Shapiro, and Jeff Wilcox Bill Reiss has posted Silverlight Sports Game Contest Results... I blogged Andy Beaulieu's win yesterday, but go look at the others! From SilverlightCream.com: Silverlight Tip of the Day #47 – How to Implement a Password Box I've heard the term 'dog days', but in Mike Snow's case, it's like dog years... folks, we've just gone through 7 Tips of the Day in 24 hours! ... and that doesn't count ...
I’ve been doing development professionally now for maybe 18 months and my experiences over the last 8 months in an agile shop have made me realise just how much there is to know in the development arena and, more importantly, how much I would like to know in order to be really creative in my job and produce truly excellent software. In my previous job, I used a text editor to write Perl. There was no such thing as unit testing and copying and pasting was viewed as an aid to productivity rather than ...
Day after tomorrow, I am about to talk about Oslo at my company internal meeting. Now, I have something to add to that session. Microsoft, Today announced Visual Studio 10 (Rosario) and .NET framework 4.0 You can find the press release here! and more information here! So, Microsoft says there basically 5 focus areas with these two new products... 1) Riding the next-generation platform wave (Modeling platform with an eye towards SOA ) 2) Inspiring developer delight (New tools like visual editor, ALM ...
Here is the slide deck from my presentation on SOA with WCF that I delivered to the Tulsa Developers .NET Group 9/29/2008. If you live around Tulsa and have not been to one of their meetings check out the Tulsa Developer .NET website and give them a shout. David Walker has a great group of people there and they are doing great things like Tulsa Techfest. Also, don't forget to check out the Bartlesville .NET User Group while your in Oklahoma. Service Oriented Development With Windows Communication ...
Central Florida BizTalk User Group [Meeting in Tampa] Wednesday, October 1st, 6:30 PM at Tampa Microsoft Office Central Florida BTUG is an independent, non-commercial user group focused on Microsoft’s BizTalk 2006 R2 and related technologies such as RFID, SOA, Windows Communication Foundation, and other divisions of connected systems. Targeted audience includes technologists at all levels including developers, architects, users, and decision makers. The user group will hold bi-monthly meetings delivered ...
Recently, I ran into an interesting situation the client caller of a WCF service method had adjusted his proxy class and for some reason the order of two parameters were switched. So let's say I have a method with a boolean parameter and an integer parameter as in X(bool b, int i) In this case the proxy was changed to X(int i, bool b) Now this is where it gets interesting. There is no error whatsoever on execution of the method. When debugging, the method was entered and executed without any trouble. ...
What this new blog is about Tech - I'm going to blog about technical stuff that interests / excites / confuses / frustrates me. Meta-tech - I'm going to blog about over-arching concepts and issues related to software development. Philosophical, architectural, social... I hope this blog will have an interesting slant because I started a new career as a software developer at the age of 33. It’s been a roller coaster ride over the last 2 years (so now you know my age) and I’ve had a chance to reflect ...
I was recently asked by a client to test whether a WCF based service could be implemented behind ISA Server (2006) whilst using netTcpBinding . I knew nothing about configuring ISA Server, so I worked in this with an ISA Server SME within my company on this. We set up 3 virtual servers : one client, one running ISA Server and one hosting the WCF service. I configured the client to be able to use wsHttpBinding and netTcpBinding just for comparison. The security mode was explictly set to "none" for ...
I picked this up off the CSLA.Net site for the $20 bucks listed. If you are trying to upgrade your knowledge from 2.0 to 3.0, you'll find it invaluable. VERY handy summation of changes and how the 3.0 Framework (WCF, WF, etc.) have been incorporated into CSLA. As previously mentioned, I am going to get some of my game working on 2.0 (to refresh my memory...been almost a year since I worked in CSLA) and then migrate it to 3.0. This document seems to be a great tool for assisting with that ...
When using untyped messages on WCF operations we can take a more generic approach in creating services. The idea behind untyped messages is to create operations which take a parameter of which the type (and datastructure) is not known in the signature of the operation. This parameter is not a class you created and attributed with the DataContract attribute but it is the Message class found in the System.ServiceModel.Channels namespace. using System.ServiceModel.Channels; public interface IServiceInterface ...
Hannah Watkins on Creating Graphics for a SL Game, Mohammad Dayyan with WPF clock, Jesse Liberty with a Podcast on Templating, ux.artu.tv on DeepZoom stitching, Mike Snow on WCF vs ASMX, and making it snow, Terence Tsang with fireworks, Joel Neubeck begins a Casual Games series, Corey Schuman with another 3D example, Doug Blackmore with a closeable tab item, Bill Reiss with Dogs Photomosaic and troubleshooting Data Access. Tim Sneath reports on What You’ll Hear at PDC2008... sounds like a good time ...
It is generally considered a good thing to use unit tests these days. Often it is necessary to test a method which takes some complex type. So in the unit testing one has to painstakingly manufacture such object, and pass it in. Before doing so, you would (should!) ensure the complex type itself produces an identity - that is to say that if you create an instance of type MyClass and assign / construct it with proper values your should "get back" what you gave it. This is especially true for object ...
I'm for the first time at a non-Microsoft conference in my life. I am at Oracle's OpenWorld 2008 in the lovely city of San Francisco. So far so good. The biggest surprise is really how big this conference is. There are more than 43,000 people at this conference. Wow - amazingly big. The other thing that is different than the TechEd and PDC conferences that I attended in the past is that there are a number of keynotes here and it seems that the first ones aren't that important and they build up in ...
Article Source: http://geekswithblogs.net/m... I've been asked the same question a few times recently by a couple of BizTalk projects about how to map their reference data. When this question comes up we often get involved in a discussion about the pros and cons of caching the reference data and increasing memory usage versus hitting the database every time. As a rule I tend to use the BizTalk Cross Referencing features for this data mapping unless there is a specific requirement which ...
On Friday I passed the “70-503 - TS: Microsoft .NET Framework 3.5 – Windows Communication Foundation Application Development”, so that makes me a “Technology Specialist” in WCF. This is the third technology specialist (TS) exam I have taken, the others being BizTalk Server 2004, and BizTalk Server 2006, so it felt good to broaden the spectrum a bit. I prefer the TS exams to the regular .net exams; I have the MCSD certification, which required passing four .net exams and a server product exam (I chose ...
Earlier this week I attended the first SharePoint Best Practices Conference just outside Washington, DC in McLean, Virginia. The event was organized by Mindsharp, who at this point needs no introduction (or even the hyperlink) as the leading provider of SharePoint training here in the States, and maybe the world. The conference was partially driven by the release of a fairly new book from the Microsoft Press, MOSS 2007 Best Practices. The book is pretty good, too; much better than the Administrator's ...
Phillydotnet.org 3rd code camp for 2008 will be held at the DeVry University campus in Fort Washington, PA on Saturday, October 11 from 8:30-5:00. Please register on our web site.-->Detailed directions are on the DeVry web site. sold out. There will be another Code Camp in May.--> Lots of code, just say no to slides! 8 hours 50 sessions (8:30, 10:00, 12:30, 2:00, 3:30) 10 tracks including new IT Infrastructure and Enterprise 500 seats with tables (laptops welcome) Free breakfast, lunch, and afternoon ...
Joseph Ghassan on SL Full Screen, Adam Cooper on ListBox bug, Gerard Leblanc on image visual effects, Manish Dalal on IEditableobject, Mike Snow on WebServices and SL, Martin Grayson with Blacklight, and Terence Tsang on Mathematical Locus. Jeff Paries breaks loose with Two more projects from Foundation Silverlight 2 Animation ... these are seriously cool! ... the book's going to be a killer :) We're all coming up with colorrefs all the time, check out the post Pull Down The Shades: A Color Sidebar ...
Last week I delivered a 5 day course on WCF/WF and Bizalk (http://www.ordina.be/SOA) About 25 students where introduced to the world of SOA with Microsoft technologies. Thanks to all of them, I had a great time ! Hope you enjoyed it. Many asked me for links to resources on WCF. Here's a compilation of the best : Dasblonde Webcast series : http://www.dasblonde.net/20... Microsoft Nuggets by Mike Taulty : http://www.microsoft.com/uk... ...
I created a little screencast on WCF Impersonation : (you will need to press the play button) keywords : .NET, 3.0, 3.5, Window Communication Foundation, WCF, Tutorial, Demo, Screencast, Impersonation, Security, serviceAuthorization, impersonateCallerForAllOper... AllowedImpersonationLevel, Principal, TokenImpersonationLevel, Impersonation, ClientCredentials Technorati Tags: ntech ...
Introduction This blog entry which is more like an article, will demonstrate how easily you can design occasionally connected applications using ADO .Net Sync services. It’s going to be a very basic example in VB .net showing how easily you can use Sync services within your application. I have taken the template from code project and will try to upload it there as well. I am also uploading my presentation in case anyone needs it. Presentation and Source code Background At our organization we have ...
Martin Mihaylov continues with DataGrid, Rabeeh Abla with a Mesh Viewer, Gerard Leblanc on animations, Dan Wahlin on Input Controls, Jeff Wilcox on SL Unit Test, Michael S. Scherotter on high DPI issues, Terence Tsang with Flip Rotator, Sandy Place with Dynamic WCF Client Proxy, and Jeff Paries on SL/Twitter a new way. Karl Shifflett has released an updated version of XAML Power Toys V2... this is of use to those WPFers and Silverlighters alike. Page Brooks at SilverlightContrib has some information ...
Nikolay Raychev on SL and Localization, Chris Koenig on Style, WPF and SL, ux.artu.tv with developer training, Andy Beaulieu on finding Media Elements, Michael S. Scherotter with SL2 text to Word2XAML, Terence Tsang with Waving Text, Joel Neubeck with a SL Rating Control, Jesse Liberty begins a Custom Control series, and Jonas Follesø on WCF Authentication. Somasegar blogged about the new Social Bookmarking platform. I've created an account on MSDN, using the name "Dave [WynApse]" and I'm archiving ...
Although I hate to quote that often, but, this one is totally worth it: Brad Abrams recently wrote a reference to this great "Evolving a .NET 3.5 Application" white paper, about the common scenario of migrating a .NEt 2.0 project to .NET 3.5. The white paper is available in PDF format here (direct link). About which I quote Brad's words: I reader recently forwarded me an interesting case study that covers a very common scenario: Porting a .NET Framework 2.0 based application to .NET Framework 3.5. ...
History Back in 2005 Eddie Churchill, one of the BizTalk team members presented a couple of Channel 9 video titled “First look at Solution Designer” and “Biztalk's sexy new XSLT Mapper”. These videos showed very early prototypes of want may go on to form a part of BizTalk Server vNext. The BizTalk Solution Designer and the new mapper looked like great tools, and I remember many BizTalk developers looking forward to using them in BizTalk applications. Unfortunately they never made it into BizTalk, ...
I have started doing some preliminary planning/design work for a new web-based project. This project is extremely important for our organization since it will be the foundation for a portal that we will build in the future. In addition, this application will not only going to be used by our employees but also by some of our customers and partners. Our customers/partners will also have the option to integrate our application into their portals. That means the application will be used in many ways ...
Microsoft announced BizTalk Server 2009 today, and gave the green light to talking about the new version. It’s due for release in the first half of next year, and is shaping up nicely. Microsoft is casting BizTalk Server 2009 as a major new version in its own right, rather than just an updated 'release' of BizTalk Server 2006. This is an important move, and one I strongly welcome. There is certainly enough in BizTalk Server 2009 to warrant thinking of it as a major revision of the product, although ...
Chris Cavanagh with YouCube, Bart Czernicki with a Multithreading control, Doug Blackmore with a SL2 Combobox, SilverlightShow with a 'glow' effect, SilverlightGirl on making a text appear and disappear, Peter McGrattan with a 3-part series on WCF Polling Duplex Support, IdentityMine with Desklighter, Shawn Wildermuth on the new build of DataServices library, Jonas Follesø with presentation material, and Chris Hay with Manic Miner on Spectrum Emulator. Yeah... I know I've got a couple database fixups ...
[Source: http://geekswithblogs.net/E... Snappy title. We have a project which contains lots of WCF Service projects, and we want to generate MSIs so we can deploy them to IIS. The gaps between the projects are minimal as they all use the same structure, so instead of having separate Setup or Wix files in each of the solutions, generating the WXS files on the fly was an option. The installer steps we wanted were reasonably simple: install WCF artifacts to the chosen directory (.svc and web.config ...
WCF Durable services are WCF services in which the operations can remember the values of private variables (=the state of the service) inbetween restarts of the serivcehost and/or client. This is new in .NET 3.5 and the concept goes beyond the idea of .NET 3.0 WCF sessions. In WCF sessions the service keeps the content in a session environment which is not persisted by default, this means that the service can only remember the data as long as it is running. When the service is down, the data is lost. ...
Many of you use timestamp in LINQ to SQL because it's easier for us figure out if an object is new or not. This is specially useful when we need to track the state of objects in disconnected/N-tier scenarios. An important thing to note, though, is that the timestamp column is mapped as a System.Data.Linq.Binary property in the LINQ generated object so it is part of the XML serialization when you use the LINQ to SQL objects in Web Services/WCF services. The real problem is that System.Data.Linq.Binary ...
Anna Wrochna on justifying/aligning text, and Ronnie Saurenmann on WCF without a web server. If you find yourself in Austrailia, take a look at DevSTA Challenge 2008... it hasn't started yet, but it looks cool, and great prizes! From SilverlightCream.com: Silverlight and text-align:justify. Anna takes a pretty good shot at getting text justified on a page... her results are very nice, but wow... what a bunch of work! Serving Silverlight applications on client PCs without a web server using WCF 3.5 ...