Tag | .NET Posts

I'm back... what did I miss?? Oh wait... you're expecting info from me about my week I guess :) I had an awesome time: Met tons of people that I didn't already know. Renewed friendships with another ton of people I only see a couple times a year Went to Billy Hollis' PreCon and learned a lot of cool design information that I have yet to transcribe or assimilate entirely Went to Tim Huckaby's party and was "B8 ed" ... although that looked better on the girl wearing the TShirt when I got there Didn't ...
A few weeks ago I ran into an error while setting up our test farm. I was creating the service applications and when I got to PowerPivot, I got the following error: I was able to work around this error by using PowerShell to create the service application. Background First, some details of our installation: two web front ends, two application servers, and one SQL server. All are running Windows Server 2008 R2 x64 with Service Pack1. The SQL Server is 2008 R2 with SP1. The SharePoint servers are SharePoint ...

Last week, Microsoft held their long awaited Build Windows (or simply "Build") conference in Anaheim CA. About 5000 people packed the convention center to discover the latest version of the Windows operation system: Windows 8.

Read the rest of this entry »

Technorati Tags: Windows 8 Just like many thousands of geeks around the world I downloaded the Windows 8 preview from Microsoft’s website: http://msdn.microsoft.com/e... and spent some time playing with it. Being an embedded developer I don’t have any powerful machine lying unused in my office, so I installed Windows 8 on a very low-spec machine, a 1.6GHz Atom with 1GB of RAM and a 120GB HD (taken from an old mac). First of all I must say that I’m pretty impressed by the responsiveness ...
I’ve published a basic walkthrough of using the new brokered messaging capabilities in the Azure AppFabric service bus September 2011 release. If you have not used queues in AppFabric before this will get you started with a basic application that you can build upon. If you have used queues in the May or June CTP releases then this walkthrough will be useful to highlight the changes in the management portal and service bus API. (Quite a lot has changed, for the better, but I have a lot of rework to ...
.Net has several methods of serialization and sometimes it causes a lot of confusion even for experienced programmers. I believe the best article to describe the different methods is Aaron Skonnard’s Serialization in Windows Communication Foundation(MSDN Magazine > Issues > 2006 > August) (by some reason it’s not highly rated by Google and other articles are coming first for Serialization related requests) There is also a brief comparison table in StackOverflow What are the differences between ...
As I write this post, Microsoft’s Windows 8-focused //build/ conference has just ended. The apprehension so many developers had around the show is now dissipated, the developer platform and tools have been detailed, and we have all been able to work with the operating system, and develop apps for it, on a touch device, for about 72 hours now. Most people, myself included, like what they saw. The OS is touch-friendly without being an iOS copycat; our developer skill set investments are nicely protected; ...
To many people, System.Collections.Generic.... is just a useful collection. In this post, I'll be looking inside that collection and see how it really works. Dictionary is based on a hashtable; for the rest of this post, I'll assume you know roughly how a hashtable works. The Wikipedia article, as the source of all knowledge algorithmical, provides a good overview. It will also help if you've got the class open in Reflector so you can see what's going on yourself. The basics ...
I took this test a few weeks ago and thought I would offer some pointers on how to prepare for this test. I've been doing Silverlight development for over a year full time now, so that obviously helped out a lot. There are some questions about using a ViewModel and setting the right DataContext. So if you've only done code behind, you will be at a disadvantage. A great resource is the Practice Testing Software from Self Exam Engine. I spent around $100 on this software but it was worth it. Many of ...
We recently implemented an email archiving solution at work. One of the requirements was that we configure automatic purging of messages older than 6 months in Exchange. One of our IT managers spent the better part of a month moving items out of the only copy of his PST into his mailbox so that they could be captured by the archive system and free him from his PST. For whatever reason none of these messages were captured by the archive system and were purged by Exchange as per the items older than ...
Programming for Metro Metro is the future http://zd.net/rnT9VZ .NET is for old apps. WinRT replaces WPF & WCF. XAML is big. There were no Silverlight sessions. HTML 5 and Javascript ( Blend for HTML) are back in fashion – I wont dwell on this because web apps are (inconsistently) simplistic in concept and over-complex in development. Yes, all those XAML skills are portable, Silverlight (RIP) apps can run as Metro apps with a bit of fidgeting with namespaces – you just need to know what controls ...
Introduction The conference sessions are starting to appear on the Channel 9 RSS feeds right now. If you are like me then you probably want to download all of them and watch them later. Here is the method that I use to grab all the videos and thought that it would help others. Note: You can use either Juice or PowerShell (which is located at the bottom of this post). Let’s do this with Juice Navigate over to http://channel9.msdn.com/Ev... and select the option to Subscribe to this ...
Step by Step Installation Guide to Install Windows 8 Developer Preview on Virtual Box Microsoft revealed Developer Preview of Windows 8 on 13th September 2011. Windows 8 is adhering Metro Design Gudielines. Without going much into deep technical discussions on features of Windows 8 , in this post I have targeted to show you installation steps of Windows 8 on virtual box. So to start with go and dowanlaod Windows 8 developer preview from below link. Choose appropirate link as for your system (32 bit ...
This had me pulling my hair out for a couple days: byte[] _A = new byte[64]; // Fill _A with some meaningful, valid data. byte[] _B = new byte[_A.Length]; _A.CopyTo( _B, 0 ); if( !_A.Equals( _B ) ) { throw new WtfException( "It appears object.Equals doesn't work on arrays of value types..." ); } Yes, that throws the WtfException. It took me a few days to notice. byte is a ValueType. However, byte[] is a System.Array, which is a reference type. As per the .NET documenation: The default implementation ...
This new book targets embedded developers that want to use the latest release of the Windows CE/Windows Embedded Compact OS family. It has been written by Samuel Phung (that wrote also the excellent “Professional Windows CE 6.0”), Thierry Joubert and David Jones (that released many very useful tools for Windows Embedded in the past). They are great developers and also very good trainers and writers, and I’m pretty sure that they will provide a great amount of knowledge to people wanting to discover ...
Anyone that’s managing an enterprise IT with aging or outdated client/server systems is starting to feel the heat. Soon, their systems and applications will be obsolete and unsupported. At the same time, the industry as whole is seeking the fastest gateway to the latest .NET, HTML5 and mobile deployments including SaaS models. Right about now, there will be a knock on your door with team members offering their advice as to what you should do to ‘keep up’ with the latest trends and supported architectures. ...
The Visual Studio 11 Developer Preview was released to MSDN subscribers yesterday, and will be available in general release tomorrow (9/16). There's way too many new features to list them all here (for all the product highlights go to http://msdn.microsoft.com/e... but here are a few that interest me the most: Enhanced multi-monitor support .NET Framework regular expression syntax in Find and Replace IntelliSense enhancements for JavaScript JavaScript breakpoints ...
The Azure AppFabric Service Bus Brokered Messaging functionality has shipped to production, and is available in Azure data centers across the world. This means that we now have point-to-point queuing and publish-subscribe messaging available in the cloud in the form of Queues, Topics and Subscriptions. Be aware that there are substantial changes in the classes in the Microsoft.ServiceBus.Messaging namespace, which means I will have to re-record webcasts and repost blog posts. I’ve spent quite a bit ...
In the BUILD event, Microsoft had just announced the latest Windows Azure SDK 1.5, Visual Studio Tool for Windows Azure SDK 1.5, and the Windows Azure AppFabric SDK 1.5. You can find them simply from the Web Platform Installer. One thing I found for now is that, the database had been changed for the local storage emulator in this version. That means you need to recreate the storage database by running the DSInit command from the folder (let’s say you installed the SDK in driver C) C:\Program Files\Windows ...
There are two ways that I found to this but I found the second one better for readability. 1. Test Run Configuration file 2. DeploymentItemAttribute I am interesting in the “DeploymentItemAttribute” because its more readable gives flexibility to add either on the Test Class level so that more than 1 test can get the files or at Test Method level. I have a solution contains multiple project one of the project requires xsds to be there with the assembly. So 1. select the all the files scattered in ...
This week I’m at the Microsoft Build/Windows conference. Now I’ve been to many conferences throughout the years and this is the first conference where I literally knew nothing about including the agenda. When I signed up for my badge on arrival we got a conference guide with all the hours of the session but no sessions. Very secret, very cloak and dagger. This created a huge buzz but also upped the expectation quite a bit… So with the tabled laid out and the expectation high I sat down and waited ...
I am like everyone else when it comes to Preview OS Software. I don’t want it on installed on my primary machine and I don’t want to lug around another laptop to try stuff. I am not a fan of booting of VHD (which I will explain in a second). Scott Hanselman made a great post on how to do this if you are interested however. The main issue that I see with this approach is that the bootloader on my MAIN MACHINE is replaced with the Windows 8 Preview one. Yikes! I don’t want any preview software with ...
So we’re into Day 2 of Build, and the keynote this morning is talking about server and cloud aspects of Windows 8. I’m looking forward to the sessions this afternoon to get some deeper dives. But let’s reflect over yesterday first – Build Day 1. Yes, there was a tablet given away. But those focusing on the “new toy” are missing the bigger message, the larger paradigm shift, the impact on the future of what we’re seeing. I sound melodramatic saying that, but its true – the way development for the ...
At the Build conference this month Microsoft unveiled Windows 8, their next operating system. Windows 8 is a huge paradigm shift from previous versions of Windows and with that comes changes to the developer story. Join us for this special Winnipeg .NET User Group event where D'Arcy Lussier, Microsoft Practice Lead at Online Business Systems, shows you what the future of Windows application development looks like for the client, the server, and the cloud! We'll be giving away a free conference pass ...
So I’ve played with the developer preview of windows 8 today. I’m trying to like Metro. But, at least on the desktop, it feels wrong. In fact, its not really windows anymore. In the sense “windows” are less in favour compared to full screen apps. It really should be called Boxes 1.0 I played around a bit with the new visual studio with metro templates….. great tools as usual. But…designing metro apps feels like a subset. The variety of apps in the windows world would find it hard to translate into ...
I kept getting this error whenever I try and do a Windows Update. This used to happen, particularly if I haven’t done a WU for a very long time. The usual suspects are anti-virus, firewall and sometimes, pending windows updates which would get resolved when I do a restart of the machine. I am running a Windows 7 SP1 64 Bit OS. This time, I connected a machine after almost 6 months and had a truck load of windows updates to be done. I tried restarting multiple times but every time, I run the WU wizard, ...
I was recently discussing some common flaws in application architecture with David Adsit (codeobsession.blogspot.com/) about wisdom in development. Have you ever looked at a system and seen somethings done that were either technically or procedurally difficult, and thought, "wow, it must have taken a lot of work and a lot of proficiency to get that done" but then said to yourself, "but doing it was a bad idea". One of the things that experience teaches that you don't get to pick up from simply gaining ...
Tonight Windows 8 was released (LEGALLY) at least the Developer Preview edition was! You are able to get your own copy at http://dev.windows.com/. I have an interest in programming but an even greater interest in learning some of the new administrative tools available and things I can dig into a bit more and learn about Windows 8. I decided I was going to install it as a Virtual Machine. When I mounted the ISO it crashes upon startup, so I knew there had to be a setting somewhere I could tweak and ...
On August 31st I was pleasantly surprised by Microsoft when they notified me of receiving the Community Contributor Award. Here is an excerpt of the email: “Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN ...
A big thanks to my lively audience at the NxtGenUG Birmingham group tonight who provided excellent feedback. I enjoyed the live coding to try to explore the limits of the framework, even though it was interrupted by my PC turning itself off and leading me to thinking I'd trashed my SSD drive. You can find my presentation online at Prezi.com over here, and the source code for the demos is available here. During the presentation I mentioned there were some additional blogs and articles that are well ...
I usually do a bullet points from major conference events like this one from Mix11. The purpose of this post is to get you up to speed quickly with news and links you may enjoy. Build – Day 1 Keynote Windows 8 takes about half the amount of RAM to run compared to Windows 7. Windows 7 usage by consumers is now greater than Windows XP. Like the Metro Interface? Well, you better as the interface is similar to the Windows Phone 7. You can unlock your touch-enabled PC by tapping certain spots on a picture. ...
I’ve started to take a look at the Azure AppFabric Access Control Service (ACS), and have started an ACS sectionon Cloud Casts. The first webcast looks at using social identity providers to provide authentication for websites. I’m going to focus on ACS for a bit and wait for the AppFabric messaging capabilities to be released before returning to them and looking in more detail. I have a few webcasts on AppFabric messaging here ...
I'm sure that over time you've run into the dreaded "File transport does not have read/write privileges for receive location "C:\Flatfile\SAPTestIn\".". Usually you simply go to the folder and either give the BizTalk account full permission (bad) or Everyone full permission (really bad). So for a production environment, what is the absolute minimum permissions required? For the Receive File Adapter the explicit permission are: NTFS Attribute Property Name DELETE Delete Files FILE_READ_DATA List Folder ...
Demostration of Windows 8 Lots of great stuff going on with Windows 7 installs Touch First, Mouse Second – Wow, that is going to be interesting Demo of a netbook from two years ago running Windows 8 using only 380mb of RAM, nice. Steven even said it was his daily use machine for a year, Microsoft needs to buy him a nicer machine. Windows 8 Start still feels like Windows Mobile and Windows Media Center had a child We decided every time they said “SUPER”, we are drinking They are very nervous and the ...
That is a very good question..to which only Microsoft has the answer!:-) In the meantime, suffice it to say that every once in awhile, Visio loses track of your Glue/SnapTo settings which you'll need to restore. Here's what to do: 1. In Visio, navigate to "Home", open "View", expand "Visual Aids"2. Once in "Visual Aids", Check or Re-Check the "Glue"box. 3. Under the "Snap To" category, be sure shape intersections, shape handles, shape vertices, and connection points are all checked. 4. Under the ...
Our engine is written in almost pure C++ with some part in C# that run on Mono. The code base is huge which mans that we’re primarily looking for platforms that support C++ development. Looking at the current set of platforms on the market this is really not a big issue with Windows Phone being the only platform that does currently not support native development. Sadly this means that we’re currently not planning a Windows Phone release in the near future. Looking at other platforms, about a year ...
What's a Windows Phone Camp? A free, full day event chock-full of everything you need to know to develop a Windows Phone application. Whether you're a seasoned veteran or just getting started with .NET development this full-day event is for you. Interested in profit? We'll also lead discussions on how to monetize your applications and generate profits with your apps. Don't miss the new Windows Phone 7.5 (codename "Mango") features as well - with detailed sessions in the afternoon around Fast Application ...
We're 10 minutes away from the Build keynote, and I'm going to be live blogging the event. Now, to be clear, you shouldn't just read this - I mean, the keynotes are streaming live online. But I want to capture my thoughts on the announcements as they happen. So without further ado, let's start!And we're done! Great keynote, lots of content! However, we still don't have our schedule! LOL...off for lunch.11:16 - The path to RTM: Beta, RC, RTM, GA - Driven by quality and not a date, I'm ok with that.11:11 ...
Introduction · CQL is a SQL-like language (SELECT..FROM..WHERE) for static analysis of .NET code. · It is a nice complement to code contracts, & is usable in unit tests. If you've ever looked at creating custom FxCop rules using the archaic and undocumented Introspection API (see http://www.binarycoder.net/... ), then you will appreciate the elegant CQL syntax for static analysis! · supported by NDepend http://www.NDepend.com How It Works · Lets dive into a contrived example ...
Download Demo - LINQpad Query In this blog post I’ll be showing you how to query TFS using LINQpad. 1. Download LINQpad Those who are familiar with LINQpad know its benefits and ease of use, i would urge others to try it. You can download LINQpad and read more about it from here => http://www.linqpad.net/ 2. Download TFS SDK I have a blog post on where and how to download the TFS SDK from => here 3. Querying TFS using LINQpad Open LINQpad Select Query Properties by selecting Query from menu ...
In the world of custom web application development a critical component of our success is the hosting environment and services. We can choose to deploy our web applications using 3rd party hosting providers such as GoDaddy.com, Rackspace, DiscountASP.NET, or another provider, or we can choose to deploy to on premise servers either virtual or physical. In either case the web application must be serviced up to consumers by a web server software such as Internet Information Service (IIS), which is included ...
I've been working lately on web application that uses Asp.Net MVC, WordPress and MySQL database. To communicate from .NET code to MySQL database using Entity Framework we installed MySql .NET Connector. It worked fine out of the box on developer's workstations but once deployed to hosted web server application started to throw following error: [NotSupportedException: Unable to determine the provider name for connection of type 'MySql.Data.MySqlClient.MyS... System.Data.Entity.ModelCon... ...
On the 9th Sep, the SQL Azure team announced that the new version of SQL Azure had just been release. In this version not only the SQL Azure engine had been upgraded, the SQL Azure Management Portal had been upgraded massively. Below are the features and improvements available in this release: Foundational updates for scalability and performance. Co-administrator support, which enables customers to specify multiple database administrators. Increased capability for using spatial data types, which ...
After recently reading a book on effective unit testing, I've taken to using the NUnit constraint model for my unit tests. I find it a great way to write readable tests which state exactly what they prove; for example, it's pretty clear what this test shows, just from reading the code as a sentence: Assert.That(AnAccount(WithN... HasAnOutstandingBalanceOf(Z... In NUnit's Constraint model the first argument to Assert.That returns an object to test, and the second returns an NUnit Constraint ...
Hi Please refer the link below before building a Custom Adapter in Biztalk . Wizards used from code plex site to build custom Adapter in Biztalk having defect that is not reproducable in System Testing or Integartion Testing that should be reproduce with soak testing or live testing i.e To Save the Cost of Quality of the software developed please refer the below link to fix defects in Requirement stage to coding stage /bloggingabout.net/blogs/we... ...
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows ...
We have a webscraper ASP.Net application, that worked fine on developers and test environments, but didn’t work on some machines with more strict security settings. HttpWebRequest failed with System.Net.WebException: Unable to connect to the remote server It start working when my colleague added the site that application tried to access to his “Trusted Sites” zone using Internet Explorer. What we couldn’t understand, how it affected an application that ran under DIFFERENT account. I didn’t find any ...
In this Issue: Kunal Chowdhury, David Anson, Cheryl Simmons, Ryan Alford, Peter Kuhn, Ollie Riches, Mike Hole, Allen Lee, WindowsPhoneGeek, Mike Taulty, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, and Vikram Pendse. Above the Fold: Silverlight: "Silverlight 5 PInvoke fun - System Font Dialog" Peter Kuhn WP7: "Adding a map image to a secondary live tile" Mike Hole Expression Blend: "Silverlight 4 – Custom Busy Indicator Using PathListBox" Ryan Alford Shoutouts: Michael Palermo's latest Desert Mountain ...
Come on, who doesn’t love a good cheeseburger? Ok, I’ll rephrase that. Other than the Chik-fil-a cows and vegetarians, who doesn’t like a good cheeseburger? Check out this episode of the Grapevine TV’s Developer’s Kitchen and watch me demonstrate how to prepare and grill up my Duffy’s Paradise Cheeseburgers! mmmm tasty! Looking for additional recipes from your favorite .NET personalities? Check out the .NET Guru’s Can Cook cookbook for a wide variety of tempting appetizers, dishes, sweets and drinks. ...