Archives for posts with tag: Framework

By Nikolai Tillmann and  Mike Barnett

Learn how Code Contracts provides a set of tools for design-by-contract programming and how Pex is an advanced unit-testing tool that uses automated program exploration to intelligently create unit tests with high code coverage. 
See how they work together so that your code has fewer defects.

Learn about new features for Code Contracts including automatic documentation generation, call-site checking for components and reference assemblies for the .NET Framework and for Pex including a light-weight mocking framework, improved support for large code bases, and more thorough test input generation.

Links:
PEX // Code Contracts // Mike Barnett // Nikolai Tillmann // MDCC // DPE DK

Windows Phone 7 provides developers with two main frameworks in which to work:  Silverlight and XNA Framework. Regardless of the framework you chose, you will end up with a Windows Phone application that must be deployed to the Windows Phone market place and from there installed on a Windows Phone device, and provisioned and managed by the user.

Join Tudor Toma – a Principal Program Manager in the Windows Phone team, Jaime Rodriguez – a Principal Technical evangelist, and Yochay Kiriaty – a Senior Technical Evangelist, as they provide an overview of the Windows Phone Application life cycle, explaining the internal architecture of Windows Phone and how application get installed and executed on.

Senior Vice President S. Somasegar (aka Soma) joins us for a chat about Visual Studio 2010 RTM, which is available today. Visual Studio 2010 and .NET Framework 4 offer an unprecedented level of support for Microsoft’s platforms, including Windows, Windows Server, Office, SharePoint, Windows Phone, SQL, and Windows Azure. Here we get Soma’s perspective on this release, Microsoft’s broadest developer tooling offering ever, including several enhancements and new capabilities for both managed and native developers alike.

MSDN customers will be able to download VS 2010 and .NET Framework 4.

Tune in!
 

/* Life Runs on Code */

HCDF: A Hybrid Community Discovery Framework
Google Tech Talk March 11, 2010 ABSTRACT Presented by Tina Eliassi-Rad. We introduce a novel Bayesian framework for hybrid community discovery in graphs. Our framework, HCDF (short for Hybrid Community Discovery Framework ), can effectively incorporate hints from a number of other community detection algorithms and produce results that outperform the constituent parts. We describe two HCDF-based approaches which are: (1) effective, in terms of link prediction performance and robustness to small perturbations in network structure; (2) consistent, in terms of effectiveness across various application domains; (3) scalable to very large graphs; and (4) nonparametric. Our extensive evaluation on a collection of diverse and large real-world graphs, with millions of links, show that our HCDF-based approaches (a) achieve up to 0.22 improvement in link prediction performance as measured by area under ROC curve (AUC), (b) never have an AUC that drops below 0.91 in the worst case, and (c) find communities that are robust to small perturbations of the network structure as defined by Variation of Information (an entropy-based distance metric). Dr. Tina Eliassi-Rad, Lawrence Livermore National Laboratory people.llnl.gov Tina Eliassi-Rad (eliassi.org) is a computer scientist and principal investigator at the Center for Applied Scientific Computing at Lawrence Livermore National Laboratory. She will join the faculty at the Department of Computer Science at Rutgers University in Fall 2010 <b>…</b>
Views:
1109
10
ratings

Time:
58:00
More in
Science & Technology

Go Behave! A BDD Framework for the Go Programming Language
Google Tech Talk January 19, 2010 ABSTRACT Presented by Samuel Tesla. Gospecify is a behavior-driven development (BDD) framework for Go. Rather than focus on testing every nook and cranny of some code, it helps a programmer produce an executable specification of that code's behavior. Go's syntax allowed gospecify to be almost as expressive as Ruby's rpsec; however, a few tricks had to be used to achieve the best readability. This talk will introduce BDD concepts and demonstrate how to implement them in Go using gospecify. Samuel Tesla has had a computer at his fingertips his entire life. He started coding at age six as a maintenance programmer: tweaking a BASIC program his father wrote. Since then, he has always had a passion for telling computers what to do, and especially for programming languages. From niche languages like latex and Inform to general purpose languages like C and Perl; static languages like ocaml and Java to dynamic languages like Smalltalk and Lisp; he loves to learn different ways to program. Currently he works for Engine Yard slinging Ruby at the cloud. In his spare time he likes to code, play guitar, and write fiction.
Views:
3584
13
ratings

