This is my first post in this new year and was thinking about a topic to write on. Lately I have been working on varied things that flexes the brain muscles and things which I haven't done before. So a lot of learning and some unlearning this new year. One of the big issue which most people faces is learning to learn!.So, today I will share my experience of how I go about learning a technology, a skill or anything you want. The first and foremost thing is the motivation. This thing is very personal...
This post is an example of how to write a WCF Service using a class. The example uses Visual Studio 2010, written in C#, SQL Server 2008 and hosted in IIS. So lets have at it. The table is pretty simple just three columns, an TestID (int), Value1 (varchar(50)) and Value2 (varchar(50)). The stored procedure used will return one record from the table using the TestID as a parameter. Table SQL: CREATE TABLE [dbo].[Table_1]( [TestID] [int] IDENTITY(1,1) NOT NULL, [Value1] [varchar](50) NOT NULL, [Value2]...
As many of you may already know that, I'm working at a global gaming and entertainment company taking the responsible for design and implement the next generation platform which will be running on the cloud, and also design the cloud platform as well. Currently one of the goal is to replace the active directory integrated security and identity solution with certificate-based solution in our product. In short, we need to work with Active Directory Certificate Service to request and issue the certificates...
It is one more description of the Ordered Delivery (OD) in BizTalk. The main article about it is in MSDN. Here I am discussing the BizTalk Ordered Delivery “implementation details”. OD Considerations Ordered Delivery (sequential) mode is opposite of the “Parallel Delivery” mode. Parallel Delivery is the most productive mode; the Ordered Delivery is less productive mode. Transports such MSMQ and protocols, supporting the WS-ReliableMessaging, are the protocols supporting OD. Other protocols as FTP,...
I recently wrote a Type.GetInstance() extension method, and used the opportunity to play around with Expression Trees, which I'd recently read up on in C# in Depth. Here's the set of extension methods I came up with, which allow you to quickly create an instance of a Type from the Type itself; like this:// No constructor arguments:MyClass myClassInstance = (MyClass)typeof(MyClass).Ge... One constructor argument:MyClass myClassInstance = (MyClass)typeof(MyClass).Ge...
Wishing a very happy and blessed New Year to you in advance! A new release of Microsoft All-In-One Code Framework is available on December 29th. We expect that its 11 new code samples covering typical programming scenarios in Windows Phone 7, ASP.NET, WPF, Windows Shell, and WDK would ease your development in the coming New Year. You can download the code samples using Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand,...
One area here is not so well documented. When we are filling in the Transport properties for WCF adapter, we see the SOAP Action header section. What is it? Where we could take the values for Operations and Actions? If we use the Consume WCF Service wizard, this section is filled up automatically. But sometimes we have to fill it in manually. NP Open a WSDL for the Web-service and search for a binding section. If you add the “?wsdl” to the Web-service URL, usually the Web-service WSDL is opened....
I just finished reading new book on Microsoft BizTalk 2010 written by BizTalk colleagues Kent Weare, Richard Seroter, Thiago Almeida, Sergei Moukhnitski, and Carl Darski. There are many good books that explore core BizTalk features for beginners, intermediate, and advanced developers. This one stands out by the fact that it covers relatively less documented aspect of BizTalk development – integrating with different line of business applications. The subject is vast and diverse so attempt to fit it...
OverviewI've been looking into a solution recently which has a series of remote nodes publishing events to a central node. The publishers have no logic, they just need to contact the central node and record that an event has happened. Off the back of that, the central node does some work inferring what the event means, and computing its relationship to a bunch of other events. Simple enough, but the solution needs to be scalable and make efficient use of its resources. I started off building it around...
The main way that Twitter provides feeds is through JSON. Unfortunately the version of the .NET Framework that is on the phone does not include the System.Runtime.Serializatio... namespace. Rather than trying to brute force the JSON feed I have been looking into using the Newtonsoft JSON.NET library. The first thing that I ran into with JSON.NET is that the documentation is severely tilted to the serialization side with almost no mention of deserialization. This would have been my preferred approach...
I played a bit with WCF and security, but I had some trouble to create certificates between the server and the client.This article helped me out:9 simple steps to enable X.509 certificates on WCF...
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 /* 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;...
I was recently made aware of a couple of people having issues with WCF services (or ASP.NET applications) when using the MVVM Light project template for Silverlight. There is a blog post and a StackOverflow question, so what exactly is happening there? Well in fact it is pretty simple when you know how Silverlight connects to web services. Due to the security model of Silverlight, the application cannot connect to a web site if it is not originating of this very website. In laymen’s terms, it means...
Overview Windows HPC Server 2008 is infrastructure for high-end applications that require high performance computing clusters – i.e. for scaling out parallelizable across many compute nodes in a grid. These compute nodes can be coordinated by a head node , which in turn can be proxied via a service broker node that exposes a SOA WCF interface for job scheduling. Additional functionality includes the ability to coordinate between job processes running on nodes via MPI (message passing interface)....
I took a shot at new (to me) certification exam for BizTalk 2010. I was able to pass it without any preparation just based on the experience. That does not mean this exam is a very simple one. Comparing to previous (2006 R2) it covers some new areas (like WCF) and has some demanding questions and situation to think about. But the most challenging factor is broad feature coverage. Overall, the impression that if BizTalk continues to grow in scope it’s better to create separate exams for core functionality...
So I was tasked with looking at converting 10 million tracks from mp3 320k to AAC and also Converting from mp3 320k to mp3 128k After a bit of hunting around the tool you need to use is FFMPEG Download x64 WindowsAlso for the best results get the Nero AACEncoder Download Now the command line STEP 1(From Flac)ffmpeg -i input.flac -f wav - | neroAacEnc -ignorelength -q 0.5 -if - -of output.m4aor (From mp3)ffmpeg -i input.mp3 -f wav - | neroAacEnc -ignorelength -q 0.5 -if - -of output.m4aNow the output.m4a...
The software industry lives within an interesting paradox. IT in the enterprise moves slowly and cautiously, upgrading only when safe and necessary. IT interests intentionally live in the past. On the other hand, developers, and Independent Software Vendors (ISVs) not only want to use the latest and greatest technologies, but this constituency prides itself on gauging tech’s future, and basing its present-day strategy upon it. Normally, we as an industry manage this paradox with a shrug of the shoulder...
Moved from Home to work and went to fire up my project and after long pause "The provider did not return a ProviderManifestToken string" or even More Abscure ProviderIncompatable Exception Now after 20 mins of chasing my tail re different ver of EntityFramework 4.1 vs 4.2...blahblahblah Look inside at the inner exception A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible DOH!!!! Or a clean translation...
In this Issue: Michael Washington, Oliver Fuh, Jeremy Likness, Derik Whittaker, Jesse Liberty, Jeff Blankenburg(-2-), and Michael Crump. Above the Fold: Silverlight: "Handling Extremely Large Data Sets in Silverlight" Jeremy Likness WP7: "31 Days of Mango | Day #8: Contacts API" Jeff Blankenburg LightSwitch: "LightSwitch Chat Application Using A Data Source Extension" Michael Washington Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest Visual Studio...
Was working @ home and then arrived nice and early on Monday armed with all this good stuff I did on the weekend. Login,Headphones On, Check Mail and make cup of tea. Goto load up Solution I was working on the weekend@ home What the !!!... If you edit the unloaded Project you will find something like this For some Murphys rule reason even after hitting VS2010 with SP 1 my work box has lost MVC3 so thats why {E53F8FEA-EAE0-44A6-8774-FF... is unknown This site has a list of the VS system guids...
So I thought I would change the name of my machine so that the other devs can find the TFS server easily. TFS 2005 would use the cool cmd line util tfsadminutil.....alas he is now gone HERE Are the steps to complete Edit the web.config and is usually located on default install C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\web.config <add key="applicationDatabase" value="Data Source=JUSTIN\SQLI01;Initial Catalog=Tfs_Configuration;I... Security=True;"...
In this Issue: Michael Washington, WindowsPhoneGeek, Jeremy Likness, Mike Taulty, Erno de Weerd, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, and Avi Pilosof. Above the Fold: Silverlight: "Using Jounce Navigation to Create OOB Child Windows in Silverlight 5" Jeremy Likness WP7: "Video on How to work with WCF Services in Windows Phone 7" Dhananjay Kumar Metro/WinRT/WIndows 8: "Development Tip – Tab Control" Avi Pilosof LightSwitch: "Connecting To A .CSV or Excel File...
One of our .net application teams has had a problem for quite a while that related to impersonation and kerberos multi-hop delegation which had proven quite difficult to resolve. We eventually resolved this and I thought it would be worth popping a little bit of information about it out there incase anyone else has similar problems. We had two web services with 2 methods which participate in a Kerberos multi-hop delegation scenario using WSE 2. One of the methods works fine all of the time and the...
The Azure Table service, provides a semi-structured storage in the form of tables that contain a collection of entities, these entities have primary keys and set of properties. A property is a name, typed-value pair. Every entity in table storage has two key properties, Partition Key and the Row key which together uniquely identify each entity in the table. The Table Service API is compliant with REST API provided by WCF Data Services. In order to use the WCF Data Services Client Library to access...
It is always difficult to find a job during recession. One of the drastic effects of recession is that companies are having a hard time earning or posting a profit. This means that they have to make some adjustments in their business operation and one of those adjustments is to terminate employees. Keeping employees during recession is seen as a bad business move because they have to be given salaries which do not really reflect the earnings of the company. If employees are terminated, the company...
BizTalk Server 2010 - Using the WCF-SQL adapter to make multiple stored procedure calls A recent project that I was working on required that I take an incoming flat file, containing multiple transaction records, and load these transactions into a database. Within the source file were multiple instances of any of seven transaction types. The database had a separate table for each transaction type, each with its own stored procedure for inserting a record. So thats seven transaction types and seven...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for October 10 - 16, 2011. Here are the top 5 news on SilverlightShow for last week: Free Silverlight Show Webinar: Introduction to XAML Development on Windows 8 Announcing WCF Data Services Oct 2011 CTP for .NET 4 and Silverlight 4 Five things you'll love about Windows Phone 7.5 Mango WP7.5 Mango: The Good, The Bad and the Ugly 5 ways to wring more revenue out of your mobile apps Visit and bookmark SilverlightShow....
BizTalk parties are external entities that BizTalk communicates with. You create parties in the admin console to determine how (or where) messages are routed, as well as controlling various pieces of envelope information for EDI messages. Today I'm going to walk through a very simple method of routing a message through an orchestration to any location based just on the party name. Begin by creating a new BizTalk solution. Add a schema called PurchaseOrder that looks like this: Promote the customer...
Hace algún tiempo me consultaban como comunicar un dispositivo móvil con un servicio WCF[Windows Communication Foundation] , sin embargo me escribieron indicándome que habían seguido los pasos de algunos post pero no tenían éxito al generar el proxy que permite al dispositivo comunicarse con el servicio WCF. Trate de revisar el caso ya que aparentemente revisando los pasos todo estaba correcto y efectivamente no se generaba el proxy y devuelve un error de : C:\Program Files\Microsoft.NET\SDK\Com...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for October 03 - 09, 2011. Here are the top 5 news on SilverlightShow for last week: Silverlight Toolkit (September 2011) for Silverlight 5–What’s new? Installing Mango on Samsung Omnia 7 Get Ready for the Windows Phone 7 Exam 70-599 With Our Brand New Ebook! [Silverlight 5] Getting started with PivotViewer “Active” Federation with Silverlight, WCF, and WIF Visit and bookmark SilverlightShow. Stay in the 'Light...
I'm a big fan of automated testing which actually proves something. Unit tests may prove all the components in a solution work independently, but that doesn't mean you have a working solution. Integration tests give you confidence in the whole solution, but the cost of having a test suite with a lot of external dependencies is the risk of false build failures and long-running test suites. To get something in between, we have acceptance tests written in SpecFlow which run tests at the highest layer...
Error: There is a temporary failure. Please retry later. (The request failed, because you exceeded quota limits for this hour. If you experience this often, upgrade your subscription to a higher one). Additional Information : Throttling due to resource : Connections." If you Google this issue, you only find different blogs and forums where geeks discussing this issue and giving suggestion to each other. Even when I counter this issue I also review my application architecture and I re-write the Azure...
OOook, those who know me, or have read my blog probably have a pretty good idea that I’m a silverlight, wpf, wcf, c#, xamly kinda guy. I’ve never really done anything webby, the closest I’ve gotten is doing a bit of backend stuff, well, times change, and quite frankly I wanted to do something new… soooo I’ve opted to go down the MVC route, for two main reasons – 1, I figured I may as well learn a good framework, 2, Matt Abbott told me that MVC lets you get dirty with HTML, and that’s one of the things...
When you make a service available external to your corporate network sometimes SSL isn’t secure enough. If you really want to limit the users who can access a service they need to tied to credentials. One of the most common credentials to tie to is a Windows account. What if you are the consumer of these services. When you add a service reference to a Visual Studio 2010 project it does not give you a chance to set credentials. The following example is how you can apply credentials to a service reference....
Is your WFC Service hitting the Maximum Limits set on the default service configurations? Open up the artificial constraints of the WCF Service Debugging WCF Services and message sizes. Caveat emptor: If you need to increase the size of the of the contracts, it probably indicates that you should reexamine the design of your data contract. In any case, to “Open Up” the service, you will need to set on both the client and server side configurations: 1. Timeouts 2. Message Sizes 3. Max Objects In Graph...
Windows Azure AppFabric ofrece servicios en dos areas distintas. La primera la forman servicios de middleware como Service Bus, Access Control, Caching e Integration. La segunda está formada por un servicio para contener aplicaciones AppFabric, un gestor de estas aplicaciones que se ofrece desde el portal de la plataforma y herramientas para el desarrollo de este tipo de aplicaciones. La segunda area, Windows Azure AppFabric Applications, está en CTP desde Junio pasado y es el motivo de este post....
In this Issue: AfricanGeek, Andrea Boschin, Colin Eberhardt, Anoop Madhusudanan, Lee, Laurent Bugnion, Rudi Grobler, Xianzhong Zhu, Jesse Liberty, Asim Sajjad, Dhananjay Kumar, XAMLNinja, and Kunal Chowdhury. Above the Fold: Silverlight: "Develop a Flexible 2.5D Scene Editor Targeting Silverlight RPG Games - Part 2" Xianzhong Zhu WP7: "A Windows Phone 7.1 (Mango) MVVM Tombstoning Example" Colin Eberhardt Metro/WinRT/Windows 8: "Consuming WCF Service in Windows 8 XAML/C# metro application" AfricanGeek...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for September 26 - October 02, 2011. Here are the top 5 news on SilverlightShow for last week: The Top 10 Over-Engineering Mistakes in Silverlight Applications Recording of yesterday's webinar 'WCF RIA POCO Domain Services' available online Developers get MORE with Windows Phone 7.5 Developing Windows Phone 7 HTML5 apps with PhoneGap Silverlight 5 P-Invoke: Using Kinect SDK from Silverlight Visit and bookmark...
Hello everyone, I've faced a weird problem when I was deploying FAST for Sharepoint, is that when I search, the results URL is not mapping correctly to the AAMs that I've defined for it. So, When I opened the event viewer, I've found 2 critical errors that keep on occuring every fixed time interval which were: The Execute method of job definition Microsoft.Office.Server.Sea... (ID 75aabb8d-11c6-4d32-9d0d-ec6... threw an exception. More information...
Yes, all unhandled exceptions will kill the IIS worker process, but in WCF you can tag an IErrorHandler onto your service behavior and all unhandled exceptions will be neatly taken care of. Unless that exception is thrown from a factory task, in which case the error handler is bypassed and the worker process is killed. So this code: public ServiceResponse OnBoardClient(Client newClient) { if (IsValid(newClient)) { var client = newClient; Task.Factory.StartNew(() => OnBoardClientInternal(clien...
This example is not covered in the ESB Toolkit samples and I bumped my forehead a few times while making it work. I thought it’d be helpful to save other fellow BizTalk'ers from headaches by publishing findings. I have been fun of dynamic generic messaging for quite a while and went long ways to avoid working with typed messages and static bindings when it made sense. Nowadays, with the ESB Toolkit one does not have to spend much effort to achieve this goal. But one has to learn intricacies of configuration...
In this Issue: Peter Kuhn, Scott Hanselman, David Anson, Kunal Chowdhury, Beth Massi, Rajat Jaiswal, MIke Ormond, WindowsPhoneGeek, Xianzhong Zhu, Jesse Liberty, Derik Whittaker, Morten Nielsen, Sumit Dutta, Asim Sajjad, and Dhananjay Kumar. Above the Fold: Silverlight: "How To Use DataTriggers In Silverlight DataGrid" Dhananjay Kumar WP7: "Windows Phone eBook 1st Edition Published" MIke Ormond LightSwitch: "Filtering Lookup Lists with Large Amounts of Data on Data Entry Screens" Beth Massi Windows...
At last, I can announce that ‘BizTalk Server 2010 Unleashed’ has been published and is available through major booksellers in both printed and electronic form. The book is not a new edition of the old ‘BizTalk Server 2004 Unleashed’ book from several years ago, although Brian Loesgen, our fearless team leader, provided continuity with that title. Instead, this is entirely new content written by a team of six authors, including myself. BizTalk Server is such a huge subject. It proved a challenge to...
For more formatted view .. Goto http://ankitagrawal57.blogs... any web application, performance is basic necessity. Earlier internet speed used to be limited thus users got inclined to pages which load within 3-4 secs. But now the internet speed is no more a constraint but still time does remain a constraint. Imagine yourself visiting a website which takes a lot of time (30 – 60 secs) just to load the page. You would not like to go to that site again.To mitigate this issue, developers and...
Are you passionate about your job? Do you enjoy programming? Do you think you're any good at it? One of the things that make me productive as a developer are the tools and products I use. However, these tools seem to try and grab all my attention. When I go to a conference, or read a blog entry, I'm bombarded with them: Windows 8, Visual Studio 11, TFS, WCF, Silverlight, MEF, OData, Lightswitch, LabManagement, NuGet, ... it just doesn't stop, and I know I will never be able to keep up with all of...
At the beginning I want to inform that I've already read the similar question here: Entity Framework 4.0: is it worthy now? but it does not answer my questions and doubts concerning EF 4.0. Here's the case: We are working on a quite big project written in WPF and WCF. The structure of the database contains about 60 tables, lots of stored procedures, views and some functions. We are not using any ORM at the moment. Some time ago when the first version of EF was release we did not go with it because...
One benefit of my recent experience on a BA flight was that I got plenty of time to read through “Microsoft BizTalk 2010 Line of Business Systems Integration”. I’d promised the publisher weeks ago that I would take a look and publish some comments, but August has been such a busy month for me, and they have had to be patient. I should point out that, for the sake of transparency, that with another BizTalk book about to be released (next week) which I helped co-author, I have an urgent and obvious...
.Net has several methods of serialization and sometimes it causes a lot of confusion even for experienced programmers. I believe the best article to describe the different methods is Aaron Skonnard’s Serialization in Windows Communication Foundation(MSDN Magazine > Issues > 2006 > August) (by some reason it’s not highly rated by Google and other articles are coming first for Serialization related requests) There is also a brief comparison table in StackOverflow What are the differences between...
Programming for Metro Metro is the future http://zd.net/rnT9VZ .NET is for old apps. WinRT replaces WPF & WCF. XAML is big. There were no Silverlight sessions. HTML 5 and Javascript ( Blend for HTML) are back in fashion – I wont dwell on this because web apps are (inconsistently) simplistic in concept and over-complex in development. Yes, all those XAML skills are portable, Silverlight (RIP) apps can run as Metro apps with a bit of fidgeting with namespaces – you just need to know what controls...
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows...