Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts

Friday, July 12, 2013

Lobbing WCF into the LOB with the WCF LOB Adapter SDK. Think "Improvise, adapt (WCF), overcome (LOB integration challenges)"

Microsoft Downloads - WCF LOB Adapter SDK 2013

The Microsoft© Windows Communication Foundation (WCF) Line-of-Business (LOB) Adapter SDK provides for a simplified programming model on top of the WCF Channel Model by adding metadata browsing, searching and retrieving functionality, and development tools for generating and testing adapter code.

Version: 1.0

Date Published: 7/12/2013

WCF-LOB-Adapter-SDK-2013-x64.exe, 11.2 MB

WCF-LOB-Adapter-SDK-2013-x86.exe, 11.2 MB

Many large enterprises have disparate systems including legacy mainframe, databases, packaged and homegrown applications that need to be integrated with each other to provide end user solutions. The technology integration becomes more complex after companies go through Mergers and Acquisitions, which are more prevalent in case of Financial and Telecom Industry verticals. Back-end systems such as SAP, PeopleSoft, Siebel, Oracle, IBM CICS, IMS, VSAM and Relational Databases are collectively known as Line-of-Business (LOB) applications. The line-of-business adapters provide legacy modernization by bridging existing back-end applications with the modern interfaces. Windows Communication Foundation (WCF) provides a unified framework for building distributed applications, including creating adapters to existing applications.

The WCF LOB Adapter SDK provides for a simplified programming model on top of WCF Channel Model to enable adapter developers in creating service-oriented interfaces to existing systems and applications. The Adapter SDK surfaces a target system adapter as a WCF Binding. When used from a Windows Workflow project, the adapter can also be used to generate workflow activities.

The goal of the WCF LOB Adapter SDK is to facilitate uniform development of reusable metadata-oriented WCF-based adapters that enable enterprise applications, databases and messaging platforms to integrate with each other. The same adapter binding developed using Adapter SDK can be reused in multiple .NET applications including Custom .NET Applications, BizTalk Server 2013, Microsoft Office SharePoint Server and Microsoft SQL Server Integration Services. In addition, Adapter SDK provides a common metadata object model to expose target system metadata, for adapter consumers to browse, search and retrieve WCF contracts from the adapter.

The Adapter Consumer can use the adapter in an integration application similar to a typical WCF Service without having to learn a new programming model. Some of the high-level features provided by this SDK are as follows:

  • Connection pooling for connections to the target system
  • Operation/Type metadata API and WCF contract generator
  • In-memory metadata cache
  • Adapter Code Generation Wizard
  • Tools for adapter consumers to browse/search available operations and generate WCF contract(s) with selected operations

I dig the idea behind this. It seems very real-world, to provide this kind of thing. Improvise, adapt (WCF), overcome (LOB integration challenges) ...

Monday, July 01, 2013

350 .Net Dev Interview Questions and Answers PDF from F5debug

F5debug - Releasing Printable PDF document on 350 Interview Questions and Answers on .NET Framework, C#, OOPS, ASP.Net, SQL, WCF

Few months before I released a series on Interview Questions and Answers on .Net Framework, OOPS, C#.Net, ASP.Net, SQL Server and WCF which got attention to all the Job Seekers in Microsoft Stack. Many of the readers requested for a printable version of the document which can be used as a offline mode when they are on the move. So one of my friend and follower Mohit Chhabra consolidated all the questions and answers in one document which can be downloaded and used offline.  

Topics Covered:

Below are the list of topics covered, you can navigate to this page to see the list of questions that are answered in this series.

  • .NET Framework
  • C#.Net
  • Object Oriented Programming
  • ASP.Net
  • SQL Server
  • Windows Communication Foundation (WCF)
  • XML Programming

Download Link:

...[GD: Click through to download it]

Here's a snap of the PDF:

imageSNAGHTML1460a59c

Not that I'm job hunting, but still I thought this kind of, sort of interesting (only kind of, sort of, because I'm not a huge fan of SAT like, tie them to the chair and grill them till they cry, interviews). Heck worse case it's an interesting refresher resource. :)

Sunday, December 23, 2012

"Understanding OData v3 and WCF Data Services 5.x"

CodeProject - Understanding OData v3 and WCF Data Services 5.x

Table of Contents

What is this Article About?

This is not your typical “expose an entity framework model as a WCF Data Service” kind of article; in fact I deliberately omitted Entity Framework from this discussion. Now don’t get me wrong, I have nothing against EF, but you will find a lot of great articles on how to set up a WCF Data Service using EF as data source. 

