<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Bryan Avery - Blog</title>
    <description>this and that</description>
    <link>http://www.bryanavery.co.uk/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 1.5.0.7</generator>
    <language>en-GB</language>
    <blogChannel:blogRoll>http://www.bryanavery.co.uk/opml.axd</blogChannel:blogRoll>
    <blogChannel:blink>http://www.bryanavery.co.uk/syndication.axd</blogChannel:blink>
    <dc:creator>Bryan Avery</dc:creator>
    <dc:title>Bryan Avery - Blog</dc:title>
    <geo:lat>5,380,065.000000</geo:lat>
    <geo:long>-4,064,941.000000</geo:long>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BryanAvery" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title>JQuery and the DropDownList - ComboBox</title>
      <description>&lt;p&gt;After playing around with Combo boxes for a while within jQuery I thought it would be good to write down, mainly so I can remember how to find and play with properties from within jQuery. &amp;nbsp;So here we go, here is the HTML that we'll be using:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;select id="ComboBox" &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;option value="1"&amp;gt;Value 1&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;option value="2"&amp;gt;Value 2&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;option value="3"&amp;gt;Value 3&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;option value="4"&amp;gt;Value 4&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;optgroup label="Group1"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;option value="5"&amp;gt;Value 5&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;option value="6"&amp;gt;Value 6&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;option value="7"&amp;gt;Value 7&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;option value="8"&amp;gt;Value 8&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/optgroup&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;h2&gt;Get the value of the selected item&lt;/h2&gt;
&lt;p&gt;This is the easiest. &amp;nbsp;Use the val method.&lt;/p&gt;
&lt;p&gt;$("#ComboBox").val()&lt;/p&gt;
&lt;p&gt;
&lt;h2&gt;Get the text of the selected item&lt;/h2&gt;
&lt;p&gt;If you just try using the text() method on the combobox, this will give you the text values of all of the options in a single string. &amp;nbsp;Not what you want. &amp;nbsp;The trick is to use the :selected query modifier on the option.&lt;/p&gt;
&lt;p&gt;$("#ComboBox option:selected").text()&lt;/p&gt;
&lt;p&gt;
&lt;h2&gt;Find out when the select value changed&lt;/h2&gt;
&lt;p&gt;This is also rather easy with JQuery.&lt;/p&gt;
&lt;p&gt;$("#ComboBox").change(function() { /* do something here */ });&lt;/p&gt;
&lt;p&gt;
&lt;h2&gt;Programmatically set the selected item.&lt;/h2&gt;
&lt;p&gt;$("#ComboBox").val(2);&lt;/p&gt;
&lt;p&gt;
&lt;h2&gt;Modify the list.&lt;/h2&gt;
&lt;p&gt;Modifying a select element is not fundamentally different than modifying any other element in the dom, but there are a few basics here to keep in mind. Mainly: try to avoid using the dom directly. &amp;nbsp;Create html strings instead.&lt;/p&gt;
&lt;p&gt;Clear the list: &amp;nbsp; $("#ComboBox").html("");&lt;/p&gt;
&lt;p&gt;Add to the list: $("&amp;lt;option value=&amp;rsquo;9&amp;rsquo;&amp;gt;Value 9&amp;lt;/option&amp;gt;").appendTo("#ComboBox");&lt;/p&gt;
&lt;p&gt;For more information check out the &lt;a href="http://jquery.sanchezsalvador.com/jquery/page/jquerycomboboxapi.aspx" target="_blank"&gt;jQuery API&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/28/JQuery-and-the-DropDownList-ComboBox.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/28/JQuery-and-the-DropDownList-ComboBox.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=4af03d72-258e-496a-adfd-2ec665a6bf05</guid>
      <pubDate>Wed, 28 Oct 2009 08:59:00 +0000</pubDate>
      <category>jQuery</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=4af03d72-258e-496a-adfd-2ec665a6bf05</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=4af03d72-258e-496a-adfd-2ec665a6bf05</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/28/JQuery-and-the-DropDownList-ComboBox.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=4af03d72-258e-496a-adfd-2ec665a6bf05</wfw:commentRss>
    </item>
    <item>
      <title>Videos of Scott’s sessions at the Manchester “Guathon”</title>
      <description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mike Taulty of Microsoft has now sorted out the Videos from the event Scott spoke at: -&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/19/scottgu-manchester-visual-studio-2010-and-net-framework-4-0-video.aspx" target="_blank"&gt;Visual Studio .NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/19/scottgu-manchester-silverlight-video.aspx" target="_blank"&gt;Silverlight&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/10/24/scottgu-manchester-asp-net-mvc-video.aspx" target="_blank"&gt;ASP.NET MVC&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/26/Videos-of-Scotte28099s-sessions-at-the-Manchester-e2809cGuathone2809d.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/26/Videos-of-Scotte28099s-sessions-at-the-Manchester-e2809cGuathone2809d.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=5be80379-3ea4-4e6b-83c6-1bd788761949</guid>
      <pubDate>Mon, 26 Oct 2009 08:41:00 +0000</pubDate>
      <category>MVC</category>
      <category>Silverlight</category>
      <category>Visual Studio 2010</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=5be80379-3ea4-4e6b-83c6-1bd788761949</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=5be80379-3ea4-4e6b-83c6-1bd788761949</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/26/Videos-of-Scotte28099s-sessions-at-the-Manchester-e2809cGuathone2809d.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=5be80379-3ea4-4e6b-83c6-1bd788761949</wfw:commentRss>
    </item>
    <item>
      <title>The start of a partnership</title>
      <description>&lt;p&gt;It's time for me to upgrade my development computer, in order to do this I have a few requests of my new partnership, mainly due to the fact that Windows 7 has been out for a while, well from MSDN, and it has made a huge step forwards being able to harness the power of the processor.&lt;/p&gt;
