Tag | wcf Posts

I’m sure by now you know that the Visual Studio 2010 and .NET Framework 4 Beta has been released. If not, get it here. There are also some great training resources already available! The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including: C# 4.0 Visual Basic 10 F# Parallel Extensions Windows Communication Foundation ...
In this Issue: Rob Bagby, Paul Sheriff, Mike Taulty, Sergey Barskiy, and Gavin Wignall. Shoutout: Here's a quick one from the Expression blog: Export to Microsoft Word From SilverlightCream.com: Patterns-Based Silverlight Development – Part IV – Service Layer Rob Bagby has Part 4 of his excellent Patterns-Based Silverlight Development series up. He's addig the WCF service this time. Create a Login Screen in Silverlight 3 Paul Sheriff had a post up of a login screen in WPF that I archived in my Tag ...
Today I was trying to call ASP.Net web service from JQuery. I thought it was easy first. But when tried implementing them I felt the difficulty. I don't had this problem while calling Ajax enabled WCF service from JQuery. Hence I did a small Bing and found out some useful tips to share. I referred links below. http://www.mikesdotnetting.... http://www.dotnetcurry.com/... http://encosia.com/2008/03/... ...
WCF REST Starter Kit Preview 2 contains not only tools for creating REST services. It include rich set of client tools, that allow to do HTTP-requests and process service response in more convenient way. I create small overview of it basic features. We’ll create a simple WPF desktop client for Yahoo Shopping Web Services. Our client sill search products by the keyword. Details of Search API is available here, but information about GET-request format and service URI is enough. For example, if we want ...
In this Issue: Mark Tucker, Pete Brown, The Silverlight Blog, Katrien De Graeve, Gavin Wignall, Rob Bagby, Nigel Sampson, Gergely Orosz, and The Microsoft Expression Blog. Shoutouts: Check out Walt Ritscher's Shazzam 1.1 – Topic List jfo has a quick post up Beta2 is out -- What's new in Cider Brad Abrams has an index page up for his .NET RIA Services series: Index for Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update. Or you could use the Search page at SilverlightCream.com ...
I was using Gzip Encoder to compress wcf message, it surprised me that sometimes the compression message size is even bigger than the original size, so I looked the code, I found within GZipMessageEncoderFactory.cs, the method "CompressBuffer" in the GZipMessageEncoderFactory class is not quite right. it was like this originally: private static ArraySegment<byte> CompressBuffer(ArraySegment... buffer, BufferManager bufferManager, int messageOffset) { .... var byteArray = new ArraySegment<byte>(bu... ...
Been using ReliableSessionBindingElement within WCF, I found we can not set the retry interval, as we only can set MaxRetryCount. WCF uses an internal algorithm to determine when to retransmit, based on a computed average round-trip time. The initial retry time is computed based on the measured roundtrip time of establishing the session. The retransmission algorithm doubles the delay with every attempt, for example, if we set the MaxRetryCount to 8(default), if WCF determines the initial retry time ...
So you are going to an event with 7,000 people that have similar interests to learn about a product that you have a vague idea about…I was excited prior to the event and nervous. I had a very bad week before the event. Every piece of technology that I brought with me to St. Louis broke. I had little sleep trying to get my code done and my technology to the point I started out with that Monday. Finally by Friday I was beat and hung out with my friends…On Saturday I went to Coders and everything after ...
Implementing callback in WCF services. This is a way of writing asynchronous code using wcf services. But do we know why to do this explicitly when adding a service reference also gives you a facility of generating asynchronous operations? This is because the asynchronous operations which we generate while adding service reference are not fake asynchronous calls, in fact they are synchronous call only, just let code not to wait for the response/ notification and it has its timeout period and will ...
I’ve just posted the second in a series of webcasts looking at Workflow Foundation 4.0 in Visual Studio 2010 Beta 2. This time the flowchart workflow designer takes centre stage, and I use it to build a basic workflow for the flight check-in process at an airport. I also make a few calls to a WCF service from the workflow using the new messaging activities, I’m going to focus on those next and hopefully get another webcast out very soon. Stay tuned... The webcast is here ...
This morning, Channel 9 launched the new Channel 9 Learning Center. From Channel 9, here’s a description of what the Learning Center is: “The Channel 9 Learning Center is the destination for free technical training on emerging Microsoft products and technologies. The Learning Center consists of a set of courses with each course including a set of videos, hands-on labs, and source code samples to get you up-to-speed quickly.” I’m pleased to say that Visual Studio 2010 is one of the first Training ...
The Beta 2 version of DPE’s Visual Studio 2010 Training Kit is now live (you can find it at http://tinyurl.com/Beta2Tra... A training kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize a variety of Visual Studio 2010 and .NET Framework 4 technologies. The Beta 2 release of the Training Kit contains 15 presentations, 19 hands-on labs, and 13 demos. Many technologies are covered in this release, including: C# 4, VB 10, F#, Parallel Extensions, ...
I have been working on database synchronization for a couple of weeks, and seems it at the final testing stage, I am using Microsoft Sync Framework 2.0, the DB server is SQL server 2008 Standard, and clients are SQL Server 2008 Express as I use Change Tracking to track DB changes instead of TombStone Tables and Guid tracking columns, I use WCF+IIS+SSL to host server side service, the binding uses Gzip binary encoding. The reason we are not using SQL Server Replication is because our tables need dynamic ...
I can't believe how long this took to figure out, I think I read every WCF tutorial out there, and now I look at it it's so mind bogglingly simple I don't know what I wasted my time doing! All I wanted was a WCF service that would accept a POST from jQuery with some JSON parameters and return some HTML, but it seems I repeatedly cocked up the JSON string format and the attributes for the contract. Anyway, here's a simple example so you don't have to endure my frustration. I used .NET 4.0 because ...
It’s been a while since I’ve blogged since things have been crazy busy. I finally decided to kick myself and do a post so without further ado, the problem at hand: A co-worker of mine asked me whether its possible to dynamically create a type from some data he is receiving from a WCF service (over HTTP). My natural response was, why would you need to do that since Visual Studio creates a proxy from the metadata exposed by the service and the return types would typically be DataContracts. Well, it ...
I took the certification exam for 70-503 - .NET Framework 3.5 - Windows Communication Foundation last month and passed it with a score of 700. Passing score is 700. I prepared from the "Programming WCF Services – Juval Lowy" book. This book is one of the best resources for WCF, it is more like a reference book. The MCTS book does not cover a lot. Technorati Tags: WCF,MCTS,70-503,Web services,.NET 3.5 ...
Yesterday working in a demo about WCF-REST Starter Kit (http://www.asp.net/downloa... i had a little issue to make a query to a XML Structure that includes a xml namespace (aka xmlns), the trick is very simple to get the value from each element in the structure, you should pass the XName in Elements method including the XNamespace This is my XML structure <ItemInfoList xmlns:i="http://www.w3.org/... - <ItemInfo> <EditLink>http://loca... ...
I’ve been working on converting a complex, distributed, real-world application to the cloud. It’s been an exciting journey, but also one filled with little gotchas. One such gotcha was a failure on startup of dev fabric when running a web role containing a series of WCF services. The specific exception I got ended up being a PathTooLongException. I dug into the problem and discovered that the folder hierarchy for the ‘deployed’ artifacts running on the local dev fabric is crazy long. As my project ...
I was trying to regenerate a Silverlight proxy, but I kept getting this error: Turns out, Win 7 sometimes adds an <extendedProtectionPolicy policyEnforcement="Never" /> element to your Web.config. Here’s the workaround according to the Silverlight Web Services team: On Windows 7, when you use the Silverlight-enabled WCF Service item template, an <extendedProtectionPolicy /> element may be generated in Web.config. This element is not supported by Silverlight. Simply remove the element ...
In this Issue: Mark Monster, Gavin Wignall, Fernando Cerqueira, Silverlight Tips, Mark Tucker, Mike Taulty, Robbe Morris, Brad Abrams, Christopher Bennage, and Victor Gaudioso. Shoutouts: The Silverlight Blog reports Silverlight Spikes AVP Pro Beach Volleyball Matches Live to Your Computer From SilverlightCream.com: Silverlight 3 – Local Messaging Explained + Enhancement Mark Monster has a great detailed post up on Local Messaging, and adds in an enhancement of his own.Using Images and Video in Blend ...
.NET University has a variety of presentations available for download, including code examples and videos. Use the materials to learn or to present at your next DNUG meeting ;) The presentations cover a variety of different topics, so if you’ve already got a presentation planned and you just want to compare, be sure to check’em out. All the popular topics like Silverlight, WPF, WCF, LINQ, and ASP.NET MVC are covered. Instant presentations, just add presenter. http://www.dotnet-u.com Technorati Tags: ...
In this Issue: Jared Bienz, Tim Heuer, Sergey Barskiy, Alex Knight, Gavin Wignall, Damon Payne, Peter Bromberg, Shawn Wildermuth, and Mark Tucker. Shoutouts: Robbe Morris at EggHead Cafe has put up EggHeadCafe in Silverlight Release Candidate Now Available. Would be cool to see a series of articles detailing this :) John Bruin has a demo of of Silverlight Money Pyramid. This is pretty cool... I don't see a link for source though :( From SilverlightCream.com: Skins for WPF and Silverlight By way of ...
One of the biggest successes of any technology platform is the success of its communities that back it, and in my opinion this has been one of the biggest contributing factors of SharePoint's ever growing popularity. So in contract if you look at the community effort for a product such as Commerce Server, which itself is a niche – but one that is now starting to head into mainstream with the achievements of Commerce Server 2009 and its alignment with both the SharePoint family, and moving into the ...
First I'd like to congratulate all the returning MVPs, and all the new ones... fun awaits and I hope to see you all at the Summit! I'd particularly like to call out people I know that have just become Silverlight MVPS. Tim Heuer did a great post with links to everyone, so I won't repeat that. Bryant Likes -- wow... it's been a well-earned award all the way back to rolling that gear, Bryant :) Jeff Paries ... if you're not familiar with Jeff, you should be... Jeff is the animation master of Silverlight! ...
Its been quite long time I haven't wrote much due to lot of travelling and non-core area related work (non connected systems, SOA & BPM work). Now, I am back and the good news is I will be drinking, eating and breathing some of the buzzwords..(because of the solutions I am concentrating and architecture of current project I am in) So, Some Buzzwords I am really gonna look/work and more deep dive areas are mentioned below… 1) SOA – Service Oriented Architecture, The most controversial Architecture ...
I just found out today that I was awarded the MVP designation from Microsoft in the area of ASP.NET. It has been a very busy 2009 for me, speaking at various user groups and code camps including CMAP, CapArea, RockNUG, SoMDNUG, FredNUG, and Richmond Code Camp. I would like to thank all of those user groups for having me present and I look forward to continuing my involvement with all of those user groups and more in the year to come. With .NET 4.0 and the 2010 wave just around the corner, the upcoming ...
The debate has risen of what the best practice is for WCF proxies, should they be generated using Visual Studio references pointing to a WSDL or should they be hand coded and shared alongside service and data contracts through libraries? Now, admittedly of course using the WSDL option is the instant preference for WCF services that have the potential of facing non .net clients, but what about those who for all intents and purposes will likely forever be consumed by .net clients? Yavor Georiev from ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE 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; ...
[Source: http://geekswithblogs.net/E... For a forthcoming celebration, I've been working on a jukebox web application: The client controls the music being played on the server, so its intended for local networks where you want shared control of a central music player. If you can find a use for it, help yourself – it's on CodePlex here: The People's Jukebox. If nothing else it's a straightforward example of a Silverlight 2.0 client talking to WCF REST services, in what's probably a familiar ...
In this Issue: Colin Eberhardt, Boyan Mihaylov, Silverlight SDK, Christopher Bennage, Stephen Forte, Jacek Ciereszko, Jesse Liberty, and Mark Tucker. I'm still at least 2 days behind, but the crunch is over, so now I can maybe catch up. From SilverlightCream.com: Helpful extension methods for Show / Hide animations in Silverlight Colin Eberhardt is sharing some of the code he uses regularly by way of Extension Methods to Show/Hide animations, and boy that demo works great... thanks Colin!Creating ...
Lors de mes essais de Visual Studio 10, j’ai été confronté à l’installation de IIS 7 sous Win7. Après de longues recherches, il d’avère qu’il est de loin préférable d’installer les composantes IIS 7 avant d’installer VS10. Si vous êtes comme moi et que vous avez des problèmes : 1- Exécuter les lignes de commandes suivantes. Elles auront pour effet d’ajouter les features d’IIS utiles pour le développement. start /w pkgmgr /iu:IIS-WebServerRole; start /w pkgmgr /iu:IIS-WebServerRole;WAS-W... ...
Tonight Joe Besse gave a great presentation on WCF to our .Net user group. Sparkhound (thanks Mike!) and me were the sponsors and we had 23 people show up despite the nasty, rainy weather. Incase you don’t know, Baton Rouge pretty much shuts down when we get bad weather. Joe talked about the ABCs (Address Binding Contract) of WCF, showed how to configure a service in the config file as well as in code. He had a little trouble running his demo of a service that returned random pixel values. He’s not ...
ASP.NET MVC Reports in ASP.NET MVC Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC Setting Up ASP.NET MVC with NUnit for Visual Studio 2008 Standard Edition ASP.NET MVC ExtJS using LINQ Using ExtJS Grid with ASP.NET Ajax WCF WebServices & C# How To Get Started With Selenium Core And ASP.NET MVC ASP.NET MVC Cheat Sheets ASP.NET How to Implement Trackback Handler in ASP.NET How to Implement Pingback Handler in ...
I’ll be very busy over the coming weeks wrapping up a big project for a client so I won’t have much time to write. Here is a brief update on happenings. This week I was able to purchase my PDC 2009 ticket. I am very much looking forward to this event as there are a LOT of exciting topics with the upcoming releases, Office 2010, VSTS 2010, and .NET 4.0. I’ll be pretty busy after this event doing presentations at work, for clients, and a few user groups in the area after learning more at the PDC. Next ...
I am visiting beautiful city of Nashvillie, TN, US and involoved in rather interesting project involving WCF, silverlight and SQL server 2008. Also being used are Search server (FAST) / Lucene .Net Omniture (for Web analytics) Integration with Community server, Twitter, Facebook Velocity – Distributed caching. MemCache – Web server Cache I am also planning to use Nikhil’s MVVM Silverlight Fx at silverlight end or MEF LINQ / Enity framework - for ORM. That remind me of scenario where i had to register ...
At last i got some time to work on long pending “project: i have thought of. This one is about listing all twitter friends in a connected graph and see their statuses. It uses Twitter API and WCF service to feed the silverlight. WCF acts as an adapter to twitter service. The idea is to connect to other services like “orkut”, “facebook”, “Mayspace” etc in future. It uses SL 3.0; so you must have it installed to run this: Here are the snapshots of the running application.(Running in flock)!! You may ...
I was having an discussion with my wife on things to come in computer software and silverlight. below is a brief snippet: My wife holds an computer engineering degree and is passionate about new innovations. She is a prolific programmer though she ONLY codes when she feels like(or finds a problem worth her attention) and thus is NOT a regular coder like mortals like me who are ... well, just coders, who codes for money:D Wife: What is this buzz around Silverlight? Subodh: Because we need smarter ...
In this Issue: Bob Bartholomay, Mark Tucker, Chris Klug, Damon Payne, Phani Raj, John Papa, Victor Gaudioso, Jonathan van de Veen, Tomasz Janczuk, and Fredrik Normén. Shoutout: Chad Campbell has the material up from his Silverlight – An Out of Browser Experience Presentation Laurent Duveau announced Free e-learning on XAML from Microsoft From SilverlightCream.com: Graphical Skinning Comes to Silverlight I blogged Pete Blois' 9 Grids post, and Bob Bartholomay is reiterating that with some explanation ...
I have been developing asp code for quite some time now. I started out with interdev 1.0 way back when. From what I can see we have seen 3 major revisions of ASP. Classic ASP Archiac to say the least but hindsight is always 20-20. Great intro into web development, we started n-tier development here, most sights were done in a 2 tier environment, and at the end of its lifetime we started developing 3 tier environments with SOAP. ASP.Net in all its flavors (1.0,2.0,3.0,3.5) What can we say asp.net ...
[Source: http://geekswithblogs.net/E... The ASP.NET Web Part framework uses a plug-in framework for loading and saving personalization data to a persistent source. Out of the box, a SQL Server data source is provided (via the aspnet_regsql tool), along with a SQL personalization provider – specified in the system.web configuration section: <webParts enableExport="true"> <personalization defaultProvider="SqlPersona... "> <providers> <add name="SqlPersonalizationPro... ...
In this Issue: Allan Muller, Mark Monster, Kirupa, Shawn Wildermuth, Nikhil Kothari, John Papa, Expression Blend and Design Blog, Terence Tsang, Microsoft Expresson Product Site, and Matthias Shapiro. Shoutout: Randi Relander posted another new game on his SilverGames site: Silver Games Checkers: 0.0.1 Released I mentioned Silverlight.XP from Fons Sonnemans and Loek van den Ouweland when it first went live, but I thought I'd mention it again since it's starting to get some traction: Silverlight.XP ...
Approximately hardly there is more than year back we have seen a new services platform - ADO.NET Data Services. Its occurrence has marked the beginning of wide use of the REST-approach by many developers. At that time this platform was represented as the convenient tool for access to data through HTTP. Lately it is possible to understand, that this tool is really successful - huge number of developers have started to use immediately it in the projects. The reason for it is quite logical - use of ...
I had to send a big object across the wire- An collection containing 31,000 objects each with their own complex object graph (don't ask) and I was really running into problems with WCF crapping out on the call. I did all the obvious stuff to the server web.config... maxBufferSize="2147483647" maxReceivedMessageSize="214... maxItemsInObjectGraph="2147... But it still wasn't working. Luckily I had a few awesome friends come to my rescue: D'Arcy Lussier and Jason Klassen sent me the following- ...
I’ve just added two more webcasts to the “BizTalk Light and Easy” series, with a webcast on the HL7 Accelerator from Mark Brimble and the WCF-Oracle adapter from Miguel Herrera. It’s great to see good coverage of some of the less mainstream bits of BizTalk Server, very useful to have if you are working with it in a project. www.CloudCasts.net You can also follow CloucCasts on Twitter: http://twitter.com/CloudCasts ...
Until the days of Biztalk 2006R2, the SQL Port was Static only and did not support dynamic ports. BizTalk 2009 fully supports Dynamic SQL Ports, both for the regular out-of-the-box SQL Adapter and the new WCF SQL adapter. For the regular SQL Adapter (which is being deprecated by microsoft), three new Message Context properties are available: (SQL.ResponseDocumentRootEl... (SQL.DocumentTargetNamespace) (SQL.ConnectionString) Configuring these properties, together with (Microsoft.XLANGs.BaseTypes... ...
Documents: White paper - BizTalk Adapter Pack: Connecting LOB Systems and Microsoft Office SharePoint Server: http://msdn.microsoft.com/e... White paper - BizTalk Server and WCF Support in Visual Studio 2008: http://msdn.microsoft.com/e... Downloads: Microsoft BizTalk Adapter Pack Readme and Microsoft BizTalk Adapter Pack Installation Guide Download the latest readme and the installation instructions for the BizTalk Adapter Pack: http://www.microsoft.com/do... ...
Recently (1 year or so) I started applying .NET WCF into some functionalities across my servers, one thing I noticed on my learning process is the different ways we have for having both the client and the service to be aware of the contracts (both the Service and the Data contract). THE PROBLEM: In design mode we have to have a reliable way for having the same signature for the service contract definition both on the client and the service as well as the data contracts. One way to achieve this is ...
WCF Proxy need to be closed explicitly and if you are using the using() statement, you have the possibility of loosing the original exception. You can find details about this issue in the following posts. http://social.msdn.microsof... http://geekswithblogs.net/m... Marc Gravell presented a great idea to have a wrapper so as to overcome this issue. http://marcgravell.blogspot... ...
So lets say you want to test early development builds in a continuously integrated system. You want to take all your developers code and execute it on a seperate box and be able to test client access to your system remotely. Yeah you could put it up in staging on Azure but maybe you dont want to do that yet. Maybe you just want some testers bangin away at it from some remote client. Well right now thats kinda hard since the development fabric carries a restriction to deny request from non-localhost ...
The next regularly-scheduled meeting of the Phoenix Silverlight User Group is Wednesday September 2. We meet at Interface Technical Training at roughly Central and Thomas in downtown Phoenix beginning with pizza and socializing at 6PM meeting after and running until 8PM. This month Les Brown, a consultant at Sogeti, will be presenting "The differences of (WCF, ADO Data Service, and RIA) in relation to data binding and use Silverlight toolkit controls as a primer". Get another great presentation from ...