tag:blogger.com,1999:blog-88045471219540194522023-11-15T13:44:52.547-05:00Buck the CoderBuchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-8804547121954019452.post-18395324387793189702010-09-13T08:07:00.003-04:002010-09-13T08:20:16.087-04:00Hey It's Monday!Usually I am not one to greet a morning with a smile, especially when it is a Monday morning. I usually think the creators of the English language were trying to tell us something when they made the words morning and mourning sound the same.<div>This morning though I am feeling positive. Not sure why that is. Maybe the fog in the air is letting me know that fall is here and the long hot summer is letting go. Maybe it is seeing Resident Evil 4 yesterday and knowing that there will be a Resident Evil 5 coming again at some point (more Milla in the future should bring a smile to anyone's face.) </div><div>All I know is today I am in a good mood and felt like sharing it. </div><div>Have a good day all!!</div>Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-16028247913871745142010-04-02T09:59:00.003-04:002010-04-02T10:19:11.680-04:00TiddlyWiki + Dropbox = Nice Personal Knowledge ManagerI have been trying to find a good way to manage all the little pieces of knowledge I pick up through the day. In the past I would either just file them away in my already way too cluttered brain or scribble them down in a notebook or some such (which I usually lose!). If you have read "<a href="http://www.amazon.com/Getting-Things-Done-Stress-Free-Productivity/dp/0142000280">Getting Things Done</a>" you know this is not very reliable.<div>One thing I have been doing recently is using a personal wiki application called <a href="http://www.tiddlywiki.com/">TiddlyWiki</a>. This is a single html file you save locally and update and customize as needed. I then found that if I save this to a folder in <a href="https://www.dropbox.com/">DropBox</a>. This allows me to access it from any of the computers I use throughout my day or even from my BlackBerry (Read-only) via the <a href="https://www.dropbox.com/">DropBox</a> website. </div><div>While this doesn't meet all of my needs and wants, it does get me by until I build my own wiki application that does all that I want it to do. </div>Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-89577364219428515682010-03-01T10:50:00.004-05:002010-03-01T10:56:35.721-05:00Slides from Intro to WIF at CAPAREA.netBeen a little slammed since I presented at caparea.net on "Introduction to Windows Identity Foundation (WIF)" last week so have been slow about getting my slides and source code up.<div><br /></div><div>My slides can be found at: <a href="http://dl.dropbox.com/u/3231682/An%20Introduction%20to%20Windows%20Identity%20Foundation.pptx">Slides</a></div><div>I will be pulling a step by step process for the demo's instead of providing source. Look for those sometime later this week.</div>Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-19938333698595835942009-11-08T11:49:00.002-05:002009-11-08T11:56:29.784-05:00TDD Kata Presentation at CMAPP YesterdayYesterday I got the chance to present my TDD Kata at <a href="http://www.cmap-online.org/CodeCamp/">CMAPP Code Camp</a> and had a blast.<div>Will post something later discussing my take on TDD Katas and how they can fit into a developers life.</div><div>For now though here is a link to the presentation files on GitHub. <a href="http://github.com/buchanan1966/TDD-Kata-Presentation---CMAPP-Fall-09">TDD-Kata-Presentation---CMAPP-Fall-09</a>.</div><div>To run the tests you will need <a href="http://www.gallio.org/">Gallio</a> installed.</div>Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-14050697588927466072009-01-09T19:19:00.001-05:002009-01-09T19:19:45.435-05:00Setting up an ASP.NET MVC Project using TortoiseSVN and Unfuddle – 2. Creating the VS Solution<h2>So Far</h2> <p>In the last post, I walked through the steps to create the folder structure and checking it into my Unfuddle repository. Now we will pick up from there and create our Solution file, MVC/Test projects, verify it builds, and check that into the Unfuddle repository as well.</p> <h2>A few prerequisites</h2> <ul> <li>Visual Studio 2008 – SP1 </li> <li>ASP.NET MVC Beta </li> <li>XUnit – with the Visual Studio plugin installed (you could do this with MS Test as well) </li> </ul> <h2>Creating the Solution File</h2> <p>When creating a new solution I lean toward setting it up first using a Blank Solution so that I have a little more control over the process. You can just let it create it automatically when you create the MVC Project but you don’t get as much control over the folder structure within your project and may need to go back and manually move things anyway. I just do it as I go.</p> <p>Open Visual Studio and click on File –> New –> Project </p> <p>Once it opens select Visual Studio Solutions under Project Types. </p> <p>Then select Blank Solution, enter the solution name, enter the path in your local repository coresponding to trunk\src and click OK.</p> <p><a href="http://lh6.ggpht.com/_Dfb4at56ZhA/SWfpZphgXFI/AAAAAAAAADA/H4VuHJYuCrU/s1600-h/Snap103.jpg"><img title="Snap10" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="305" alt="Snap10" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWfpaQszNvI/AAAAAAAAADE/LnqeeWYPCDY/Snap10_thumb1.jpg?imgmax=800" width="446" border="0" /></a></p> <p>Now this what gets created:</p> <p><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpa-pkT4I/AAAAAAAAADI/rU7zS3Rty4c/s1600-h/Snap113.jpg"><img title="Snap11" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="341" alt="Snap11" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWfpbbcg3eI/AAAAAAAAADM/03tWo-GHjAg/Snap11_thumb1.jpg?imgmax=800" width="448" border="0" /></a> </p> <p>You will notice that the sln file was created in a new mymvcsolution folder which I really don’t want. I will just close Visual Studio, cut the files and paste them into the src folder and then delete the unwanted folder. ALl the mappings within the file are relative so once the files is moved all is good. </p> <h2>Create the MVC/Test Projects</h2> <p>Now click on the sln file to reopen Visual Studio.</p> <p>Click on FIle –> New –> Project</p> <p><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpcbXKV9I/AAAAAAAAADQ/2r2vOBOY6ZY/s1600-h/Snap124.jpg"><img title="Snap12" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="314" alt="Snap12" src="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpc7L4-5I/AAAAAAAAADU/jtmeb-NJywQ/Snap12_thumb2.jpg?imgmax=800" width="433" border="0" /></a> </p> <p>Under Project types select Visual C# –> Web and the ASP.NET MVC Web Application.</p> <p>Enter mymvcapplication for the name, verify that it is using the trunk\src folder as the Location and for Solution it should use Add to Solution.</p> <p>You should now get the following prompt:</p> <p><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpdwoEZyI/AAAAAAAAADY/sXpaRjxxDh4/s1600-h/Snap133.jpg"><img title="Snap13" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="302" alt="Snap13" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWfpfDKgNsI/AAAAAAAAADc/cnD61QoqPX0/Snap13_thumb1.jpg?imgmax=800" width="447" border="0" /></a></p> <p>I have selected xUnit but you could also go with MSTest at this point .</p> <p>Now if you try to build at this point you will get 5 identical fails:</p> <p><em>“The name 'GlobalApplication' does not exist in the current context   C:\projects\mymvcproject\trunk\src\mymvcapplication.Tests\Routes\RouteFacts.cs”</em></p> <p><em>When you navigate to the code you will find the following:</em></p> <div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4"> <div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 1:</span> GlobalApplication.RegisterRoutes(routes);</pre><br /> </div><br /></div><br /><br /><p>The problem is that the GlobalApplication is named MvcApplication in Global.asax.cs. If you update this in each of the tests to:</p><br /><br /><div><br /> <div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><br /> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 1:</span> MvcApplication.RegisterRoutes(routes);</pre><br /> </div><br /></div><br /><br /><div>Then build again it will all be successful.</div><br /><br /><div> </div><br /><br /><h2>A Little Tuning</h2><br /><br /><div>If you look in the trunk\src\mymvcapplication.Tests folder you will find a folder called 3rdparty and remember we created a folder in the trunk called thirdparty. When I add more test projects I will either need to reference this file or have another copy of this file in each project. I would prefer to move this to the folder I created for this purpose. So I will cut the xunit.dll from this folder and paste it into my thirdparty folder in the trunk.</div><br /><br /><div> </div><br /><br /><div>Then I will delete the 3rdParty folder from the test project.</div><br /><br /><div>One last thing I need to do is in Visual Studio in the references, I need to remove the current xunit reference and add the new one by right clicking on references</div><br /><br /><div><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpgSYCdnI/AAAAAAAAADg/6PlKWmoOnjI/s1600-h/Snap14%5B3%5D.jpg"><img title="Snap14" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="125" alt="Snap14" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWfphe-gIyI/AAAAAAAAADk/iMjWrmHs46U/Snap14_thumb%5B1%5D.jpg?imgmax=800" width="303" border="0" /></a> </div><br /><br /><p>Click Add Reference:</p><br /><br /><p><a href="http://lh6.ggpht.com/_Dfb4at56ZhA/SWfpju6UNcI/AAAAAAAAADo/tyTf5Sn5w1Q/s1600-h/Snap15%5B3%5D.jpg"><img title="Snap15" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="349" alt="Snap15" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWfpk-f5PlI/AAAAAAAAADs/UaQs78u_Q-M/Snap15_thumb%5B1%5D.jpg?imgmax=800" width="411" border="0" /></a> </p><br /><br /><p>Click on the Browse tab an d navigate to the trunk\thirdparty, select xunit.dll and click OK.</p><br /><br /><p>If you build the solution now you will find it builds fine.</p><br /><br /><p>If you want to see success hit F5 and click ok on the warning to enable debugging in your web.config. You will see this:</p><br /><br /><p><a href="http://lh5.ggpht.com/_Dfb4at56ZhA/SWfplexIfkI/AAAAAAAAADw/bCR7l5G0QEE/s1600-h/Snap16%5B3%5D.jpg"><img title="Snap16" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="172" alt="Snap16" src="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfplzGABuI/AAAAAAAAAD0/7hdcN3Z_Mlg/Snap16_thumb%5B1%5D.jpg?imgmax=800" width="430" border="0" /></a> </p><br /><br /><p>Now I will close Visual Studio and Check in.</p><br /><br /><h2>Checking In</h2><br /><br /><p>I will now navigate to the trunk folder and right click on the mymvcproject(root) folder and right click on the trunk folder and click on SVNCommit:</p><br /><br /><p><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpmWuaGzI/AAAAAAAAAD4/ZetP_NON2xU/s1600-h/Snap17%5B3%5D.jpg"><img title="Snap17" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="321" alt="Snap17" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWfpmyOFSRI/AAAAAAAAAD8/XzWn-Uf8iJM/Snap17_thumb%5B1%5D.jpg?imgmax=800" width="387" border="0" /></a> </p><br /><br /><p>I will then click the select all box but then deselect the contents of the bin folder, add a message like “Initial Project Checkin” and click OK. The following dialog will show the files being added and uploaded and the success message (hoepfully):</p><br /><br /><p><a href="http://lh4.ggpht.com/_Dfb4at56ZhA/SWfpnagHMqI/AAAAAAAAAEA/xIwAq6KnrvE/s1600-h/Snap19%5B3%5D.jpg"><img title="Snap19" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="217" alt="Snap19" src="http://lh3.ggpht.com/_Dfb4at56ZhA/SWfpoOP36eI/AAAAAAAAAEE/niCjJTeReAI/Snap19_thumb%5B1%5D.jpg?imgmax=800" width="456" border="0" /></a> </p><br /><br /><p>Now when I open Unfuddle and check the repository I see the files I checked in so we are done!</p><br /><br /><p>Ok well done is a strong word really we are ready to actually get started but now we have a place to work and if we check in religiously we have some backup for code changes and such.</p><br /><br /><p>Later I will visit how to set up a continuous integration server with CruiseControl.NET so that you can get validation that your checkins don’t break the build.</p><br /><br /><p>Please let me know any comments you may have.</p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-38875770644635767262009-01-08T23:33:00.001-05:002009-01-08T23:34:40.120-05:00Setting up an ASP.MVC Project Using TortoiseSVN and Unfuddle – 1.Local Repository Structure<h2>1. Create a Repository</h2> <p>The first step is to create a repository in your Subversion server. In my case since I am using Unfuddle I will create it using the web page.</p> <p><a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWbTcbI3wjI/AAAAAAAAABw/BFgKtFJv9ao/s1600-h/Snap18.jpg"><img title="Snap1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="224" alt="Snap1" src="http://lh6.ggpht.com/_Dfb4at56ZhA/SWbTdCgzRRI/AAAAAAAAAB0/0lkWUUU_J6Y/Snap1_thumb4.jpg?imgmax=800" width="445" border="0" /></a> </p> <h2>2. Setup the local Folder Structure</h2> <p>In Windows Explorer create a folder to house your project, in my case I will create it a c:\projects\mymvcproject</p> <p>Within that folder we will create the following folders:</p> <ul> <li>trunk – will contain the main project files.</li> <li>tags – will contain versions of the project as they are released</li> <li>branches – will contain any temporary versions like patches</li> </ul> <p>Now tags and branches we will leave alone for now and focus on setting up the trunk folder. Within it we will create the following:</p> <ul> <li>src – will contain the actual VS solution files</li> <li>thirdparty – will hold any external resource libraries that will be used by the solution</li> <li>docs – will contain project documentation</li> </ul> <p>Your folder structure should look like this:</p> <p><a href="http://lh4.ggpht.com/_Dfb4at56ZhA/SWbTd2dWuWI/AAAAAAAAAB4/sBV_YRrforg/s1600-h/Snap2%5B5%5D.jpg"><img title="Snap2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="144" alt="Snap2" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTerH4iYI/AAAAAAAAAB8/sfAj_23aNAM/Snap2_thumb%5B1%5D.jpg?imgmax=800" width="149" border="0" /></a> </p> <h2>3. Import the Folder Structure into the Repository</h2> <p>Now open up in the c:\projects folder (or whichever folder you created the structure in) and right click on the mymvcproject folder and select TortoiseSVN –> Import…</p> <p><a href="http://lh4.ggpht.com/_Dfb4at56ZhA/SWbTfWNEHCI/AAAAAAAAACA/RhXT0caHusc/s1600-h/Snap3%5B3%5D.jpg"><img title="Snap3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="315" alt="Snap3" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTf5HHlTI/AAAAAAAAACE/Ldgk7A_or7c/Snap3_thumb%5B1%5D.jpg?imgmax=800" width="399" border="0" /></a> In the Import form enter in the URL of your repository and click OK.<a href="http://lh3.ggpht.com/_Dfb4at56ZhA/SWbTgmRSfnI/AAAAAAAAACI/5slvm3DaHq4/s1600-h/Snap4%5B3%5D.jpg"><img title="Snap4" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="302" alt="Snap4" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWbThjsvzJI/AAAAAAAAACM/u2AwtAmk79A/Snap4_thumb%5B1%5D.jpg?imgmax=800" width="402" border="0" /></a> </p> <p>After entering your username and password, you will see the files imported. At this point the folders have not been added to the repository yet. We must now checkin the files to complete the process.</p> <h2>4. Checkin</h2> <p>Now right click on the mymvcproject folder and click on SVNCheckout.</p> <p><a href="http://lh6.ggpht.com/_Dfb4at56ZhA/SWbTiNyvUtI/AAAAAAAAACQ/l26HYicMfRc/s1600-h/Snap5%5B3%5D.jpg"><img title="Snap5" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="353" alt="Snap5" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTiwhzmoI/AAAAAAAAACU/_7hQrsI3uOE/Snap5_thumb%5B1%5D.jpg?imgmax=800" width="247" border="0" /></a> </p> <p>Enter the URL of the repository as before and the path to your mymvcproject folder and click OK</p> <p><a href="http://lh6.ggpht.com/_Dfb4at56ZhA/SWbTjnNZkNI/AAAAAAAAACY/Zw9nQg4xRyA/s1600-h/Snap6%5B3%5D.jpg"><img title="Snap6" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="304" alt="Snap6" src="http://lh3.ggpht.com/_Dfb4at56ZhA/SWbTkQrnJwI/AAAAAAAAACc/4rkbeIu6GKE/Snap6_thumb%5B1%5D.jpg?imgmax=800" width="390" border="0" /></a> </p> <p></p> <p></p> <p></p> <p></p> <p></p> <p>The files will be checked and and you should see this: </p> <p><a href="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTlGZqr3I/AAAAAAAAACo/HsrRBi9FmHY/s1600-h/Snap7%5B3%5D.jpg"><img title="Snap7" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="206" alt="Snap7" src="http://lh4.ggpht.com/_Dfb4at56ZhA/SWbTloE3KmI/AAAAAAAAAC0/0vL3-EHyd6M/Snap7_thumb%5B1%5D.jpg?imgmax=800" width="433" border="0" /></a> </p> <p>Now if you go into Unfuddle and look in your MyMVCProject you will see that the folders have been added as expected:</p> <p><a href="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTmX0lo1I/AAAAAAAAAC4/x_IcLITavgo/s1600-h/Snap8%5B3%5D.jpg"><img title="Snap8" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="152" alt="Snap8" src="http://lh5.ggpht.com/_Dfb4at56ZhA/SWbTmzN_1RI/AAAAAAAAAC8/h8pQ2Kezzl4/Snap8_thumb%5B1%5D.jpg?imgmax=800" width="476" border="0" /></a> </p> <h2>Continuing</h2> <p>In the next post I will cover the creation of the Visual Studio solution and ASP.NET MVC Project.</p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-22087290695574339392009-01-07T13:12:00.001-05:002009-01-07T13:12:20.735-05:00Setting up an ASP.MVC Project Using TortoiseSVN and Unfuddle - Introduction<h2>Introduction </h2> <p>I am in the process of beginning a new personal project using ASP.NET MVC. The actual project is something I really don’t feel like boring anyone with as it is just something I have been kicking around for a while. The important part of mentioning it, is that, as I am working my way through this project, I will pick key decision points and try to blog about the decision I reach. </p> <p>The drivers for doing this are to force me to think it through a little more thoroughly, since who wants to blog something only to have someone point out something obvious, and to help me fine tune my skills at communicating the approach.</p> <p>Will I get everything right? I doubt it, but it will serve as a conversation starter, at the least and hopefully in the end provide some guidance to others finding their way as well.</p> <h2>Getting Started</h2> <p>As I want to try to get the project off the ground to a relatively organized start. I am planning on using <a href="http://unfuddle.com/" target="_blank">Unfuddle</a> as my source control provider and <a href="http://tortoisesvn.net/" target="_blank">TortoiseSVN</a> as the tool to send updates to Unfuddle. The driver for this is giving me some ability to rollback changes that don’t work. I also get an easy way to keep versions of my code straight on my commuting laptop, my home desktop machine and possibly with other developers if the project seems to have some possibility of going somewhere.</p> <p>Later I plan to implement continuous integration using <a href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET" target="_blank">Cruise Control.NET</a> to allow me to automate builds to a demo environment to kick the tires as I move forward.</p> <p>The steps I am going to walk through in this series of posts are the ones to create the initial project structure, tune them a little easier to manage and get them checked in to my new repository.</p> <p>The actual process is this:</p> <ol> <li> <p>Creating the Local Project folder structure and import it into a New Unfuddle Repository</p> </li> <li> <p>Create the Visual Studio Solution, MVC and supporting projects and tune them a little </p> </li> <li> <p>Import the new solution to Unfuddle</p> </li> </ol> <p>As I go through these feel free to post comments and feedback.</p> <p>Enjoy!</p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-81815726508880802362008-12-27T14:30:00.001-05:002008-12-27T14:30:15.876-05:00Currently Reading: Getting Things Done: The Art of Stress-Free Reading<p> <a href="http://www.amazon.com/Getting-Things-Done-Stress-Free-Productivity/dp/0142000280">Amazon.com: Getting Things Done: The Art of Stress-Free Productivity: David Allen: Books</a></p> <p>So far trying working through all my current todo’s and organize them into a set of lists stored in <a href="http://www.rememberthemilk.com">Remember the Milk</a> lists. Finding it really handy to have my current items visible on IGoogle. Also like the ability to send an email and have it show up in my RTM inbox.</p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-49818712979613057472008-12-27T14:18:00.001-05:002008-12-27T14:20:18.083-05:00My Essential Tool List | Caffeinated Coder<p>Read this blog entry about a few weeks ago and have added a few of them to my list of tools I use everyday.</p> <p><a href="http://www.caffeinatedcoder.com/my-essential-tool-list/">My Essential Tool List | Caffeinated Coder</a></p> <p><a href="http://www.rememberthemilk.com">Remember The Milk</a> is one I have found especially useful.</p> <p><a href="http://www.executor.dk/">executor</a> is a very useful Application Launcher as an option to Launchy or SlickRun.</p> <p><a href="http://www.caffeinatedcoder.com/my-essential-tool-list/"> </a></p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com0tag:blogger.com,1999:blog-8804547121954019452.post-84635253394909094322008-12-27T12:02:00.001-05:002008-12-27T12:02:12.652-05:002009 Plans for Buck the Coder Blog<p>2008 is drawing to a quick close and like most people I am taking some time taking stock of where I am in my all parts of my life. </p> <p>As part of that, I thought about this blog. <strong>Buck the Coder</strong> is a blog I created a while back to begin to find my professional voice outside of the comfortable work environment and try to become a more active part of the community that, as a .NET developer, I gain a lot of value from. </p> <p>I read a fair amount of blogs and other web content everyday and find lots of it useful, enlightening, inspirational and entertaining. I also find a lot that is infuriating and contrary to what I think or have found from experience and often I take some time and investigate further to determine what is correct and change my opinions as needed. Most of these insights I have a tendency to keep to myself or share with a few of my colleagues when the topic comes up.</p> <p>I have never been the most outspoken person, usually I am the quiet person that only speaks up when I am sure of my position or when I am comfortable with my surroundings and confident of how it will be received. I have been on my team for a long time and have a fair amount of past success in my career so at work I have a place where I can find my voice in most cases. Outside of that though there are very few places I can feel comfortable raising my voice. </p> <p>I have decided that using this blog to begin to find my voice is a sound idea, if only I can get myself to actually do it and to that end I am going take the following steps:</p> <h3>Clearly Define Why I am Doing It</h3> <p>For most anything you try to accomplish, if you are going to succeed you need a clear view of why you should do it. If you don’t have that in mind it is unlikely that you will get very far.</p> <p>My key goal with this blog is to share my experiences of being a .NET developer as well as any insights or questions that are found along the way with the hope of either making someone else's path a little easier. </p> <h3>Make Time For It</h3> <p>I have a lot going on in my world and so if this is going to happen and be worth anything, I need make sure there is a process and time for doing it. So I am going to do the following:</p> <ul> <li>Write down any thoughts or ideas I have as I go about my day. </li> <li>Each night I will sit down and pull together those notes save the ones that are worthy of more thought. </li> <li>For any short thoughts or ideas that I think are either useful or worthy of discussion I will post a quick entry. </li> <li>For ideas that need more examination I will decide what the next step is and set aside time to do that. </li> <li>There are a few high level goals I have for next year, like getting my certifications, I will blog about these in more detail. </li> </ul> <h3>Blog as a Fellow Traveler</h3> <p>One of the roadblocks I have had in the past is my not feeling like an expert and seeing why anyone should care what I write. What I have found though is that the blogs I read and get the most value out of are the ones from people who are just sharing what they do and think and readily admit they don’t have all the answers. So I will write what I do and think, welcome others to tell me what they think and listen to what they say.</p> <h4></h4> <h4></h4> <p><strong><font size="3"></font></strong></p> <p>I wish anyone reading this a Happy New Year and invite you to take some time now and again to read this blog and provide me any feedback you may have.</p> <p><strong><font size="3">Buck</font></strong></p> <p><strong><font size="3"></font></strong></p> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com1tag:blogger.com,1999:blog-8804547121954019452.post-70826259826548128822008-05-14T09:12:00.005-04:002009-01-08T23:43:44.920-05:00Fixing a DB User After a MS SQL Server Restore<strong>Situation:</strong> After running a database restore a database user is no longer linked to a SQL Server login. <br /> <br /><strong>Solution:</strong> Run the following: <br /> <div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4"> <div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 1:</span> USE [%DB NAME%]</pre><br /><br /> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060"> 2:</span> EXEC sp_change_users_login <span style="color: #006080">'Auto_Fix'</span>,<span style="color: #006080">'%USERNAME%'</span></pre><br /><br /> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #606060"> 3:</span> GO</pre><br /> </div><br /></div><br /><em><span style="font-size: 85%; color: #000099"></span></em><br /><br /><br /><strong>Details:<br /> <br /></strong><a href="http://technet.microsoft.com/en-us/library/ms174378.aspx">MS Technet: sp_change_users_login (Transact-SQL)<br /> <br /></a> Buchanan "Buck" Dunnhttp://www.blogger.com/profile/02107594688018985737noreply@blogger.com1