DannyDouglass

Stories submitted by DannyDouglass

Recursive Ruby Script to replace File/Directory Names & File Contents(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 11 months, 19 days ago

Over this past weekend I began templating a project structure that we use at my day/evening/night job to allow developers to simply execute a script and provide a few parameters to initialize a new development project (including build script, fxcop analysis, unit testing, visual studio projects, etc.). I didn’t think this would take that long despite being relatively new to the Ruby world. Oddly enough, I had trouble finding similar examples on the interwebs – even StackOverflow didn’t have the answer! The horror, the horror! No matter, I’m a developer after all and should be, better be capable of handling this simple script. I decided to start simple and just use the directory global searching method to recursively get everything within my project template’s directory: read more...

add a comment |category: |Views: 5

tags: another

Simplify Using Xml Data with AutoMapper and Linq-To-Xml(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 3 months ago

I recently ran into a scenario at work that required manually consuming several SOAP web services, which I’m sure you can imagine was rather monotonous. A co-worker (Seth Carney) and I tried a few different approaches, but we finally settled on a solution that simplified consumption of the xml and ultimately made the code more testable. That solution centered around leveraging AutoMapper, an open source object-object mapping tool, to create a link between the XElements returned in the SOAP messages and custom contracts we created – in a reusable manner. I put together a quick demo that shows how you could use the same approach to consume and display the Twitter Public Timeline (using the API’s Xml response type). read more...

add a comment |category: |Views: 54

tags: another

A Better Hg Command Line Interface: Console2 + PowerShell + Posh-Hg(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 3 months ago

Moving from Subversion to Mercurial was more than a change from a centralized version control system to a distributed solution. I also found myself moving away from the explorer integration provided by the Tortoise products to the command line for the execution of my hg commands. This approach is dramatically faster once you get used to the syntax, which really only takes a hot minute. Certain features in TortoiseHg still provide visual advantages that I find useful, such as the visual repository log. During an Agile.Net Bootcamp with Jimmy Bogard he showed us an collection of tools he utilizes to provide an improved Mercurial command line experience. The final product is a more descriptive prompt that displays branch information, as well as the number and types of changes made since your last commit… read more...

add a comment |category: |Views: 55

tags: another

What’s Nu in the .NET World Part 2: Creating a Gem(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 6 months ago

If you are not familiar with the Nu project start by reading my first post in this series that gives an introduction to getting started with this promising tool. As a quick reference I’ll post a paragraph from the last post introducing Nu: “Nu is an open source tool built by Dru Sellers (and several others) that aims at bringing Gems, one of Ruby’s most revered features, to the .NET world. If you are not familiar with Gems I suggest you take a minute to read up on them. I would venture a bet that you are already familiar with at least one gem – Ruby on Rails. The following line of code is all that is required to install the Ruby on Rails gem (after installing the Ruby library of course)…” This post is focused on sharing my experience in creating my first gem for the Spark View Engine. I would be doing you a great disservice if I did not start by saying how easy it is to create a gem. Actually easy is the wrong phrase – crazy easy is more telling. Since I would never ask you to take my word for it, it must mean it is time to show some code. read more...

add a comment |category: |Views: 10

tags: another

What's Nu in the .NET World?(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 6 months ago

If you thought the word "Nu" in the title of this blog post was misspelled, you are in for a treat. And trust me, you are not the only one who made that grammatical assumption. Nu is an open source tool built by Dru Sellers that aims at bringing Gems, one of Ruby’s most revered features, to the .NET world. If you are not familiar with Gems I suggest you take a minute to read up on them. I would venture a bet that you are already familiar with at least one gem – Ruby on Rails. The following line of code is all that is required to install Ruby on Rails gem (after installing the Ruby library of course)... read more...

add a comment |category: |Views: 9

tags: another

Mercurial: Create Remote Repositories Using PowerShell(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 1 year, 6 months ago

One limitation when using http as a publishing mechanism is that you cannot create a repository remotely; no if, ands, or buts about it. Another twist was that our CM (Configuration Management) procedures dictate that our developers are not permitted to RDP into the Mercurial server. This left us trying to decide how to allow developers to create repositories remotely since our http communication channel does not allow remote repository creation. This post details an approach leveraging PowerShell as a solution to this problem. read more...

add a comment |category: |Views: 19

tags: another

Flickr Gallery for BlogEngine.NET 1.4 Released!(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 6 months ago

My apologies for the delay, but I have (finally) put together the release of my Flickr Gallery for BlogEngine.NET, or any other website for that matter. BlogEngine.NET users should understand this is not a typical "extension" where you drop a .cs file into the App_Code directory. It is a stand-alone section that can be dropped into your BlogEngine.NET instance. You can see an example implementation live on my blog at http://DannyDouglass.com/Photos/. read more...

add a comment |category: |Views: 194

tags: another

Flickr Gallery for BlogEngine.NET!(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 8 months ago

I have finally followed through with the promise to offer a Flickr-integrated photo gallery that can be easily installed with BlogEngine.NET. If you have spent any time following my blog you know that I have dabbled with a variety of other media extensions (see SlideShow Extension). My previous attempt at a photo gallery required far too much manual work to be usable (hence why it never was updated after the initial release). That is no longer an issue since all you need to do is copy a few files, set a few configuration values, and presto - instant Flickr Gallery on your website/blog! read more...

1 comment |category: |Views: 151

tags: another

BlogEngine.NET 1.4 - Status Update??(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 8 months ago

It has been a while since we have heard anything on the release of BlogEngine.NET 1.4. I don't know about you, but I know I'm craving an update since the tentative release was earmarked for the end of May. =] read more...

1 comment |category: |Views: 181

tags: another

ASP.NET MVC Preview 3 Release (weblogs.asp.net)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 8 months ago

From ScottGu's weblog - "This morning we released the Preview 3 build of the ASP.NET MVC framework. I blogged details last month about an interim source release we did that included many of the changes with this Preview 3 release. Today's build includes some additional features not in last month's drop, some nice enhancements/refinements, as well as Visual Studio tool integration and documentation." read more...

1 comment |category: |Views: 265

tags: another

Comprehensive Comparson of 7 Popular JavaScript/Ajax Frameworks(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 9 months ago

After four days of ASP.NET AJAX training with Stephen Walther I set out to learn more about my options in choosing a solution for a JavaScript/Ajax framework. If I realized days later I would be writing this comprehensive post on 7 of the most popular frameworks, I may have just went with the "Inny-Minny-Miney-Moe" method! I decided to share my research, analysis, links, resources, and personal grade for each of the frameworks compared - jQuery, YUI, Prototype, Dojo, MooTools, Ext JS, and Script.aculo.us. I put together a comparison matrix to illustrate where many of the frameworks differ... read more...

3 comments |category: |Views: 45

tags: another

Weekly Developer Tools, Code, and More!(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 11 months ago

As promised I am back this week with my weekly toolbox links where I share various links to tools, websites, code, news, and more. In recent weeks I have focused on one particular theme, however I have a few tools, a few code samples, and a few developer links this week. Enjoy! read more...

add a comment |category: |Views: 1

tags: another

Silverlight 2.0 (beta 1) Controls Screenshot(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 11 months ago

SilverlightShow has a nice post up detailing the controls that will be available in the Silverlight 2.0 beta 1 release. The news was originally posted on Shawn Burke's blog, but it appears that the he was forced to take down the screen shot. Thanks to SilverlightShow that graphic is still visible and is also now posted on my blog. Exciting stuff! read more...

1 comment |category: |Views: 7

tags: another

Firefox 3 Beta 3 Released(mozilla.com)

submitted by DannyDouglassDannyDouglass(1260) 3 years, 11 months ago

Title says it all... read more...

1 comment |category: |Views: 0

tags: another

New Toolbox Links - Windows Developer Tools List(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 4 years ago

I know I said last week I was not going to post this week's links until Wednesday, but since I have already put together the list I might as well share! This week I'll be focusing on Windows Tools that help make our lives as developers easier. I have personally use (or have used) all of these tools and I stand by my recommendations! Do you have any utilities to add to the list?? read more...

add a comment |category: |Views: 6

tags: another

New BlogEngine.NET Extension - SlideShow Photo Gallery(dannydouglass.com)

submitted by DannyDouglassDannyDouglass(1260) 4 years ago

I've wanted to build a BlogEngine.NET extension to display a photo gallery since I first starting using this product. Vertigo has made my job easier with Slide.Show, a rich Silverlight application that provides an elegant and simple photo sharing user experience. It also supports direct Flickr integration that I have included as a part of this extension. All you have to do is change one configuration value in the configuration.xml and you are all set to hook into your Flickr account. A live demo can be found at http://dannydouglass.com/page/photogallery.aspx. My website offers a popup version of this gallery (click the "photos" tab above) that I would be glad to explain in a follow-up post if there is any interest. [Requires Silverlight 1.0] read more...

1 comment |category: |Views: 356

tags: another