Tag | Development Posts

Here is the sample code I demoed in my MIX11 session “Deep Dive MVVM”. Please download the Zip file, and then unblock it in Windows Explorer by right-clicking it, and then selecting Properties. If you see an “Unblock” button, please click it. You can then extract the content of the Zip file on your hard drive. The slides are also available for download. Last year’s session To fully understand this session, an understanding of what MVVM is should be available. I recommend the following links: “Understanding ...

I saw lot of geeks confused about the development environment for Windows Azure applications. Lot of discussion on the forums and blogs is going on. Here I want to share a wonderful information about preparing Windows Azure Compute Emulator.

here

 

Recently I've found that one of our Hotfix Branches was taking a long time to compile (15min or more). This was strange because our main development branch was OK and compiling the same Visual Studio solution in under 3 minutes. The only difference was that in the hotfix branch we still had the project in .NET 2.0. I saw right away that ResGen.exe (Resource Generator) was executing for a long time and consuming 25% CPU (I guess it would use more CPU if it was multi-threaded :)) The problem you face ...
This one almost slipped away from me. It is only a week until the next CITAG meeting. This month Mike Vogt will be discussing ORM Frameworks and what they mean to the amount of code that our development teams have to write. I am sure we will get into a discussion of the truths and myths around these products. Come out and join us for a night of discussion and meet a few of your peers in the process. Register here. del.icio.us Tags: CITAG,Chicago Information Technology Architects Group,ORM,ORM Frameworks ...
Client + cloud computing is a disruptive, new computing platform, combining diverse client devices – PCs, smartphones, sensors, and single-function and embedded devices – with the unlimited, on-demand computation and data storage offered by cloud computing services such as Amazon’s AWS or Microsoft’s Windows Azure. As with every advance in computing, programming is a fundamental challenge as client + cloud computing combines many difficult aspects of software development. Orleans is a software framework ...
This post is from a very good friend of mine, Billy Hollis. He’s got some interesting food for thought and I think you’ll enjoy his perspective! For over 15 years now, our industry has been struggling with a crucial tradeoff. We can get broad reach via standards, or we can get the best possible user experience with applications that take advantage of particular devices or platforms. It's a stereotype that people in software development tend to be code and technology centric and not user centric. ...
What a crazy week! Big game releases from the XNA Community, podcasts, reviews, interviews, new educational content being posted and all sorts of upcoming titles that I’m excited about. If there was ever a week that I missed stuff, this was the week. Seemed like every time I glanced at twitter or checked my RSS feeds there was some interesting and new XNA thing going on. No need for me to try and convince you, just like at the size of this weeks XNA Notes! Time Critical XNA News: Making Windows Phone ...
I recently asked question this question as a post on the Microsoft modeling and tools forum: Various Microsoft attempts at MDD have failed or been put on the back burner: WhiteHorse, Software Factories, Oslo. Does Microsoft have any strategy for Model Driven Development? Will any of the forementioned tools ever see the light of day? Stuart Kent responded to my question here: http://blogs.msdn.com/b/stu... - Have a look at his post: ...
Like it or not, we humans make mistakes. If we embrace the fact that we are going to make mistakes, we can direct our efforts to reduce mistakes in areas that are critical in exchange for potentially making more mistakes in areas that aren’t. Gasp! We need to get over the silly notion that our work can ever be 100% perfect and try to maximize in the areas that matter. Does it really matter? These are the things I’ve found that typically don’t matter as much in the grand scheme of development. Start ...
If your typical workweek is anything like mine you might have connections to multiple SQL Server instances open in SQL Server Management Studio at any given time. For me, some of these instances are on my local machine (i.e. I use them for development work), and some of them are on remote (read: test or production) machines. In a perfect world I’d never need to jump into a production database to investigate an issue, but the world I live in is far from perfect so I end up looking at “live” databases ...
Well, it's official. Rules Fest 2011 is on track for October. The web site has been launched and the "Call for Speakers" has been published. Welcome to the world’s premier technical conference for reasoning technologies. http://rulesfest.org/html/h... Building on the success of last year's conference, this year will be bigger and better in every way. We’ve hired a larger venue - the Hyatt Regency in Burlingame, just south of SFO. We really loved being at the Dolce Hayes last year (warmly recommended), ...
Fellow Techies of the world.. Welcome! In this obligatory first post I want to just tell you a little about myself and what I intend to do with this blog. I’ve worked in fits and starts on a tech blog before so I’m happy to be a part of the GeeksWithBlogs community now and make it my new home. Let’s begin at the beginning… Sometime back in 1995 my dad (who has worked with computer pretty much since there have been computers) brought home 2 books. Visual Basic 4 and Visual C++ 4 (For Beginners). I ...
It seems odd that in 2011 there is no such thing as a requirements capture language. Martin Fowler describes this as the yawning crevice of doom in software - http://martinfowler.com/bli... , http://www.infoq.com/news/2... When I am building code it is ludicrous that I need to read a perpetually changing 50 page Word document or Excel spreadsheet, or worse a set of UML diagrams that are totally disconnected from reality. We need a standardized ...
In the run up to Microsoft’s MIX conference, next week in Las Vegas, a new post on the Silverlight Team Blog from Microsoft Developer Division VPs Walid Abu-Hadba, Scott Guthrie and Soma Somasegar prov ides new clarification of Microsoft’s position on Silverlight and HTML 5. Read the post and interpret it for yourself. My take is this: given the current landscape of Smartphone and tablet OSes, only HTML 5 can let you reasonably target all of them, so Microsoft’s going to bring you greatly improved ...
I am in the proccess of putting together a demo machine. i arleady have a Windows 7 VM with the essentials for SharePoint Deveopment. But I spent some part of the weekend putting together a demo machine and after some thinking I decided to share some points that you might want to consider when putting together a Development or Demo machine as a SharePoint Developer\Consultant. I also welcome any comments and opinions or rebuttles to any of these points. I spent some time and put together a WIndows ...
There has been quite a furore in the last couple of weeks about a blog article published by David Barrett entitled "CEO Friday: Why we don’t hire .NET programmers". You can find it at http://blog.expensify.com/2... Along with about half the global development community, I tried to post a response, but comments were already closed. I had all but forgotten the article until, a few minutes ago, up popped a daily .NET newsletter with a headline linking ...
In many respects is not really fair to compare these two products, as they are mostly targeted toward two different markets, however, the HP Slate 500 is the best offering that Microsoft and it’s partners have put forward to compete head-on with Apple and the rapidly growing tablet/slate market. As way of background I have been a Windows Tablet PC user since the product was first released as an extended version of Windows XP. I started by testing a Panasonic Toughbook convertible, moved on to what ...
If you are going to be in the Washington D.C. area on April 28th, and you want to learn more about both Scrum, and how to utilize Scrum with Team Foundation Server 2010, then you really need to attend the free 1-day seminar, “Agile Scrum Development Practices with the Experts”. This event is being hosted by Ken Schwaber, one of the co-founders of the Scrum process, as well as Richard Hundhausen, who, in addition to his many qualifications, has helped develop the official Microsoft “Professional Scrum ...
Lately I've been pretty critical of the Scrum process, primarily for not containing fail-safes for when things start to go wrong. I spoke with some pretty passionate Scrum Masters who told me, "Don't blame Scrum for a team's failure to adopt it." And I've reached the point where I agree. For any team considering Scrum I have this advice: If you are afraid of Extreme Programming understand you'll get limited benefits from adopting Scrum. You may get to a point where you work is visible and tracked ...
I have a .Net 4.0 site that uses Entity Framework and Linq to SQL. After reworking a few tables and a few page operations, a new error appeared: "Row not found or changed". Every time I commit changes to a particular table, this error would be raised. From a quick review of msdn and the internet, the primary reason for this exception appears to be data concurrency issues - (The source data in the database is out of sync with the data you are attempting to update.) That did not apply to my development ...
Windows Phone 7 development is an exciting topic. I have been exploring WP7 development for a little while now and I figured I would post some of the basic concepts that might be helpful to beginners. So here they are in no particular order. Panorama control I kept seeing references to the Panorama Control. It seems that this was a control that existed separately during the beta for WP7. In the final release this is now incorporated into a page type, so you won’t see the control in the toolbox. So ...
My colleagues have put together a series of Saturday hands on workshops for Windows Phone 7 development in the UK. MVPs and Microsoft Evangelists will be helping you with such topics as Tombstoning, Databinding, Startup performance, Designing with Expression Blend, Data storage and pretty much anything else you can think of. If I was free – I would attend. It might take my first Phone 7 application to a new level! Click through to register for your preferred workshop. Saturday 2nd April – London ...