The discussion is around OData v3 and WCF Data Services 5.0 and 5.2. Of course there is no way I cover all new features or every API available, nor do I need so; I will point you to the resources where you can get all information you need. Instead my aim in this article is to discuss some of the topics that usually remain oblivious to the typical WCF Data Services developer.

What are OData, Atom, and AtomPub?

The Open Data Protocol (OData) is a protocol which standardizes the exposure and consumption of data. In times where data is being exposed at high rates and where consumers connect to more and more data endpoints, it’s important for clients to access these endpoints in a common way.

OData builds on web standards such as Http, Atom, and JSON to provide REST-based access to these endpoints. Data is exposed as entities where each entity can be treated as an Http resource which makes it subject to CRUD (create, read, update, delete) operations.

So how is OData related to Atom and AtomPub?

Atom is way to expose feeds much the same way RSS does. If you are wondering what are the differences between Atom and RSS you can check this site (http://en.wikipedia.org/wiki/Atom_(standard)#Atom_compared_to_RSS_2.0)

Atom by itself allows only feed exposure. If you want to publish data, AtomPub (Atom publishing) provides this ability. AtomPub uses Http verbs GET, POST, PUT, and DELETE to enable data publishing.

OData adds a set of extensions on top of AtomPub to enable more advanced and smart operations such as data retrieval filtration and typed values definition. For example, below are two queries that are made possible through the power of OData:

  • http://server/service.svc/entity/$count
  • http://server/service.svc/entity?$filter=(entityID add 4) eq 8

REST vs. SOAP: The Design Decisions

...

image

This is an awesome 20 page article about OData and WCF Data Services. If you need an intro to these two, you need to read this article.

Wednesday, October 10, 2012

Massive N-Tier Sample App, explained and code from end to end... The sample? A Zombie Incident Explorer...

CodeProject - Zombie Explorer : A N-Tier application front top to bottom

I just want the code man give me the code, well ok chillax, its right here:  WcfExamplar.zip

Introduction

I had posted this article earlier this week, but had to take it down to fix something with it, so apologies if you have already seen this.

This article is something I have been meaning to do for some time, not really  for anyone's benefit other than my own really. Before we get onto what the  article will cover, let me just outline why I wanted to write this article.

I have been working with both WCF/WPF a while now (I know some people  consider these old technolgies now, but I can assure you they are both alive and  well, at least in my part of the world), and I have seen a variety of different  approaches to developing a n-teir application with these technologies.

I have seen good and bad things, some of the bad things being:

  • Ridiculous amount of methods on a service, which become quite  unmaintainable quite quickly
  • Everything is its own service, where you have about 30 WCF services all  trying to call each other. Nightmare man
  • Bad seperation of concerns, where the dependency graph is all screwed up,  and your UI inadvertently ends up knowing way to much as it is forced to  reference things it has no business knowing about
  • Use of Reference.cs (more on this later)
  • Lack of support/thought for DD/IOC/Mocking or any of the cool stuff people take  for granted now days

I thought it would be nice to try and see if I could make a demo app which  kind of did things the way I had it mapped out in my mind. I just  wanted to be able to do a complete application from database to WPF client all  the way through, with only my own thoughts (and headaches/nightmares) to deal  with.

...

For the attached demo code I wanted to make sure I covered the  following aspects

  • Provide good level of seperation of concerns, that is the UI should not  care about server side business logic, why should it.
  • Be able to easily easily swap out/test certains areas of our application  (IOC allows this)
  • Database access should be as lean as possible (NHibernate and  Respository pattern usage facilitate this)
  • Should be able to test a small part of the overall system

I have called the project "WcfExemplar" which I hope people do not find  arrogant, it is certainly not meant to be. It is called that more for  me really, as I was doing this to prove something to myself, so it was an  "Exemplar" for me if you will.  I hope you forgive me this one indulgance.

So what does the demo app do?

It is a WPF (Prism/MVVM based) client which communicates with a Console hosted WCF service  application. The application allows users to search database stored zombie incidents. The  user may also add new zombie incidents. So its actually not that complicated, it  is basic CRUD stuff.

I think the main salient points are as follows:

  • WPF front end (that I will not dwell on too much, as that is a  mere vehicle to illustrate the server side concepts) which allows users to
    • Search for items (I am storing zombie data where a  heading/description and GeoLocation data are stored for each zombie  incident)
    • Add new items
    • View items on a map (I have chosen to use Bing maps)
    • Use Rx to show an RSS feed of global zombie incidents (as a bonus if  you will)
  • It uses a shared DLL where only the relevant things are shared between  client and server, which ensures the dependency graph make sense. So things  like those shown below would typically be shared
    • Business Objects
    • Service contract
    • Fault contracts
  • There is NO auto generated Reference.xx or client proxy, we  use a shared DLL and hand craft our own client proxy
  • It uses Fluent NHibernate for its persistence, where ISession provides the Unit Of Work (UOW)
  • It uses IOC such that any component that talks to an external part (ie  database) can be easily substituted. This is done from the WCF service down
  • It uses business logic to do any work on objects before any attempt to  persist an object is done.
  • It keeps connections to the database at a minimum and only engages the  database for the minimum amount of time.

...

image"

This is a massive article, by the one and only, Sacha Barber. And you know me and zombies, so... :P

Monday, October 08, 2012

Building LOB "Windows Store" App walk-through from the community

dotnetcurry - Windows 8 Metro Style [Windows Store] Business Apps in VS 2012

The Metro Design language became popular with the maturing of the Windows Phone 7 platform. Due to its popularity, it got adopted on the Windows 8 platforms too. Now that Windows 8 is released, we find the Metro Design to be rather elegant on the Desktop as well. WinRT is a new development runtime on Windows 8 and it provides a rich toolset for development of consumer and business applications.

Developers and Metro Applications

Apps developed using the new WinRT Runtime are referred to as Metro Apps. An important fact with these applications is that the devloper community can easily get started with developing Metro Apps

  • .NET developers with the knowledge of C# and XAML etc. can start developing applications using VS 2012, because XAML is a familiar technology from Silverlight and WPF. Metro Style apps uses similar UI elements and design patterns.
  • Web developers having expertise with JavaScript, jQuery, HTML 5 and CSS can also design these applications. Using JavaScript, the applications can make external call to WCF services or any external services to fetch data. Alongside, .NET 4.5 has come up with Web-API, using which Data Bound operations can be performed over plain (instead of the earlier WS-* layer).

Metro style apps can be considered as the future of Windows app development, be it x86 or ARM processors.

For end users, the shift from desktop computers to the more portable Laptops is now more or less complete. Most consumers now prefer a laptop to a desktop. However, technology is moving towards even more portability in terms of smaller than laptop devices; like tablets and big-screen smartphones. These devices are much smaller, their main user interface is touch-centric as opposed to pointer centric on the desktop and they have certain restrictions on CPU power. These devices are also geared towards single purpose, intuitive applications. These devices are not geared to be multipurpose fully functional computing devices. They allow users to consume content and interact with the content. In developer terms, these devices are targeted for using an app rather than developing the app. It is this segment of application usage, that needs apps with a touch-centric design philosophy like Metro a.k.a Windows 8 Style UI.

Developing a Metro App

Let us develop a Metro styled application for marketing professionals that generates Invoices for medical orders. The architecture of the application is as shown here:

image

The Metro client application makes use of WCF Service to communicate with database server. The WCF service is hosted on IIS and is accessed by the client over HTTP.

Creating The Application

We use SQL Server 2008 as the backend. Our table structure is defined here.

database-diagram

...

image

I just don't think we're seeing enough focus on the LOB app story in Windows 8/Windows Store app land. While WP8 is getting a Corporate Store, and a similar feature has yet to appear for Win8, LOB is what really drives Windows. Yet I'm just not much focus in that area. Yeah, yeah I hear all the talk that Win8 is a huge consumer push, and it's "said" that many companies are going to skip it "because they don't get it" but it doesn't have to be that way. We need some "fast and fluid" LOB app's and this tutorial is the step forward on that path...

Thursday, June 28, 2012

WCF Data Services/OData Code Sample - One app, one click, lots of samples....

Microsoft Developer Network - Samples - WCF Data Service (OData) Client Library One Click Code Samples

This code sample is intended to demonstrate most of the common operations (Such as CRUD,Batch Async Query etc) of WCF Data Service Client Library. Code sample are designed in one click falchion that means you can just double click and UI will take you directly in to Debugger (If attached) and then you can walk through the code step by step

SNAGHTML5227c58f

One thing I thought a great source was the Debugger.Break feature. It's a little thing, but a really nice touch. Having that in a sample app like this makes a heck of allot of sense in hindsight...

Wednesday, January 25, 2012

"New and Improved T4 Template for OData Client and Local Database" for Windows Phone 7.1(5)

Writing...Data Services - New and Improved T4 Template for OData Client and Local Database

"If you recall from my previous post Sync’ing OData to Local Storage in Windows Phone (Part 1), I had written a T4 template for my Windows Phone 7.5 (“Mango”) project to generate a proxy client needed to access both an OData service and local database on the device. My template was based on an existing T4 template,which was published in a blog post by Alexey Zakharov on Silverlight Show, that generated a generic OData proxy client. I had promised to publish my first stab a T4 template to generate this hybrid proxy. However, because my original template was based on Alexey’s OSS sample, it was taking a long time to get the go ahead to post it.

A New T4 Template for OData Clients

Fortunately, the other day I heard about a new T4 template written by the OData team to generate an OData client proxy to access an OData v3 data service.

Perfect!

With this new Microsoft-developed template, I have been able to port my previous LINQ-to-SQL additions into a new template without too much work. And, I have now updated my previously published project Using Local Storage with OData on Windows Phone To Reduce Network Bandwidth to now include the actual T4 template. To use this project on your computer, follow the instructions in the main page.

Considerations for My New Hybrid T4 Template

...

Installing The Hybrid T4 Template into a New Project

In case you want to try out my T4 template in your own Windows Phone project, here’s how you would do it:

...

image..."

One of the key phrases is "...the other day I heard about a new T4 template written by the OData team to generate an OData client proxy to access an OData v3 data service...". This doesn't appear to be out yet, but I'll be keeping an eye open for it.

Friday, December 30, 2011

Visual Studio 2010 and .NET Framework 4 Training Kit December 2011 Release (Think "MVC3 VB and OData HOL Love" version)

Microsoft Downloads - Visual Studio 2010 and .NET Framework 4 Training Kit December 2011 Release

Version: 2.2
Date Published: 12/30/2011

Language: English

VS2010TrainingKitDecember2011.Setup.exe, 497.7 MB

The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:

  • C# 4
  • Visual Basic 10
  • F#
  • Parallel Extensions
  • Windows Communication Foundation
  • Windows Workflow
  • Windows Presentation Foundation
  • Silverlight 4
  • ASP.NET 4
  • Windows 7
  • Entity Framework
  • ADO.NET Data Services
  • Managed Extensibility Framework
  • Application Lifecycle Management
  • Windows Azure
This version of the Training Kit works with Visual Studio 2010 and .NET Framework 4.

..."

Updates in this release;

  • [New] Visual Basic versions of all MVC3 hands on labs
  • [New] Building Applications and Services Using Open Data Protocol hands-on lab
  • [Removed] Introduction to ADO.NET Data Services hands-on lab 

SNAGHTML1ddb4bfa

And a full span of the page;

image

And my usual WinDirStat snap (showing the VB love in the Kit :)

SNAGHTML1de412b2

 

Related Past Post XRef:
June 2011 release of the Visual Studio 2010 and .NET Framework 4 Training Kit (aka v2.0... or double the download size from the Feb 2010 release, or now 1.8GB of offline training, labs, information, goodness)
Visual Studio 2010 and .NET Framework 4 Training Kit – February Release (aka the VS2010 RC Compatible release) – We’re talking 602MB of VS/.Net training stuff here…
Visual Studio 2010 and .NET Framework 4 Training Kit - October Preview (aka VS2010 B2 version) released
A little VS2010/.Net 4 Training Kit with your Beta 1?

Friday, December 09, 2011

"A Guide to Claims-Based Identity and Access Control, Second Edition" in 441 pages of a free PDF

Microsoft Downloads - A Guide to Claims-Based Identity and Access Control, Second Edition - Book Download

A PDF file of the "Guide to Claims-Based Identity and Access Control, Second Edition" book.

Version: 2.0
Date Published: 12/9/2011

Language: English

Claims-based Identity Second Edition device.pdf, 19.3 MB

Some snaps of the PDF;

image

SNAGHTML49ee3131

A clip from the Preface;

Who This Book Is For
This book gives you enough information to evaluate claims-based identity as a possible option when you’re planning a new application or making changes to an existing one. It is intended for any architect, developer, or information technology (IT) professional who designs, builds, or operates web applications and services that require identity information about their users. Although applications that use claims based identity exist on many platforms, this book is written for people who work with Windows-based systems. You should be familiar with the Microsoft .NET Framework, ASP.NET, Windows Communication Foundation (WCF), Microsoft Active Directory® directory service, and Microsoft Visual C#® development system.

Why This Book Is Pertinent Now
Although claims-based identity has been possible for quite a while, there are now tools available that make it much easier for developers of Windows-based applications to implement it. These tools include the Windows Identity Foundation (WIF) and Microsoft Active Directory Federation Services (ADFS) 2.0. This book shows you when and how to use these tools in the context of some commonly occurring scenarios.

...

With all that was released today, something like this could be easily overlooked, yet claims based identify and access control is only going to become more important as time goes on...

Thursday, June 30, 2011

June 2011 release of the Visual Studio 2010 and .NET Framework 4 Training Kit (aka v2.0... or double the download size from the Feb 2010 release, or now 1.8GB of offline training, labs, information, goodness)

Microsoft Downloads - Visual Studio 2010 and .NET Framework 4 Training Kit June 2011 Release

"Quick details

Version:  2.0
Date Published: 6/28/2011
Language: English

File Name:  VS2010TrainingKitJune2011.Setup.exe
Size: 421.0 MB

Overview

The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:

  • C# 4
  • Visual Basic 10
  • F#
  • Parallel Extensions
  • Windows Communication Foundation
  • Windows Workflow
  • Windows Presentation Foundation
  • Silverlight 4
  • ASP.NET 4
  • Windows 7
  • Entity Framework
  • ADO.NET Data Services
  • Managed Extensibility Framework
  • Application Lifecycle Management
  • Windows Azure

This version of the Training Kit works with Visual Studio 2010 and .NET Framework 4.

..."

The last time I blogged about this training kit, Visual Studio 2010 and .NET Framework 4 Training Kit – February Release (aka the VS2010 RC Compatible release) – We’re talking 602MB of VS/.Net training stuff here…, the download size was 193MB, 602MB uncompressed. Now the download size is 423MB and 1.8GB uncompressed (wow, 3x's)

In short, if you're looking to learn about anything in the above list, this is a must download/use resource.

<whine> I really wish there was an easy to find "what's new" page/list/information/etc. It would really help those of us who get every release to know what's, well, new...</whine>

Here's a snap of the landing page;

image

And a monster pic/overview of all the items;

image

Finally a WinDirStat image of the install (looks like lots of databases/MDF's doesn't it?);

image

 

Related Past Post XRef:
Visual Studio 2010 and .NET Framework 4 Training Kit – February Release (aka the VS2010 RC Compatible release) – We’re talking 602MB of VS/.Net training stuff here…
Visual Studio 2010 and .NET Framework 4 Training Kit - October Preview (aka VS2010 B2 version) released
A little VS2010/.Net 4 Training Kit with your Beta 1?

Friday, February 18, 2011

Flashcards.Show v2 - One VS solution, 12 Projects, three screens (Desktop, Web/SL, WP7)

The Road to Know Where - Microsoft Updates “Flashcards.Show” Educational App for Windows Phone 7

"Microsoft’s first version of Flashcards.Show let’s teachers & students create all kinds of decks and then consume these cards in the form of games. However, you could not share any of the great cards you created with anyone else except by sending the deck file itself via email. Now Flashcards.Show runs on the Desktop, Browser, and Windows Phone 7..." [GD:Post leached in full... ]

MSDN Code Gallery - Flashcards.Show

"Version 2
The new version includes:

  • ClickOnce installation
  • Sharing of decks via Azure
  • Silverlight application that lets you view shared decks
  • Windows Phone implementation


Have you ever needed to memorize a number of objects’ names, such as word definitions in a new language, animals' names, people’s names, or tree leaf shape nomenclature? If you did, you might have employed a useful tool, known as the flashcard. By creating cards with questions, pictures, or terms on one side and answers, names, and descriptions on the other side, you can more easily perform the rote memorization of a category of things. This application takes that concept and makes it easy for you to produce decks of flashcards and also enables you to play three different types of games that make it easy and fun to learn

Getting Started

...

Installing the Sample...

...

Running the Application in Admin Mode

...

Using the Application in Game Mode

...

Working With Visual Studio

..."

Flashcards.Show - Version 2

SNAGHTML86c8e94

Here's some snaps from the downloaded code;

image

A snap of the WPF Project;

SNAGHTML8740115

Snap of the WP7 Project running in the emulator...

SNAGHTML8772123

Tuesday, August 31, 2010

Sharing WEIShare - See how WEIShare was built (and get the code too)

Coding4Fun - Building the Windows Experience Index Share Site – WEIshare.net

“By now you’ve probably seen Larry’s video in which he explores the WEI Share (“We” share) project and what it does. Now we’re going to show you what went in to creating it, from building the desktop portion to grab the score to compiling the data to setting it up on Azure.

Lincoln Anderson, Web Designer

Peter Brownstein, Web Programmer

Peter Juchniewicz, Web Programmer

Peter VanRysdam, CMO 352 Media Group

Source Code: Download
Difficulty:
Intermediate
Time Required: 30 hours (Website Programming), 50 hours (desktop programming), 20 hours (graphics/WPF design)
Software Needed: Microsoft Expression Blend, Visual Basic or Visual C# Express, SQL Server Management Studio
Hardware: PC with Windows Vista or higher (need access to a WinSAT XML file from Windows 7)

Creating the Silverlight App and Web Service – Peter B.

We originally set out to create a Silverlight Application that would display uploaded Windows Experience Index (WEI) Scores via a Web Service and Desktop Application. At the time, we created the application in Silverlight 3 and used a WCF Service to integrate with not only the desktop application but also the Silverlight application. Since we weren’t sure exactly where the WCF Service was being hosted in relation to the Web Site, one of the things we did was make it so the location of the WCF Service can be fairly easily changed. We ended up going with Silverlight Parameters to pass in the location of the WCF Service. Doing this was fairly easy, but it took some set up. The first step involved modifying App.xaml.cs to the following:

weishare…”

The Coding4Fun group is one of my favorite MS groups. Not only do they do cool stuff (like t-shirt cannon robots and the DrinkTender) but even better they release the code they do it with. WEIShare is cool project that lets you share your Windows Experience Index (WEI) and see just how lame your system is when compared to others (err… um… I mean… how much room there is to improve your system… yeah… that… ;)

What I really liked about WEIShare was seeing the other scores for people with my same hardware. For example, the “PDC Acer 1420p’s” have two sets of numbers and it looks like the only difference is an older video driver is actually faster. See that is officially cool…

Monday, August 16, 2010

“Getting Started with WCF 4”, the Refcard…

DZone - Getting Started with Windows Communication Foundation 4.0

Overview

Windows Communication Foundation (WCF) is the preferred messaging system in .NET applications. It removes the need for developers to have intimate knowledge of how the messages themselves are sent and received. This DZone Refcard gets you up to speed with WCF and covers configuration, contracts, bindings, behaviors, hosted services and more.

About the Author

Scott Seely is the author of several books on Web Services and an instructor for Pluralsight. He is a Microsoft Regional Director. Right now, he is working on Essential Windows Communication Foundation, 2nd Edition for Addison Wesley …”

I dig the DZone refcardz. They provide great nugget sized information on a given topic from “names” in our industry. They help you know what you don’t know, give you that starting boost up the learning curve…

image

Friday, June 18, 2010

The VB Professor is in, as in the MyVBProf that is… VB + MVVM/SilverLight Intro, VB+SliverLight & WCF RIA Services and more.

Beth Massi - Sharing the goodness that is VB - Visual Basic Silverlight Tutorials from MyVBProf

“In case you missed them, Visual Basic MVP Bill Burrows has been creating Visual Basic Silverlight tutorials on his site MyVBProf for a while now. Last week he released a new tutorial that is the third of a series on using WCF RIA Services.

The first tutorial introduced SL4 and WCF RIA Services using an example that keeps track of a golfer’s scores and computes the golf handicap. The second tutorial introduced the MVVM pattern in Silverlight 4 using the new command properties. This new tutorial takes the golf handicap example and creates a refactored solution built on the MVVM pattern. Check them out!

…”

MyVBProf

image

image

This is a SilverLight based site which provides a number of VB related videos/tutorials. Sometimes having someone walk and talk you through a topic is just what you need… Plus it’s free… ;)

Monday, June 07, 2010

Microsoft TechEd 2010 is OData enabled

WCF Data Services Team Blog - TechEd 2010 OData Service

“TechEd North America 2010 is fast approaching (it starts Monday). This year we have added an OData service to the TechEd site, just like we did for MIX10 earlier this year. The service exposes the sessions, speakers and other associated information for the conference and is a great way to learn OData. Check-out the API page on the TechEd site here for more information on the service. If you are attending TechEd make sure you stop by the DMG booth (in the DAT section) and show the folks from DMG your OData App.

image …”

North American TechEd - API for Session Data

“Not happy browsing our list of sessions on the web, feel like doing some data mining of your own, building an app to show how schedule planning should be done? Well, if any of those statements apply to you, then we have the data you need.

The Open Data Protocol, referred to as OData, is a new data-sharing standard that breaks down silos and fosters an interoperative ecosystem for data consumers (clients) and producers (services) that is far more powerful than currently possible. It enables more applications to make sense of a broader set of data, and helps every data service and client add value to the whole ecosystem. WCF Data Services (previously known as ADO.NET Data Services), then, was the first Microsoft technology to support the Open Data Protocol in Visual Studio 2008 SP1. It provides developers with client libraries for .NET, Silverlight, AJAX, PHP and Java. Microsoft now also supports OData in SQL Server 2008 R2, Windows Azure Storage, Excel 2010 (through PowerPivot), and SharePoint 2010. Many other other applications in the works.(from MSDN)

The URL for the TechEd North America OData service is http://odata.msteched.com/sessions.svc/, and you can find more information on how to access this data on http://www.odata.org …”

http://odata.msteched.com/sessions.svc/

image

Snap via OData Explorer;

image

Continuing on their OData’ing of their sessions, started with MIX10, Microsoft’s TechEd North America also has an OData service/feed/end point.

Very cool to see this effort continued.

 

Related Past Post XRef:
MIX10? There’s an OData Feed for that…

OData Primer – A collaborative effort to gather and share OData information and resources

Tuesday, April 27, 2010

Open Data opens the .Net 3.5 & SilverLight 3 client libraries. The client libraries source, under Apache 2.0 license, is available now

WCF Data Services Team BlogThe Open Data Protocol .NET Framework Client Library – Source Code Available for Download

“We are happy to announce that we have made the source code for the .NET Framework 3.5 SP1 and Silverlight 3.0 Open Data Protocol (OData) client libraries available for download on the Codeplex website. This release represents the OData team’s continued commitment to the OData protocol and the ecosystem that has been built around it. We have had requests for assistance in building new client libraries for the OData protocol and we are releasing the source for the .NET Framework and Silverlight client libraries to assist in that process. We encourage anyone who is interested in the OData ecosystem and building OData client libraries to download the code.

The source code has been made available under the Apache 2.0 license and is available for download by anyone with a Codeplex account. …”

CodePlex - Open Data Protocol - Client Libraries

“The Open Data Protocol (OData) is a Web protocol for querying and updating data that provides a way to unlock your data and free it from silos that exist in applications today. OData does this by applying and building upon Web technologies such as HTTP, Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores. The protocol emerged from experiences implementing AtomPub clients and servers in a variety of products over the past several years. OData is being used to expose and access information from a variety of sources including, but not limited to, relational databases, file systems, content management systems and traditional Web sites.

…”

Open Data Protocol - Client Libraries - OData .NET Client Source Code

“Released: Apr 23 2010

Updated: Apr 23 2010…

Dev status: Stable

Recommended Download

ODataNetFxClient.zip
source code, 323K, uploaded Fri - 38 downloads

Release Notes

This is a zip containing a fully building Visual Studio 2008 solution for the OData .NET Client. To use, unzip the file locally and open the solution in Visual Studio 2008.

…”

Nice. Good to see Open Data = Open…

Thursday, April 15, 2010

Changing your target to .Net 4 – What’s changed from .Net 3.5 SP1 and what you can do about it as you move to .Net 4

ISV Developer Community - How to Migrate Your .NET 3.5 App to .NET 4

“Your .NET Framework 3.5 installs side-by-side with .NET Framework 4. So your application will work as expected when your customer installs .NET 4. But when you take your current code from .NET 3.5 and recompile it and target your application for .NET 4 in Visual Studio 2010, you may find some breaking changes.

Migration issues between the .NET Framework version 3.5 Service Pack 1 and the .NET Framework version 4, including fixes, changes for standards compliance and security, and changes based on customer feedback. Most of these changes do not require any programming modifications in your applications. The table provides steps that for you to take too

…”

What's New in the .NET Framework 4 - .NET Framework 4 Migration Issues

“This topic describes migration issues between the .NET Framework version 3.5 Service Pack 1 and the .NET Framework version 4, including fixes, changes for standards compliance and security, and changes based on customer feedback. Most of these changes do not require any programming modifications in your applications. For those that may involve modifications, see the Recommended changes column of the table.

This topic describes notable changes in the following areas:

  • ASP.NET

  • Core

  • Data (ADO.NET)

  • Windows Communication Foundation (WCF)

  • Windows Presentation Foundation (WPF)

  • XML

For information about new features, see What's New in the .NET Framework 4.

image

…”

With the RTM of .Net 4 many developers will start really looking at moving/upgrading their app’s. While there’s many years of life yet in CLR 2 (.Net 2/3/3.5), the goodness that’s in .Net 4 is very appealing and will help us solve a number of our users problems and to make their app lives better.

But it’s an UPGRADE, a migration, a move to a newer CLR. There will be bumps. The more we know about those bumps the faster and easier the migration will be…

Wednesday, April 14, 2010

Got Training? How about 15’ish hours of free (reg-ware) VS2010, C#, VB and ALM training from AppDev?

Skinner's Blog - Free VS2010 Training

“The amount of new features that we have enabled in VS2010 is simply staggering. Scott Guthrie just put out a great post summarizing most of the new IDE and .NET features we just shipped yesterday. Check it out here. That post doesn’t even touch all the new things we shipped on the ALM side of the house, such as all the new Test capabilities, UML diagrams, Intellitrace, etc., just to name a few.

To help you get a leg up on all these new capabilities, AppDev and Microsoft are teaming together to give you 15+ hours of online Visual Studio 2010 training at no charge. A big piece of this training is also focused on the ALM tooling where a lot of the new surface area of the product can be found.

…”

AppDevFree Visual Studio 2010 Training

“Learn what's new in Visual Studio 2010 with award-winning training from AppDev. Microsoft experts Ken Getz, Robert Green and Chris Menegay will take you step-by-step through the most important new features in Visual Studio 2010 Using Visual Basic, Visual C# and ALM Tools. Plus you'll get a sampling of free training modules for Visual Studio 2008, ASP.NET, SharePoint 2007, SQL Server 2008 and Business Intelligence.

Start learning now! It's quick and easy to register for your free training...

Exploring Visual Studio 2010 Using Visual Basic or Visual C#  (full course)

  • Investigate new language features and see the benefits of the new WPF-based IDE.
  • Learn about many of the new ASP.NET Web Forms features.
  • See how the all-new Workflow 4.0 works and get started learning its features.
  • Create services using the new features in WCF.
  • Drill into new WPF features, focusing on new controls, data binding and more.
  • Create Silverlight applications using the new designer built into Visual Studio 2010.
  • Incorporate Office 2010 features into .NET applications, focusing on SharePoint 2010.

Exploring Visual Studio 2010 ALM Tools  (4 out of 8 modules)

  • See the new features of Visual Studio 2010 for Application Lifecycle Management (ALM)
  • Understand about Team System and Excel Reports as well as Ad-hoc reporting.
  • Then move on to Version Control with Team Foundation Server version control concepts
  • Learn about Microsoft Test and Lab Manager for test plans for both manual and automated testing.

…” [GD: Page leached almost in full]

It’s AppDev and it’s free! How’s that deal for you? :)

