Tuesday, January 05, 2010

MAG hires I am working with Magenic to organize an exciting new event – the Code Mastery events.

The first (of hopefully many) is in Boston on Feb 11.

This is a full day event, with two tracks of FREE CONTENT – deep dive technical content. We’re talking Visual Studio 2010, .NET 4.0, TFS, SharePoint, SQL Server and BizTalk Server – great stuff!!

We’ve lined up an amazing set of speakers, pulling Microsoft MVP’s and authors from Magenic’s national and New England consultants. These are people who are using the technologies day in and day out and who really know what they are talking about.

For my part, I’ll be talking about how 2010 is shaping up for developers, with VS 10, .NET 4, Silverlight 4 and other cool technologies. And I’ll be talking about CSLA .NET for Silverlight, and showing how incredibly powerful and fun it can be to build Silverlight applications when using CSLA .NET.

Space is limited, and if you live in the New England area you won’t want to miss this great educational opportunity!

Go to the site, check out the content and register today!

Tuesday, January 05, 2010 5:02:05 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, December 29, 2009

csla_net_videos For those who have purchased the CSLA .NET Core 3.8 video series, you'll be happy to know that segment 6 (Authentication and authorization) is online, along with associated sample code.

http://download.lhotka.net/Default.aspx?t=Core38

This completes the core video series. As we move into 2010 I plan to produce separate UI-specific videos covering WPF, ASP.NET MVC, etc, so watch for those.

If you haven't purchased the CSLA .NET Core 3.8 video series, there are only two days left of the special pre-release pricing. And only two days left for the holiday discount on the CSLA .NET for Silverlight video series.

So if you want to save 15% to 33% off regular pricing, buy the video series before the end of 2009!

Tuesday, December 29, 2009 12:42:01 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Sunday, December 20, 2009

Part 5 of the Core CSLA .NET 3.8 video series is now available from the download page.

This video segment covers business and validation rules in CSLA .NET. This includes discussion of the .NET DataAnnotations attributes, along with synchronous and asynchronous rule methods, rule priorities, short-circuiting and a whole lot more.

The business and validation rule subsystem is one of the most important and compelling features of CSLA .NET, and even seasoned users of the framework are likely to learn some new things by watching this video!

If you haven’t purchased the video series yet, please go to http://store.lhotka.net – and don’t wait, because the special 33% discount pricing only runs through the end of 2009!!

Sunday, December 20, 2009 11:49:00 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, December 17, 2009

The 4th video in the Core CSLA .NET 3.8 video series (available from http://store.lhotka.net) is now online. If you’ve already purchased the series, you can download the new video from the download page.

Video 4 covers the data portal and how you can use it for 1-, 2- and 3-tier deployments of your applications. This is 1:53 hours of in-depth content, providing an overview of the data portal concept, and an extensive walk-through of code using the data portal. You’ll see how to configure the client, set up and configure a server – all using WCF. Even better, you’ll see various object patterns that leverage the data portal, including the powerful unit of work pattern.

The special pre-release pricing is still in effect for this amazing video series. Buy before the end of the year and get 33% off the regular $300 price. That’s right – buy now for just $200.

And while you are at the store, take a look at the CSLA .NET for Silverlight video series, which is 15% off until the end of 2009. If you are using CSLA .NET to build Silverlight applications, this video series will get you up and running – from creating your first Silverlight project in Visual Studio 2008, through implementing the UI, the business objects and data access, everything you need to know is in this one series of videos.

Thursday, December 17, 2009 10:10:13 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Monday, December 14, 2009

I just got a new ATI AMD Radeon HD 5850 – nice looking high end graphics card. This replaces my previous nvidia card and is a pretty big upgrade.

Of course I’m running Windows 7 x64, probably the best operating system yet created. Seriously! :)

Unfortunately the driver and utility installer (Catalyst 9.11) from ATI won’t run on my machine. The InstallManagerApp.exe crashes almost immediately every time I try to run it. Windows 7 detects that it failed, but beyond that I’m not getting any details about why it failed…

I was able to use the Windows device manager to directly install the driver, so at least the card works. But without the Catalyst control panel, the card is always running at full speed, and therefore its fan is too – which is really loud and consumes tons of electricity.

What’s odd is that I recently put a different ATI card into another Win7 x64 box and Catalyst installed just fine.

I’m wondering if there’s some issue where Catalyst won’t install because I just uninstalled the nvidia card and its drivers?

In any case, I’m not real happy with ATI just at the moment…

Update: Thanks to helpful replies, here's the answer:

http://forums.amd.com/game/messageview.cfm?catid=279&threadid=101103

In short, unpack the installer, then go to the \bin64 folder and type this:

