<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>WCF Ria Services</title>
	<atom:link href="http://greggum.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://greggum.wordpress.com</link>
	<description>Finding Meaning in Alphabet Soup</description>
	<lastBuildDate>Sun, 30 Jan 2011 20:29:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='greggum.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>WCF Ria Services</title>
		<link>http://greggum.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://greggum.wordpress.com/osd.xml" title="WCF Ria Services" />
	<atom:link rel='hub' href='http://greggum.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Basic Strategy &#8211; What&#8217;s your position?</title>
		<link>http://greggum.wordpress.com/2011/01/30/basic-strategy-whats-your-position/</link>
		<comments>http://greggum.wordpress.com/2011/01/30/basic-strategy-whats-your-position/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 20:29:54 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=85</guid>
		<description><![CDATA[I find strategy very interesting.  My definition of strategy is: The method by which you achieve your overal goal.  The strategy is not the goal, but how to get there.  If you want to purchase a house, you could pay cash or take out a mortgage.  The goal is the purchase of the house, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=85&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I find strategy very interesting.  My definition of strategy is: The method by which you achieve your overal goal.  The strategy is not the goal, but how to get there.  If you want to purchase a house, you could pay cash or take out a mortgage.  The goal is the purchase of the house, the strategy is how you purchase it.</p>
<p>So how do you decide upon the correct strategy?  In many cases, it perfectly obvious what the correct stategy.   In other cases, it may come down to a choice between two strategies, and with a little research, you can figure it out.</p>
<p>However, in war and political games, the picture is not at all clear.  You only have a dim idea of the goal, and you have no clue of  the correct way to get there.  This is where another fundemental comes in: Find out your current position.  Most people, I think, have no clue of there current position.  The kid going to school doesn&#8217;t realize he a) is a kid, and b) is going to school so he can later get a job and pay for the things he wants in life.   He instead thinks he is master of the universe and will live forever.  It&#8217;s a great attitude, but when he finds himself flipping burgers at McD&#8217;s he again will not realize why he is there.</p>
<p>Employees often have the idea that they are irreplacible and can get away with anything.  Until the boss finally can&#8217;t let it go any longer.  The employee has no idea of the strength of his current position, or even of where he is going.</p>
<p>The person walking into a casino in Las Vegas thinks life is great &#8211; free drinks, food and his luck is good today.  No, his position in relation to the Casino &#8211; he, with $200 in his pocket is going to beat a 200 million dollar corporation with thousands of employees.  He is not going to win.  But there are millions who think otherwise. </p>
<p>When I am confronted with a situation, socially, politically or otherwise, I fist evaluate my position in relation to the other party.  If the other party is the government or some such unbeatable opponent, I don&#8217;t fight.  I simply work to limit my losses. That is strategy at work. </p>
<p>If I am the big guy against the little guy, I know I don&#8217;t have to fight either &#8211; it&#8217;s usually counterproductive &#8211; let him have a small win and be done with it.   It&#8217;s not worth my time. </p>
<p>If I suddenly find myself confronting an equal in business, that is when I really have to stop and think.  What is my position in the matter, and what is the other persons position?  By finding a strength on my side, and a weakness on the other, I can play the two together to win.</p>
<p>If I find myself in a weak position, I will work to strenghen that position before the confrontation.  If I am not going to win, I won&#8217;t confront them at all.</p>
<p>The strategy and implementation is going to be different every time, but you start by asking yourself?  What is my position in relation to the other party?  What is the other parties position right now?   It&#8217;s easy to overestimate, and even underestimate your current position.  Sometimes I will test the waters to find out.  For example, you want to become the boss.  You may think your are in great with the boss.  But others may be in great with him too &#8211; you need to find out.  Ask him a general questions &#8211; have you ever thought about having a Lead Accountant?  If he looks at you and laughs, and least you won&#8217;t be in for a surpise when your passed over.  On the other hand, you may find him very interested and then you can proceed from there.</p>
<p>I find this stuff very interesting as it can help you achieve those goals you have sought your whole life.  When you plan and strategize and start winning, it&#8217;s the greatest feeling ever.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=85&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2011/01/30/basic-strategy-whats-your-position/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>The Sales Process</title>
		<link>http://greggum.wordpress.com/2011/01/30/the-sales-process/</link>
		<comments>http://greggum.wordpress.com/2011/01/30/the-sales-process/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 20:03:06 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=82</guid>
		<description><![CDATA[This is a bit off topic for a technical blog, but still I find sales interesting.  Even high tech needs to be sold! Basic Tenets: Sales is the art or science of getting someone to make a decision to purchase a product or service.  If the person already wants the product, no sales activity is needed.  The salesperson [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=82&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a bit off topic for a technical blog, but still I find sales interesting.  Even high tech needs to be sold!</p>
<p>Basic Tenets:</p>
<p>Sales is the art or science of getting someone to make a decision to purchase a product or service.  If the person already wants the product, no sales activity is needed.  The salesperson in this case is simply an order-taker or cashier.  But we are talking here about the larger sale.  Again, it may be the prospect has already learned all he needs to know about your product from the company website, but in technology especially, he is going to need some help making the decision.</p>
<p>But lets step back further for a moment and look at what the basic buyer process is (not sales process, this is customer oriented.)  Fundamentally, the reason a person makes a purchase is because it is going to benefit the person, his family, or his company.  The key word there is &#8220;benefit.&#8221;  Now, of course we know that our product is going to benefit the person, but the person doesn&#8217;t know this yet, or has only a hazy idea of the benefit or how it gets realized.</p>
<p>Sale trainers have know this for ages, and it is common practice to talk about the benefits of a product to induce the buyer to sell.  And while this sometimes works, there is a step prior to talking about benefits, and that of course is talking about problems.  If you can communicate well enough with your prospect to uncover what the actual probem is that he is trying to solve, you will have the key to make the close.  Furthermore, the problem must be significant enough to &#8220;hurt&#8221; &#8211; and he must want to change that pain.</p>
<p>The book SPIN SELLING published &#8220;way back&#8221; in 1988 lays this out very clearly.  It lays out the four stages of A. Preliminaries, B. Investigation, C. Demonstrating Capability, D. Obtaining Commitment. </p>
<p>Stage A, is fairly simply &#8211; making the initial contact.</p>
<p>Stage B. Investigation is the critical step.  Failure to fully complete this step and doing on to Demonstration or Commitment will result in a failed sale.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=82&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2011/01/30/the-sales-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Close More Sales</title>
		<link>http://greggum.wordpress.com/2010/07/15/how-to-close-more-sales/</link>
		<comments>http://greggum.wordpress.com/2010/07/15/how-to-close-more-sales/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:15:33 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=70</guid>
		<description><![CDATA[I have been reading a couple of Sales Books lately to see how to integrate a Sales Process with a CRM application.  Two different books bring up the same subject: What are the steps a buyer goes through (not the salesman.)  A salesman ordinarily thinks of the steps that he takes to make the sale, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=70&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been reading a couple of Sales Books lately to see how to integrate a Sales Process with a CRM application.  Two different books bring up the same subject: What are the steps a <em>buyer </em>goes through (not the salesman.)  A salesman ordinarily thinks of the steps that he takes to make the sale, focuses on<em> his</em> process, not the process of the buyer.  His process often appears to be successful, but in reality, it is only successful when it matches the process of the buyer.</p>
<p>For example, a Salesman throws out his best close &#8221;Would you like that car in red or green?&#8221;  If that prospect has already decided on purchasing a car, and is only left with the decision of color, that IS going to work.  But if the prospect has a lot of other questions on his mind, the sales person is only going to irritate and annoy the buyer.</p>
<p>An  important point is that a Salesperson is there to help the buyer make the correct decision.   The correct decision may or may not be to buy what the sales person is offering.  This is a wide departure from the idea that a Salesperson is there to sell.  He is of course, but if he is misleading the buyer to make him think that what he has for sale is the correct decision when in fact it is not, he is going to ultimately fail as a salesperson (as soon  as the  buyer finds out he has been duped, he may return the item or &#8230;)</p>
<p>The essential skill then of a salesperson then is determining where the prospect is in the buying process.  There are a multitude of small decisions that a person makes along the way to a purchase.  The salesman helps the prospect with each of these decisions all the way to the end at which time he CAN employ a closing technique and make the sale.</p>
<p>Here, roughly are the major decisions leading to the sale:</p>
<p>1.  &#8220;It hurts, and I want to make the hurt go away.&#8221;  The prospect, before this decision, may not have even realized that something was hurting, or it hurts but not enough to do something about it.  The prospect will ask questions such as &#8220;&#8221;Is it possible to make this hurt go away?&#8221;  &#8220;What would it be like it not have this hurt?&#8221;  The salesman action then is to make the person aware of the hurt, and aware of the fact that there IS a solution to it. </p>
<p>2. &#8220;What will make the hurt go away?&#8221;  This is a learning stage.  He is learning about the general subject that will address his concern.  Say, for example, he has never used a Sales Management Software solution.  He doesn&#8217;t even really know what one is.  The Salesman now educates the prospect, being careful NOT to push his product.  He only wants to sell the person on the general category of solution.  The prospect will ask questions like &#8216;Why is it called CRM?&#8221;  and other such questions about the subject as a whole.  When the prospect has made the decision that the subject will resolve the pain, he will move onto the next phase.</p>
<p>3. &#8220;What are the available products and companies?&#8221;  This is actually a continuation of the learning phase.  He knows enough about the broad subject to now address the specific alternatives.  He is not yet making a choice about which alternative is best, he just needs to know what is available so he can then make an informed choice.  At this point, the prospect will ask questions such as &#8220;Is there a comparison between your product and a competitors?&#8221;  Note that at this stage, it is not about alternative products that YOU are offering, it is about alternatives between you and your competitor.  In other words, he has not made the decision that YOUR COMPANY is the right answer.  He MUST make this decision before you can get to the next stage.  The salesperson job is to show the alternatives, including comparing the competition.  If you don&#8217;t make such a comparison, the prospect is going to go home and find out about the alternatives whether you like it or not, so it is better for you to bring it up and put it on the table now.  This gives you the chance to show how your company is better.  When the prospect has made the decision to use your company, you are past this phase.</p>
<p>4.  &#8221;What alternatives are available from your company?&#8221;  The prospect now recognizes that he wants to do business with you, and  now needs to make the decision on which one he is going to go with.  This is done with more education, showing the benefits of each of the different solutions.  I think that companies sometimes go to far with the available choices.  The prospect is forced to learn and understand each of them and the pros and cons.  So if you offer too many, you may end up with a prospect who ends up with &#8220;analysis paralysis&#8221;.   Thus go with two options, three at the most.</p>
<p>5.  &#8220;When do I need this product?&#8221;, &#8220;How much is it.&#8221;  When the prospects starts asking implementation questions, you know you are getting close to the close.  Questions such as when can it be delivered, what color etc shows you this.  What you are looking for are questions that show that he has decided to go with your product.  Often, he will not tell you this out loud, but his line of questioning shows that he has decided to go with you.  The deal isn&#8217;t closed yet, but it is imminent.  Sometimes these types questions go along with the above when viewing alternatives.  In this case, he has already decided that you as a company are acceptable, but not necessarily the only option.  So four and five can get blended together.</p>
<p>6.  &#8220;How do I finance this?&#8221;  This means the person has decided to go with your product.  This is very good!  Financing may already be in hand and a no issue.  Or the prospect needs education from the Salesperson in how it could be financed.</p>
<p>7. &#8220;What are the risks?&#8221;  A prospect may or may not verbalize or consider the risks in purchasing your product.  But he may and the Salesperson must be aware of this.  The prospect may ask, &#8220;Can I get out of the contract?&#8221;, &#8220;Is there a cancellation fee?&#8221;, &#8220;What is the return policy?&#8221;   These are usually very easily handled.</p>
<p>8. &#8220;Is this product a good value?&#8221;  This concern may or may not come up verbally.  Yet it is present in most sales situations.  The concern for the prospect is simple, &#8220;Am I getting the best value for my money?&#8221;  No-one want to buy something and then find it elsewhere on sale for half-price.  In same cases, the value proposition is such that even if they don&#8217;t need it or want it, it&#8217;s such a great value that they couldn&#8217;t pass it up.  I recall my father buying several cases of canned nuts while we were on vacation with the Grandparents 500 miles from home.  I wasn&#8217;t there for the sale, but he obviously thought it was such a great value that he had to have them.</p>
<p>9.  At this point, the prospect has run out of questions.  The final decision to be made is, &#8220;Lets do it&#8221;.  It may be a perfect product,  he needs it, he wants it, but fear from whatever source is sitting there in the way.  Make no mistake, the prospect wants to make the decision, he just can&#8217;t bring himself to say the words.  Here is where you bring out your closing techniques.  &#8220;Would you like that in red or blue?&#8221;  They answer Blue and you say, ok, sign on the dotted line.  For him not to would make him feel like a fool after having come all this way, so he does the right thing, and you get the close!</p>
<p>Note that I haven&#8217;t said anything about the Sales process.  You cannot omit things like qualifying the prospect.  But don&#8217;t let this get in the way of the above phases.  You quietly slip in a question such as &#8220;Are you authorized to make such a purchase for your company?&#8221; but let the buyer appear to be in control of the situation by following the above phases.  Buyers LOVE to be in control. Or at least they think they are.  And they will think so if you are following their process, not yours.  It would be great of we could just sit the buyer down and march him through our sales process.  But this is where Salesmen get a bad name.  We want name, rank and serial number and sign on the dotted line please.  But our prospect just starts putting up his brick overcoat to such techniques and if the prospect can&#8217;t get through his buyer process, he will simply go elsewhere.  I think this happens most of the time out of ignorance by the Salesperson.  He just doesn&#8217;t see where the prospect is by his questioning and give him the correct guidance.  At least it has been that way for me!</p>
<p>The whole point of the above is the all sales techniques fit into one or more of the above phases.  Make sure you are applying the correct technique to the correct phase, be consultative with your prospect, and suddenly you will be one of the great closers in your organization.</p>
<p>Greg</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=70&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2010/07/15/how-to-close-more-sales/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>WCF RIA Services</title>
		<link>http://greggum.wordpress.com/2010/03/26/wcf-ria-services/</link>
		<comments>http://greggum.wordpress.com/2010/03/26/wcf-ria-services/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 22:44:51 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Ria Services]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=66</guid>
		<description><![CDATA[What’s it good for? -        Providing Data across boundaries such as the internet. -        Shortens time of development as it hides a considerable amount of plumbing complexity. -        A framework of tools and classes to make building and deploying RIA applications faster and easier. -        It reduces the amount of knowledge required of the various [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=66&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What’s it good for?</p>
<p>-        Providing Data across boundaries such as the internet.</p>
<p>-        Shortens time of development as it hides a considerable amount of plumbing complexity.</p>
<p>-        A framework of tools and classes to make building and deploying RIA applications faster and easier.</p>
<p>-        It reduces the amount of knowledge required of the various technologies that go together to make up a Rich Internet Application.</p>
<p>How does it do it?</p>
<p>-        It starts with Visual Studio project templates to get your started.</p>
<p>-        It works with the Entity Framework to define the data that is to be passed over the wire.</p>
<p>-        It provides code generation to do the plumbing of your services.</p>
<p>-        It provides even more code generation to build classes that work with your entities.</p>
<p>What do I need to know to use Ria Services?</p>
<p>-        You need to have a basic knowledge of a programming language such as C#/VB.</p>
<p>-        You need a basic understanding of the Entity Framework.</p>
<p>-        You need a basic understanding of WCF services (Ria Services <span style="text-decoration:underline;">are</span> WCF services.)</p>
<p>-        You need a basic understanding of how to construct Linq queries.</p>
<p>-        You need to know enough about database in order to create the database you are connecting to.</p>
<p>The thing is that you do not need a deep understanding of any of these technologies.  Walking through a basic Ria Services powered application is a 10 minute task.  However, at some point, your going to need to dig deeper to get the power that you require for your applications.  How deep to get is up to you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=66&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2010/03/26/wcf-ria-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>How to learn or teach new technology</title>
		<link>http://greggum.wordpress.com/2009/10/23/how-to-learn-new-technology/</link>
		<comments>http://greggum.wordpress.com/2009/10/23/how-to-learn-new-technology/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 11:48:51 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=60</guid>
		<description><![CDATA[There is a great deal of technology to learn in our modern world.  As a profession in the programming world, I have learned how to learn.  It&#8217;s an important subject &#8211; there is so much that it is possible to know in the world, that we have to pick and choose carefully what we want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=60&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a great deal of technology to learn in our modern world.  As a profession in the programming world, I have learned how to learn.  It&#8217;s an important subject &#8211; there is so much that it is possible to know in the world, that we have to pick and choose carefully<em> what </em>we want to learn, and then come to understand that in as few steps as possible so that we can put that technology to use.</p>
<p>I have found through experiance that there are three basic steps to learning any particular piece of technology. Unfortunately, technology is often not presented with these steps in mind, so I have to take by own byways and highways, but it&#8217;s the only way to get there.</p>
<p>To illustrate this, let us take an example of teaching someone a brand new (to them) technology.  This is a silly example of teaching someone how to use a telephone.  Let&#8217;s pretend this person has been out in the Outback and has simply never seen or heard of a telephone.  How do we get this person to see the benefit of a telephone and start them on the road of a technophile?</p>
<p>Teach them the benefit first.  &#8220;Have you ever wanted to talk with someone who is far away?  Wouldn&#8217;t it be great to be able to communicate with them without a 2 day walk?&#8221;  Once they see the benefit (that&#8217;s marketing speak by the way, what we are really doing is marketing the technology to them.)</p>
<p>Teach them the concept next.  &#8220;What we have here,&#8221; showing them the phone, &#8221; is a device that allows you to do just that.  You speak into it, and your voice comes out the other end.  They speak into it, and their voice comes out at this end.&#8221;  Here is where you get an &#8220;ahaa&#8221; moment. Once you do, you&#8217;r ready to move on.</p>
<p>Structure comes next:  &#8220;This is a telephone.  It&#8217;s got a speaker here, and a microphone hear, it&#8217;s got some buttons so you can connect to the right phone.  There is a wire that goes from here to there.&#8221;</p>
<p>And finally comes function:  &#8220;This is how you place a phone call &#8211; you punch in the numbers, put it up to your ear, listen for the ringtone and for the other person to answer, and then start talking.  And when your done, you press the end button to hang up.&#8221;</p>
<p>If you went through all of these steps, the person would understand and use that telephone.  Now, how many people do you know that still don&#8217;t use their computer for anything beyond email or surfing a few web sites.  Realize that these people have never been through the above steps.  Maybe they know it&#8217;s use, but still don&#8217;t know what a hard drive is and don&#8217;t understand the file system of their computer.  If these people knew how to learn, they would take it upon themselves to get through the above steps for each piece of new technology and they would be able to use it to benefit their own lives.</p>
<p>I think this is important.  I am currently working on a book which introduces Ria Services and I am using the above steps in teaching this technology, and I hope readers find it useful.</p>
<p>To summarize:  </p>
<ul>
<li>Benefit (why use it, &#8220;what if we could&#8230;&#8221;)</li>
<li>Concept (the idea)</li>
<li>Structure (the physical pieces of the puzzel)</li>
<li>Function (how the pieces of the puzzle fit together)</li>
<li>Application (the technology in use).</li>
</ul>
<p>All five must be present in the education or we get graduates who still work at the gas station.  I have many many computer books.  Some good, some not so good.  The difference I find is that some of them get stuck on structure.  (&#8220;These are the 42 properties and functions of the DomainWidget.&#8221;) or on use only.  The key point is that all of the points above must be present for education to occur.</p>
<p>Greg</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=60&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/10/23/how-to-learn-new-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>All Linqed Up &#8211; Linq under the hood</title>
		<link>http://greggum.wordpress.com/2009/10/09/all-linqed-up-linq-under-the-hood/</link>
		<comments>http://greggum.wordpress.com/2009/10/09/all-linqed-up-linq-under-the-hood/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 13:27:38 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Linq]]></category>
		<category><![CDATA[Reflector]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=52</guid>
		<description><![CDATA[When I first learned Linq, it was puzzling to me how linq was implemented in the .Net framework.  .Net is supposed to be a purely object oriented environment (&#8220;where everything is an object&#8221;) yet clearly linq query operators are not. Well, it turns out it&#8217;s all smoke and mirrors.  .Net is still pure, it&#8217;s just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=52&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I first learned Linq, it was puzzling to me how linq was implemented in the .Net framework.  .Net is supposed to be a purely object oriented environment (&#8220;where everything is an object&#8221;) yet clearly linq query operators are not. Well, it turns out it&#8217;s all smoke and mirrors.  .Net is still pure, it&#8217;s just doing some translating for us from an SQLish syntax (for our own comfort) to the real operations on the System.Linq.Enumberable type.</p>
<p>Here is a simple Linq query:</p>
<p>static void QueryOverStrings()<br />
        {<br />
            string[] myStrings = { &#8220;One&#8221;, &#8220;Two&#8221;, &#8220;Three&#8221;, &#8220;Four&#8221;, &#8220;Five&#8221;, &#8220;Six&#8221;, &#8220;Seven&#8221; };<br />
            IEnumerable&lt;string&gt; subset =<br />
                from g in myStrings where g.Length &gt; 3 orderby g select g;</p>
<p>            foreach (string s in subset)<br />
            {<br />
                Console.WriteLine(&#8220;Items: {0}&#8221;, s);<br />
            }<br />
        }</p>
<p>And here it is again, the actual code that runs the above, courtesy of Red Gate&#8217;s .NET Reflector.</p>
<p>        private static void QueryOverStrings()<br />
        {<br />
            string[] myStrings = new string[] { &#8220;One&#8221;, &#8220;Two&#8221;, &#8220;Three&#8221;, &#8220;Four&#8221;, &#8220;Five&#8221;, &#8220;Six&#8221;, &#8220;Seven&#8221; };<br />
            IEnumerable&lt;string&gt; subset = myStrings.Where&lt;string&gt;(delegate(string g)<br />
            {<br />
                return (g.Length &gt; 3);<br />
            }).OrderBy&lt;string, string&gt;(delegate(string g)<br />
            {<br />
                return g;<br />
            });<br />
            foreach (string s in subset)<br />
            {<br />
                Console.WriteLine(&#8220;Items: {0}&#8221;, s);<br />
            }<br />
       </p>
<p>Happy Linqing!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=52&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/10/09/all-linqed-up-linq-under-the-hood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>Using ASPNETDB membership in Silverlight</title>
		<link>http://greggum.wordpress.com/2009/10/05/using-aspnetdb-membership-in-silverlight/</link>
		<comments>http://greggum.wordpress.com/2009/10/05/using-aspnetdb-membership-in-silverlight/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 00:18:13 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Ria Services]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=50</guid>
		<description><![CDATA[The Business Application Template for Silverlight comes with a login and register pages.  It is very easy to connect these to a ASPNETDB.mdf. Just add a LocalSqlServer connection string to your web.config file.  For example, here is what I use to connect to Sql Server. &#60;connectionStrings&#62;   &#60;remove name=&#8221;LocalSqlServer&#8221;/&#62;   &#60;add name=&#8221;LocalSqlServer&#8221; connectionString=&#8221;Data Source=localhost;Initial Catalog=ASPNETDB;Integrated Security=True&#8221; providerName=&#8221;System.Data.SqlClient&#8221;/&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=50&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Business Application Template for Silverlight comes with a login and register pages.  It is very easy to connect these to a ASPNETDB.mdf.</p>
<p>Just add a LocalSqlServer connection string to your web.config file.  For example, here is what I use to connect to Sql Server.</p>
<p>&lt;connectionStrings&gt;<br />
  &lt;remove name=&#8221;LocalSqlServer&#8221;/&gt;<br />
  &lt;add name=&#8221;LocalSqlServer&#8221; connectionString=&#8221;Data Source=localhost;Initial Catalog=ASPNETDB;Integrated Security=True&#8221; providerName=&#8221;System.Data.SqlClient&#8221;/&gt;<br />
 &lt;/connectionStrings&gt;</p>
<p>It&#8217;s almost too easy!</p>
<p>If you are using SqlExpress on your dev machine, it gets even easier.  You don&#8217;t have to do anything.  Just create a new Silverlight Business App and fire it up.  Go to the log-on page and register.  It will be slow, but in the background, your ASPNETDB was just created and attached, and you will be logged in.  If you then look in the Web.config file, you won&#8217;t see a connection string anywhere, as the defaults are used for this piece of magic.  Of course, a real world connection is going to need it&#8217;s own connection string like the above.</p>
<p>Greg</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=50&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/10/05/using-aspnetdb-membership-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning Ria Services</title>
		<link>http://greggum.wordpress.com/2009/10/03/learning-ria-services/</link>
		<comments>http://greggum.wordpress.com/2009/10/03/learning-ria-services/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:09:59 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Ria Services]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=31</guid>
		<description><![CDATA[You have probably heard of Ria Services by now.  It&#8217;s a version zero technology currently, as it is only out in preview version currently, but it promises a lot of value.  So where do we go to learn about this new technology? Given the lack of available books, there are a few good links that have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=31&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You have probably heard of Ria Services by now.  It&#8217;s a version zero technology currently, as it is only out in preview version currently, but it promises a lot of value.  So where do we go to learn about this new technology?</p>
<p>Given the lack of available books, there are a few good links that have been the most helpful to me:</p>
<p>Brand Abrams Blog (He&#8217;s one of the product managers of the product). <a href="http://blogs.msdn.com/brada/">http://blogs.msdn.com/brada/</a></p>
<p>MSDev.com has a free 45 min video that shows the a good example of creating a Ria Service. <a href="http://www.msdev.com/Directory/Description.aspx?eventId=1449">http://www.msdev.com/Directory/Description.aspx?eventId=1449</a></p>
<p>The most comprehensive write-up is found with the download of the July Preview:  <a href="http://www.microsoft.com/downloads/details.aspx?familyid=76BB3A07-3846-4564-B0C3-27972BCAABCE&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=76BB3A07-3846-4564-B0C3-27972BCAABCE&amp;displaylang=en</a>  When you install Ria Services, it includes a PDF called Ria Services Overview Preview and it does a pretty good job of covering the basics of creating a Ria Service, and what is going on under the hood.</p>
<p>If you find any other good links, leave them as comment so I can check them out.</p>
<p>Greg</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=31&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/10/03/learning-ria-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>Ria Woe&#8217;s &#8211; Why your Ria Service Won&#8217;t work on Godaddy</title>
		<link>http://greggum.wordpress.com/2009/10/03/ria-woes-why-your-ria-service-wont-work-on-godaddy/</link>
		<comments>http://greggum.wordpress.com/2009/10/03/ria-woes-why-your-ria-service-wont-work-on-godaddy/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:00:52 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[Ria Services]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=28</guid>
		<description><![CDATA[So you have a nice Silverlight or ASP.net app and have added a cool new Ria Service.  It worked a like a charm on your local machine and you upload it to GoDaddy.com or another shared hosting service, and it just won&#8217;t work.  You look in an HTTP log, and you see a 404 error.  What [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=28&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you have a nice Silverlight or ASP.net app and have added a cool new Ria Service.  It worked a like a charm on your local machine and you upload it to GoDaddy.com or another shared hosting service, and it just won&#8217;t work.  You look in an HTTP log, and you see a 404 error.  What is up?</p>
<p>The reason has to do with CAS (Code Access Security). As of the July 22 2009 release, Ria requires full trust, but your web host probably only allows partial trust.  So your service is a bust. </p>
<p>At least for now.  There are promises to fix this in the next release.  The workaround is to find a web host that does allow full trust for ASP.net applications.</p>
<p>Update: I just signed up with ASPHostCentral.com which uses the Plesk Control Panel.  This CP allows you to set the CAS level to Full Trust.  I just tested this out, and the test Ria Service now successfully connects. Yee-haw as we say down here in Dallas Texas.</p>
<p>See this post for more info:  <a href="http://blogs.msdn.com/brada/archive/2009/07/22/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-6-poco-and-authentication-provider.aspx">http://blogs.msdn.com/brada/archive/2009/07/22/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-6-poco-and-authentication-provider.aspx</a></p>
<p>Greg</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=28&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/10/03/ria-woes-why-your-ria-service-wont-work-on-godaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
		<item>
		<title>Designing Forms in WPF vs Windows Forms</title>
		<link>http://greggum.wordpress.com/2009/08/03/designing-forms-in-wpf-vs-windows-forms/</link>
		<comments>http://greggum.wordpress.com/2009/08/03/designing-forms-in-wpf-vs-windows-forms/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 04:54:57 +0000</pubDate>
		<dc:creator>greggum</dc:creator>
				<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://greggum.wordpress.com/?p=23</guid>
		<description><![CDATA[There was not much to basic form design in WinForms.  You basically drag and drop to the form and set a few properties and your done. Really not much to it. You can keep the same design pattern with WPF using the Canvas.  It allows you to do the same drag and drop operation, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=23&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There was not much to basic form design in WinForms.  You basically drag and drop to the form and set a few properties and your done. Really not much to it.</p>
<p>You can keep the same design pattern with WPF using the Canvas.  It allows you to do the same drag and drop operation, and you get precise positioning.  There are many times when this is all you need.  However, this throws out the window a major feature of WPF; the ability to autoresize when Localizing Applications.</p>
<p>We all know that when an app is localized, the length of text strings usually get longer by a factor of up to 25-50%.  If you have not allowed for this in your initial form design, your going to be in for a lot of work.  But WPF makes this easy and this is the basic procedure for a simple data entry form:</p>
<p>1.  On paper, lay out the form with labels and text boxes drawn by hand.  Draw up a grid so you know how many rows and columns you need.</p>
<p>2.  Create a new Window.  Set the SizeToContent property to WidthAndHeight. </p>
<p>3.  Create your grid with a margin of 25 or so, drop in the labels and textboxes and any buttons you need.</p>
<p>4.  Now go back and remove the hardcoded Width properties from the grid, and well as any margins that the designer input automatically.  (The only Width properties that should remain are from &#8220;spacer&#8221; columns or rows that don&#8217;t have any content.)</p>
<p>5.  As Height does not need to change with localization, I do hardcode height so if the form is resizable, you don&#8217;t have textboxes stretched vertically.</p>
<p>Now you have a form that will automatically re-size itself to fit the text elements.  For example, try changing the button content to a long string, and the button will re-size itself to show the full string.  It&#8217;s a nice piece of work.</p>
<p>Here is the XAML to show the example:</p>
<div></div>
<p><code></p>
<pre><span style="font-size:x-small;">&lt;Window x:Class="MyApplication.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1"
VerticalAlignment="Center" WindowStartupLocation="CenterScreen"
SizeToContent="WidthAndHeight" ResizeMode="NoResize" MaxHeight="200" MinHeight="200" MinWidth="400"&gt;
     &lt;Grid Margin="25" &gt;
          &lt;Grid.RowDefinitions&gt;
               &lt;RowDefinition Height="30" /&gt;
               &lt;RowDefinition Height="20" /&gt;
               &lt;RowDefinition Height="30" /&gt;
               &lt;RowDefinition Height="30" /&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;Grid.ColumnDefinitions&gt;
               &lt;ColumnDefinition MinWidth="100" /&gt;
               &lt;ColumnDefinition Width="20"/&gt;
               &lt;ColumnDefinition MinWidth="125" /&gt;
               &lt;ColumnDefinition Width="20" /&gt;
               &lt;ColumnDefinition MinWidth="50" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Label Name="label1" Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"&gt;Please Log       In&lt;/Label&gt;
          &lt;Label Name="label2" Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right"    VerticalAlignment="Center"&gt;Username:&lt;/Label&gt;
          &lt;Label Name="label3" Grid.Column="0" Grid.Row="3" HorizontalAlignment="Right" VerticalAlignment="Center"&gt;Password:&lt;/Label&gt;
          &lt;TextBox Grid.Column="2" Grid.Row="2" Margin="5" Name="textBox1" /&gt;
          &lt;TextBox Grid.Column="2" Grid.Row="3" Margin="5" Name="textBox2" /&gt;
          &lt;Button Grid.Column="4" Grid.Row="2" Margin="5" Name="button1"&gt;_OK&lt;/Button&gt;
          &lt;Button Grid.Column="4" Grid.Row="3" Margin="5" Name="button2"&gt;_ReallyLongCancelText&lt;/Button&gt;
     &lt;/Grid&gt;
&lt;/Window&gt;
</span></pre>
<p> </p>
<p> </p>
<p> </p>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greggum.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greggum.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greggum.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greggum.wordpress.com&amp;blog=8838724&amp;post=23&amp;subd=greggum&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greggum.wordpress.com/2009/08/03/designing-forms-in-wpf-vs-windows-forms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d813f85062c23d43043e6132278610?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">greggum</media:title>
		</media:content>
	</item>
	</channel>
</rss>