Thursday, February 11, 2010

Visual Studio 2010 and .NET Framework 4 Training Kit – February Release (aka the VS2010 RC Compatible release) – We’re talking 602MB of VS/.Net training stuff here…

Microsoft Downloads - Visual Studio 2010 and .NET Framework 4 Training Kit - February Release

“February Release of the Visual Studio 2010 and .NET Framework 4 Training Kit

File Name: VS2010TrainingKitFebruarySetup.exe
Version: 1.3
Date Published: 2/10/2010
Language: English
Download Size: 199.4 MB


Overview

The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:

  • C# 4.0
  • Visual Basic 10
  • F#
  • Parallel Extensions
  • Windows Communication Foundation
  • Windows Workflow
  • Windows Presentation Foundation
  • ASP.NET 4
  • Windows 7
  • Entity Framework
  • ADO.NET Data Services
  • Managed Extensibility Framework
  • Visual Studio Team System
This version of the Training Kit works with Visual Studio 2010 RC and .NET Framework 4 RC. [GD: Emphasis Added] 

…”

Holly cow… The download size has grown by 106MB since v1.1. From a compressed 93MB in v1.1 to a compressed 199MB (602MB uncompressed!) in this version. Wow

For a view of the v1.1 and v1.0 check out Visual Studio 2010 and .NET Framework 4 Training Kit - October Preview (aka VS2010 B2 version) released  & A little VS2010/.Net 4 Training Kit with your Beta 1?

 

