<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/489253_100x75.jpg</url>
		<title>Channel 9 - endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
		<link></link>
	</image>
	<description>On this episode I&#39;m doing a little spike project to prototype a web app that uses a workflow to manage email verification when registering a user for a web site.&amp;nbsp; You will see how you can

- Create a SendMail custom activity
- Unit test the SendMail custom activity
- Consider a new way for making it easy for the web developers to invoke your business process
- Close the loop on registration

There will be more to do on this project but I thought I would share it with you now so you can see what we have got so far.
</description>
	<link></link>
	<language>en</language>
	<pubDate>Sat, 18 May 2013 15:07:53 GMT</pubDate>
	<lastBuildDate>Sat, 18 May 2013 15:07:53 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
		<description>
			<![CDATA[
<p>Nice idea to show something that a lot of web apps will have, but probably don't currently leverage WF for. I also like the idea of the static method to remove any of the WF &quot;plumbing&quot; from the main code.</p>
<p>&nbsp;</p>
<p>Really don't like your test though. Having the SmtpClient and the file system as a dependency is pretty nasty in my book. Although you probably kept it that way to make sure you didn't over complicate the demo, I think it's worth pointing out that's probably
 not a very &quot;good&quot; test for the real world <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> </p>
<p>&nbsp;</p>
<p>Personally I'd create an ISendService, add an ISendService public property to the CodeActivity (defaulting to a concrete version that uses SmtpClient) and add another overload to Invoke to accept an ISendService. You can easily then create a fake in your
 test (statically or dynamically) that makes sure the &quot;Send&quot; method is executed correctly without taking on any other dependencies.</p>
<p>&nbsp;</p>
<p>Like I said, it probably over complicates this demo, but I thought it was worth pointing out <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>posted by Grumpydev</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875747030000000</link>
		<pubDate>Thu, 03 Sep 2009 11:38:23 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875747030000000</guid>
		<dc:creator>Grumpydev</dc:creator>
	</item>
	<item>
		<title>Re: endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
		<description>
			<![CDATA[
<p>Sure - I agree that writing a file during a unit test, creating directories etc is a little icky. :=0</p>
<p>&nbsp;</p>
<p>No wonder they call you Grumpydev... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>
<p>posted by rojacobs</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875943990000000</link>
		<pubDate>Thu, 03 Sep 2009 17:06:39 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875943990000000</guid>
		<dc:creator>rojacobs</dc:creator>
	</item>
	<item>
		<title>Re: endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
		<description>
			<![CDATA[
<p>Lol, I'm well and truly self-titled <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>It is good to see samples like this. We recently had a WF4.0 talk at the user group I run and it really made me ask myself why the hell we weren't looking at using it in almost EVERY app we were writing. Even for relatively simple tasks like email verifications,
 having WF handle reminders, flagging of unactivated accounts etc is just so much less hassle to implement, and even more of an advantage if those rules need to change.</p>
<p>&nbsp;</p>
<p>Your unit test still stinks though <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>
<p>posted by Grumpydev</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875988710000000</link>
		<pubDate>Thu, 03 Sep 2009 18:21:11 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c633875988710000000</guid>
		<dc:creator>Grumpydev</dc:creator>
	</item>
	<item>
		<title>Re: endpoint.tv Screencast - Spike on Workflow Managed Email Verification</title>
		<description>
			<![CDATA[
<p>This video will be great if you don't&nbsp; dig into detail of Testing &amp; SMTP's.</p>
<p>posted by TechChaser</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c634107385280000000</link>
		<pubDate>Sat, 29 May 2010 14:02:08 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Endpoint/endpointtv-Screencast-Spike-on-Workflow-Managed-Email-Verification#c634107385280000000</guid>
		<dc:creator>TechChaser</dc:creator>
	</item>
</channel>
</rss>