Tag | wcf Posts

So proud to say that I defeated the 70-516 Microsoft exam which covered data access with .NET 4.0! Obviously because of rules around taking Microsoft exams I can’t get into details about what I encountered, the things the questions focussed on, etc. But really I don’t have to since Microsoft is listing really good details on what’s covered and what percentage of the exam you can expect questions from the different areas. Experience obviously plays a role in determining how successful you’ll be, but ...
In this Issue: John Papa, Beth Massi, Simon Jackson, Rob Miles, Pete Brown(-2-), Senthil Kumar, Don Burnett(-2-), and Brian Noyes. From SilverlightCream.com: Apply and Customize the New Silverlight Themes Tsitsi Gora joins John Papa on the latest Silverlight TV to discuss the new Silverlight themes -- did you know about them? -- how about tips on customizing them from one of the devs?? cool stuff. Visual Studio LightSwitch How Do I Videos 5 Lightswitch training videos from Beth Massi ... and more ...
this year I had the pleasure of cramming the following information into my lobes: Book: Schuams Graph Theory - http://www.amazon.com/Schau... - a subset of combinatorics. From my perspective, just use linear algebra - you can bash anything into vectors. some interesting stuff on platonic solids and the 3 color world map. SD - shortest distance SP - shortest path bipartite graph - 2 disjoint sets ...
After scrapping the Workflow API and starting from scratch with v 4.0 , youd think they would have built the ultimate abstraction, but no - heres my gripes: · Parallel is not parallel, just allows AsyncCodeActivity instances to asynchronously call code and receive callbacks (via BeginExecute and EndExecute) · Non recursive · VB expressions - blah · For Imperative activity definition value assignment to be evaluated during execution (instead of definition) - requires a string representation of code ...
[UPDATE: 2010-10-15] This update is long overdue. Once we implemented all the changes, we were still getting that error from time to time. The sympton was that we would not get that error for hours, even days, but once we get it, the error keeps coming. After fiddling with some settings, we found that setting the "PollWhileDataFound" to False did the trick. We have not seen the error since. [UPDATE: 2010-08-26] We were able to fix our problem by setting the WCF-SQL receive location transaction isolation ...
You’ve heard good things about Visual Studio 2010 but you still need to answer the question “What’s in it for me?” You need to justify the cost the new software as well as the not insignificant cost of migration. The Entity Framework is a powerful tool for creating a conceptual model of your data store and abstract away the details of data access. Exposing these conceptual entities over the wire to client applications mean one of two things: ADO.NET Data Services (now called WCF Data Services) or ...
While Microsoft continues to add features to WCF with each version, they are also adding features that simplify working with WCF services as well. Historically WCF has been somewhat intimidating to the uninitiated because of the non-trivial configuration for endpoints including behaviors, bindings, and much more. For this reason, a lot of people stayed with “old school” asmx web services. With the new features of WCF 4, you can build powerful web services with *no* svc file and *no* endpoint configuration. ...
In this Issue: Anton Polimenov, Shawn Wildermuth, Gergely Orosz, Chris Koenig, Tim Heuer(-2-), Tim Greenfield, Nigel Sampson(-2-), Shawn Oster, and John Papa. Shoutouts: Telerik has announced The Telerik Eastern Canada User Group Tour is Coming... ... check out the cities and don't miss it! Erik Mork and company have my buddy Walt Ritscher on this week: Show 103: Windows Phone 7 Development Hardware with Walt Ritscher From SilverlightCream.com: WP7: Screen Considerations for Developers Anton Polimenov ...
Dave Dunkin has reported a confusing WCF/MSMQ error message on his blog today: Binding validation failed because the endpoint listen URI does not represent an MSMQ direct format name. The service host cannot be opened. Make sure you use a direct format name for the endpoint's listen URI. The root cause was hosting the queue on a server that was not running MSMQ 4.0. Full discussion is on Dave’s blog ...
In this Issue: Michael Washington, Brian Noyes, Rudi Grobler, Benjamin Gavin, Walter Ferrari, Shawn Wildermuth, Jeff Wilcox(-2-), David Anson, Jeremy Likness, and Manuel Felício. Shoutout: Cigdem Patlak announced a SilverlightShow Webinar: Data binding in action by Gill Cleeren... check out Cigdem's post and sign up... it's tomorrow, August 19th! Shawn Wildermuth shares What I learned about Windows Phone 7 from Android From SilverlightCream.com: The First Hour With Lightswitch –BETA- Curious about ...
For my first “real” attempt at creating a business application using Silverlight I decided to use WCF RIA Services, Silverlight 4.0, and Visual Studio.NET 2010. What easier way to get started than through a template provided by VS.NET 2010, right? Well, in its effort to make it easier it also create some headaches. Sometimes abstraction can add a learning curve as well. In this case it created some headache for me on this project. As an IT consultant for small to enterprise level business most of ...
We are working on a major project with Sl 4 and WCF. One of the things that really bugged us was the crazy not found error you would get with any call in the middle tier. We had to resort to wcf tracing and debugging to really dig in and find out something useful. Then my friend Ben Day happened to be talking with some Microsoft guys about WCF. Then pointed out a solution. Hit the link below to Ben’s blog and the summary plus a link to the original post: http://blog.benday.com/arch... ...
When Commerce Server 2009 was released, it introduced a new API (commonly known as Multi Channel Commerce Foundation) based on the latest technology stack at the time. One of the biggest changes was the basis of an n-tier architect, based on WCF, which for the first time removed the Commerce Server dependencies from the web/presentation tier, and allowed all of the logic to be encapsulated on a separate application layer. In modern day architecture this becomes important when the presentation tier ...