&lt;p&gt;First it's got to be a processor worth having and I'm currently looking at the &lt;a href="http://www.dabs.com/products/intel-nehalem-i7-920-s1366-2-66ghz-5CC9.html" target="_blank"&gt;Intel Nehalem i7 920 S1366 2.66GHz&lt;/a&gt;&amp;nbsp;(&amp;pound;213 from Dabs, or &lt;a href="http://www.amazon.co.uk/Intel-i7-920-Nehalem-Quad-Processor/dp/B001H5T7LK/ref=sr_1_1?ie=UTF8&amp;amp;qid=1257582662&amp;amp;sr=1-1-fkmr0" target="_blank"&gt;Amazon&lt;/a&gt;) or &amp;nbsp;&lt;a href="http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=3638" target="_blank"&gt;AMD Phenom II X3 720&lt;/a&gt;, which kicks arse on most processors that are out at the moment. This chip can be bought from &lt;a href="http://www.amazon.co.uk/AMD-HDZ720WFGIBOX-Phenom-Triple-Core-Processor/dp/B001R84CGW/ref=sr_1_1?ie=UTF8&amp;amp;s=electronics&amp;amp;qid=1256740294&amp;amp;sr=8-1" target="_blank"&gt;Amazon&lt;/a&gt; at around &amp;pound;97.&lt;/p&gt;
&lt;p&gt;Next is the motherboard, which must support the ability for a lot of memory and support the AMD processor above, the &lt;a href="http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=3010" target="_blank"&gt;Gigabyte MA790xt-ud4p&lt;/a&gt;, appears to do the job, and at &amp;pound;95 from &lt;a href="http://www.ebuyer.com/product/158608?utm_source=google&amp;amp;utm_medium=cpc&amp;amp;utm_campaign=Motherboards&amp;amp;utm_term=gigabyte%20ma790xt%20ud4p&amp;amp;gclid=COXw6sb8350CFVBd4wod32k4Mg" target="_blank"&gt;Ebuyer.com&lt;/a&gt;. &amp;nbsp;Or going for the Intel processor there is the&amp;nbsp;&lt;a href="http://www.dabs.com/products/gigabyte-s1366-intel-x58-ddr3-atx-audio-2gbe-lan-3-channel-5BRP.html?q=Gigabyte%20EX58-UD5" target="_blank"&gt;Gigabyte S1366 Intel X58 DDR3 ATX Audio 2GbE Lan 3 Channel&lt;/a&gt;&amp;nbsp;(&amp;pound;194 from Dabs)&lt;/p&gt;
&lt;p&gt;As a developer you need to have a number of monitors, you need to see as much as you can to work efficiently, a graphics card that is capable of driving three if not more monitors is a must. &amp;nbsp;The&amp;nbsp;ATI-based graphics &lt;a href="http://www.amd.com/uk/products/desktop/graphics/ati-radeon-hd-5000/hd-5870/Pages/ati-radeon-hd-5870-overview.aspx" target="_blank"&gt;ATI Radeon&amp;trade; HD 5870 graphics&lt;/a&gt;&amp;nbsp;Graphics Card, is a mega graphics card and should support up to 3 monitors. &amp;nbsp;This can be bought from &lt;a href="http://www.dabs.com/learn-more/components-and-storage/the-new-ati-radeon-hd-5800-graphics-cards-8268.html" target="_blank"&gt;Dabs&lt;/a&gt; costing around &amp;pound;299, what about this &lt;a href="http://www.reghardware.co.uk/2009/10/12/review_graphics_amd_ati_radeon_hd_5870/" target="_blank"&gt;link&lt;/a&gt; too, it's just starts to get confusing!&lt;/p&gt;
&lt;p&gt;Next and very importantly the machine must be 64bit and support&amp;nbsp;Virtualization Technology, in order to use &lt;a href="http://www.microsoft.com/windows/virtual-pc/default.aspx" target="_blank"&gt;Microsoft Virtual PC&lt;/a&gt; in Windows 7 this has become a slight issue as not all processors support&amp;nbsp;Virtualization. I came across a post by&amp;nbsp;Marcus Yam,&amp;nbsp;&lt;a href="http://www.tomshardware.com/news/windows-xp-mode-virtualization-intel,7709.html" target="_blank"&gt;Which Intel CPUs Support XP Mode Virtualization?&lt;/a&gt;, which provides a good list of chips, also Intel provide a list of &lt;a href="http://www.intel.com/products/processor/core2duo/specifications.htm" target="_blank"&gt;features for their chip sets&lt;/a&gt;, which is most helpful. &amp;nbsp;Ed Bott has a good post too on &lt;a href="http://blogs.zdnet.com/Bott/?p=946" target="_blank"&gt;How many Intel CPUs will fail the XP Mode test in Windows 7?&lt;/a&gt;. &amp;nbsp;Apparently&amp;nbsp;AMD has virtualization built into all 65nm and 45nm processors, so that makes it a little easier.&lt;/p&gt;
&lt;p&gt;What about the motherboards will they support Virtalization Technology? &amp;nbsp;I've not managed to find this out yet.&lt;/p&gt;
&lt;p&gt;The main hard drive is going to have the be a &lt;a href="http://en.wikipedia.org/wiki/Solid-state_drive" target="_blank"&gt;solid state hard drive&lt;/a&gt;, as I do like the idea of loading applications up in seconds, something like&amp;nbsp;&lt;a href="http://www.codinghorror.com/blog/archives/001304.html" target="_blank"&gt;Crucial 64GB 2.5" M225 SATAII Solid State Drive&lt;/a&gt;?, which comes in at &amp;pound;165, from &lt;a href="http://www.dabs.com/products/crucial-64gb-2-5--m225-sataii-solid-state-drive-64M1.html?q=sataIII%20solid%20state%20drive" target="_blank"&gt;Dabs&lt;/a&gt;, not bad for such blistering performance, the question is whether I RAID the drive or not? &amp;nbsp;Not sure what the benefits would be to me, performance is not an issue with a solid state hard drive, and for reliability I am using Windows Home Server which backs up every night. &amp;nbsp;Or am I missing something with RAID?&lt;/p&gt;
&lt;p&gt;The file system to storing all my data is not really an issue as &lt;a href="http://en.wikipedia.org/wiki/Terabytes" target="_blank"&gt;Terabyte&lt;/a&gt;&amp;nbsp;hard drives are two a penny these days.&lt;/p&gt;
&lt;p&gt;Next is the memory I need to have about 8 Gbytes in order to perform fast Virtualization with the ability to expand further if I need to, I know the memory needs to be fast and what I'm not sure about yet is what type and speed do I need the memory to be? &amp;nbsp;I've heard about&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/DDR3_SDRAM" target="_blank"&gt;Triple Channel&lt;/a&gt; and &lt;a href="http://www.corsair.com/products/dominator/default.aspx" target="_blank"&gt;Dominator&lt;/a&gt;, but what is this all about? &amp;nbsp;I've come across the &lt;a href="http://www.amazon.co.uk/exec/obidos/ASIN/B001NAC3FQ/interactiveda3824-21" target="_blank"&gt;Corsair (TR3X6G1866C9DF) 6GB DDR3 3X2GB DDR3-1866 CL 9-9-9-24 Triple Channel Memory Kit&lt;/a&gt;&amp;nbsp;as &amp;pound;227 from Amazon a little high priced how ever very fast or another option is&amp;nbsp;&lt;a href="http://www.dabs.com/products/corsair-memory-ddr3-1333mhz-12gb-core-i7-supt-5GK5.html?refs=4294951079-50113-4294951774" target="_blank"&gt;Corsair Memory DDR3 1333MHz 12GB Core I7 Supt&lt;/a&gt;, which appear to be good value at only &amp;pound;225 from Dabs.&lt;/p&gt;
&lt;p&gt;With all the hardware I'm going to have to get a Power Supply Unit to drive it all,&amp;nbsp;&lt;a href="http://www.dabs.com/products/corsair-memory-1000w-atx-psu-501J.html" target="_blank"&gt;Corsair Memory 1000W ATX PSU&lt;/a&gt;&amp;nbsp;(&amp;pound;160), and to house the kit it's going to have to be a &lt;a href="http://www.amazon.co.uk/Antec-Hundred-Ultimate-Complete-Customisation/dp/B001PKUU4A/ref=pd_cp_ce_2" target="_blank"&gt;large desktop case&lt;/a&gt;&amp;nbsp;(&amp;pound;85)&lt;/p&gt;
&lt;p&gt;Other accessories I will need also to make my machine, some&amp;nbsp;&lt;a href="http://www.amazon.co.uk/Arctic-Silver-3-5g-Thermal-Paste/dp/B0002VFXFE/ref=pd_bxgy_ce_img_c" target="_blank"&gt;Arctic Silver 5 3.5g Thermal Paste&lt;/a&gt;,&amp;nbsp;&lt;a href="http://www.amazon.co.uk/Arctic-Silver-ArctiClean-Material-Purifier/dp/B000BKP306/ref=dp_cp_ob_ce_title_2" target="_blank"&gt;Arctic Silver ArctiClean Thermal Material Remover &amp;amp; Surface Purifier 60ml Kit&lt;/a&gt;, and&amp;nbsp;&lt;a href="http://www.amazon.co.uk/Nylon-6-6-Plain-Washers-Colour/dp/B000OH0ABS/ref=dp_cp_ob_ce_title_3" target="_blank"&gt;Nylon 6.6 Plain Washers, Colour : Natural, Thread Size : M5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Next question is will all of the above work together?&lt;/p&gt;
&lt;p&gt;My research has taken me many places and it all started at &lt;a href="http://www.dotnetdevnet.com/" target="_blank"&gt;DotNetDevNet&lt;/a&gt;, with &lt;a href="http://codefornothing.wordpress.com/2009/08/02/big-fast-and-nearly-silent/" target="_blank"&gt;Jose&lt;/a&gt; and &lt;a href="http://www.guysmithferrier.com/post/2009/10/Windows-Virtual-PC-and-Windows-XP-Mode-RTM.aspx" target="_blank"&gt;Guy&lt;/a&gt; helping me out.&lt;/p&gt;
&lt;p&gt;So my search goes on.&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/24/The-start-of-a-partnership.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/24/The-start-of-a-partnership.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=f9cbaafc-74c1-4c42-8511-2b6a3f3af9a2</guid>
      <pubDate>Sat, 24 Oct 2009 08:33:00 +0000</pubDate>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=f9cbaafc-74c1-4c42-8511-2b6a3f3af9a2</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=f9cbaafc-74c1-4c42-8511-2b6a3f3af9a2</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/24/The-start-of-a-partnership.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=f9cbaafc-74c1-4c42-8511-2b6a3f3af9a2</wfw:commentRss>
    </item>
    <item>
      <title>How do I create the aspnetdb database?</title>
      <description>&lt;p&gt;I've been using the Microsoft Aspnetdb database for some time now, and I still get asked about how to create the database, so here you go enjoy:&lt;/p&gt;