> ATISetup.exe -Install -Output screen

Monday, December 14, 2009 7:57:39 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [2]  | 
 Wednesday, December 09, 2009

There’s a new DNR TV show online where I talk about the MVVM support added to CSLA .NET 3.8.

http://www.dnrtv.com/default.aspx?showNum=161

 

Wednesday, December 09, 2009 12:18:28 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [1]  | 
 Sunday, December 06, 2009

Last week I spent a few hours switching the CSLA .NET for Windows unit/integration tests from nunit to mstest.

This wasn’t terribly hard, because the tests were originally created with the idea of supporting both test frameworks. Of course as different people added tests over several years time inconsistencies crept in, and that’s what I had to address to make this switch.

I didn’t remove the compiler directives for nunit, so it should take relatively little effort to switch back to nunit, but I don’t personally plan to do that.

mstest is now available in all professional versions of Visual Studio 2010, and Microsoft is obviously faster about getting their test framework updated as .NET and Visual Studio change. Looking at www.nunit.org there’s no mention of VS10 or .NET 4.0. Yes, I know people have tweaked nunit to work on .NET 4.0, but mstest allows me to eliminate one level of uncertainty from my process.

Besides, there are all these really cool tools and capabilities in VS10, some of which tie into testing and coverage, and this gives me motivation to play with them :)

Sunday, December 06, 2009 9:02:07 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [2]  | 
 Sunday, November 29, 2009

The Core CSLA .NET 3.8 Video Series provides nearly 9 hours of high quality training content to build your skills around CSLA .NET - for any type of user interface. The focus of this series is not on user interface development, it is on the core concepts of CSLA .NET – the knowledge you need to build a solid business layer for any application.

This six part series provides an introduction to CSLA .NET, then dives into detail to show how to code each type of business object, including business, validation and authorization rules. You’ll also learn about the various options for implementing data access, and how to effectively utilize the data portal for 1-, 2- and 3-tier deployments of your applications.

I’m offering a special “pre-release” sale price of 33% off on the video series. Buy now with this heavy discount, and get each new video segment as they become available. Segments 1 and 2 are online now!

Act now, the discount will phase out as the entire series comes online!!

Here is a summary of the video segments:

Introduction
In this video you will become familiar with the CSLA .NET framework's vision, goals and overall scope. You will be introduced to the various architectures supported by CSLA .NET, and the requirements necessary to build CSLA .NET applications.

Business Object Types
In this video you will learn how to implement each of the business object stereotypes supported by CSLA .NET. These include editable objects, lists of objects, read-only objects, read-only lists, name/value lists, command objects and more. At the end of this video you will understand the purpose behind each stereotype, and the coding structure to use when building business objects for each stereotype.

Data Access
This video details the various options supported by CSLA .NET for data access. You will learn how to put data access code into your business class, or into a separate data access assembly using a repository pattern, along with the pros and cons of each technique. You will also learn about the ObjectFactory attribute and base class, that can be used to create pluggable data access layers for an application.

Data Portal
In this video you will learn how to build 1-, 2- and 3-tier applications using CSLA .NET. CSLA .NET allows your UI, business object and data access code to remain the same in all these configurations, but there are numerous configuration options and choices you can make to optimize how your application works in each of these scenarios.

Business and Validation Rules
In this video you will learn how to implement business and validation rules in your business objects. This includes the use of validation attributes, common validation rules and custom business and validation rules. You will also learn how to implement and use synchronous and asynchronous business rules in your applications.

Authentication and Authorization
In this video you will learn about the various authentication and authorization techniques supported by CSLA .NET. Authentication options include Windows, ASP.NET Membership Provider and custom authentication. The CSLA .NET authorization subsystem supports per-property and per-type authorization, which is role-based by default, and can be customized.

Sunday, November 29, 2009 11:46:20 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [2]  | 

I’m heading to Atlanta to talk about “Microsoft Oslo” – oh wait – to talk about the SQL Server Modeling at ALEMUG on Wednesday, December 2.

Actually I’ll be talking about MCsla, which is the prototype domain specific language and runtime I created for CSLA .NET using the SQL Server Modeling tools. It is a good topic, because I get to talk about designing and defining a DSL with a custom grammar, using the m.exe and mx.exe tools to compile DSL code into instance data, and then defining a schema so that data can be loaded into SQL Server tables. Tables that you can view (and edit) using “Quadrant”, or any other SQL Server tools of your choice.

In short, nearly every part of SQL Server Modeling gets used, and the DSL code actually executes as a WPF application – so it is an end-to-end prototype solution.

So if you are in the Atlanta area, maybe I’ll see you there!

Sunday, November 29, 2009 10:39:08 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |