Tag | .NET 3.5 Posts

I am currently (Feb 2010) moving lots of Azure samples originally built in Visual Studio 2008 to Visual Studio 2010 RC. I just realised there is a simple mistake folks can fall into. Easy to do, easy to avoid. When opening an Azure solution originally built in Visual Studio 2008 you will see the Conversion Wizard. Once you click Finish you will see this dialogue box with a default of Yes. Do not click Yes! Instead click No. The reason is simple. As of Feb 2010 the Windows Azure Fabric in Microsoft ...
Note: Re-posted from the Prairie Developer Conference blog. The Prairie Developer Conference is pleased to announce that Microsoft MVP, author, and consultant Donald Belchamwill be leading a one day workshop on Friday, June 4th titled Making the Most of Your Brownfield Application Development! Pricing will be announced shortly, as will pricing for the conference in general and registration will be opening next week! Below is the abstract for the workshop. Making the most of Brownfield Application ...
The Silverlight 4 documentation is available online from Microsoft. However, it is not the fastest way to find documentation. Instead, you should know that the Silverlight 4 documentation is available online, it is just a little bit hidden. Read the rest of this entry » ...
I am just trying to put my hands into VSTO in VS 2010. This is just an overview of that based on Saurabh Bhatia`s PDC Presentation. Some important points are briefly discussed in this post. Have a look. One of the biggest hurdles with VSTO is deployment. As you probably know, the pre-requisites for running a VSTO app (even of the simplest Hello World variety) include: .NET Framework 3.5 Primary Interop Assemblies (PIAs) VSTO Runtime (Plus Office of course) Now, packaging these isn’t the issue, since ...
Was doing my daily research today and learned a couple of new and interesting things. A while back, I wrote a post about rendering options using .NET 3.5 SP1's charting component. I outlined a few of the more conventional/out-of-the-box methods (temporary directory, binary streaming). I also outlined a lesser-known technique in which you stream binary data to the src attribute of your <img> tag. That ends up looking like this... <img src='data:image/png;base64, iVBORw0KGgoAAAA[snip]; /> ...
So I set out on a quest to install a SharePoint 2010 VM with Bob Davis, one of our 101 instructors for SharePoint Saturday Kansas City and a Co-Leader of the KC Office Geeks. We started around 5 pm and ended around 11 pm. Everything that could possible go wrong went wrong in triplicate. Here is a list of things you need to know: Turn on Virtualization in your bios: Bob did not have virtualization turned on in his bios, so the virtual machine I had stubbed out did not work. You need to make sure that ...
It’s been a busy time around here but I finally found time to update the code base for this tool. Thanks for the great feedback and comments about the tool. Please keep the suggestions coming and I will try to work on as much as I can when I have time. I recently started teaching again and just completed my Microsoft Certified Trainer program as well as attained the Microsoft Certified Professional Developer in Windows .NET 3.5 Applications. But in the not so busy time here is the list of issues ...
I took the certification exam for 70-503 - .NET Framework 3.5 - Windows Communication Foundation last month and passed it with a score of 700. Passing score is 700. I prepared from the "Programming WCF Services – Juval Lowy" book. This book is one of the best resources for WCF, it is more like a reference book. The MCTS book does not cover a lot. Technorati Tags: WCF,MCTS,70-503,Web services,.NET 3.5 ...
Earlier, I had written this post on how you can accomplish using FileUpload control in UpdatePanel since by default it wasn’t supported. The post seems to have helped many and keeps being the most visited one. However, with the new release of Ajax Control Toolkit (v 3.0.30930) released specifically for .NET 3.5 SP1 (with Visual Studio 2008 SP1), there are couple of new controls. One of them is the AsyncFileUpload control. Thanks to the codeplex community which keeps getting better and better with ...
I’d like to provide you with a SilverBullet™, a small snippet of Silverlight, a class or namespace hidden in the silverlight .NET framework, to help you out in times of need. It’s not to learn, but something to keep in your pocket. Just remember it’s there and you’re safe. Occasionally it’s required to use an Rss or an Atom feed in your projects. Just to show some news, or the latest update on the stock exchange. Working with these, often large, chucks of xml directly can be a pain. In Silverlight ...
Recently I upgraded to Windows 7 RTM and started setting up my machine. The usual set of tools I install are Visual Studio 2008, SQL Server 2008, Expression etc., Also, for .NET 3.5 and Visual Studio 2008 I would require to install the respective SP1 releases as well since they are mandatory and contain tons of new features as well. I had done this in the past in Windows Vista, Windows 7 RC etc., and while I was trying to install .NET 3.5 SP1 on the new Windows 7 RTM, it surprisingly, popped up a ...
One of the big complaints with the version of Windows Workflow Foundation that shipped in .NET 3 and .NET 3.5 (WF3) was that it was very difficult to unit test workflows. Unit testing workflows was not impossible, but it was very difficult and required a lot of code to setup the workflow runtime and manage your workflow. Since unit testing workflows in WF3 was clumsy and awkward, many developers chose to either not unit test their workflows, or just avoid using WF3 all together. I am very happy to ...
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
As a freelance software developer, I am regularly asked in interviews if I am familiar with a certain technology or product like e.g. TFS, ASP.NET 2.0, WPF or Oracle 10g or whatever. This is of course only natural, since potential customers already have their company-internal development technology stacks set up or it goes about a pre-existing software project where all these decisions are made long before anyway. But as a freelancer, I must say that keeping up with all the latest technologies and ...
The .NET Framework does not offer support for a directory copy method OOB. Fortunately in .NET 3.5 we can decorate the DirectoryInfo method with our own CopyTo method using an extension method. See the below example… public static class DirectoryInfoExtensions { public static void CopyTo(this DirectoryInfo source, string rootDestinationDirectory, bool recursive) { if (string.IsNullOrEmpty(rootD... { throw new ArgumentNullException("dest... } if (!Directory.Exists(rootDest... ...
Yes I know it's been a while since I blogged about my *favorite* development tool... but that's only because I haven't had to touch it! That smooth series of events was shattered yesterday with me experiencing the Thrill of Victory and Agony of Defeat in multiple cycles... and as you can guess it involved Crystal Reports. So here's the deal... I'm working inside what a fellow developer called a 'Draconian' environment. .NET 2.0 is the 'standard' although I installed 3.5 SP1 on this box (and either ...
When I wrote the first post in this series, there was tremendous amount of interest generated and also a lot of feedback requesting to post some of the advanced features. Like I said earlier, ASP.NET 4.0 has lots of new features some of them as simple as Page.Title whereas so as big as caching improvements. This post covers one such feature which is Routing in Webforms. Although Routing was available even in .NET 3.5 SP1, (check this excellent post by Phil Haack on implementing Routing in ASP.NET ...
*Moved to: Updating the Command Line ParserI had previously created a Command Line Parser from Ray Hayes codeproject article Automatic Command Line Parsing in C#. I had adapted it to VB.NET and upgraded it to .NET 3.5 but I recently ran into the problem with wanting a single command prompt application to handle multiple processes and multiple parameters. This would allow you to group all of a particular tasks commands into a single application. With the advent of Power Shell this format is increasingly ...
Hi, nice to have you read this again. This is part 4 of the series I’m doing on the existing .Net IoC Containers that I found interesting. After a brief introduction of what is an IoC in my option, I presented Autofac,,StructureMap and Ninject2. In this post we’ll be exploring the Spring.NET IoC container. This is a xml configurable IoC by design. I’m using the latest version of it Spring.NET 1.3 RC1, hopefully it’s stable enough and that it brings something new to the table, by new I mean it uses ...
When we develop our silverlight widget the sample page that we use normally is a nice servier side control called asp:Silverlight, that’s quite nice if you use ASP .net 3.5 SP1, but… what if your widget has to run on ASP .net 2.0, or PHP, or a plain HTML page… Well… the first thing to note down is just that asp:Silverlight control is a nice server side control that is translated into HTML, no more no less. You can as well define directly an OBJECT tag and instantiate the control. What are the main ...
Translation of original post by Scott Guthrie: / Tlumaczenie oryginalnego posta napisanego przez Scott’a Guthrie: http://weblogs.asp.net/scot... Zespól ASP.NET wlasnie opublikowal pierwszy preview nowej wersji ASP.NET MVC – MVC Version 2. Mozesz pobrac go tutaj. Preview 1 dziala w srodowisku .NET 3.5 SP1 i VS 2008, i moze byc zainstalowane równolegle z ASP.NET MVC 1.0 (co oznacza, iz nie pojawi sie miedzy nimi konflikt, a dotad dzialajace ...
Today.. ASP.NET MVC Version 2.0 preview one is release. There are many new features introduced as part of this.. you can download this from Here Support of areas, strong typed UI Helpers, Data Annotation validation are couple of them and many more features are there. To know more about the new features of this, look at scottgu's blog here. In this post you can also download the example application... This Version of MVC works with .NET 3.5 SP1 and VS 2008, and can be installed side-by-side on the ...
While troubleshooting some recent problems with an application requiring .NET 3.5 SP1, it was determined the installation was not correctly testing for the Service Pack, only .NET 3.5. After a little research on the issue, I found in the .NET Framework forums there is an issue where the .NET Framework Launch Condition does not have the ability to check for Service Pack levels. At this point, it became fairly obvious a Launch Condition was needed. Launch Conditions provide the ability to check registry ...
With the release of .NET 3.5 SP1, MS has released a sub-set of the Dundas charting component. They also put together a neat little solution that’ll let you run a number of examples/samples locally so you can get your hands dirty. If you’re looking to do any work with the charting components, or just play around getting these samples should definitely be your first step as the basics will be self-explanatory. The link for that is here. Now that we got the boring introductory stuff out of the way; ...
This is my first blog post on GeeksWithBlogs, and although I intend the majority of my posts to be about the .net world, I’m actually going to start with something else! My current job is as a Learning Technologist at The University of Manchester. Although the majority of my work is in web development, I have recently been involved in a study looking at the suitability of e-readers in an educational context. This arose due to the academics reports on the uncomfortable nature of reading student assignments ...
Am 23. Juni 2009 ab 19:00 Uhr wird das kommende Treffen der dodned User Group Franken stattfinden. Der Vortrag von Albert Weinert: Das ASP.NET MVC Framework Das ASP.NET MVC ist eine weitere Säule des ASP.NET Framework. Lauffähig ab .net 3.5 bringt es einen anderen Ansatz in die Web-Entwicklung. Seperation-Of-Concerns ist das große Leitbild unter welchem ASP.NET MVC entwickelt worden und und wie man dafür entwickelt. Gegenüber ASP.NET WebForms ist eine ganz andere Entwicklungsart, dieser Vortrag bringt ...
I recently upgraded to Windows 7 for my primary dev machine, however I recently run into a few problems trying to a developer version of Commerce Server 2009 get working locally. I think however I finally managed to hack it sufficiently to get it working. Here is how to do it [please not however these are registry hacks, and render your product unsupported, so you should do so carefully and only on non-production machines. Please back up your registry before making any edits]: You can only install ...
Translation of original post by Scott Guthrie: / Tlumaczenie oryginalnego posta napisanego przez Scott’a Guthrie: http://weblogs.asp.net/scot... Jedna z najciekawszych aplikacji wychodzacych w tym roku jest maly menadzer pobierania – Microsoft Web Platform Installer – ulatwia on instalowanie i konfigurowanie serwera i róznych aplikacji badz modulów uzywanych przy rozwijaniu witryny. Jest to darmowe narzedzie, które mozesz pobrac ze strony www.microsoft.com/web ...
Technorati Tags: Exceptions Today I had an issue where a .NET 2.0 app logged this exception for me. The customer had recently ran Windows Update and applied various patches to their XP installation. I did a quick search and came across this thread [^] which lead me to doing a repair on the .NET Framework 3.5 SP1 installation. The customer’s machine actually had .NET 3.5 SP 1, .NET 2.0 SP2 and .NET 1.1 (not sure of the sp level) installed. After I did the repair I no longer received the FileNotFoundException ...
Update for .NET 3.5 SP1 (Important if working with Dynamic Data) http://support.microsoft.co... ASP.NET Compilation Enhancement Fix http://code.msdn.microsoft.... (for Windows Vista and Windows Server 2008)https://connect.micros... (for Windows XP and Windows Server 2003) Microsoft .NET RIA Services May 2009 Preview http://www.microsoft.com/do... ...
After the tremendous amount of interest the VPCs of the Visual Studio 2010 and .NET 4.0 generated, the Beta 1 bits would be available for download for MSDN Subscribers later today. The general public would also be able to download the bits starting this Wednesday. Visual Studio 2010 combines the power of .NET 4.0 and the tremendous enhancements done to areas such as Web Development, WPF as well as native development and provides the best so far platform for developers. While some of the features ...
Recently I have started playing with the Moq (pronounced "Mock-you" or just "Mock") a Mocking Library for .NET Developers, that takes full advantage of .NET 3.5 (i.e. Linq expression trees) and C# 3.0 features. Here in this post I will discuss how I have used the TryUpdateModel method in the Form POST scenario and also share how I have written a test case using Moq mocking library to deal with the TryUpdateModel<TModel>... model) method of the ASP.NET MVC controller. I have a very simple ...
Uhh What? DevPath is an environment variable that allows you specify global directories which are searched just like GAC. If you ever had the urge to load dlls from your application from subdirectories you need a probing element in your app.config which allows exactly that. The only problem with that is that you cannot escape from your application root directory. When you try to load something from ..\Centralbin it is ignored. In that cases you need to use the GAC if you like it or not. Since DevPath ...
I had the pleasure today of trying to get Silverlight and SharePoint to play nice with each other. You’d *think* this wouldn’t be that difficult. But as I’m learning more about SharePoint, I’m realizing also that things are sometimes more complex than we assume. Prelude: Clarification on Form Content Web Part So in a previous post, I talked about my frustration with how code in a Form Content web part wasn’t behaving the way I expected. Instead of showing the Silverlight app it was always showing ...
Wczoraj (tj. 06.05.2009) pojawil sie nowy preview - Preview 4 bibliotek CRUD dla ASP.NET, a wiec Dynamic Data. W moim moralnym obowiazku jako fana DD znajduje sie w zwiazku z tym opisanie nowego release’u. Ten post zapoczatkuje serie na temat Dynamic Data, w wersji aktualnej, a pózniej Futures, tak aby przekonac programistów ASP.NET, ze Dynamic Data nie gryzie. Do kogo jest skierowany ten post? Glównie do ludzi, którym Dynamic Data sie przyda. Wiec raczej nie do tych, którzy pracuja nad projektami ...
(in dutch as the target audience is dutch speaking!) Ik geef twee seminars over mijn favoriete .NET technologien (WCF en WF) voor SyntraWest SyntraWest IT CLUB for Developers/Architects Seminars 26 mei 09, Windows Communication Foundation Deep Dive 10 Scenarios om een WCF Service aan te spreken. WCF is een zeer breed toepasbaar platform voor distributed applications en services te implementeren. In deze demo georienteerde sessie worden 10 uiteenlopende scenarios besproken waar bij een clientapplicatie ...
Developing With Velocity - Phase II In my limited testing environment I have decided to try only the basic sample of MS Velocity found in CTP2 Samples, and what I thought would be the most often used properties of Velocity. By default, the Velocity's DistributedCache service after the installation is not running and is set to manual start, so to begin working with it you will need to launch it. This can be done using the admin PowerShell applet or by starting the Microsoft project code named “Velocity” ...
The proverbial “bleeding edge” of technology has always fascinated me and for the most part has been very captivating for me. I spend a lot of time there. In fact too much time. So recently, as recent as a few days ago, I decided that I am changing my policies. Wouldn’t life be a little less hectic without all the bugs? How about incompatibilities? Performance? Yeah, its an epiphany of sorts for me. I love the edge, its addicting. But at the end of the day customers just want the code to work, and ...
Hey everyone,I am writing this so that anyone can point me to some good articles,tutorials on creating a plugin support for an application in .Net 3.5 or higher(SP1).

I tried a lot of google searches but nothing that can let me create plugin support for my application in a standard way...
Thanx in advance.


The VISUG (the main .NET Usergroup in Belgium) and Microsoft Belgium are organizing 3 events for .NET developers. These events will cover existing technologies and are free to attend. I’m presenting the sessions on LINQ and data access in .NET 3.5 on April 15 from 02:00 PM till 04:00 PM. This presentation takes place at the Microsoft Offices in Zaventem. A language focused overview of the foundations of LINQ in C#3.0 (50 minutes) In this session the language enhancements in C#3.0 on which LINQ is ...
I few months back, I was having major problems with VS 2008 crashing on me left and right. After trying numerous things to resolve my problem, I finally decided to uninstall all of the .Net Frameworks and VS, then reinstall. My problems started shortly after I installed SP1 (both .Net Framework and VS 2008). I can’t say for certain that SP1 was causing my problems, but since then (after reinstalling without the service packs), I have not experienced the crashing. There are other reasons that I wanted ...
I don't really have a break until after SharePoint Saturday D.C. Once the break occurs I am going to upgrade my VM with .Net 3.5 (finally get it to stick). Then I am going to write a WCF webservice that will pull data from profile services and search. Plus maybe some image library information for fun. I want to build a ton of controls using Silverlight as the front end and SharePoint as the back end. Check back here in about a month or so for some interesting experiments. I will probably post these ...
I recently delivered MSDN Day talks on Visual Studio 2010 and .NET 4.0 as well as WPF and Silverlight 2. The presentations for the sessions can be downloaded from MSDN Presentations Drop a comment if you have a question or face issues in getting the PPT. Meanwhile, the PPT is just a flow of slides that helped with my presentation and there were a lot of Demos that I delivered as a part of the sessions and I am giving here below the reference links for the Demos (Some of them are from www.asp.net ...
ASP.NET MVC is released today. The RC1 and RC2 released were out over last month and today, at MIX, we will be unveiling ASP.NET MVC 1.0 RTW version that can be downloaded from www.asp.net/mvc There are over 40 videos resource tutorials available already and these provide close to 200 hours of learning on ASP.NET MVC that help you kick start with ASP.NET MVC based web development. MVC would be supported out of the box, in addition to the Web Form model of development in Visual Studio 2010 and that ...
[Source: http://geekswithblogs.net/E... The Adapter Pack 2.0 for BizTalk has been released in public beta recently, and among the WCF Line Of Business adapters it contains the WCF SQL adapter. This exposes SQL Server connections as WCF service endpoints, and lets you connect to a SQL Server source using the standard ServiceModel stack. The adapter pack will be released under the BizTalk brand, but the adapters themselves are not limited to BizTalk – the WCF SQL adapter can be used natively ...
Dezi is a collection of online media streams (most of them live) that lets one have TV experience via the Internet! I used .NET 3.5 for the development ‘cause of the ‘Media Element’ that comes with it and also I wanted to do something with WPF! So anyways, I will chatter on how I coded the application later, but as for now, the working and usage style is unofficially documented! The application acquires the channels at startup from a Web Service! For now, most of the channels present on it are the ...
The System.Core assembly in .NET 3.5 contains the main LINQ methods for dealing with objects such as the Max() extension method. Like many of the LINQ extension methods, the Max() method has many overloads that allow you to do things like this: 1: List<int> list = new List<int> { 1, 2, 17, 14, 21, 4 }; 2: Console.WriteLine("Max: " + list.Max()); //<- "Max: 21" This is all well and good but what if you need to do something a little more interesting? There are endless examples to think ...
I find it very therapeutic to “sync to paper” on a regular basis. Yesterday I was grumpy as I had way too much in my head and in my Inbox. Late last night I grabbed my trusty Moleskine and wrote it all down – I “synced to paper”. I slept well and woke up grump free. I also realised while “syncing to paper” last night that I carry around a lot of links in my head to stuff I find in my job which I keep meaning to share but never quite do. The sort of stuff I might mention to you if we met in the staff ...
Today I had to work on a project which uses VS2008 and SQL Server 2008. I haven't used SQL2008 but had used VS2008 a little bit. When I tried to install SQL2008 (Developer edition) got this strange error which says "Microsoft .NET Framework 3.5 installation has failed. SQL 2008 Setup requires .NET 3.5 to be installed." Strange thing is I had installed .NET 3.5 in the VPC upfront. Actually you are installing .NET 3.5 when you install VS2008 right? Anyway I tried to resolve this using, 1. Uninstall ...
I am pleased to announce the first Community Technology Preview [CTP] release of Gepsio, an open-source XBRL document object model for .NET. The release includes a ready-to-use .NET 3.5 assembly called JeffFerguson.Gepsio.dll as well as a User's Guide. C# source code is available for those who are interested. Though the source to Gepsio is written in C#, the assembly itself can be used with any language that supports .NET 3.5. Your Gepsio client code can be written in C#, VB.NET, C++/CLI, F# or any ...