|
|
Browse by Tags
All Tags » .NET 3.0 (RSS)
-
I just wrapped up a week at SD West in Santa Clara where I delivered 2 full day tutorials and 4 sessions. This post will lead you to all the sample code for those sessions, enjoy! Tutorial: .NET Technology Roadmap The following link has instructions for machine setup, numerous references to resources, and code samples demonstrated: http://www.dasblonde.net/downloads/TechnologyRoadmap0308.zip Tutorial: Building an Enterprise SOA with WCF Most of the samples for this tutorial come from my book. Download those samples with instructions here: www.thatindigogirl.com . In addition I also demonstrated some newer samples including the following: Proxies: http://www.dasblonde.net/downloads/Proxies.zip Error Handling: http://www.dasblonde.net/downloads/ErrorHandlers.zip Routers: http://www.dasblonde.net/downloads/Routers.zip Entity Framework, AJAX and REST - A look at Project Astoria http://astoria.mslivelabs.com/ http://quickstarts.asp.net/3-5-extensions/ http://www.dasblonde.net/downloads/EFDataServicesSample.zip Exploring Windows CardSpace http://www.dasblonde.net/downloads/CardSpaceSamples.zip Federation with WCF Most of the samples for this session come from my book. Download those samples with instructions here: www.thatindigogirl.com . An additional sample: http://www.dasblonde.net/downloads/SecurityTokenClaims.zip Scalability and Throughput Considerations for WCF Most of the samples for this session come from my book. Download those samples with instructions here: www.thatindigogirl.com . Also see the my proxy samples: http://www.dasblonde.net/downloads/Proxies.zip Technorati Tags: WCF , Federation , CardSpace , Astoria , WPF , WF Read More...
|
-
I'm in the middle of preparing for a session at SD West next week where I talk about the Microsoft Technology Roadmap - basically an avalanche of technologies in one day. Each time I present this I have to update my resources with newer tools, usually extensions to Visual Studio environment, so that attendees can be successful at running demos. Here is my latest list of "setup instructions" for the CTPs I use, with links to where the sites are located. I can't guarantee how long these will be the latest, but you should be OK for at least the next month! Windows XP/SP2 or Windows Server 2003 Setup This section describes core machine setup for the operating system, .NET 3.0 and SQL Server. · Enable IIS · Enable MSMQ · Install .NET 3.0 http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en · Windows SDK Update for Vista (really, for .NET 3.0) http://www.microsoft.com/downloads/details.aspx?familyid=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en · SQL Server 2000/2005 or SQL Express o Install any service packs Windows Vista/SP1 or Windows Server 2008 This section describes core machine setup for the operating system, .NET 3.0 and SQL Server. · Enable IIS/WAS · Enable MSMQ · NOTE: .NET 3.0 is already installed · Windows SDK for Vista (really, for .NET 3.0) http://www.microsoft.com/downloads/details.aspx?familyid=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en · SQL Server 2000/2005 or SQL Express o Install any service packs Visual Studio 2005 (if you have to) This section lists tools to install to set up your Visual Studio 2005 environment. For .NET 3.0 and 3.5 development, Visual Studio 2005 is sorely out of date on tools, so anything you install from this list below is likely not to work with newer code samples. You have been warned. · Visual Studio 2005 Extensions for WCF and WPF – November 2006 http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en · Visual Studio 2005 Extensions for WF – November 2006 http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en · Visual Studio 2005 LINQ CTP - May 2006 http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en · Visual Studio 2005 ADO.NET vNext CTP – May 2006 http://www.microsoft.com/downloads/details.aspx?FamilyId=B68F6F53-EC87-4122-B1C8-EE24A043BF72&displaylang=en · Visual Read More...
|
-
I just returned from another fantastic Dev Connections conference in Las Vegas. For the four sessions I delivered, this post lists the code samples and resources I referenced. If you are looking for something specific and can't find it here, shoot me an email. Tutorial resources will be posted separately. Enjoy! Introduction to C# 3.0 C# 3.0 Samples ADO.NET 3.5 Samples Exploring Windows CardSpace Cardspace Samples ASP.NET and WCF: Meet Your New Web Service See code from my book Learning WCF posted here See my webcast series on WCF for MSDN Architectural Considerations for ASP.NET Applications GalleryDemo20 - This sample illustrates different globalization techniques including the use of generated resources for page content, the use of resources to select localized images and dynamically loaded user controls, the use of localized database tables, and caching based on theme, culture and query string params CustomResourceProviders - This sample illustrates the use of custom localization expressions and custom resource providers. The code is based on this article: http://msdn2.microsoft.com/en-us/library/aa905797.aspx and updated for VS 2008. Extending the Visual Studio IDE for localization - I wrote a follow on article on this for MSDN, it has not yet been published, hopefully soon (backlog) but I will post the code here in an update to this post, after a quick review later this week. Distributed Boundaries - This sample was based on the ConnectionOrientedBindings lab from Chapter 3 of my book Learning WCF. All the code for my book is here: http://www.thatindigogirl.com/LearningWCFCode.aspx . This particular sample shows how to use a WCF service behind your ASP.NET applications to introduce a security boundary between NETWORK SERVICE and access to data and other resources. I talked about this in two articles for the server side, long ago: Sandboxing with Impersonation Sandboxing with Enterprise Services TransactionsOverHttp - This shows how to flow transactions over WCF web services, but I have many more examples of WCF transactions here: http://www.thatindigogirl.com/LearningWCFCode.aspx MessagingIntermediaryVia - Illustrates a pass-through router over HTTP where even reliable messaging headers can pass through both directions. MessagingIntermediaryDuplex - Illustrates a duplex router that supports reliable messaging headers two-way out of band over named pipes. Technorati Tags: WCF , CardSpace , C# 3.0 , Globalization , Localization , Routers , ASP.NET Read More...
|
-
Today I completed a webcast as part of a 15 part series - today's subject concurrency, throughput and throttling. I received some questions about callback and Windows client applications that I thought I would elaborate on here. In fact, I went a little overboard and created a bunch of samples that would illustrate the behavior of services and clients when you have a Windows client, a service with a callback contract (thus, two-way communication) and various WCF settings at the client and service that relate to concurrency, multithreading, synchronization with the UI thread, and so on. The following table summarizes various settings at the client, service and callback and the resulting behavior at runtime. Here's the breakdown for each column: Callback Sync Context - refers to the UseSynchronizationContext setting for the CallbackBehaviorAttribute on the client callback object. Callback Concurrency Mode - refers to the ConcurrencyMode setting for the CallbackBehaviorAttribute on the client callback object. Service Operation - Indicates if the service contract operations are one-way or two-way. Callback Operation - Indicates if the callback contract operations are one-way or two-way. Service Concurrency Mode - refers to the ConcurrencyMode setting for the ServiceBehaviorAttribute on the service type. Resulting Behavior - when the corresponding sample is run, what happens? I have also uploaded sample code for each of these scenarios, numbered in order of table row description below. Get the code here. Callback Sync Context Callback Concurrency Mode Service Operation Callback Operation Service Concurrency Mode Resulting Behavior True/ False Single/ Reentrant/ Multiple One-way/ Two-way Two-way Single These are defaults. InvalidOperationException at the service. Operation would deadlock calling the client application since the callback is two-way and reentrancy isn’t possible. True Single/ Reentrant/ Multiple Two-way Two-way Reentrant/ Multiple Service able to call client, but client is blocked because of outgoing call. False Single/ Reentrant/ Multiple Two-way Two-way Reentrant/ Multiple Service able to call client, client callback object is not blocked. If client callback object tries to communicate with UI thread (i.e., setting properties of controls) it will block. False Single One-way Two-way Reentrant/ Multiple Service able to call client, client callback object is not blocked. Client callback object can communicate with UI thread using Invoke() from callback Read More...
|
-
In preparation for our upcoming .NET 3.5 Roadshow ( http://www.dotnetroadshow.com/ ) I am posting setup instructions for those who need some tips on setting up an environment to work with the latest technologies. If you can start using Visual Studio 2008 (Beta 2 available now), I highly recommend it - it gives you the latest .NET 3.0 tools for your WCF, WPF and WF projects. But, for those still using Visual Studio 2005, I have provided those links here as well. Windows XP/SP2 or Windows Server 2003 Enable IIS Enable MSMQ Install .NET 3.0 http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en Windows Vista or Windows Server 2008 Enable IIS/WAS Enable MSMQ NOTE: .NET 3.0 is already installed Windows SDK for .NET Framework 3.0 http://www.microsoft.com/downloads/details.aspx?familyid=C2B1E300-F358-4523-B479-F53D234CDCCF&displaylang=en SQL Server 2000/2005 or SQL Express SQL Server 2005 SP2 (if applicable) If you use Visual Studio 2005, install these add-ons: Visual Studio 2005 Extensions for WCF and WPF – Nov 2006 http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en Visual Studio 2005 Extensions for WF – Nov 2006 http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en Visual Studio 2005 LINQ CTP – May 2006 http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en Visual Studio 2005 ADO.NET vNext CTP – May 2006 http://www.microsoft.com/downloads/details.aspx?FamilyId=B68F6F53-EC87-4122-B1C8-EE24A043BF72&displaylang=en Visual Studio 2005 Entity Data Model Designer Prototype CTP – May 2006 http://www.microsoft.com/downloads/details.aspx?FamilyID=74bda7b2-9ca9-4eea-a33f-31942ddc9dbe&displaylang=en NOTE: this doesn’t work so well, better to install VS 2008 Beta 2 extension for this If you use Visual Studio 2008 Beta 2 (preferred), install these add-ons: .NET 3.0 tools are built-in to VS 2008 LINQ and related tools are built-in to VS 2008 At the time of this writing the Entity Data Model and related tools were not available for Beta 2. Technorati Tags: VS 2008 , NET 3.0 , .NET 3.5 Read More...
|
|
|
|