&lt;p&gt;Microsoft has a new and powerful default database schema in ASP.Net 2.0 as ASPNETDB.mdf database. This database file serves as a role provider, and membership provider. Visual Web Developer 2005 supports the ASP.Net configuration to manage this personal aspnetdb database file within the web application inside the App_Data folder. Aspnetdb database helps in managing users along with their roles e.g. admin, employee, editors etc. It also enables the in-built functionality of Login controls and web parts to be integrated on ASP.Net 2.0 web pages that helps in managing user profiles, login, and personalized user pages very easily even without writing the bulky code to implement the sql queries or stored procedures along with data access code for inserting, updating or deleting the user personalized data.&lt;/p&gt;
&lt;h2&gt;How to create Aspnetdb database?&lt;/h2&gt;
&lt;p&gt;Using aspnet_regsql command:&lt;/p&gt;
&lt;p&gt;You can use aspnet_regsql command to create aspnetdb database. This command executes the default scripts to create the default database for asp.net 2.0 web applications.&lt;/p&gt;
&lt;p&gt;Steps to create aspnetdb database using aspnet_regsql command:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Visual Studio 2005 command prompt from Start --&amp;gt; All Programs --&amp;gt; Microsoft Visual Studio 2005 --&amp;gt; Visual Studio Tools --&amp;gt; Visual Studio 2005 Command Prompt&lt;br /&gt;&lt;img style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-style: initial; border-color: initial; " src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd.jpg" alt="" /&gt;&lt;/li&gt;
&lt;li&gt;Type aspnet_regsql and press enter key&amp;nbsp;&lt;/li&gt;
&lt;li&gt;This will open the ASP.Net SQL Server Setup wizard. Click next to continue&amp;hellip;&amp;nbsp;&lt;br /&gt;&lt;img style="border: 0px initial initial;" src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd+(1).jpg" alt="" /&gt;&lt;/li&gt;
&lt;li&gt;In the next screen select the option to Configure SQL Server for application services. This option executes a script to configure the database for managing user profiles, roles, membership and personalization. Click next to continue&amp;hellip;&lt;br /&gt;&lt;img style="border: 0px initial initial;" src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd+(2).jpg" alt="" /&gt;&lt;/li&gt;
&lt;li&gt;In this step enter the sql server name and choose the right authentication method. Leave the database field to default and click next&amp;hellip;&amp;nbsp;&lt;br /&gt;&lt;img style="border: 0px initial initial;" src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd+(3).jpg" alt="" /&gt;&lt;/li&gt;
&lt;li&gt;Confirm your settings and click next to finish.&amp;nbsp;&lt;br /&gt;&lt;img src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd+(4).jpg" alt="" /&gt;&lt;br /&gt;&lt;img src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fimage.axd+(5).jpg" alt="" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;It's also worth checking out:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/x28wfk74.aspx" target="_blank"&gt;Creating the Application Services Database for SQL Server&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/11/How-do-I-create-the-aspnetdb-database.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/11/How-do-I-create-the-aspnetdb-database.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=4b1c0c1f-1631-49b4-aa0d-a524a95631fa</guid>
      <pubDate>Sun, 11 Oct 2009 14:06:00 +0000</pubDate>
      <category>ASP.NET</category>
      <category>MS SQL</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=4b1c0c1f-1631-49b4-aa0d-a524a95631fa</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=4b1c0c1f-1631-49b4-aa0d-a524a95631fa</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/11/How-do-I-create-the-aspnetdb-database.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=4b1c0c1f-1631-49b4-aa0d-a524a95631fa</wfw:commentRss>
    </item>
    <item>
      <title>How to Collaborate with Remote Employees</title>
      <description>&lt;p&gt;I've been working at home on and off for a number of year, and one thing that always comes up is how to collaborate with remote employees over the internet.&lt;/p&gt;
