DrWatson

Stories kicked by DrWatson

WP7: Learning how to handle Tombstoning(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 1 year, 4 months ago

Taking a look at how to handle tombstoning (when your application is not longer in focus, but is not shut down yet) in your WP7 application. When building out a WP7 application it is critical that your application can handle Tombstoning and rebuild itself as needed. This is to allow the user to have their work flow interrupted by an action, but still gives them the ability to back into your app and resume from there last usage point. In fact if you fail to take Tombstoning into account your application will fail certification. read more...

add a comment |category: |Views: 74

tags: another

Going Out Of Browser w/ Silverlight(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 1 year, 10 months ago

Taking a look at how we can use the take our in-browser silverlight application and allow it to run Out of Browser (OOB). We will take a look at how we can let silverlight perform the lifting as well as how we can provide coding to create the OOB application. read more...

add a comment |category: |Views: 148

tags: another

Going Lazy<T> with System.Lazy(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years ago

Taking a look at the how to use the System.Lazy namespace in .Net 4.0. One of the pretty cool new nuggets inside the .Net 4.0 framework is System.Lazy and System.Lazy. What System.Lazy brings to the table is a way to create objects which may need to perform intensive operations and defer the execution of the operation until it is 100% absolutely needed. read more...

add a comment |category: |Views: 609

tags: another

Code Contracts: Learning to use Interface Contracts(www.dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 2 years ago

Taking a look at how to utilize some additional features in the Code Contracts library to validate the state of our application. We are going to focus this episode on the feature of adding contracts to interfaces via buddy classes. This is a powerful feature as it allows us to inherit our contracts from interfaces. read more...

add a comment |category: |Views: 13

tags: another

Understanding Navigation on Windows Phone 7(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years ago

Taking a look at the Windows Phone 7 Api and understanding how to navigate between pages. In this episode we are going to focus on learning about the various ways you can navigate from page to page within your application. Because WP7 is based off of Silverlight 3.x you are able to utilize all the native silverlight navigation techniques such as static routing (hard wiring the .xaml path), using routes and using the NavigationService. read more...

add a comment |category: |Views: 1064

tags: another

Setting Up Basic Mappings w/ Fluent NHibernate(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 2 months ago

We continue to take a look at Fluent Nhibernate. We are going to focus this episode on setting up basic mappings for NHibernate. We will focus on setting up Many-to-One (References) and One-To-Many (HasMany) references as these are the most common mappings you will need to setup. read more...

add a comment |category: |Views: 25

tags: another

Setting Up Fluent NHibernate for your project(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 2 months ago

Taking a look at how to use setup and configure Fluent NHibernate for usage. We will focus on how to setup your database settings as well as how to get your Fluent NHibernate mappings registered into the system. read more...

add a comment |category: |Views: 461

tags: another

jQuery Custom Element and Global Events(devlicio.us)

submitted by DrWatsonDrWatson(690) 2 years, 3 months ago

Custom events make it easier to keep complex pages under control. They are a pillar for loosely-coupled UI scripts. jQuery has a very powerful event framework, including support for custom events. It may escape you that there are also Global custom events that can be handled on any element's context. read more...

add a comment |category: |Views: 26

tags: another

Code coverage reports with NCover and MSBuild(devlicio.us)

submitted by DrWatsonDrWatson(690) 2 years, 3 months ago

The key is to separate the code coverage profiling (which is done by NCover while it runs all the unit tests with NUnit) from the rendering of the reports. That way we only run the code coverage once; and that can sometimes take a good chunk of time to produce the coverage data. Rendering the reports is much quicker since the NCover reporting engine can feed off the coverage data as many times as we need, very quickly. Once we have the coverage data we can choose which report types we want to create, the thresholds for sufficient coverage (or to fail the build), which assemblies/types/methods we want to include/exclude from each report and where to save each of them. read more...

add a comment |category: |Views: 11

tags: another

Learning how to use a Web Cam with Silverlight(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 3 months ago

Taking a look at how you can setup and use a web camera in Silverlight. We will walk you though how to capture both the raw video as well as how to take snap shots of the video. read more...

1 comment |category: |Views: 137

tags: another

A deeper look into AutoMapper: Projection and Flattening Objects(www.dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 4 months ago

Continue our look at the AutoMapper framework. AutoMapper is a framework which uses a convention-based matching algorithm to match up source to destination values. In this episode we are going to take a deeper look at how you can flatten your model during transformation or perform projection during transformation. read more...

add a comment |category: |Views: 449

tags: another

Learning how to use Named Content Areas w/ Spark(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 4 months ago

Taking a look at the how to setup and use Named Content Areas w/ the Spark view Engine. Named Content areas allow for an easy and simple way to organize the content or structure of you website. read more...

4 comments |category: |Views: 202

tags: another

How to host a WCF Service inside your Windows Service(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 5 months ago

Taking a look how to host your WCF service inside your Windows Service. In many situations hosting WCF inside of IIS may not be the best solution for you or your team. When this is the case hosting inside a windows service may be the best solution and in this episode we will take a look at how you can accomplish this. read more...

1 comment |category: |Views: 363

tags: another

Introduction to MEF, Getting rolling with basic usage(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 6 months ago

Taking a quick look at the new plugin framework from Microsoft the Managed Extensibility Framework (MEF for short). In this episode we will explore how to setup your first MEF based plug-in system and show how easy it can be. read more...

add a comment |category: |Views: 285

tags: another

Test-Driving a new feature for JavaScript(devlicio.us)

submitted by DrWatsonDrWatson(690) 2 years, 6 months ago

But, instead of going through the normal trial and error approach, I chose to flex my TDD muscle and try to create the Array.indexOf method using a test-first routine. For this exercise, I chose QUnit as the unit testing framework. read more...

add a comment |category: |Views: 4

tags: another

Introduction to NDepend, adding NDepend to your Nant Script(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 6 months ago

Taking a quick look at NDepend and how to do a simple fly-by of how to setup and run NDepend. Once we have our simple project up and running we are going to turn our focus at takig a look at how to run NDepend from our NAnt scripts. Running NDepend as part of our builds will allow us to have a clear picture of the state of our code with each build. read more...

add a comment |category: |Views: 169

tags: another