Matt_TCF

Stories kicked by Matt_TCF

Using SpecsFor.Mvc - Dealing with Authentication(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 1 month, 2 days ago

This is part four of my series on using SpecsFor.Mvc to write awesome automated acceptance tests for your ASP.NET MVC application. In this post, I’ll show you how to create an authentication handler that will be used by SpecsFor.Mvc to authenticate with your app prior to executing each spec. read more...

add a comment |category: |Views: 4

tags: another

Using SpecsFor.Mvc - Reading Data(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 1 month, 7 days ago

This is part three of my series on Using SpecsFor.Mvc to write awesome automated acceptance tests for your ASP.NET MVC application. In this post, I’ll show you how to create tests that verify expected data is displayed on a page by leveraging the MvcDisplayTemplates project with SpecsFor.Mvc. read more...

add a comment |category: |Views: 5

tags: another

Using SpecsFor.Mvc - Navigation and Form Submission(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 1 month, 27 days ago

This is part two of my series on Using SpecsFor.Mvc to write awesome automated acceptance tests for your ASP.NET MVC application. In this post, we’ll look at navigating around your app from SpecsFor.Mvc and at how to locate, populate, and submit forms. read more...

add a comment |category: |Views: 0

tags: another

A very simple Jasmine runner for ASP.NET Applications(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 months, 1 day ago

I made a very simple Jasmine test runner using ASP.NET WebPages. It automatically detects and executes your specs. read more...

add a comment |category: |Views: 7

tags: another

Using SpecsFor.Mvc - Introduction(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 months, 2 days ago

SpecsFor.Mvc is a framework for creating automated acceptance tests, powered by borwser automation, for ASP.NET MVC applications. Unlike lower-level tools such as Selenium or Watin, SpecsFor.Mvc is strongly-typed and enables you to write unit-test like specs that will be translated into fullly automated tests through Internet Explorer or Firefox. read more...

add a comment |category: |Views: 2

tags: another

ASP.NET MVC 3, Razor-C#, and VB.NET WebForms - ActionLink, RenderParti(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 months, 18 days ago

Today I’m going to show you how to use MVC helper methods in your ASP.NET WebForms markup. Why would you want to do this? Maybe you're in the same boat I'm in, working on a project that has an extensive investment in WebForms, and a wholesale migration to MVC is just not possible. With a little bit of black magic, I'll show you how to make strongly-typed action links, render partial Razor views, and render complete MVC actions within a standard ASP.NET WebForms application. read more...

add a comment |category: |Views: 88

tags: another

Quick-and-Easy Database Integration Tests with SpecsFor(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 months, 20 days ago

SpecsFor makes it very easy to bolt on your own conventions, create your own base classes, and extend its behavior to support your specific testing needs. I’m working on a project that’s built on LINQ to SQL, and I wanted to start creating integration tests around our stored procedures and views. Here’s the base class I made to handle establishing a database connection, loading in “seed data,” and then cleaning up after each set of specs once they’re finished. read more...

add a comment |category: |Views: 7

tags: another

ASP.NET MVC 3, Razor-C#, and VB.NET WebForms - Part 2(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 months, 25 days ago

Do you want to develop using C# and the latest ASP.NET MVC framework, but are stuck maintaining a legacy VB.NET WebForms application? There's hope! In the second part of this series, you'll see how you can write normal C# MVC code, including using Razor views, that can be consumed by a VB.NET WebForms application and how to leverage the existing VB.NET master pages. read more...

add a comment |category: |Views: 92

tags: another

ASP.NET MVC 3, Razor-C#, and VB.NET WebForms - A Tale of Black Magic V(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 3 months, 11 days ago

What do you get when you mix a legacy VB.NET WebForms application, ASP.NET MVC, and Razor views that are written in C#? If you said “Pain!” you are quite right. But what you also get is the ability to leverage your existing investment in VB.NET WebForms while crafting new code in ASP.NET MVC Razory-C# goodness. In this series of posts, I’m going to tell you how you, too, can concoct a wicked brew that will enable you to do crazy things, such as creating Razor views in C# that utilize VB.NET WebForms master pages, or how you can render MVC action methods from within WebForms markup. read more...

1 comment |category: |Views: 163

tags: another

Kinect for Windows Now Available(blogs.msdn.com)

submitted by dpetersondpeterson(4397) 3 months, 25 days ago

On January 9th, Steve Ballmer announced at CES that Microsoft would be shipping Kinect for Windows on February 1st. Today version 1.0 of the SDK and runtime were made available for download, and distribution partners in twelve launch countries are starting to ship Kinect for Windows hardware. read more...

1 comment |category: |Views: 110

tags: another

Using Git with Subversion(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 4 months, 7 days ago

Do you love Git? Are you working on a project that’s using Subversion? Well, did you know that Git actually integrates quite nicely with Subversion right out of the box? I’ll show you what you need to know to get started with Git and Subversion, and I’ll show you the workflow I use for keeping my work in sync with everyone else on my team. read more...

1 comment |category: |Views: 26

tags: another

AppHarbor Rocks. Seriously.(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 4 months, 14 days ago

You kids and your applications today. Back in my day, we published our applications like real men! We didn’t have these fancy, cloud-based services like Heroku and AppHarbor. We couldn’t just type ‘git push origin’ and have our application magically show up online, ready to rock and roll. We used to dread deploying our code because of all the hoops we would have to jump through. Oh, how times have changed! read more...

add a comment |category: |Views: 7

tags: another

Validating WCF services with System.ComponentModel.DataAnnotions(www.devtrends.co.uk)

submitted by devtrendsdevtrends(184) 4 months, 22 days ago

All WCF services operations need some level of parameter validation to ensure that the data passed to the operation is present and correct. Two popular methods are manual checking and the Validation Application Block (VAB) from Enterprise Library. This article discusses another option - using the validation features from System.ComponentModel.DataAnnotations. read more...

2 comments |category: |Views: 114

tags: another

Static Code Analysis(altdevblogaday.com)

submitted by pwhe23pwhe23(972) 4 months, 23 days ago

The most important thing I have done as a programmer in recent years is to aggressively pursue static code analysis. Even more valuable than the hundreds of serious bugs I have prevented with it is the change in mindset about the way I view software reliability and code quality. read more...

1 comment |category: |Views: 250

tags: another

Shortest String That Contains All Words(www.kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 4 months, 24 days ago

Mango12 created an interesting competition to kick off the New Year, and I decided to try it out. It’s a simple task along the lines of a code kata, and I recommend you try it yourself before looking over my solution. Task: Compress a list of words into the shortest string that contains all words. Test: “testing”, “ginger”, “german”, “minutes” should become “minutestingingerman” Here is my approach: create a weighted graph connecting each term then recursively reduce the highest weighted edges. read more...

1 comment |category: |Views: 219

tags: another

Status Update on SpecsFor.Mvc(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 4 months, 25 days ago

SpecsFor.Mvc is an integration testing framework for ASP.NET MVC applications. It enables you to write integration tests that are strongly-typed, refactor-friendly, and that run under the testing framework of your choice, all while leveraging your existing unit test writing skills. SpecsFor.Mvc is a work-in-progress, so please take a moment to give me some feedback on how the API is shaping up. read more...

add a comment |category: |Views: 5

tags: another