&lt;p&gt;I have been using &lt;a href="https://connect.microsoft.com/site/sitehome.aspx?SiteID=94" target="_blank"&gt;Microsoft Shared View&lt;/a&gt;, it's easy to use and just does the job. &amp;nbsp;If you are using a Mac then you could also try out &lt;a href="http://wareseeker.com/Network-Internet/microsoft-sharedview-8.0.5725.0.zip/36aa4c746" target="_blank"&gt;Microsoft Shared View for the Mac&lt;/a&gt;, although I have not tested this out yet.&lt;/p&gt;
&lt;p&gt;It's also worth check out&amp;nbsp;&lt;a href="http://www.hanselman.com/blog/HowToCollaborateWithRemoteEmployeesWithOfficeCommunicator2007R2.aspx" target="_blank"&gt;How to Collaborate with Remote Employees with Office Communicator 2007 R2&lt;/a&gt; by Scott Hanselman, for other ways for collaborate.&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/07/How-to-Collaborate-with-Remote-Employees.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/07/How-to-Collaborate-with-Remote-Employees.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=5cd08ed7-d95e-4f28-9147-170629703702</guid>
      <pubDate>Wed, 07 Oct 2009 06:41:00 +0000</pubDate>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=5cd08ed7-d95e-4f28-9147-170629703702</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=5cd08ed7-d95e-4f28-9147-170629703702</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/07/How-to-Collaborate-with-Remote-Employees.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=5cd08ed7-d95e-4f28-9147-170629703702</wfw:commentRss>
    </item>
    <item>
      <title>Fastest way to Screen Cast</title>
      <description>&lt;p&gt;If you need to screen cast then check out &lt;a href="http://www.screentoaster.com/" target="_blank"&gt;Screen Toaster&lt;/a&gt;, it's fast easy to use&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;Register &amp;amp; use it anywhere, anytime&lt;/li&gt;
