I was asked a little while back to pull together the best training resources for .NET development to feed into a MSDN UK site. I thought it would be useful to share here as well. By no means everything is listed but sometimes less is more :-). Enjoy: Top Tip: Watch out – these are sometimes big downloads. For instance I just downloaded a high def PDC2009 session at 600MB! I recommend you check out Free Download Manager – it is a great open source tool for working with large files. Offline Training...
WCF Service Testing: A challenge for a WCF service developer is to know whether the service developed by him is interoperable with other applications made in different technologies. Often People will write sample windows applications to check whether WCF service else we tend to use dynamic Web service invocation tools which can put up a request to a WCF service and show you the result set. One such tool is SOAP UI. I had a requirement where my WCF service should communicate with Java clients. Once...
Just a decade and a half ago, the process of building a simple Windows-based application could have been described as a nightmare. The introduction of Visual Basic changed it so developers could for the first time implement Windows applications in an intuitive, graphical environment by dragging controls onto a form. The web revolution is here and now. Web had become very quickly the platform of choice for all kind of applications. The demand for web applications is ever growing and cloud computing...
In this Issue: Jeremy Likness, Jesse Bishop, Deborah Kurata, Mark Tucker, Fredrik Normén, Corey Schuman(2), Laurent Duveau, Jeff Wilcox, and Erik Mork. Shoutout: Joe Stegman posted his BrowserFlow sample from PDC 2009 From SilverlightCream.com: Rich Data Forms in Silverlight 4 Beta Jeremy Likness' latest is on some of the new features in Silverlight 4B such as IDataErrorInfo, Data Annotations, Implicit Styles, and a lot more all with links out to descriptive posts... great overview posting! Implementing...
I’m going to be looking at a few different languages and blogging my thoughts. I am not a language dork so it will probably be mostly wrong. The languages I care about are c# (which is what I mostly use), javascript (which I love) and ruby (which everyone else loves). Installation C# is installed by installing visual studio, Javascript is included in all the popular browsers and Ruby can be installed (at least on Windows) using the Windows one-click installer. Scripting-ness Javascript and ruby are...
I labelled this as Part 01 because who knows, I may do a running series. Just came from a 'pot luck' -- I hate pot lucks, but that's not part of the reason to write. My wife gives me a hard time for not entering into conversation with people and cites that as a reason I never have a good time at such events. So tonight, I decided to 'enter in'. One of the guys that I DO know said something about Silverlight, mentioned I was involved with it and asked the guy he was introducing to me if he was familiar...
This series of posts discusses the use of an Aspect-oriented programming approach for implementing the validation part of a business domain, using the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method arguments, as well as for easy runtime validation of an object's state. This is the third post of a three-part series that discusses the use of these validation aspects throughout the...
I am currently on Chapter 10 - Lesson 2 of the (Exam 70-505): Microsoft® .NET Framework 3.5—Windows® Forms Application Development book and I am a bit disappointed. Besides the correction page, which hasn't been updated since May 09, I have found seeral errors on my own. The only positive thing that I can say about the cd-rom is that they really walk you though setting up the databases which is great for someone with no experience. My problem with the book so far is not only the amount of errors...
En mi trabajo actual casi no utilizo el SQL Manager. Esto debido a que yo sólo me encargo de cosas del front (funcionalidades e interacción con el usuario) y lo referente a bases de datos lo ve otra persona. Estarme alejando de las cuestiones de bases de datos me preocupa un poco porque siento que podría 'oxidarme' en esa área que de por sí no ha sido mi fuerte; sin embargo, hace algún tiempo me dí cuenta de que en realidad la persona que se encarga de bases de datos tampoco le mete mucho la mano...
I have written far too many null checks in my life. Why do we have even null values? They only seem to provoke a NullReferenceException in our code after all. F# for example has the option type with the value None which is semantically the same as null without being null which makes it impossible to access invalid values by accident. It is of course possible to create null values in F# but it is not the most natural thing in a functional programming language. How can we make C# safer without writing...
In this Issue: Chris Klug, Gavin Wignall, Jeff Handley, Brad Abrams(2), Mike Flasko, Karl Shifflett, Jeff Wilcox, Nikhil Kothari, and Colin Blair. Shoutouts: John Papa posted the material from his PDC Session: MVVM and Prism Demo for PDC09 Silverlight Session, and while you're at it, here's the video: Video of my Prism and MVVM at PDC Jeff Weber posted that a New Silverlight 3 Book Uses Farseer Physics Joe Stegman posted the slide deck for his PDC 2009 Out Of Browser Session András Velvárt announced...
Tibi has delivered another round of intervenes with some of the presenters at PDC. Vittorio Bertocci, Sara Ford, Ted Malone, Brad Abrams, Ade Miller and Don Box shared their ideas on the latest and greatest technology, and also their visions of the future. Tibi also interviewed Jon Flanders and Paula Januszkievicz at TechEd in Berlin. The interviews are here...
When you have command line arguments to parse, the place to look is Mono.Options. To date, I have not found anything better to get the job done. It is a single C# file if you do not want to download the entire Mono Library to use it. I was first introduced in Mono 2.2. The equivalent product is NDesk.Options by Jonathan Pryor. His single Options.cs file has been implemented as Mono.Options. To demonstrate how easy command line parsing can be, I’m going to show you is part of the source for RoundhousE...
In this All Submittal Issue: Andrew Veresov, ITLackey, Damian Schenkelman, René Schulte, Michael Wolf(2), Shawn Wildermuth Shoutout: Check out Shawn Wildermuth's schedule and see if you're anywhere near one of his classes because Silverlight Tour Now Includes Silverlight 4! If you're into games and haven't yet checked out the Silver Games Project, now might be a good time. Sorry I'm running behind, but B.B.King was in Phoenix last night, and I can't miss him! From SilverlightCream.com: Silverlight...
Code Camp Thanks! Thanks everyone for coming to my session about Modular Silverlight applications with Prism at the third Dutch Code Camp last Saturday! I hope you learned something useful from it. Special thanks to SDN, Stichting dotNed en VBcentral for organizing this event. Code & Slides The slides can be downloaded here. But more important, the source for the demo can be found over here. Links Here are a few links mentioned in the presentation: Silverlight en Expression insiders user group,...
I am learning all I can about the solid principles. Currently I am reading about the Single Responsibility Principle (A class should have only one reason to change). If a class has more than one responsibility, the responsibilities become coupled. This kind of coupling leads to fragile designs that beak in unexpected ways when changed according to Bob Martin. An example I have seen lately is the case of the widget.com public site and the widget.com customer site having the exact same code base except...
I had an issue recently with my SSAS 2008 performance counters - they were all showing up as 0. I could see them listed in Performance Monitor, but none of them worked. The counters for my SSAS 2005 instance worked fine, but the 2008 ones did not. I had observed this behaviour on my old Vista x86 machine and now it was happening on a fresh install of Windows 7 x64. I tried numerous steps to troubleshoot this issue including going through this detailed blog post from the CSS SQL Server Engineers blog,...
Most of 2009 I have been working from home. This is a workforce revolution, made possible by technology advances and attitude changes. Here is my list of simple rules for working from home: don’t do it all the time. It is important to have some face-to-face interaction with your team. even when working from home stay in touch. Call your client or team at least once a day. working from home can be isolating. I make sure that I get out of the house every day so that I don’t end up like Edward Scissorhands....
Sorry for the delay in posting. I almost started a war of sort over my last ad “Don’t trust any one under 30?” on the social network LinkedIn. Well let me state right here this was an ad, with an attention getting subject line. Well on to my post for this week (yes I am trying to do post every week coming out by Monday. Since I last posted, I have spread my group (just a little bit) over the Internet. The group is now on FaceBook (as Gray Matters!), Google groups (as GrayMatters!) and webs.com (as...
should be in one line var s1 = new decimal(10.0); var s2 = new decimal(20.0); var s3 = new decimal(30.0);...
At the recent Calgary Tech Days event I did a presentation on building composite applications with WPF and Silverlight. One question that I get asked frequently when I get to the part of explaining MVVM is how its different from patterns that seem too similar or identical, with MVC and MVP typically being the two common ones raised. Usually my answer is that MVVM is very similar to the others, but it implies *stuff* that’s specific to Silverlight and WPF (how binding works, commanding, etc.). Unfortunately...
I am currently reading Scott Berkun’s book “Confessions of a Public Speaker” and thought this was hilarious and true: …unless presentation terrorists steal your microphone midsentence or put up their own projector and start showing their own slide deck—designed specifically to contradict your every point—you’re free from the pressures other performers face nightly. Small observations like this make it easier to laugh at nerves, even if they won’t go away. I do quite a few presentations to companies...
This took a lot of google foo and twiddling, so I figured I would post this. That, and I fully expect I'll be scratching my head a few weeks from now and wondering where I put my sample XML ;) The configuration file below assumes that you have included the bins from the following folders included with the NHibernate download (I use 2.1.1): <Your NHibernate install frolder>\Required_For_LazyLoading\Castle\*.dll <Your NHibernate install frolder>\Required_Bins\*.dll And here's the App config...
Although delegate type and Enum type are class types, we can not inherit from them as they are sealed classes after compile, public delegate void DelegateTestType(); //Compile time error class myTest : DelegateTestType { ... } we can not make it as a type constraint either on class or method: //Compile time error class myTest<T> where T : DelegateTestType { } From the C# 2.0 specification we can read (20.7, Constraints): A class-type constraint must satisfy the following rules: · The type must...
Sometimes you have a t-shirt idea, but there is no way to try it out – until now. Introducing OnAShirt.net. It is a simple app I coded in a couple of hours today that allows the user to place text over a picture of a t-shirt, or even to conduct t-shirt conversations with themself. Thanks to jQuery for making this sort of thing so easy...
[Source: http://geekswithblogs.net/EltonStoneman] Following on from the sample for processing Excel uploads with nServiceBus, I have a comparable version using BizTalk on MSDN Code Gallery here: BizTalk and nServiceBus Excel Upload. The BizTalk (2006 R2) sample uses a FILE receive port with a simple pipeline component to disassemble the Excel file into separate messages. A SQL send port subscribes to the messages, and with an outbound map calls the AdventureWorks stored procedure to insert each product....
Good news, this is my first video post, so less typing for me! Bad news, you have to hear my eloquent voice. Regardless, I thought I’d try it out and see how it flies. So, a requirement popped up to allow the business to store “Contact Us” information in SharePoint and use workflows to manually send emails to the people who submitted the contact information. Very easy.. nothing spectacular. They also wanted the ability to send pre-formatted email templates as responses. Also fairly easy to do creating...
I use Boot Camp on my MacBook Pro to run Windows 7. Last night I thought I would try installing Visual Studio 2010 Beta 2. Sadly, the install kept failing with an "access denied" error. I was determined to figure it out. I ran Process Monitor to see what was going on and looked at some of the log files it was writing to. One of them said it found drive E: to have the most space, but failed when it attempted to write to it. Drive E: was my OS X partition. So, I fired up disk manager in Windows 7 (diskmgmt.msc)...
With the release of Windows 2008 R2, highly available Hyper V deployments have increased in popularity. One of the big questions during these deployments is what to virtualize and what to leave on physical hardware and in particular when it refers to domain controllers. Domain controllers are basically highly transactional database servers which service most basic network functions including authentication, name resolution, replication, and of course many secondary services like DHCP or Radius. In...
I recently saw several folks whose blogs I follow incorporate Sribit so I got curious. Sribit allows readers to suggest blog topics. It provides another mechanism for a blogger and the reader to interact. You can always comment on existing blog posts. Now you can also suggest blog posts. You can ask questions about topics that I have never posted about or haven't posted on in a while. So if you have a topic that you would like to see me blog about, by all means suggest away. I will make every effort...
To redirect to a specific SharePoint site or page: 1. Create c-name entry in DNS and point to SharePoint server 2. Create directory in c:\inetpub\wwwroot and create one html file called "index.htm" in the folder with this content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Redirecting Page</title> <META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://sharepoint/sites/default.aspx"> </head><body></body> </html>...
Its very simple to setup the latest ODP.NET with Windows 7 and VS2008. Just do the following: Download the following: www.oracle.com/technology/software/tech/dotnet/utilsoft.html from oracle and install it. Oracle 11g ODAC and Oracle Developer Tools for Visual Studio 11.1.0.7.20 Download Includes Oracle Developer Tools for Visual Studio 11.1.0.7.20 Oracle Data Provider for .NET 2.0 11.1.0.7.20 Oracle Providers for ASP.NET 11.1.0.7.20 Oracle Database Extensions for .NET 2.0 11.1.0.7.20 -- for upgrade...
In this Issue: Michael Wolf, Colin Blair, John Papa, Ning Zhang, Andy Beaulieu, and Tomasz Janczuk. Shoutouts: In case you missed it in the rush the other day, Robby Ingebretsen announced the release of Seesmic for Windows ... that's going on my laptop this weekend! The Microsoft Expression Blog has a great tutorial upon the use of Panels in Expression Web. Don't forget, I have all Silverlight 4B articles tagged at WynApse.com, along with lots (>7600 posts) of other stuff :) From SilverlightCream.com:...
I own a company, Tiger Computer Services Ltd, which is an Independent Software Vendor (ISV) providing .NET software solutions to clients in the London area. One of the most significant considerations when running a small ISV is the cost of supporting software in the field. For some clients, support is not a billable item, especially if the fault is within the software we have provided. This means that every time the telephone rings, we bleed money, and if we have to actually go on site to resolve...
There is a small configuration issue with the Microsoft Business Rules Composer in BizTalk Server 2009. This will only affect you if you deploy the rules engine by itself without the rest of BizTalk Server. In a full installation of BizTalk Server, BTS provides a set of BTS-specific Rule Framework components in as assembly called Microsoft.BizTalk.RuleEngineExtensions. This includes a RuleSetDeploymentDriver component that manages deployment of rules via the SQL Server repository. The BTS-specific...
The second day keynote at PDC 2009 in Lost Angeles was shared by Steven Sinofsky and Scott Guthrie. Steven is the President of Windows and Windows Live Division and it really must have been a great day for him as he came out for the first time in a major conference with the new Windows 7 launched and the old Vista problems just fading away into Microsoft’s past. There is a lot of excitement for Windows 7 and there is excitement for the new Windows 7 APIs that are available for developers to work...
Last year Chris Craft wrote this excellent "30 days of .NET" articles where he wrote 30 .NET applications in C# each day. I have gone through the initial few and plan to complete the list as and when I find time. He hasn't actually explained the code and the application logic in detail and that would surely be some task if you are doing 30 apps in 30 days (; You couldn't ask for more. The source code for all the applications is available. So just download'em and dig through. There's no better way...
Found a nice article on Code Project about using gesture API's on Windows Mobile 6.5 devices. Hit the link and give it a read. And off I go to try the program out. Update: Well, I gave the program a try and it works nicely. I have one concern however. When you double tap, you get a GID_SELECT message first and then GID_DOUBLESELECT, but what if I want to handle both messages differently? Like for example in a game where I want GID_SELECT and GID_DOUBLESELECT to do different things exclusively. I...
[This is the third in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Entity Framework 4 relies significantly on the Text Template Transformation Toolkit (T4) to generate code from the EDM. I thought it would be useful to show a really simple example of T4 in action which is nothing to do with Entity Framework. In a Visual Studio 2008/2010 solution, add a new item of type Text...
I have been working with T4 (Text Template Transformation Toolkit) lately thanks to the Entity Framework team moving their code generation model over to T4 in Visual Studio 2010. However by default Visual Studio 2008 and 2010 do not include syntax highlighting or intellisense support for T4 files, which makes it rather difficult to work with them (very difficult at times!). Thankfully there are partners who address this. The one I am using with Beta 2 of Visual Studio 2010 is the Tangible T4 editor....
For the first time in my career I have attended a major conference and it was well worth the wait. I had a handful of major objectives in attending of which all were met. Gain an understanding of Azure and how we can leverage it for our small and mid market customers. Gain more detailed insight into changes in SharePoint 2010 that will impact customizations and solutions that we provide our customers. Have some dialog with some of the MS data team members and others to understand MS’ vision for data...
In this Issue: Rob Houweling, Michael Washington, Colin Eberhardt, Laurent Bugnion, Tomasz Janczuk, Jeremy Likness, and Andy Beaulieu. From SilverlightCream.com: Silverlight 4 – Using the webcam Rob Houweling has a tutorial up on using the webcam in Silverlight 4 Beta ... all good stuff, and hmm... I'm not following their new site, so that brings the total up to 397 :) Silverlight Bridge - A Silverlight 4 File Manager Access your local file system and drag-and-drop, and OOB in Silverlight? --- wow,...
As noted in my previous post I attended and spoke at the SharePoint Saturday Cleveland 2009 conference. For those unfamiliar, SharePoint Saturday is a community driven event where various speakers gather to present at a FREE conference on all topics related to SharePoint. This was my first SharePoint Saturday and it was a great community event to attend. Over the past 6 months or so I’ve been following various Twitter users talking about SharePoint Saturdays in their region so I was excited to see...
Let's face it, it needed a rename. Mitch.Web just lacks everything in terms of marketing, so I've re-branded my (currently error logging :P) framework to "The Evil Little Developer's Toolbox" in game with my EvilDev theme. I've also made advancements (not guaranteed to work yet) on my error logging framework, mostly in terms of a new Services Project, and the Logging Service. The logging service, is a WCF Service, designed to log errors to a database. The idea behind it, well, I generally focus my...
What a difference a day makes…at least to some. While the Day 1 keynote at PDC seemed mostly like a news update on last year’s announcements, and a somewhat dry one at that, Day 2 gave developers some real “red meat.” It began with a presentation by Steven Sinofsky on Windows 7’s progress since its launch last month, including demos of the diverse array of hardware on which it now runs. Sinofsky then offered the ultimate crowd pleaser: he described the specs for a multi-touch Microsoft-designed laptop...
أحياناً أوثر الصمت لأني ربما أعجز عن إنتقاء كلمات تنقل ما أشعر به. أو ربما أظن أن الكلمات لا تكفي أحياناً. فهذه أجزاء من قصيدة الفيتوري يوميات حاج فلتأخذ منها ما شئت فلا أرى وقتاً يوافق واقعه تلك الكلمات مثل هذا الوقت: قوافل يا سيدي قلوبنا إليك تحج كل عام هياكل مثقلة بالوجد والهيام تسجد عند عتبات البيت والمقام تقرئك السلام يا سيدي عليك أفضل السلام يا سيدي عليك أفضل السلام من أمة مضاعة خاسرة البضاعة تقذفها حضارة الخراب والظلام إليك كل عام لعلها تجد الشفاعة لشمسها العمياء في الزحام يا سيدي منذ ردمنا...
In a little over 5 weeks Dr Nic and the Fair-brothers will begin their Homeric rickshaw running adventure from the Himalayas to the south of India. Their adventure is raising money for some worthy causes so please give generously. As you can see, Greg was kind enough to send me a mocra off railers t-shirt. It is very comfortable. Thanks Greg and good luck...
Silverlight has come to an age from WPF/E days and today 4.0 version was launched. Features includes: Support for enterprise applications: Printing support: Silverlight application can print itself, how the content is formatted when printed, and determine the content that will appear. It even has capabilities to print a portion of the Silverlight content. RichTextArea control / WebBrowser Control: The RichTextArea has Bi-Di support, allows hyperlinks, XAML content, and embedding of images. It also...
So in response to some comments on my original post on this topic, I started playing around with some other ideas. I figured it would be cleaner to post code here, rather than the comments. How many variations on the theme can we really have? As suggested in the comments on the previous post: 1: public static string Join1<T>( this IEnumerable<T> items, string delimiter, Func<T,string> converter ) 2: { 3: return string.Join( delimiter, 4: items 5: .Select( converter ) 6: .Where(...
For full disclosure, Packt Publishing sent me a review copy of this book. They did not ask for a positive review, just a review. This is the first book by Jorge Ramon that I’ve read. This book is exactly what the title says that it is, a Cookbook. It’s got 109 solutions to problems solved by Ext JS 3.0. I was expecting, like a lot of other books to get a fill of all of the philosophy behind what they are trying to promote but that wasn’t the case. This book just in with no nonsense and gets right...
Geekswithblogs Gets a Facelift
Celebrating the five year anniversary of the first post on Geekswithblogs, the GWB team has launched a new look and functionality for the community designed to help the community continue to grow and increase interaction amongst bloggers.
The new design offers bloggers and readers the ability to quickly check recent posts, popular posts, Twitter users from the community, community news, and featured bloggers.
The redesign also makes it easier for bloggers to find tutorials on how to get the most from their blogs, support information, and a community-wide tag cloud.
We hope that you will enjoy the new features and look. Here’s to another five years and to everyone that makes up Geekswithblogs!
GWB Goes to PDC ’08 – Let Us “Tag Your Top”
Geekswithblogs is proud to be a Silver Media Sponsor for the upcoming PDC ’08! This will be a great opportunity for face-to-face interaction with the developer community.
If you happen to be going to Los Angeles for the PDC, and we highly suggest you do, make sure to swing by the Geekswithblogs booth (#100) in the Expo Hall to say hi! We will have some amazing looking Geekswithblogs stickers hot off the press ready to “tag your top” – so bring your laptop by to take it from drab to fab!
GWB Podcasting from PDC ‘08
Make sure to look for fellow Geekswithbloggers Chris Williams and D’Arcy Lussier roaming around the floor. They will be playing the part of on-site GWB ambassadors and roving reporters; stop and chat with them!
We’d like to know what you think about the upcoming podcast. We are thinking of firing PodcastStudio.net (the official podcast of GWB) back up after the event and would like to hear your thoughts and suggestions.
GWB and PDC ’08 – We’ll Make You Famous!
A major part of our display at our PDC booth is going to include a video featuring none other than the Geekswithblogs community members! We’re proud to have you as contributors to a large, healthy blogging community and want to give you some additional exposure.
Here’s what to do; record yourself saying “I’m a geek with a blog, and I…”. Simply fill in the rest with something interesting about yourself. It could be anything from what technology you love, what you like to do in your spare time, where you live, etc.
Examples include:
- I’m a geek with a blog, and I rock at ASP.NET.
- I'm a geek with a blog, and I support my development community by presenting at user groups.
- I'm a geek with a blog, and I love playing guitar.
- I’m a geek with a blog, and I volunteer to help the homeless.
- I’m a geek with a blog, and I chug energy drinks.
First 30 bloggers that send in a video with at least 5 statements get a ultra-stylish Geekswithblogs t-shirt with their blog URL on the back!
Stay tuned for FTP information for uploading your files!