Tag | wcf Posts

Over the last 3 years, Microsoft has slowly but surely been embracing REST as a programming model for the web in WCF. .NET 3.5 SP1 introduced some REST constructs allowing us to invoke WCF services with HTTP GET/POST/PUT/DELETE verbs in conjunction with UriTemplates. The REST Starter Kit (RSK) was then introduced on CodePlex and this provided many great features including an HTML help page, request interceptors, an HTTP client library, and more. Then WCF 4 was released and some of the features in ...
The common question as a SharePoint consultant and developer is, "Should we use SharePoint or not?. I was faced with that decision this week and I thought I would share it. I am working with a solution that involves an ASP.Net Application being connected to SharePoint that was being used as the document management piece of the solution. The Asp.Net application had a feature that created a project. Part of creating a project required creating a document library in SharePoint as part of that creation ...
In this Issue: Michael Washington, Peter Kuhn, Bill Reiss, Lee, Walt Ritscher, John Papa, Kunal Chowdhury, cherylws, Jeremy Likness, Martin Krüger(-2-), Michael Crump, and Brad Tutterow. Above the Fold: Silverlight: "I know what you downloaded last summer" Peter Kuhn WP7: "Free fonts for commercial game development" Bill Reiss Training: "A couple of more data-related Silverlight Quickstarts for you" cherylws Shoutouts: Martin Krüger has an accordian style published in Expression Gallery: New accordion ...
In this Issue: René Schulte, Walter Ferrari, Amyo Kabir, David Anson, Jesse Liberty, Mike Taulty, Erik Mork, Jeremy Likness, and Joost van Schaik. Above the Fold: Silverlight: "Swapping two elements in a bound ObservableCollection" Joost van Schaik WP7: "Tracking Sales Statistics with the Silverlight Analytics Framework for Windows Phone" René Schulte Sharepoint: "how to build a small Silverlight 4 utility to upload files in a List or Library of Sharepoint" Walter Ferrari Shoutouts: Mike Taulty blogged ...
In this Issue: Joe McBride, Ben Gracewood, Michael S. Scherotter, Adam Kinney, Todd Brix, Nokola, Avi Pilosof, WCF Data Services Team Blog, Brad Tutterow, and Matthias Shapiro. Above the Fold: Silverlight: "Filtering Data using CollectionViewSource" Joe McBride WP7: "Adding Windows Phone Capability Detection to your Build Process" Michael S. Scherotter Shoutouts: Einar Ingebrigtsen has a post up about his decisions on Balder - licensing From SilverlightCream.com: Filtering Data using CollectionViewSource ...
In this Issue: Michael Crump, XAMLCast, Sigurd Snørteland, Brad Tutterow(-2-), Manuel Felício(-2-), Mohamed Mosallem, Lee(-2-), Walt Ritscher, Chris Koenig, and Jeff Blankenburg. Above the Fold: Silverlight: "Architecting Silverlight LOB applications – Part 1" Manuel Felício WP7: "OData v2 and Windows Phone 7" Chris Koenig New: "Visual Studio Async CTP for the rest of us…" Michael Crump Shoutouts: Shawn Wildermuth posted an interesting discussion: A Week with WP7 from an Android User's Perspective ...
Update 2012-01-23: Added note about .NET framework Martin Hinshelwood wrote an excellent post recently http://nakedalm.com/team-fo... ) about a new type of integration available in TFS 2010, namely server side event handlers, that is executed within the TFS context. I wasn’t aware of this new feature and as Martin notes, there doesn’t seem to be any material/documentation of it at all. Previously, when you wanted some custom action to be executed ...
Today I have been invited by Microsoft Switzerland to present three of our awesome Windows Phone 7 applications on stage at their yearly Shape conference. It was a great moment, and I felt super proud to show the IMDb app, the Twitter app and the SBB Mobile app. The response was excellent, I didn’t have one single demo effect, was able to stream a movie preview live from the IMDb app, to show most features of the Twitter app, to load a timetable and purchase a ticket from the SBB app, and all this ...
I love Silverlight and have written / talked about it a lot. I can’t help but notice that a lot of people are new to Silverlight or may have played with it a few times. Well this post is for you. It is a list of 15 things that I’ve discovered since I started developing for Silverlight. If you are a full-time Silverlight developer than I would hope you know most of these. I promise not to scare off anyone with talks of MVVM, Prism or MEF. 1) The line highlighted below represents the MIME type and ...
In this Issue: Michael Washington, Peter Kuhn, Alex Golesh, Jonathan Marbutt, Karsten Januszewski(-2-, -3-, -4-), Erik Mork, Jeff Blankenburg, Martin Krüger, and Colin. Above the Fold: Silverlight: "Programmatic Silverlight Tree View Control Node Expansion using View Model (MVVM)" Michael Washington WP7: "Conditional Logic During Start Up of a Windows Phone App" Karsten Januszewski From SilverlightCream.com: Programmatic Silverlight Tree View Control Node Expansion using View Model (MVVM) Michael ...
Let’s say you added a table to the database created in the previous post, with a foreign key relationship to the original table, like this: The idea here is that you can have multiple rows in NestedData for each single row in TestData. If you create a stored procedure (call it Get_NestedData) with the following select statement: select TestData.TestDataId, StringColumn, IntColumn, Notes from TestData left outer join NestedData on TestData.TestDataId = NestedData.TestDataId where TestDataId = @TestDataId ...
I ran across this issue today when working with a WCF service project. We had generated a settings file through the project properties and in turn added entries into the web.config transform files for the different deployment modes. The base config and the transform blocks for the <applicationSettings> element were what you would expect: Web.config: <applicationSettings> <Namespace.Properties.Se... <setting name="test" serializeAs="String"> <value>test</value... ...
In this Issue: Sigurd Snørteland, Colin Eberhardt, Andrea Boschin, Jesse Liberty, Shawn Wildermuth, Andrew Tokeley, Jeff Blankenburg(-2-), Kunal Chowdhury(-2-), and Martin Krüger. Above the Fold: Silverlight: "Better Silverlight 4.0 Installation and Upgrade Experience" Andrew Tokeley "Developing a Lookless Silverlight Gauge Control (part 2)" Colin Eberhardt WP7: "31 Days of Windows Phone | Day #21: Silverlight Toolkit for Windows Phone" Jeff Blankenburg Lightswitch: "Beginners Guide to Visual Studio ...
This is a basic tutorial for using a stored procedure via a WCF-SQL adapter in BizTalk. It's similar to the examples given in the SDK, but eliminates all the extra garbage of creating custom C# assemblies, enabling the SQL FILESTREAM, etc. You'll need to make sure both the LOB SDK and the Adapter Pack are installed before beginning. First, create a test database call WCFSQLTest, then create a table and a stored proc, using the following scripts: CREATE TABLE [dbo].[TestData]( [TestDataId] [int] IDENTITY(1,1) ...
After upgrading to a new 64-bit OS on our BizTalk server, I was unable to get the WCF-SQL adapter working - kept getting the "No valid adapters are installed on this machine" error message. The Admin Console had SOME of the WCF adapters visible, just not WCF-SQL. I found out that this was due to the fact that I had simply installed the 64-bit version of the Adapter Pack - both Visual Studio and the BizTalk Admin Console run as 32-bit processes, so you'll need to install that version as well. So, ...
In Part 1 I provided the code for the simple asynchronous operation runner. In this post I’ll put it to some use. First let me provide a real world scenario so that we have something to demonstrate with. The Scenario I have a desire to separate into resource dictionaries a common palette of colours from a set of styles that use these colours. The goal being that I change a pair of colours in one place and all parts of the UI using that pair will use the new colour. There may be multiple resource ...
After I posted my last blog post, Ralph Squillace responded with a link that everyone that is doing OData/WP7 development should be aware of. 2 days before I posted my Data/WP7 post, Microsoft's Mike Flasco posted this regarding the changes that are coming in the RTM version of the Windows Phone 7 library. The current WP7 phone platform is missing some core types, types that data service client LINQ provider requires to function properly. The CTP that is currently available (and which my example ...
In the past few weeks, I have not been the most prolific blogger. In fact, I have been so busy with work and book writing that it feels like the past few months have been a very concentrated whirlwind of activities. However, the good news is that I will get a welcomed respite very soon, and am very excited to resume blogging on a regular basis. And believe me, I have tons of content on Silverlight, Windows Phone 7 development, Expression Blend, integration, developer-designer workflow, MVVM and other ...
Recently I was working on a BizTalk project that included a secured (SSL) SOAP connection using a WCF-Custom send port that was pointing to the partner’s endpoint. Our send port raised an interesting exception when sending a test message to our partner: A message sent to adapter "WCF-Custom" on send port "<SEND PORT NAME>" with URI "<PARTNER’S URL>" is suspended. Error details: System.ServiceModel.Communi... An error occurred while making the HTTP request to <PARTNER’S ...
[Source: http://geekswithblogs.net/E... * This post is pure speculation, not based on any special insider knowledge, so don't get too excited * BizTalk 2010 has RTM'd, and the Developer Edition is now free. It seems an unusual move to give it away, with the price point of other BizTalk licences. Enterprises who actively use BizTalk will have an IT budget that will probably stretch to MSDN subscriptions for their dev team; conversely, SMBs who aren't prepared to spend £500-odd on a Developer ...
This article will demonstrate how to add, edit, delete, group, sort, filtering data using ComponentWays Silverlight xamlDataGrid and RIA Services (DomainDataSource). Content Starting a New Project Exposing Data from Entity Framework Consuming Data in the Client with DomainDataSource and xamlDataGrid CRUD: Add, Edit, View, Delete data Validating Data Persisting Data and Error Handling Grouping Data Sorting Data Filtering Data Summary Starting a New Project Create a new Silverlight Application (C# ...
In this Issue: Rudi Grobler, Paul Patterson, Dragos Manolescu, Rob Tiffany, Mike Snow, Gergely Orosz, Jesse Liberty(-2-), Kirupa Chinnathambi, Alex Knight, and Nigel Sampson. Above the Fold: Silverlight: "Yet Another Podcast Show #3 – John Papa on MVVM and Patterns" Jesse Liberty WP7: "Windows Phone 7 Line of Business App Dev :: Building a WCF REST + JSON Service" Rob Tiffany Training: "Microsoft Lightswitch - A Data Driven Approach" Paul Patterson Shoutouts: Tim Heuer attempts to help in your Understanding ...
Has it ever happened to you that you are sitting with your laptop and need to do something with a computer on your local network and it turns out that computer is in a sleep mode and you have to walk to it and move the mouse or press some key to wake it up and then come back to your laptop to do what you initially wanted to do with it? Indeed, if you have to walk to a computer rather than remotely access it than the benefit of having local network is already somewhat undermined. My particular situation ...
In this Issue: Dragos Manolescu, Jeff Fansler, Andy Beaulieu, John McFetridge, Kunal Chowdhury, Kirupa Chinnathambi, Mike Taulty(-2-, -3-), and Peter Bromberg. Above the Fold: Silverlight: "Using ASP.NET Session with Silverlight and WCF Services " Peter Bromberg WP7: "Collision Detection on Windows Phone 7 " Andy Beaulieu Shoutouts: Just in case you missed Koen Zwikstra's Document Toolkit screencast, never fear... it's available online! Document Toolkit screencast (2) Tim Heuer announced some deep ...
In this Issue: John Papa, John McFetridge, Andy Schwam, Tim Heuer, Nigel Sampson(-2-, -3-), Shawn Wildermuth, Dave Relyea, Jesse Liberty, and Sigurd Snørteland. Above the Fold: Silverlight: "Silverlight 4: Drag and Drop DataGrids with Access to the Data Being Dropped" Andy Schwam WP7: "Windows Phone 7 For Silverlight Developers: Life Cycle " Jesse Liberty Shoutouts: Ian Griffiths announced free Silverlight Printing Video training at PluralSight until Sunday. From SilverlightCream.com: What’s Wrong ...
The BizTalk Server team announced today that BizTalk Server 2010 has RTMd. That's a relief, as my reputation was on the line regarding RTM before the end of the month. Just this Tuesday I confidently told a prospective customer to expect an imminent announcement. I've been playing with BTS 2010 for a little while now. It has been my constant companion while writing several chapters for the forthcoming BizTalk Server 2010 Unleashed. It looks great. As well as bringing BTS up to date with Visual Studio ...
Recently I blogged about WCF REST services with no svc file and no config. In this post I also discussed the pros/cons of WCF services as compared to using MVC controller actions for web services and I made the case that, in many instances, WCF REST services is better than using the MVC infrastructure because WCF provides: a more RESTful API with less work a convenient automatic help page to assist consumers of your service automatic format selection (i.e., xml/json) depending on HTTP headers In ...
Since sometime I have been toying with the idea of publishing developer interviews on my blog. There are a large number of non-Microsoft developers(ie, developers who are not MS employees) who have been doing good work. A lot of them are largely unknown to the worldwide developer community. Some are awarded MVPs, yet are not much known outside their league/ chosen technology. And there are many who haven’t received the MVP award, even though they strongly qualify for it through their relentless support ...
I've got a solution to running and debugging unit tests for WCF hosted services that utilize the CMServiceHost. Whether your generate your serivce proxy via WSDL (Add Service Reference) or Shared Contract (ClientFactory), the solution is similar. This email will detail how to invoke a WCF Service Host for testing in both scenarios. Testing a service client generated via "Add Service Reference" I'll illustrate the solution using the following sample unit test. Let's assume you've created a service ...
In this Issue: Michael Washington(-2-), Brian Noyes, Michael Ossou, Sharker Khaleed Mahmud, Mike Taulty, Jeremy Likness, Brad Tutterow(-2-), and András Velvárt. Above the Fold: Silverlight: "Best Practices for Themes in Modular Silverlight Applications " Jeremy Likness WP7: "Being theme aware in Windows Phone 7 Silverlight apps" András Velvárt Lightswitch: "LightSwitch Student Information System" Michael Washington Shoutouts: Erik Mork & Crew have their latest podcast up: Show 106: Jetpack themes ...
Hi, Shown below is one of the most easiest way to configure a BizTalk Receive Location which can receive any WCF Message based on the Binding type you provide in the configuration. This uses the WCF Custom WebService Host Factory. Where you can use this type of configurations? · Scenario where you need to send a WCF Message from .NET Code. · BizTalk Unit Testing. · Receive Locations which will be using ESB Toolkit receive locations. · and Many more. Anyways, below are the steps: - Create a IIS Virtual ...
Hi there everyone, We have a Webinar coming up for BizTalk Governance using SO-Aware on Thursday, October 28th 2010 (2:00PM to 3:00PM EST). Like you guys might be knowing now that SO-Aware is a "WCF RESTful Registry solution" and its one of the attractive feature is Centralizing Configurations. This webinar will be showing you some of those features and also how you can use SO-Aware extensively with other BizTalk Solutions. You can register/sign up here: http://tellagostudios.com/h... Meanwhile ...

If you experience some difficulties with a stored proc that contains some dynamic SQL, or if you intend to design such a procedure that will be executed by BizTalk (or more generally the WCF-SQL adapter), maybe this article can help :

http://geekswithblogs.net/SERivas/articles/biztalk-wcf-sql-and-dynamic-sql.aspx

What can we expect in .NET 5.0? All we've heard so far is Compiler Services - a veritable drought of info that curbs the enthusuasm of the developer community. Following is a series of what to expect in .NET 5.0 ... and what to wish for ... Entity Framework 5.0 - not quite there yet! WCF RIA / Data Services 5.0 - not quite there yet! Silverlight 5.0 / WPF 5.0 - not quite there yet! C# 5.0 - not quite there yet! Workflow 5.0 - not quite there yet! LightSwitch - not quite there yet! The developers ...
Model Functionality · Support for Enums for property types from lookup tables · Allow default date = DateTime.Now - The only way to set a default date in the entity data model is to put a hard date in there, a string. If you have a known default date (e.g. 1900-01-01) this is fine. But often we want NOW to be the default and there's no way to indicate that in the model. · Support for System.IO.Stream instead of Byte[] for varbinary type of fields · Support GUID as Entity Key -http://leedumond.com/blog/... ...
I love Silverlight and have written / talked about it a lot. I can’t help but notice that a lot of people are new to Silverlight or may have played with it a few times. Well this post is for you. It is a list of 15 things that I’ve discovered since I started developing for Silverlight. If you are a full-time Silverlight developer than I would hope you know most of these. I promise not to scare off anyone with talks of MVVM, Prism or MEF. 1) The line highlighted below represents the MIME type and ...
Integrate RIA and Data Services why do we need 2 high level service abstractions? DataSources · Aggregate and expose entities from multiple sources including other RIA / Data Services OData · Navigation Properties on Derived Types · Any / All LINQ Operators · OData Binary Serialization Format - Provide support for a binary wire format (to supplement JSON/ATOM). · Containment / Hierarchical Models - If I have a schema that has Orders and OrderDetails, I dont want /OrderDetails to be direclty accessible. ...
Merge Wpf and Silverlight to single framework · Merge both frameworks to use the same assemblies and controls (with optional functionality in separate assemblies) make a .net silverlight profile that would be a subset of .net client profile and used by partially trusted xaps. · Conditional compilation within Xaml - stopgap solution: for Silverlight/WPF differences in shared markup. · Support the direct hosting of Silverlight – stopgap solution: support the direct hosting of Silverlight in a WPF application ...
For those that didn’t know, I have recently left a long run at Thomson Reuters (which is a great company BTW) for a new gig as CIO of Swank Motion Pictures. This company works in the movie distribution business to cruise ships, trains, universities, and more. Some links if you are interested: http://www.onboardmovies.com/ http://www.swank.com/colleg... https://www.swankhealth.com http://www.k12digitalmovies... http://www.swank.com/digita... and more more more …. The thing is that ...
*Moved to: Calculating the Rank of your blog posts or pagesI had an idea to have blog posts, or Rules listed not in date order, or an arbitrary order, but in some sort of calculated order. For this I would need to get data from somewhere and I fancied using; Number of Comments, Number of Trackbacks, Reddit, Digg, FriendFeed Twitter and Google Page rank. In this sample I use the term Rangler as a cross between Wrangler and Rank, but they are really Data Collectors. Read more...Follow my new blog on ...
Entity Framework 4.0 (EF4) it the strategic .NET ORM from Microsoft. Hmm…. the “strategic” word. I will come back to that. However the important bit of news is we have Julie Lerman at Microsoft in London on the 22nd October devoting a full day to training on “Hard Core Entity Framework 4”. It’s a rare visit so if you’re interested in learning about the data stack from a recognised world-wide authority and author on the topic then register now (£300). Now back to that word “strategic”. As developers ...
In this Issue: Ben Wintringham, XNA Creators Club(-2-), Sony Arouje, John Papa, Mike Ormond, Microsoft(-2-), Jaana Metsamaa(-2-), Todd Knudsen, Jeremy Likness. Above the Fold: Silverlight: "Design-Time Friendly ViewModels with MEF " Jeremy Likness WP7: "XNA from Silverlight on Windows Phone 7 – Saving Pictures " Mike Ormond Training: "Create Games for Windows Phone 7 " XNA Creators Club Shoutouts: Charles Petzold will be presenting on WP7 in New York on October: Author news: Charles Petzold presenting ...
There is an interesting MSMQ 4.0 problem highlighted in the following KB article: 936502 A message is not received when you use the HTTP protocol to send the message from a Message Queuing client to a Message Queuing 4.0-based server http://support.microsoft.co... Basically, don't put ".SVC" in your queue names as otherwise IIS will get confused IF you have chosen WCF activation: The handlers for Windows Communication Foundation (WCF) are looking for this file extension ...
Microsoft All-In-One Code Framework is updated on 2010-09-06. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... Windows Shell Extension New Samples How to write a Windows Shell extension using managed code (C#/VB.NET) is an extremely ...
In this Issue: Emiel Jongerius, PostVision, Mike Taulty, Jesse Liberty, Laurent Duveau, Phil Middlemiss, Xianzhong Zhu, pauliom, Sudhindra Kovalam(-2-), and Alexander Viken. Shoutouts: The Silverlight Blog announced the release of a new WCF RIA Services (Silverlight QuickStart) John Papacreated a stir yesterday with his Top 10 Silverlight Blogs ... thanks for the shoutout John!! Jesse Liberty posted The Great Silverlight Competency Test – 3 From SilverlightCream.com: Datagrid: support for grouping ...
While working to get the AutoCompleteExtender control up and running in a custom DNN module, I ran across a forum post that said doing so "just works", which if you have previous ASP.NET AJAX experience and know what is and isn't in DNN is probably very true. Trying to get it to run for the first time though, there's a few items to be aware of. Getting Started First recommendation, go download Fiddler (http://www.fiddler2.com/fi... like now... no seriously go download it. If you are running ...
With Pete's guidance, it will feel like you have that super-smart coworker in your cubicle at all times. A new Silverlight 4 book is coming out on September 7th and I had a chance to review it before it hits shelves. After reading the book and some chapters multiple times, I can tell you that this is the best book for a developer wanting to learn Silverlight 4. If you are wondering if you should buy the book or not then let me answer that right now. YES. I would definitely recommend this book to ...
In this Issue: Peter Bromberg, Derik Whittaker(-2-), Paul Patterson, Michael Crump(-2-), Gill Cleeren and Kevin Dockx, Gergely Orosz, Dimitris - Ilias Gkanatsios, Jaime Rodriguez, and Georgi Atanasov. Shoutouts: My friend Koen Zwikstra poses the question How can we improve Silverlight Spy?... log into the forum and give him ideas. SilverlightShow announced Free SilverlightShow Webinar: Sketchflow in Real Scenarios Senthil Kumar announced Microsoft Patterns & Practices – Windows Phone 7 Developer ...
Normal 0 false false false EN-US X-NONE HI MicrosoftInternetExplorer4 /* 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; ...
Update 1 (Sept. 17, 2010): While the part below about using SLSvcUtil.exe to generate the service reference undoubtedly still works, it is no longer necessary. The RTM version of the Windows Phone Developer Tools now properly supports right-clicking on your game project's "References" item in the Solution Explorer and adding a Service Reference that way. ChannelFactory and related methods remain unsupported. For more details see http://msdn.microsoft.com/e... (Networking ...