&lt;li&gt;No download. Compatible with Windows, Mac OS X, Linux.&lt;/li&gt;
&lt;li&gt;Capture videos of onscreen action in one click&lt;/li&gt;
&lt;li&gt;Record screencasts, tutorials, demos, training, lectures and more.&lt;/li&gt;
&lt;li&gt;Share and stream videos online in Flash&lt;/li&gt;
&lt;li&gt;Embed them on blogs and webpages or send them by email.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/04/Fastest-way-to-Screen-Cast.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/04/Fastest-way-to-Screen-Cast.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=21ea4222-fb4e-4b0a-ab9b-a7dd089fda0b</guid>
      <pubDate>Sun, 04 Oct 2009 08:25:00 +0000</pubDate>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=21ea4222-fb4e-4b0a-ab9b-a7dd089fda0b</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=21ea4222-fb4e-4b0a-ab9b-a7dd089fda0b</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/04/Fastest-way-to-Screen-Cast.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=21ea4222-fb4e-4b0a-ab9b-a7dd089fda0b</wfw:commentRss>
    </item>
    <item>
      <title>Scripting SQL Objects with SQL 2008</title>
      <description>&lt;p&gt;If you need to script out the objects within a database, from generating tables through to extracting out the data so you can use it in another database or schema then you are going to need to script the SQL.&lt;/p&gt;
