dotnetchris

Stories submitted by friends of dotnetchris

Home Security with Kinect, Azure Service Bus, and SignalR(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 6 months ago

Suppose you had a some scary-looking hoodlum walking around your house when you were out? You’d want to know about it, wouldn’t you? Take one Kinect, mix in a little Windows Azure Service Bus, sprinkle in some SignalR, and mix it all together with some elbow grease, and you could watch in near-real-time as sinewy folks romp through your living room. Here’s how. read more...

1 comment |category: |Views: 71

tags: another

JSON-based WCF in Windows Azure(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 6 months, 7 days ago

Developers need to grok Windows Azure, especially developers who want to distribute consumption of an application in a web-based API. A great use for Microsoft Azure, obviously, is to use it to host an application’s web service API layer. This post will demonstrate how to host WCF services in an Azure worker role in a manner that will offer REST-like JSON API support. read more...

2 comments |category: |Views: 54

tags: another

Testing SignalR Connections with NUnit(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 7 months ago

The SignalR GitHub site has an example wherein a SignalR PersistentConnection instance is used from a non-HTML client. The idea of being able to use SignalR connections in applications other than those that run in a web browser raises some interesting challenges. Likewise, there aren’t too many examples on how to use SignalR connections. This post will demonstrate asynchronously testing a SignalR connection in an end-to-end scenario using NUnit. read more...

1 comment |category: |Views: 31

tags: another

From the Cloud to the Client(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 7 months, 9 days ago

That title sums up what this blog post will summarize and explain; how to get data instantly from the cloud – in this case, the Azure cloud platform – all the way down to an HTML 5.0 browser. The point of this exercise is to take a slightly deeper dive into using SignalR. Secondary to the SignalR deep dive, this article will explain how to use the Azure Service Bus. read more...

1 comment |category: |Views: 74

tags: another

The Robot Factory Code Kata(bradygaster.com)

submitted by bradygasterbradygaster(4897) 7 months, 12 days ago

On the drive home from my last Behavior Driven Development talk, I began thinking about the idea of Code Katas and how one might be appropriate in my future disucssions of Behavior Driven Development. Given that BDD tries to solve things in as simple and direct a path as possible, and given that BDD takes some of the lessons learned via TDD and applies them in slightly more business-centric language, a Kata would demonstrate well the effectiveness of BDD when applied to a problem domain. So, I took the example problem domain of a robotic assembly line that I've been using since I was a full-time trainer and implemented it using SpecFlow and Moq. read more...

add a comment |category: |Views: 15

tags: another

Geo-Load Balancing with the Azure Traffic Manager(blog.structuretoobig.com)

submitted by bradygasterbradygaster(4897) 7 months, 16 days ago

When you deploy a typical web role in Azure, each instance is automatically load balanced at the datacenter level. The Azure Fabric Controller manages upgrades and maintenance of those instances to ensure uptime. But what about if you want to have a web solution closer to where your users are? Or automatically direct traffic to a location in the event of an outage? This is where the Azure Traffic Manager comes in, and I have to say, it is so easy to set up – it boggles my mind that in today’s day and age, individuals can prop up large, redundant, durable, distributed applications in seconds that would rival the infrastructure of the largest websites. read more...

4 comments |category: |Views: 40

tags: another

Automating Code Changes with Studioshell(www.beefycode.com)

submitted by bradygasterbradygaster(4897) 7 months, 23 days ago

Jim Christopher, author of StudioShell, talks about how he used his product to scour through hundreds of thousands of lines of code to make tiny changes. He uses StudioShell to automate the task, saving potentially weeks of work in the process. read more...

1 comment |category: |Views: 29

tags: another

Stupid Powershell Tricks Part 1(www.beefycode.com)

submitted by bradygasterbradygaster(4897) 8 months, 6 days ago

A Stupid PowerShell Trick is any PowerShell element that has the potential to make your life or work easier. These are not full solutions to exact problems, but rather small techniques you can employ in various situations. The idea for the session came to me after going over some notes for previous PowerShell and StudioShell sessions. I found that the most frequent and at times energetic question from the audience was "What was that you just did there?" read more...

1 comment |category: |Views: 152

tags: another

MyNuGets - Add NuGet love to your Orchard blog(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 8 months, 27 days ago

If you enjoy using NuGet to obtain and distribute your open source work and you maintain a blog or a site using Orchard, this post's for you. I've written a widget that will allow you to enter your author name. Then, the widget will hit the NuGet OData API and find any packages published with that author name. From that, the HTML is build up through the Orchard pipeline and what you get is a nice list of NuGet projects. Check it out for yourself on the MyNuGets project page or in the Orchard Gallery. read more...

add a comment |category: |Views: 3

tags: another

NHQS (NHibernate QuickStart) NuGet Package(www.bradygaster.com)

submitted by bradygasterbradygaster(4897) 8 months, 28 days ago

If you've used NHibernate, you know certain aspects of it can be frustrating and time-consuming. NHQS was created with the idea of making development with NHibernate simpler and quicker, specifically for the ISV developer who is trying to churn out green field projects. NHQS is built atop Fluent NHibernate and basically extends the general NH functionality with some extensions, as well as providing a simplistic method of storing session factories during execution. read more...

add a comment |category: |Views: 45

tags: another

Loosely Coupled JavaScript Using PubSub(blog.bobcravens.com)

submitted by bradygasterbradygaster(4897) 9 months, 1 day ago

I recently watched a very interesting video by Rebecca Murphy that discussed using the pubsub architecture to create loosely coupled JavaScript. The concept is to develop your JavaScript objects and allow the communication between the objects to occur via events that are managed by a publisher / subscriber (pubsub) service read more...

add a comment |category: |Views: 3

tags: another

Unit Testing Netduino Code(protosystem.net)

submitted by bradygasterbradygaster(4897) 9 months, 22 days ago

Mike Linnen discusses some approaches to unit testing Netduino and NETMF code and presents one method of applying TDD principles to Micro Framework development. read more...

add a comment |category: |Views: 13

tags: another

Introducing NDecision.Aspects(bradygaster.com)

submitted by bradygasterbradygaster(4897) 9 months, 24 days ago

NDecision is a business logic execution layer that uses Fluent programming techniques and BDD language to simplify the authoring and encapsulation of business rules. NDecision.Aspects adds AOP support for the execution of the specifications and allows for autonomous specification application whenever you need it. read more...

1 comment |category: |Views: 33

tags: another

Applying aspects to 3rd party assemblies using PostSharp(programmersunlimited.wordpress.com)

submitted by bradygasterbradygaster(4897) 9 months, 29 days ago

There is undocumented functionality in PostSharp 2.1 (2.1.2.3 or higher) that allows us to apply aspects to assemblies that we don’t have the source code for. It is also very, very nifty and demonstrates the power of PostSharp, even when the code isn't available. read more...

add a comment |category: |Views: 40

tags: another

grok-posh: interactive .net(www.beefycode.com)

submitted by bradygasterbradygaster(4897) 1 year ago

This post is part of my grok-posh series describing why developers should learn PowerShell. A PowerShell console is basically an doorway into the entire realm that is .NET, COM, and WMI. As I say in my talks – you can think of PowerShell as an interactive way to discover, obtain, and manipulate objects. read more...

add a comment |category: |Views: 4

tags: another

Custom Authentication with MVC 3.0(bradygaster.com)

submitted by bradygasterbradygaster(4897) 1 year, 1 month ago

A demonstration of rolling your own custom authentication/authorization scheme under MVC 3.0. Shows how to use the IIdentity and IPrincipal interfaces to create classes that can be used to hard-wire a user account to the request context and thereby harness all the resources built into ASP.NET to secure your MVC 3.0 applications using your own custom implementation. read more...

add a comment |category: |Views: 115

tags: another