Tag | Personal Posts

Goal: For performance reasons you want to load a piece of CSS only for the ascx file to which it applies. You do not want to embed the style as you cannot do this in ASP.Net ascx user controls. ASP.Net will render the style tag as HTML text. Solution: Some folks use the Page.Header.Controls. Add to add the stylesheet link in the ascx page or in the code behind. Not needed, you may specify a "link" tag in the ascx file, no need to specify "head" tag or anything else, just the link tag itself: <link ...
Windows Phone 7 will be the 3rd important smartphone platform on the market (in my personal opinion) and one goal of SharpBox was and is to support the big three, so the library has to be adapt for the following systems: iOS on iPhone, iPad and iPod Touch based on MonoTouch Windows Phone 7 based on WP7 SDK Android on phones and tabs based on MonoDroid The iOS support was part of the library since version 1.0.1. We are working on the Android and Windows Phone 7 support very hard. Today a first preview ...
Let’s face it: not everybody can afford a full-blown Surface unit in his or her house. But most of us can afford a windows 7 touch enabled computer. The prices for these kind of devices have dropped a lot since the introduction of Windows 7. Companies such as Dell, HP and others offer notebooks as well as desktop systems that can handle multi-touch for a reasonable price. And with touch you’re halfway there. What you don’t have is the object recognition of the Surface. And the rigidity of the Surface ...
So, what would seem to be a simple problem, automating the build of an MSI on the TFS build server – using a Microsoft .vdproj setup project type should be a doddle. Add a new build configuration (cunningly called ‘Setup’) ensure it’s building the setup project, create a build configuration to build the ‘Setup’ configuration, and attempt a build! No. Nothing. Works fine locally. Hmmmm Ok, let’s do some quick googling – there appear to be 2 (maybe 3) options: 1. Install VS2010 on the build server ...
PDC stands for Professional Developers Conference, an event regularly hosted by Microsoft, often at Seattle. It is a great opportunity for developers who work with Microsoft products to come together under one roof, get to know about new forthcoming products, be briefed about key technologies ruling the market and finally, mingle with one another. At least that was how it used to be all these years. So what was different this year? This year, when PDC 2010 was being held in the last week of October, ...
In this Issue: Michael Washington, Fons Sonnemans, Jeff Wilcox, Alfred Astort, Den Delimarsky(-2-), Peter Bromberg, Sigurd Snørteland, and Xpert360(-2-, -3-). Above the Fold: Silverlight: "Silverlight Super Tabs Interface (using View Model / MVVM)" Michael Washington WP7: "WP7 Panorama: Smoothly fading the background (and enabling fading when changing, too)" Jeff Wilcox Shoutouts: With all the phones out there right now, how about a review of one from a WP7 author: Review of my Windows Phone 7 (HTC ...
You are reading an old version of my weblog. Please update your bookmarks to http://www.timmykokke.com If you often use open source libraries you probably have a large library with various tools, like I do. NuGet is an extension for visual studio that enables you to install, uninstall and upgrade open source packages into your application very easily. Say for example you want to use MvvmLight or Ninject in your project, with NuGet it’s nothing more that tell it to add the package to your project. ...
Readers of my blog and/or column know that I am a big fan of PowerPivot. And because of that, I was excited to see, both at June’s Microsoft BI Conference (part of Tech Ed) and this week’s PASS Summit, that the PowerPivot technology will become more entrenched. What Microsoft showed in June was that the full-fledged SQL Server Analysis Services (SSAS) product would support the in-memory BI (IMBI) engine, known within Microsoft as VertiPaq. This cool columnar, in-memory technology will not be limited ...
Latest update (and hopefully last update): Microsoft has published a few posts to clarify the debate. Please consider the following: PDC and Silverlight by Bob Muglia PDC Thoughts by Steve Ballmer *NEW* Silverlight Questions by Scott Guthrie Silverlight is dead. Long live Silverlight! by Tim Heuer Committed to Silverlight by John Papa ---------------------------... Read the rest of this entry » ...
Many sites have a contact form, instead of posting email addresses. Admittedly, email addresses are convenient for customers because they can use a mailto link that brings up their email client and allow them to start typing, archive the communication, and manage the thread. When I first started C# Station, that’s what I did; posted my email address for everyone. Holy cow, what a mistake. I received so much spam that my inbox was unusable. Fortunately, spam is more manageable these days, but it’s ...
We have a lot of URL shorteners like Goo.Gl and Bit.Ly. Though each of the URL shorteners give a straight forward URL shortening right from their homepages without even in need to create an account it would be wise to have an account with them and create URLs through the same. We stand to gain a lot of advantages through the same. A few of them are: Tracking and review of the URLs that are created by us Click Statistics In future if we want to retire an URL it would be easier for us to locate and ...
For those who said they were praying for Amy, and little more detail is in order. Amy has a mild form of narcolepsy. Officially she is diagnosed as “Idiopathic Sleepiness”, however it amounts to the same thing. Ever since she was pregnant, she has not been able to take stimulants to help her stay awake. As a result, she is much more tired than usual, and has particular trouble taking the kids places. If you know Amy you know she is very active-very type “A” personality, so as you can imagine this ...
The WP7 app market is going to be hot (IMHO), and as a developer, you want to get good reviews. Or said another way, you don''t need bad reviews. A Silverlight MVP friend of mine, René Schulte, is deeply involved in graphics work and has released to the marketplace a photo manipulation application called "Pictures Lab". You can see his excellent discussion, pictures, and explanation on his blog. Read on to see my personal review of the app ...
Chris Nicola left this excellent comment on Justin Etheredge’s blog: Even with a competitive way to do SSJS [(server-side JavaScript)] on the Windows platform, I just have to ask... why would anyone? Server-side JavaScript means that the server portion of a web application is written in JavaScript. Personally, I believe that server-side JavaScript will be the next big advance in web development. If I were Microsoft I would be looking to hit a touchdown out of the ball park with server-side JavaScript, ...
Purchase at Amazon I wanted to talk for a minute about the author, Victor Gaudioso. I met Victor on Twitter earlier this year and ever since meeting him, I’ve seen how involved he is in the Silverlight/Blend community. He has always been willing to help or share knowledge of Blend with anyone – including me. I recently read a blog post about someone that went to one of his book signings and did not win anything. Victor found out that this person was disappointed and sent him a free year subscription ...
Someone asked me the other day, between Standard ASP.Net and ASP.Net MVC, which do I prefer and why. Although I have long been an ASP.Net developer, I have to say that I easily would choose MVC over standard ASP.net any day (and twice on Sunday). I feel this for the following reasons: Separation of interests: The three sections of MVC are logically separated: Model(Data), View(.aspx page), Controller (Code that feeds data to view). NO VIEWSTATE: If you are new to MVC, you think this is a bad thing, ...
Jennifer Kavur recently published an article on IT World Canada’s website stating “Don’t use the Patriot Act as an excuse.” Let me sum up the article: You shouldn’t worry about it because Canada has their own anti-terrorism act that is close to the Patriot Act, so really Canadians are under similar scrutiny. Data isn’t guaranteed to travel only in Canada and could cross over wires to the US, putting it under US laws (i.e. Patriot Act). So it could go there anyway. Canadian and US authorities share ...
The biggest question as a new version of a product or framework comes out is whether an upgrade path from the prior version exists and if the new features introduced are worth the headache and time investment made to upgrade. For ASP.Net MVC 3, the answer is yes to both questions. Personally, I would wait until ASP.Net MVC 3 is officially released, but for those wanting to upgrade right away, details for the upgrade can be found here and are pretty straight forward. Today, I decided to tackle a potential ...
Today was the day Microsoft finally took the full covers off Windows Phone 7. Many of the questions of what that means to you, and the general public have been finally answered. So let’s jump in to the overview. General Availability: – October 21st in Europe and Asia - November 8th in United States Full details can be found here. Phones and manufacturers: HTC, Samsung, LG and Dell are among the first few to gain commitments from the careers and get a launch dates. 5 Phones have been announced for ...
With the upcoming announcements around Windows Phone 7, I thought now would be a good time to dive into the platform and see what its all about. For those thinking that writing apps for the WP7 platform would be like writing apps for any other platform, prepare for a reality check (unless you’ve written XNA apps for the XBOX Live marketplace…I’m assuming the process is somewhat similar). A key aspect of the WP7 experience is the Marketplace – a Microsoft controlled gateway to getting your mobile ...
Extension methods were introduced with the .NET 3.5 framework as a mechanism to add methods to extend existing types without modifying the original assembly. This is how the Linq methods were implemented to enable some very powerfull predicate function based operations to be performed over all existing collection types. Searching for web controls on a page is one of those tasks that seems to come up for all kinds of reason while programming using web forms. I was reminded of this problem recently: ...
The thing to realize is that the destination is never the most important part of the journey. It’s the journey itself. When you start a journey, you are never fully sure where it is going to end up. We started the journey down package management for .NET three times with Nu[bular] (we in this context means the nu team, not me in particular, I was only involved in the last reboot) before we decided to try an existing infrastructure with Ruby Gems. I have always said that I would use the best tool ...
I was lucky enough to be nominated to receive the Windows Phone 7 from a representative at Microsoft. The phone that was given to me was the LG GW910. Please note that this phone is not mine, it’s going back in a couple of weeks. The review of the phone below is my personal opinion. Keep reading to find out if I’m actually going to buy one and to see other screen shots. Back to the phone, the first thing that I did was remove the sim card from my iPhone 3G and drop it into the WP7. It immediately ...
While I think that Microsoft is shooting themselves in the foot by not releasing WP7 on CDMA networks this year (such as Sprint, meaning no new phone for me personally), these two free developer training events in Dallas sound interesting: Day 1, Wed. Oct. 20: In the first of this two-day launch event, we’ll take you under the hood of Windows Phone 7 and the Windows Phone 7 platform with a progressive set of learning sessions. We’ll start with the basic tools and fundamentals of Windows Phone 7 application ...
Cyber security, Cyber war, Cyber vulnerabilities are all hot topics in the news right now. They should be. Most applications and our very infrastructure are incredibly vulnerable. This should remind of us of Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. A swarm of wood peckers may be closer than we think. Everyone gets outraged about privacy vulnerabilities with google and FaceBook without ...
The INETA Community Speakers Program went live today. It's a good thing. It means more speakers for more user groups. I'm not going to repeat all the rules and procedures in this post. You can find the latest info on that at www.INETA.org/Speakers What I do want to talk about is the reaction I've seen so far. Mostly quite positive. People seem pretty excited about the announcement, and I think great times are ahead. On the other hand...In the popular trend of replacing the first couple letters of ...
Since sometime I have been toying with the idea of publishing developer interviews on my blog. There are a large number of non-Microsoft developers(ie, developers who are not MS employees) who have been doing good work. A lot of them are largely unknown to the worldwide developer community. Some are awarded MVPs, yet are not much known outside their league/ chosen technology. And there are many who haven’t received the MVP award, even though they strongly qualify for it through their relentless support ...
Any ramblings and blog posts associated with the UNISA ICT 2622 tag should be considered study notes for my lectures… Objectives of Chapter 16 Describe implementation and support activities Choose an appropriate approach to program development Describe various types of software tests and explain how and why each is used List various approaches to data conversion and system installation and describe the advantages and disadvantages of each Describe different types of documentation and the processes ...
The past few months I’ve been playing architect and admin, rather than developer. I have worked with a couple 2010 environments for play and work and at least one upgrade. So here are just a few tidbits that you might not know that I’ve found… When working with the blank site definition you have to activate the taxonomy features through stsadm if you want to use managed metadata. Here is a good article: http://neoassyrian.blogspot... There is a bug ...
Any ramblings and blog posts associated with the UNISA ICT 2622 tag should be considered study notes for my lectures... Objectives of Chapter 15 Discuss examples of system interfaces found in information systems Define system inputs and outputs based on the requirements of the application program Design printed and on-screen reports appropriate for recipients Explain the importance of integrity controls Identify required integrity controls for inputs, outputs, data, and processing Discuss issues ...
Sorry for not posting on a more regular basis, but we were migrating a server for a local police department. Overall it went well except for the an issue between Symantec anti-virus and the main application that the officers use for their ticketing system. One hard lesson we learned was that if SBS 2008 takes an hour to boot up with lots of Exchange errors, it isnt exchange but rather that IPv6 had been uninstalled by accident. Thanks to a Technet article we found, this was resolved with just a few ...
A few companies pack huge amounts of useful information into their queue names so that it is very easy to work out what each queue is for. A downside of this is that some Windows applications inconsistently display the queue names. Take the following sample public and private queues I created for test, each 70 characters in length: Performance Monitor can only display 64 characters for the MSMQ queue object which includes the computer name (and "\private$" for private queues) as documented here: ...
I’ve been meaning to create a blog about asynchronous operations in Silverlight for sometime. Specifically how to create code that looks and behaves much like synchronous code that actually depends on asynchronous operations. I’ve seen quite a number of questions on Stackoverflow where developers have discovered that in many cases Silverlight only supports performing tasks asynchronously. There are number of solutions that others, more able than I, have blogged about along with excellent explanations ...
Gradually you become aware of the warm sun, filtering through the curtains. You can’t see, your eyes are still closed, but your other senses have been active for some time. You can feel the sheets beneath you, hear a faint rhythmic cacophony of kitchen utensils, and most importantly you can smell the delightful welcoming odour of fresh coffee percolating on the stove. Like good wine, good coffee is all about the aroma, and to achieve the freshest and most enticing aroma the roasted coffee beans must ...
I'm again writing about MSMQ failing to send messages over HTTPS. One quick test that people use to check that the certificate is OK is to browse the server over SSL with Internet Explorer. usually this will work and the problem will then be assumed one of MSMQ's making. Unfortunately it is not as simple as that as there are multiple certificate stores available on the machine. Internet Explorer takes certificates from both the "Current User" and "Local Computer" personal stores but MSMQ only makes ...
There is a KB that covers an HTTP message delivery problem on 64-bit Vista. 936497 BUG: Error message when you try to send messages to a Message Queuing queue on a computer that is running a 64-bit version of Windows Vista: "404 not found" The problem occurs when Internet Information Services (IIS) is configured to run in 32-bit mode on a 64-bit version of Windows Vista. 32-bit IIS is expecting to interact with 32-bit MQISE.DLL but that file does not exist in the %WINDIR%\SysWOW64 directory - there ...
In this Issue: Emiel Jongerius, PostVision, Mike Taulty, Jesse Liberty, Laurent Duveau, Phil Middlemiss, Xianzhong Zhu, pauliom, Sudhindra Kovalam(-2-), and Alexander Viken. Shoutouts: The Silverlight Blog announced the release of a new WCF RIA Services (Silverlight QuickStart) John Papacreated a stir yesterday with his Top 10 Silverlight Blogs ... thanks for the shoutout John!! Jesse Liberty posted The Great Silverlight Competency Test – 3 From SilverlightCream.com: Datagrid: support for grouping ...
Spent some time getting my butt kicked by SQLServer2008 R2. I had SQLServer2005 on there and never did really care for the install I had going on that, and I have to believe that’s what part of my problem was because I could not connect to anything useful with the new install. After a failed attempt at a repair, I finally said screwitall and unistalled both, and reinstalled SQLServer2008 R2. Then I could connect in the manner I thought I should So I got the AdventureWare database installed and the ...
This is just going to be a quick post on some techniques for getting your XAP size down when creating games for WP7. It is by no means exhaustive. First, XAP files are basically zip files with specific requirements re: mandatory content and directory layout. So any solutions that would involve zip-style compression will almost certainly result in a larger XAP sizes due to added code. So those type of solutions are off-the-table. But if you can shrink your source input in ways that zip compression ...
In part 1 of Crack .Net Applications I demonstrated how easy it was to reverse engineer an an unprotected .Net application. In this post my aim is to highlight a few techniques that one can employ to protect ones code from this type of hacking. So, my take on software protection is that one can never be 100% protected – given infinite time you can guarantee someone with enough intelligence will be able to bypass all security measures that you ever implement – that being said, we don’t have infinite ...
I have been up to mucho in the past few weeks and nothing at the same time. I'm currently in the process of re-designing InsideGamer.org to be my personal portfolio with a whole new color scheme and layout (including a new web host!). I'm continuing work on Project Ambush which is the first full game to use the open source library I'm developing, RhinoXNA. Not to mention several books I've read and games I've completed. All this on top of a 40-hour/week salary job. All work and no play makes Matt ...

An updated version of this post is located in the following location:

http://geekswithblogs.net/tonyt/archive/2012/02/16/148728.aspxv

Oh my. Somehow I missed this one from earlier this month. A guy from HP Labs called Vinay Deolalikar claims he has the proof. P ? NP. I'm nowhere near clever enough to follow his arguments (see http://www.hpl.hp.com/perso... for a synopsis), but I understand the impact. If he is right, then in a sense, nothing changes. It's just that we will now know for sure that there is no magic formula that will revolutionise the efficiency of our software. The proof will ...
My own very recent personal experience mirrors this blog post: Silicon Valley’s Dark Secret: It’s All About Age So what do I do to deal with that? Looking at Vivek’s advice, item number 1 is to move into management … yikes… I firmly believe that if someone thought I had the chops to be a manager it would have happened 20 years ago… nobody wants to make me a boss, trust me :) besides which, I like coding! Item 2 sucks… and goes totally against the American Dream of continually moving up… expect to ...
Let me start by saying, I love looking at other people’s code. I have learned so much by reading code that I would put that in a top 5 list of things every programmer should do. If it wasn’t for tools like .NET Reflector or Snoop then I would have missed reading a lot of great code. I started working in Silverlight a few months ago and wanted a utility to browse the tree nodes like Snoop does for WPF. I found several solutions but wasn’t happy until I stumbled upon Silverlight Spy 3 by First Floor ...
On Tuesday August 18th, the first publicly available beta for the Microsoft Lightswitch development tool was posted on MSDN. For more information about this Silverlight application generator addition to Visual Studio 2010 visit: http://msdn.microsoft.com/e... Because it is still a beta I installed the 500mb ISO on a Windows 7 virtual pc VM which already had Visual Studio 2010. I had not spun up this VM for over 4 months so there were LOTS of updates to apply first. Although ...
A few days (maybe even a week ago now) I had an email in my inbox asking me if I’d like to have a copy of NDepend so I could maybe write something about it on my blog. I went through 3 stages – 1st – free software?! Hell yes, I’ll have that… 2nd, actually, I have Visual Studio 2010, I have code metrics already, do I need more? 3rd – presumably there is a reason that NDepend exists, maybe I should take this opportunity to get to know why and what it’s for. So I said ‘yes’ and the next day I had NDepend ...
In the past few months I've had the great opportunity to learn both the iPhone and Android platforms for an App we built for my 9 to 5 job. This was a great new chance to learn brand new languages and frameworks after 8 years of living in the Microsoft world. I'll get to more of the specifics in later posts. In order to validate some of our platform decisions and the choice to move toward mobile development I did some research and came across some amazing stats. According to CITA (the wireless trade ...
I recently passed both of the Microsoft SharePoint 2010 Administration exams (70-667 & 70-668) and I’ve been asked what I used to study for them. In order to help answer this question in the future, I put this post together. First, here are some free resources that I used: http://sharepoint.microsoft... http://technet.microsoft.co... http://channel9.msdn.com/le... ...
I am proud to announce that, with one week to go, the St. Louis Day of .NET 2010 is almost upon us. I have been pretty swamped with Day of .NET organization tasks this year (as well as growing a small business and building out my own development team) and haven’t spent too much time blogging. That said, I wanted to get this post out to share some great news about the conference. For those of you who don’t know much about the conference, it is called the St. Louis Day of .NET 2010 conference and will ...