&lt;p&gt;MS SQL Server 2008 has new Generate Scripts option which enables you to script data in SQL Server database tables. you can script data from sql tables into a script file, to the clipboard or script data on a new sql query window. Script data can be used to export and/or import table data from one database to another database.&lt;/p&gt;
&lt;p&gt;The Script Data option creates INSERT statements foreach row in the table using the column data that the related table record has. Later than the scripted table data can be used by executing the generated t-sql scripts, to create a copy of the original table on an other server or an other database with identical data or identical rows on the destination database or table, what's more you can script the the database to go to a SQL 2000 database from a SQL 2008, how cool is that?&lt;/p&gt;
&lt;p&gt;SQL Server generate script with data is a powerful SQL Server tool in order to create sql script to move data from one database to another database.&lt;/p&gt;
&lt;p&gt;I want to demonstrate with a sample how a sql developer can use the Generate Scripts task in order to script table data of a SQL Server 2008 database table.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 15px; font-weight: bold;"&gt;Open the Generate Scripts SubMenu Item from Task Menu&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;First of all, open the Microsoft SQL Server Management Studio which is installed from the Client Tools of a MS SQL Server 2008 installation package.&lt;/p&gt;
&lt;p&gt;Connect to a MS SQL Server database instance using the Server Explorer or using the Connect screen.&lt;/p&gt;
&lt;p&gt;Then open the Object Explorer window and expand the Databases node.&lt;/p&gt;
&lt;p&gt;Here I connected to the local SQL Server instance and clicked over the Databases node and a list of existing sql server databases are visible in the object explorer window now. Later, I clicked the sql database MyWorks which owns the tables that I want to script data, rows/records of the database.&lt;/p&gt;
&lt;p&gt;Continue by right clicking on the database name and open the context menu, chooes Tasks menu and open submenu. Select Generate Script submenu item from the displated list.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f10%2fGenerateScript.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 15px; font-weight: bold;"&gt;Generate SQL Server Script Wizards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When you select the Generate Scripts sub menu item the Generate SQL Server Scripts Wizard starts. SQL administrators and sql programmers can use the Script Wizard to generate t-sql scripts as a t-sql scripter to create scripts for any object (tables, views, schemas, etc). You can work in detail on the Script Wizard and find useful hint that you can benefit in your sql developments.&lt;/p&gt;
&lt;p&gt;Watch the following screen cast to see it in action.&lt;/p&gt;
&lt;p&gt;
&lt;object width="425" height="344"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/Mpp1vHL_SVY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" /&gt;
&lt;param name="allowFullScreen" value="true" /&gt;
&lt;param name="allowscriptaccess" value="always" /&gt;&lt;embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/Mpp1vHL_SVY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;
&lt;/object&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/10/04/Scripting-SQL-Objects-with-SQL-2008.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/10/04/Scripting-SQL-Objects-with-SQL-2008.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=4d5cba17-9c70-47c9-9238-fbc1dbaef928</guid>
      <pubDate>Sun, 04 Oct 2009 07:19:00 +0000</pubDate>
      <category>MS SQL</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=4d5cba17-9c70-47c9-9238-fbc1dbaef928</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=4d5cba17-9c70-47c9-9238-fbc1dbaef928</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/10/04/Scripting-SQL-Objects-with-SQL-2008.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=4d5cba17-9c70-47c9-9238-fbc1dbaef928</wfw:commentRss>
    </item>
    <item>
      <title>One day in Kanban land</title>
      <description>&lt;p&gt;Came across this today, and thought it was very good.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.bryanavery.co.uk/image.axd?picture=2009%2f9%2fKanban1.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.crisp.se/henrikkniberg/2009/06/26/1246053060000.html" target="_blank"&gt;Original post&lt;/a&gt;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/09/25/One-day-in-Kanban-land.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/09/25/One-day-in-Kanban-land.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=c187bcfc-ee1e-477d-aa5d-3286c045fc7f</guid>
      <pubDate>Fri, 25 Sep 2009 09:38:00 +0000</pubDate>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=c187bcfc-ee1e-477d-aa5d-3286c045fc7f</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=c187bcfc-ee1e-477d-aa5d-3286c045fc7f</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/09/25/One-day-in-Kanban-land.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=c187bcfc-ee1e-477d-aa5d-3286c045fc7f</wfw:commentRss>
    </item>
    <item>
      <title>xVal 1.0 released</title>
      <description>&lt;p&gt;An important tool when using MVC&amp;nbsp;xVal version 1.0 is released, xVal is a validation helper for ASP.NET MVC that lets you use your own choice of server-side validation framework (e.g., Microsoft&amp;rsquo;s DataAnnotations attributes, or Castle Validator, or NHibernate Validaion) and dynamically generates client-side validation code from your rules.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.codeville.net/2009/09/17/xval-v10-now-available/" target="_blank"&gt;xVal 1.0&lt;/a&gt;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/09/18/xVal-10-released.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/09/18/xVal-10-released.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=8fb1f147-85cd-45cb-b664-1ea826e67bdb</guid>
      <pubDate>Fri, 18 Sep 2009 14:31:00 +0000</pubDate>
      <category>MVC</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=8fb1f147-85cd-45cb-b664-1ea826e67bdb</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=8fb1f147-85cd-45cb-b664-1ea826e67bdb</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/09/18/xVal-10-released.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=8fb1f147-85cd-45cb-b664-1ea826e67bdb</wfw:commentRss>
    </item>
    <item>
      <title>ModelState is not Valid</title>
      <description>&lt;p&gt;When you are using MVC you will come across using the ModelState, and the most common use is ModelState.IsValid, if you've not used this before then check out&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/dd410404.aspx" target="_blank"&gt;Validating Model Data in an MVC Application&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="http://blog.codeville.net/2009/01/10/xval-a-validation-framework-for-aspnet-mvc/" target="_blank"&gt;xVal - a validation framework for ASP.NET MVC&lt;/a&gt;, what I did come across is an exception beyound the normal checks, that a table was missing from the database. &amp;nbsp;Although the error was recorded in the ModelState, it did not raise any exception and hence the exception handling did not capture the message. &amp;nbsp;To record the Exception you'll need to go over the collection and this code allows you to do this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;foreach (var value in ModelState.Values)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; foreach (var error in value.Errors )&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new Exception (error.ErrorMessage, error.Exception);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <link>http://www.bryanavery.co.uk/post/2009/09/18/ModelState-is-not-Valid.aspx</link>
      <author>bryan</author>
      <comments>http://www.bryanavery.co.uk/post/2009/09/18/ModelState-is-not-Valid.aspx#comment</comments>
      <guid>http://www.bryanavery.co.uk/post.aspx?id=4bf5de15-9286-40f1-bdbe-9890b08f5483</guid>
      <pubDate>Fri, 18 Sep 2009 14:18:00 +0000</pubDate>
      <category>MVC</category>
      <dc:publisher>bryan</dc:publisher>
      <pingback:server>http://www.bryanavery.co.uk/pingback.axd</pingback:server>
      <pingback:target>http://www.bryanavery.co.uk/post.aspx?id=4bf5de15-9286-40f1-bdbe-9890b08f5483</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.bryanavery.co.uk/trackback.axd?id=4bf5de15-9286-40f1-bdbe-9890b08f5483</trackback:ping>
      <wfw:comment>http://www.bryanavery.co.uk/post/2009/09/18/ModelState-is-not-Valid.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.bryanavery.co.uk/syndication.axd?post=4bf5de15-9286-40f1-bdbe-9890b08f5483</wfw:commentRss>
    </item>
  </channel>
</rss>