Here’s a snap from the main page;

image

And a snap, via WinDirStat, of the contents. The 602MB isn’t just a ton of videos (there’s actually no “videos” on disk, they are all being hosted and streamed from Channel 9 is seems) but instead just tons of data, doc’s, resources and code.

image

 

Related Past Post XRef:
Visual Studio 2010 and .NET Framework 4 Training Kit - October Preview (aka VS2010 B2 version) released
A little VS2010/.Net 4 Training Kit with your Beta 1?

Visual Studio 2010 Licensing White Paper (includes Team Foundation Server, Lab Management and IntelliTrace)
VS 2010 RC now available for download to the general public (no MSDN Subscription required)
VS2010 RC now available on MSDN Subscribers Download. General availably coming tomorrow (February 10th)
VS2010/.Net 4 release date slips and we get a public RC in February to make up for it (and I’m okay with it)

Visual Studio 2010/.Net 4.0 B2 now available via MSDN Subscribers Download, new SKU names (Ultimate, Premium, Express Combo) and VS2010 launch dates announced
VSTS/TFS2010 Beta 2 coming “real soon” and will have a “Go Live” license (i.e. Now’s the time to start getting ready…)

Tuesday, December 08, 2009

10 AppFabric/.Net 4 Virtual Labs now available

Nicholas Allen's Indigo Blog - Virtual Labs for AppFabric and .Net 4

“Ten labs for AppFabric and .Net 4 are available on MSDN virtual labs. Virtual labs allow you to borrow a virtual machine for a while, giving you the opportunity to try out the lab online with no setup or installation required. You get the machine and a copy of the lab manual with no other work.

These labs cover .Net 4 Beta 2 and AppFabric Beta 1. If you were at PDC, these labs should look familiar if you were able to spend some time in our hands on lab area.

image

MSDN Virtual Lab: Lab 1: Simple Console Workflow

image

The cool thing about virtual labs is that you get a virtual machine all setup, configured and ready for you to start coding…