Time:
36:58
More in
Science & Technology

Part 2 of a series of screencasts looking at the new Managed Extensibility Framework (MEF) in the Silverlight 4 beta.

MEF is a framework that simplifies the design of extensible applications and components. It can flexibly and dynamically discover a set of loosely coupled components and analyse their dependencies in order to compose them together at run time.

In this screencast, we take a deeper look around using the MEF attributed programming model. We look at what we can import & export, required and optional imports, cardinality, creation policies and also how we can add our own metadata for differentiation.

Tips for viewing:

  • Each video in this series has a 3.5 minute standard introductory “header” on it so once you have seen that header you may like to skip it on subsequent videos
  • For the time pressured – I find that I speak so slowly that you can speed me up to approximately 1.5-2.0 times normal speed and still listen comfortably.

I’m working to get together a Live Meeting in early 2010 with people from the MEF team in order that people can chat more about MEF in Silverlight. Stay tuned.

The next screencast in this series is here.

Part 3 of a series of screencasts looking at the new Managed Extensibility Framework (MEF) in the Silverlight 4 beta.

MEF is a framework that simplifies the design of extensible applications and components. It can flexibly and dynamically discover a set of loosely coupled components and analyse their dependencies in order to compose them together at run time.

In this screencast, we start to take a look at catalogs which provide one way in which MEF discovers the components that it can compose. We take a look at the catalogs built into the framework and what they do for us and also how MEF uses them to populate a default CompositionContainer & how you can take control of that.

Tips for viewing:

  • Each video in this series has a 3.5 minute standard introductory “header” on it so once you have seen that header you may like to skip it on subsequent videos
  • For the time pressured – I find that I speak so slowly that you can speed me up to approximately 1.5-2.0 times normal speed and still listen comfortably.

I’m working to get together a Live Meeting in early 2010 with people from the MEF team in order that people can chat more about MEF in Silverlight. Stay tuned.

The next screencast in this series is here.

Part 1 of a series of screencasts looking at the new Managed Extensibility Framework (MEF) in the Silverlight 4 beta.

MEF is a framework that simplifies the design of extensible applications and components. It can flexibly and dynamically discover a set of loosely coupled components and analyse their dependencies in order to compose them together at run time.

In this screencast, we talk briefly around the idea of components having imports and exports and then we drop into Visual Studio 2010 and do a quick, “magic” demo of how MEF can plug together a couple of components for us. In later videos, we’ll attempt to dig deeper into what MEF is doing and how we can take more control of it.

Tips for viewing:

  • Each video in this series has a 3.5 minute standard introductory “header” on it so once you have seen that header you may like to skip it on subsequent videos
  • For the time pressured – I find that I speak so slowly that you can speed me up to approximately 1.5-2.0 times normal speed and still listen comfortably.

I’m working to get together a Live Meeting in early 2010 with people from the MEF team in order that people can chat more about MEF in Silverlight. Stay tuned.

The next screencast in this series is here.

In this episode of 10-4, we revisit the Managed Extensibility Framework and take a look at all the new improvements made in the latest available release, Preview 7.

For more information on the Managed Extensibility Framework, make sure to check out its home on Codeplex: http://www.codeplex.com/mef.

Resources from this episode:
- [Nicholas Blumhardt] Analyze MEF Assemblies from the Command Line
- [Laurent Bugnion] MVVM Light Toolkit

For more 10-4 episodes, be sure to visit:
http://channel9.msdn.com/shows/10-4

10-4! Over and out!

This week, Jason Olson and Jonathan Carter review the week’s top developer stories including:

 

.NET Micro Framework Dare To Dream Different Winners
    - .NET Micro Framework v4.0 on ChipworkX module 
- Oomph 2
- LEGO Mindstorms Sudoku Solver
- PHP Toolkit for ADO.NET Data Services
- Coding 4 Fun – Windows 7 Taskbar
- ASP.NET MVC Virtual Labs
- Has The OOP Train Left The Building?
- SQL Azure CTP Available
- First Graduating Class of School Of The Future Begins
- JavaScript MVC

 

Jason’s pick of the week: Larry Osterman’s “N Years Ago Today”

Jonathan’s pick-of-the-week: Fun with Method Missing and C# 4.0

For those twits out there (you know who you are):
    - http://twitter.com/jolson88
    - http://twitter.com/lostintangent