I just released a new project on CodePlex called SimpleWcf"

SimpleWcf provides a way to essentially do “simple, configuration-less, file-less, WCF 4.0”. It works by discovering services using reflection and assumes a convention is intended for the namespaces. 

It leverages a lot of the great new baked in defaults in WCF 4.0.

http://simplewcf.codeplex.com/documentation

My solution contains a number of projects; including a contract, service, host, and unit test assemblies. I host my services in ASP.NET web sites, which I run via my dev web server (cassini), and then IIS when I deploy to my production and test environments. My start up project is the Host project, so when I press F5, my service host starts and my services become available. When I want to unit tests my WCF Services however, the service host doesn’t start. I’ve specified the Host Project to Always ...
Why is it important you attend the Best Practices Practices Conference? I can’t vouch for everyone, but I think my sessions will be great (and all the other speaker’s sessions as well). One of them is something I’ve been working on in concept for at least 6 months. This session is called Building A Rich Media Application in Silverlight. The second I saw the tools for webcam and video integration I thought how can we incorporate this into SharePoint? How cool would it be if you could record a netcast ...
Las aplicaciones de Windows Azure se ejecutan en los centros de datos de Microsoft y son accedidas a través de Internet. Different kind of applications can be built on Windows Azure: · An independent software vendor (ISV) could create an application that targets business users, an approach that’s often referred to as Software as a Service (SaaS). ISVs can use Windows Azure as a foundation for a variety of business-oriented SaaS applications. · An ISV might create a SaaS application that targets consumers. ...
[Source: http://geekswithblogs.net/E... Using Parallel Extensions you can reduce loop execution time by 95%. Which, if you're evaluating .NET 4.0 and VS 2010, should be a cinching argument*. The Parallel Extensions library includes an abundance of features for fine-grained control over concurrent operations, and it also provides the very simple Parallel.ForEach construct, which takes an IEnumerable<> collection and an Action to run over each item, so: Normal 0 false false false EN-US ...
So I am not a web developer! I have never been one but Silverlight keeps popping in my head as the next big thing on the Microsoft stack and I would hate to “miss the boat” (I am sure some C developer said that 10 years ago as well). Today I thought I would get a little wet with Silverlight & WCF. Up to now I have been working in WPF so I am not scared of XAML and am surprised to say that I actually enjoy it. I have however never worked with WCF so for me that will be the learning curve. My project ...
[Source: http://geekswithblogs.net/E... In my previous post, Cloud Services and Command-Query Separation: Part 2, I walked through a sample Command-Query Separated service bus solution using readily available cloud services for communication. In this one, I'll look at some of the implications of shifting systems integration to the cloud, compared to an on-premise ESB. The focus here is mainly on Amazon Web Services, but I'll cover Azure with a dedicated sample project. Cost & Non-Functional ...
Hi there folks, I have created few more ESB Itineraries samples which uses the SO-Aware ESB Resolver for different kinds of scenarios. Scenarios like: 1. Two Way Itinerary : Msg In -- Transform -- Route -- ReqestResponse WCF Svc (Registed in SoAware) -- Transform -- Route -- Destination WCF Service (Registered in SoAware). 2. One Way Routing: Msg in -- Resolve Routing parameters -- WCF Service (Registered in SOAware) Thanks and Happy SO-Awaring with ESB and BizTalk. ;-) -Vishal Mody ...
Hey folks, Recently, Tellago Studios released its first product SO-Aware, A WCF RESTful Service Metadata Repository. Now talking about WCF Services and how can we forget them being used extensively by BizTalk Server. Let’s check it out with a simple scenario. Say you are using SO-Aware as a central repository for all your Web Services. Some of those services are also integrated with BizTalk. Now on one hand you have a central repository for your services and your life is going smooth but when it ...
In this Issue: Jeff Fansler, Chris Klug, Kirupa Chinnathambi, Mike Taulty, David Anson, Florent Pajani, Kunal Chowdhury, Mike Snow, and Jesse Liberty. Shoutouts: The Swiss Team Blog announced Hands-on Lab: Silverlight 4 Line of Business Application using WCF RIA Services Now updated to reflect RTM changes Dan Wahlin posted his Silverlight 4 Code Demos from the Microsoft TechReady Workshop From SilverlightCream.com: The Windows Phone 7 Application Bar Jeff Fansler has another WP7 post up and is talking ...
One of my colleagues pointed me at Howard Baines as a recent example of a web consultancy already using Visual Studio 2010 and Entity Framework 4.0 to build web applications. I managed to grab a little time with co-founder Clive Howard (on twitter) to talk through some of the decisions, especially as I was intrigued to learn that they started out on Open Source Software including Ruby on Rails before switching to the .NET Framework. We discuss: Why switch to the .NET Framework? Entity Framework 4.0 ...
One of the benefits of using WCF is that you're not required to host it in IIS. Most people create console hosts during development and then just use windows service in production. This is a quick and very easy way of hosting WCF services especially if you just have 2 or 3 services. However, when the number of wcf services gets too high, controlling them using the mmc snap-in (services.msc) can get a bit tedious (maybe not if your powershell or WMI kung fu skills are quite good). However, if you're ...
In this Issue: Brian Noyes, Jeff Fansler, Pencho Popadiyn, Eugene Chaikin, Jeff Wilcox, Peter Torr, Michael B. McLaughlin, and Tim Greenfield. Shoutout: Charles Petzold has an update to his eBook : Free ebook: Petzold’s Programming Windows Phone 7 (Special Excerpt 2) Wow... take 1 day off and *everybody* posts something! These are without even hitting my Big List-O'-Blogs TM From SilverlightCream.com: WCF RIA Services Part 4 - Integrating with the Model-View-ViewModel Pattern Brian Noyes has part ...
At VSLive today, I had the pleasure of introducing Microsoft Corporate VP Jason Zander. And he had the pleasure of introducing Visual Studio LightSwitch. Pleasure is a theme here, because the product, to me at least, looks great. LightSwitch is a .NET based environment, hosted in Visual Studio, that allows developers to build business apps. Quickly. It harkens back, with pride, to tools of old, like VB6 and FoxPro, that made data, and data maintenance UIs, first class citizens. These tools also treated ...
If you haven’t seen the video demo in my last post, I suggest you watch it first to get a better understanding. So in this post we are going to see how the WCF service, the .NET Compact Framework application running on HD2 and the Silverlight application running on the Windows Phone 7 emulator work together. The Objective We are going to write three applications, a simple WCF service hosted in a windows console application which implements two functions, one called UploadAccelData() and the other ...
In this Issue: Michael Washington, Benjamin Gavin Braulio Diez, Jeff Wilcox, Silverlaw, Mike Taulty(-2-), Shawn Wildermuth, Kirupa Chinnathambi, Gergely Orosz, and John Papa. From SilverlightCream.com: Silverlight: Why I feel “Design Is The Most Important Thing” Michael Washington has a great post up on Design that says it much better than my normal comment: "No amount of pretty is going to make people wanna use a crappy app" :) Silverlight TreeView - Drag & Drop with MVVM Benjamin Gavin posted ...
And the day is Today. Today Tellago launches its new sister company “Tellago Studios” which focuses on developing Enterprise Software’s. The basic motive of the company is to convert the lessons we learn in our day to day life working with our customers while providing them Enterprise Software Solutions into new Enterprise Software. Many times using current technologies we feel that something is missing. What if we can also do this with this technology. We at Tellago, have this passion for innovation ...
In this Issue: Anton Polimenov, Gill Cleeren, Jeff Fansler, Hannah Watkins, paulio, Michael S. Scherotter, Mohamed Mosallem, and Xianzhong Zhu. From SilverlightCream.com: WP7: UI Concepts of Windows Phone 7 With hardware descriptions behind him, Anton Polimenov continues his 10-part series at SilverlightShow on WP7 with this one on UI Concepts The duplex story: looking at duplex communication in Silverlight 4 - Part 3: Using Net.Tcp Gill Cleeren has part 3 of his tutorial series on Polling Duplex ...
Time for me to evaluate the progress on the original goals of our project. In januari, I started on a new project and set myself/the project a few goals. These goals were explicitly written down in a previous post. We've now finished phase 1 of the project, and I took the time to see what's left of my new year's resolutions.What's the point?I believe that you can only improve and learn new things when you deliberately set yourself explicit goals. Publishing these goals for all to see has been a major ...
Hi, I presented at CTD, Delhi on proverbial 3 screens and cloud. I demonstrated how the world is converging on RIA applications over net to applications on phone; all managed via services on cloud!! Silverlight is now available on Windows phone 7 and its really easy to use the awesome features of silverlight on windows Phone 7. The WP7 demo application is built using silverlight and it uses WCF services hosted on cloud fabric. Cool… no??? Here is the slide deck and here is the demo code. Feel free ...
So today I finally got around to playing a bit more with Silverlight. F# has been taking most of my spare time and I felt I needed to branch out into something different for a day or two… Now, before I go into this post… my disclaimer… I am a Silverlight noob – in fact I have focussed most of my development time at normal applications so the whole internet is a bit of a mystery to me… that being said I had some very definite goals for this posting… Setup my server so that it would work with the services ...
I recently had to introduce a DTO pattern on a project. The application was split between a server side and a desktop side using http based WCF to handle the communication. The project had been working well passing NHibernate entities back and forth, but there was too much data being transferred. So we introduced the DTO pattern. I added a GetDto method to the base class for the Entities. I added a GetEntity to the base class for the DTOs. We created DTO objects for the entities that we wanted to ...
Next week Thursday I will be speaking at MvcConf. This is a virtual, free conference that has attracted some very heavy hitters MVC hitters to come and chat about their voodoo. This should be interest sting. http://mvcconf.com/ Below is the abstract and TOC for my presentation. If you think I missed something or am watering down the presentation please feel free to contact me to give me your suggestions. Abstract In this session we will take a look at a handful of common ways that MVC applications ...
Normal 0 false false false EN-US JA X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... ...
In this Issue: Jim Jackson(-2-), Alex Golesh, Dustin Horne, Sl.ayer, xprblog, Mike James, and David Anson. Shoutouts: John Papa is on Deep Fried Bytes: Silverlight 4 Tools and RIA Services as Heard on Deep Fried Bytes Jaime Rodriguez has some help up for those that are having problems moving from the CTP to Beta bits: Tips for uninstalling the Windows Phone Developer Tools CTPs and moving to beta Koen Zwikstra reports an update: Document Toolkit 2 Release Candidate ... check out the feature list ...
I’m prepping this week for the 70-515 exam I’m taking on Friday, and I thought I’d go through some VS.NET 2010 labs as part of my prep. One of them has to do with setting up a WCF service, where you create a web application and then add an Entity Framework model file to the project. Right click, Add New Item, Entity Framework file, and… Huh. Well that’s weird, considering that this is a .NET 4.0 web application project in Visual Studio.NET 2010…how can it not resolve to the target framework? So I ...
This week, Scott Guthrie, Corporate Vice President at Microsoft’s Developer Division, announced, via blog post, the early Beta release of a new tool called WebMatrix. WebMatrix is a free developer tool that enables Web development geared toward what might I might call Markup-and-Script developers (more on that in a minute). And although WebMatrix draws upon technologies already, or soon to be, present in the fuller ASP.NET Web development platform and the Visual Studio integrated development environment ...
A few days ago I was reading up on some WCF technology called Peer Channel. It looked pretty cool so I decided to try it out. I was pretty shocked to find out how easy it was to build a chat messaging service using this this stuff. I was able to run a chat client on my computer, a chat client on my friends computer, and the WCF Chat service on a server. We were able to send messages back and forth to each other (all on the same network of course). It worked pretty fast without using a lot of resouces ...
source: http://geekswithblogs.net/c... Roy Osherove on his blog and in his book gives guidance on the naming of unit test methods. For use with BizUnit end-to-end integration tests, I have extended these recommendations below. Implementing these conventions has the following benefits: Makes it easily to understand the purpose of the test. Make it easier to find specific tests. Gives a visual feel for integration use case test coverage. Hub-and-Spoke Solutions For hub-and-spoke solutions, an ...
I have a WCF service and client, which worked fine, when I debug it on my local machine. However when I deployed the service to test server on the different domain. I've started to receive error System.ServiceModel.Securit... The caller was not authenticated by the service. ---> System.ServiceModel.FaultEx... The request for security token could not be satisfied because authentication failed. I've found a few similar recommendations, e.g. http://community.discountas... ...
In this Issue: Damian Schenkelman, Phil Middlemiss, Jag Reehal, Senthil Kumar, Andrew Marshall, Chris Koenig, Jimmy, Lee, Pete Brown, Brian, Mike Taulty, and Jeremy Likness(-2-). From SilverlightCream.com: Prism Training Kit: Beta Version Available Damian Schenkelman announced the release of a Prism Training Kit he and Matias Bonaventura have put together. Read his description on the post, then go download the kit. Create a Custom Control - Inheriting from TextBox Phil Middlemiss has another great ...
In this Issue: Sl.ayer, Emiel Jongerius, Andrea Boschin, KunalChowdhury, Charles Petzold, Kathleen Dollard, Jag Reehal, Saschac, Versant, Karl Shifflett, and John Papa. Shoutouts: Michael S. Scherotter reported an update: Word to XAML Converter Updated for Word 2010, WPF4 and Silverlight 4 The Silverlight Team Blog announced Microsoft, NVIDIA and iStreamPlanet Stream NASCAR in 3D The Silverlight Team Blog also announced Silverlight and Wimbledon. Game, Set and Match SilverlightShow has announced ...
Here is the expression for WCF.InboundBodyPathExpression to be used in the Expression Editor for ExecuteReaderResponse for a Dynamic WCF SQL Adapter: msgQuery(WCF.InboundBodyLoc... msgQuery(WCF.InboundBodyPat... msgQuery(WCF.InboundNodeEnc... ...
In this Issue: Ben Hodson, Marcel du Preez, Karl Shifflett(-2-), Rishi, Chris Koenig, Adam Kinney, Xianzhong Zhu, Jeremy Likness, and CrocusGirl. Shoutouts: Victor Gaudioso posted an inteview: Checkout my Interview with Bytes on MSDN (Microsoft) The Silverlight Web Services Team poses this question: How can we make WCF support in Silverlight better? ... read and give feedback in the comments. Timmy Kokke has announced the opening of a new XAML resource site to bookmark: XamlResource.com Chris Bowen ...
Some commonly asked questions about Silverlight. These aren't deep, but are often asked by beginners. What is Silverlight? Silverlight is a cross-browser, cross-platform software framework to create Rich Internet Applications (RIA) that can be embedded in Web pages. What is meant by RIA? RIA stands for Rich Internet Applications, which are Web applications with rich user interfaces including media elements such as audio, video and so forth. You can think of them as being similar to powerful and rich ...
In this Issue: Joseph Cooney, Matthias Shapiro, Ramani Sandeep, Andy Wigley(-2-), Chris Rouw, Michael Washington, Brian Noyes, Roger Peters, Sergey Barskiy, Timmy Kokke, and Phil Middlemiss. Shoutout: Koen Zwikstra announced Document Toolkit 2 Beta 2 available Rob Eisenberg announced Caliburn v1.1 Released! I missed this post by Andy Wigley of his material from TechEd: Programming Silverlight for Windows Embedded from .NET I hope you didn't miss the release of the Silverlight PivotViewer Control ...
An interesting ‘rant’ by my fellow Solidsoft buddy Russell Smith: Thought you chaps would be interested in this after hearing my rantings yesterday about the WCF-SQL adapter and notification issues. I got to the bottom of the issue, it wasn’t the adapter in the end it was the database and not the adapter at all. This was a database supplied by PICT that was restored onto my image. Apparently in order for the notification mechanism to work there are some strict requirements on the database SET options ...