Twitter’s welsh head of development - Ebrill Ffola annouced today the setting up of a new project.

The idea is based on Twitter but restricted to humour only. “140 characters will give us some great one liners’ Ebrill announced in his launch speech. The site of course will be called Titter and users are expected to provide Titters. A spokesman for Ken Dodd has informed us that he has already signed up for the new service.

In this Issue: John Papa, Rudi Grobler, Michael Washington, Jeff Prosise(-2-), Xianzhong Zhu, Nigel Sampson, Martin Krüger, WindowsPhoneGeek, Vinit Yadav, András Velvárt, and Alex Sorokoletov. Above the Fold: Silverlight: "Response.MVVM is now available via NuGet!" András Velvárt WP7: "BounceBall - XNA Farseer Magic" Vinit Yadav Lightswitch: "LightSwitch Online Ordering System" Michael Washington Shoutouts: Cigdem Patlak has a post up about the ROCK! event beginning next weekend in LA: Microsoft ...
I’ve been meaning to read this book for a while and finally did!! Don’t let the title fool you, it could have been “Modern Object Oriented development with .NET”. In the context of improving an existing active project (brownfield) this books walks you through separation of concerns, isolating dependencies, test driven development and many other concepts in a very practical and easy to understand way. They also cover many of the political, cultural and personality issues you will face working with ...
I’m a gamer. When I started out, I had the classic Nintendo and thought it was awesome. That eventually evolved into a Super Nintendo, and with that I would say I became a gamer. Back then, the web wasn’t much of anything yet. The Internet wasn’t a household item, never mind high-speed Internet. When it came to gaming. The PC did it’s best when it came to games, but web really didn’t have much going on. Even when Flash games became a thing, there really wasn’t much to talk about except for the ads ...
(these are lifted verbatim from Microsoft here, here and here and are presented below only because it’s convenient to have them lumped altogether…) Getting Started with Windows Phone Windows Phone development platform supports both XNA Framework and Silverlight. This unit takes you through the step-by-step creation of your first Windows Phone Silverlight application. Hands-On Labs · Hello Windows Phone This lab intends to be the classic "Hello World" application, introducing you to the tools and ...
Back in August I blogged about an issue I was having with VS.NET 2010. I had installed it on a clean pave of Windows 7 64-bit, but I was getting weird issues with the designer for ASP.NET and I couldn’t add EF files into my projects. The weirdest part was that when I went to the properties of my project, the framework version drop list was empty…no frameworks, 2, 3, 3.5, or 4, were listed! Now to be sure, my graphics above are tongue in cheek, and the VS.NET team has actually been fantastic in reaching ...
At TechEd India 2011 I presented on HTML5 Development with Visual Studio 2010 SP1. I wanted to cover the aspects that were discussed in my session. HTML5 1. HTML5 is the emerging but promising trend in web development 2. Some of the standards have got green signal i.e. they are candidate recommendations. 3. Some others are still work in progress. 4. IE9 implements standardized HTML5 specifications. Visual Studio 2010 and HTML5 Visual Studio 2010 Service Pack 1 comes from basic HTML5 support. Having ...
For the past few weeks now there’s been a persistent “Zune is dead!” rumor. There was one a few months ago as well speculating about the name itself. The most recent one focuses on the hardware. It’s been “we have nothing to announce”-ed by Microsoft, which is Microsoft code for… having nothing to announce. As tech companies go, Microsoft doesn’t really go in for the whole rumor mill thing. The merits of that policy is a different discussion. I don’t have any insider knowledge. I don’t know anyone ...
A friend of mine recently send me an article titled, RIP: The Iteration 19?? – 2010. It is an interesting read, but I warn you … you may start asking questions about Iterations. For myself, I have spent several months thinking a lot about the iterative cycle of development, how to improve the performance of a development team, and what “better performance” even means. Articles like this one really make me evaluate things anew. I guess that is good. Confusing sometimes. But good ...
MSDN WP7 Beginner Training WP7 Development for Absolute Beginners in 64 parts on channel9 Windows Phone Developer Quickstarts on the AppHub WP7 Offline Training Course WP7Comp - Red Gate Software competition site seeking submissions for WP7 apps that developers will love (competition now finished). List of Entries. WP7 Developers Blog Credit card Processing on WP7 Shawn Wildermuth’s Phoney application now available on codeplex Jeremy Likeness - UltraLight.mvvm Laurent Bugnion – MVVMLight (lot’s of ...
You want to avoid the pitfalls of object oriented design? Then this is the right place to start. Use Flow-Oriented Analysis (FOA) and –Design (FOD or just FD for Flow-Design) to understand a problem domain and design a software solution. Flow-Orientation as described here is related to Flow-Based Programming, Event-Based Programming, Business Process Modelling, and even Event-Driven Architectures. But even though “thinking in flows” is not new, I found it helpful to deviate from those precursors ...
I am now halfway through readign this books and I continue to be favourably impressed by it. It includes many of the new features of C# 4.0, including one that was new to me. This is a very good C# language manual and I have no hesitation in recommending it both to individuals and to C# development teams. It is good for those learning C# and for those with years of experiance of C#. You can buy a copy online at http://www.apress.com/book/... ...
The Campwoood Source Monitor at http://www.campwoodsw.com/s... says in its introduction "The freeware program SourceMonitor lets you see inside your software source code to find out how much code you have and to identify the relative complexity of your modules. For example, you can use SourceMonitor to identify the code that is most likely to contain defects and thus warrants formal review. SourceMonitor, written in C++, runs through your code at high speed, typically at least 10,000 ...
Tuesday evening I found myself minus family. I decided to use the time to “have a crack at this Silverlight Phone 7 stuff”. From zero (no experience, no tools installed, no membership on the AppHub) to submitted for approval took me from 8pm to 1am – with the last hour messing around with png files in Paint to complete the submission process! Two days later on Thursday it was approved and is now in the marketplace for you to install - or not :-) The application is very simple but it works and looks ...
Employee Info Starter Kit is an open source ASP.NET project template that is intended to address different types of real world challenges faced by web application developers when performing common CRUD operations. Using a single database table ‘Employee’, it illustrates how to utilize Microsoft ASP.NET 4.0, Entity Framework 4.0 and Visual Studio 2010 effectively in that context. Employee Info Starter Kit is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule. where it is targeted to ...
The day has finally come: Microsoft has released a web browser that is awesome. On Monday night, Microsoft officially introduced the world to the latest edition to its product family: Internet Explorer 9. That makes March 14, 2011 (also known as PI day) the official birthday of Microsoft’s rebirth in the world of web browsing. Just like any big event, you take some time to celebrate. Here are a few things that you can do to celebrate the return of Internet Explorer. 1. Download It If you’re not a ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* 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:0cm; mso-para-margin-bottom:.000... ...
[Source: http://geekswithblogs.net/E... Just a quick one this, but useful for mature BizTalk solutions, where over time the configuration settings can get confused, meaning Debug configurations building in Release mode, or Deployment configurations building in Development mode. That can cause issues in the build which aren't obvious, so it's good to fix up the configurations. It's time-consuming in VS or in a text editor, so this bit of PowerShell may come in useful - just substitute your ...
I've been wanting to write this post summarizing my thoughts about the MVP summit but have been dragging my feet since it's a very difficult one to write. However seeing Andy (http://forums.create.msdn.... and Catalin (http://www.catalinzima.com... and Chris (http://geekswithblogs.net/... post about it has encouraged me to finally take the plunge. I'm going to have to write carefully though because I'm going to be dancing ...
The phone revolution that is under way at the moment is insanely interesting and continuously full of buzz about directions, failures, and promises. The movement started with Apple completely reinventing what a smart phone was all about and now we have the followers. Though – don’t dismiss the followers, they are usually the ones that come out with the leap frog products when most of the world is thinking about jumping on. Remember the often used analogy – the USA invented the TV – but it was Japan ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* 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:0cm; mso-para-margin-bottom:.000... ...
I have installed VS2010 SP1 on my home development PC and No Abnormalities were detected. I downloaded the ISO image of the service pack and mounted it using Virtual Clone Drive - download page at http://www.slysoft.com/en/v... It is unwise to install VS2010 like this and instead you need to copy all the file to a temporary directory on your hard disk, however it worked with the service pack image mounted as a virtual DVD! So far I have sucessfully recompiled 2 solutions - more ...
I was very excited when Microsoft released the Internet Explorer 9 Release Candidate. As far as I was concerned, this was another nail in the coffin for IE6 and step in the right direction for us .NET web developers as our base camp was finally starting to support the latest and greatest future-web standards. Unfortunately, my celebration was short lived as I soon hit a snag while loading up an HTML5 site I was building in Visual Studio 2010. The Mystery After updating Internet Explorer, I ran my ...
Who has not seen the Code Project's Tech Virtual Summit on Mobile Development, you can now see all the sessions on demand. The sessions are: The Mobile Development Landscape Android Push Notifications Beginning Android Flash Development Android for .NET/C# Developers Using MonoDroid iPhone 101: Introduction to iPhone and iOS Development Building Rich Mobile Apps with HTML5, CSS3 and JavaScript Building MVVM apps for Windows Phone 7 Using Panorama and Pivot Controls for WP7 apps Building Data Visualization ...
With the updates to Windows Azure CDN announced this week [1] I wanted to help illustrate the capability with a working sample that will serve up dynamic content from an ASP.NET site hosted in a WebRole. First, to get a good overview of the capability you can read the Overview of the Windows Azure CDN [2] content on MSDN. When you setup the ability to cache content from a hosted service, the requirement is to provide a path to your role’s DNS endpoint that ends in the path “/cdn”. Additionally, you ...
There are several things any XNA developer should know/consider when coming to the Windows Phone 7 platform. This post assumes you are familiar with the XNA Framework and with the changes between XNA 3.1 and XNA 4.0. It’s not exhaustive; it’s simply a list of things I’ve gathered over time. I may come back and add to it over time, and I’m happy to add anything anyone else has experienced or learned as well. Display · The screen is either 800x480 or 480x800. · But you aren’t required to use only those ...
I had always been a fan of ANTS products (Reflector is absolutely invaluable, and their performance profiler is great as well – very easy to use!), so I was curious to see what the ANTS Memory Profiler could show me. You can check out more information about the profiler at Red Gate's web site at www.red-gate.com/products/d... Background While a performance profiler will track how much time is typically spent in each unit of code, a memory profiler gives you much ...
Last week I was fortunate enough to spend time in Redmond on Microsoft’s campus for the 2011 Microsoft MVP Summit. It was great to hang out with a number of old friends and get the opportunity to talk tech with the various product teams up at Microsoft. The weather wasn’t exactly sunny but Microsoft always does a great job with the Summit and everyone had a blast (heck, I even got to run the bases at SafeCo field) While much of what we saw is covered under NDA, there a ton of great things in the ...