Tag | Personal Posts

[code] /// <summary> /// Gets or sets the site URL. /// </summary> /// <value>The site URL.</value> [WebBrowsable(true), WebDescription("Url of the site to process reports on"), WebDisplayName("Site Url"), Personalizable(Personalizat... public string SiteUrl { get { if (string.IsNullOrEmpty(siteU... { return SPContext.Current.Web.Url; } return siteUrl; } set { siteUrl = value; } } [/code] The above code snippet looks like a reasonable WebPart Propperty. In-fact ...
Well, today I had the honor of attending the first annual SDEC09 Conference hosted by Protegra. This event was similar to the Winnipeg Code Camp, where they had three trains of presentations going on all day. Well, it was a wonderful conference, well worth the $100 Early bird price, as I had a chance to sit in on some amazing presentations. Let's take a look at some of the topics presented that I attended. Introduction to Agile Developement - Presented By Steve Regalsky Well, I've heard of Agile ...
Today (technically yesterday, since it’s 3:26 AM already while I’m starting this), Mr. Adam Mohamed Meligy finally arrived home, after staying 9.5 days in nursery. This –dear audience- given Mr. Adam arrived to our world only in October 5, 2009, a date that the entire world will (sooner or later) always remember! Mr. Adam is now taking a personal cover, pretending to be a normal baby, while he is pretty professional, he cannot sometimes hide his special natures, being relatively quiet compared to ...
Serialization is a beautiful thing. Now that was a geeky comment.... Jokes aside, it is. Standard .NET serialization is quite simple. Tag your class with the [Serializable()] attribute, make sure all your state variables are serializable and voila. But what if some of these variables aren’t serializable? Then you simply need to tag those variables as [NonSerializable()] and then you are really done. Of course I could get into the details of all this but this post isn’t about standard .NET serialization. ...
Thanks John Wiese for pointing me to this blog. I thought it was hilarious. The pictures tells it all. The blog is supposedly excerpts from Steve Jobs secret diary. Classic… Sounds like there’s some real pain with the upgrade to Snow Leopard for a lot of folks. “You have no idea what it's like around here right now. Every day it's something new. Now they say it's eating people's data. Jesus! I take six months off to get a new liver, and the whole place goes to shit. Honestly, you should see my inbox. ...
In this Issue: Mark Monster, Gavin Wignall, Fernando Cerqueira, Silverlight Tips, Mark Tucker, Mike Taulty, Robbe Morris, Brad Abrams, Christopher Bennage, and Victor Gaudioso. Shoutouts: The Silverlight Blog reports Silverlight Spikes AVP Pro Beach Volleyball Matches Live to Your Computer From SilverlightCream.com: Silverlight 3 – Local Messaging Explained + Enhancement Mark Monster has a great detailed post up on Local Messaging, and adds in an enhancement of his own.Using Images and Video in Blend ...
I’ve been tracking my time in one form or another for just under twenty years. Until recently, I must confess that my motivation for tracking my time has been largely accountability. Although I have never had issues remaining productive, I don’t have good memory for certain things. I remember numbers, equations, programming languages, solutions, etc, very well…I just can’t remember what I did yesterday! Even though I’ve never had someone ask me what I’ve been working on, or question my priorities, ...
Code reviews are one of the best things you can do to improve code quality within an organisation, but the process isn't a silver bullet, and it isn't guaranteed to succeed. These are my observations on what works and what doesn't work when it comes to implementing code reviews into a software development environment. I've worked at 3 companies now where code reviews have been introduced. At the first two it was a failure, but for different reasons each time. Only the third company has fully integrated ...
In the October edition of MSDN Magazine, there’s a great article that does a quick rundown of building a component that can be surfaced as a Web Part via the Gallery and placed in Web Part zones on pages. The article by Steve Fox is here: Steve Fox - Visual Studio 2010 Tools for SharePoint Development – MSDN Magazine October 2009 There’s a couple very important aspect that might not be 100% clear from the title – 1st, you’re really visually designing a User Control (ASCX). So, this is really just ...
Unlike WPF, Silverlight doesn't contain a DataTemplateSelector. A DataTemplateSelector is used to select a data template based on the data-bound element and the data object. But, it isn't hard to build your own. Start by adding a class to the solution and call it something like “DataTemplateSelector”. Inherit this class from System.Windows.Controls.Con... The ContentControl class has a property for a data template and a property for content, which you can use to data-bind to. Next, create ...
I just finished listening to a great .NET Rocks interview with Phil Japikse, where he talked about his experiences working on Hope Mongers, a volunteer-run asp.net-based website that brings charity projects together with donators. “Chief Monger” Sam Henry says: Whether helping orphans on the other side of the planet or families just around the corner, so much authentic living, learning and feeling flows from the intense human connection that happens when you know you are changing someone’s life. ...
Yesterday I changed my twitter username from @Mohamed_Meligy to just @Meligy. Why? I have been thinking about this step for a long time, as my tweets are relatively long, and when I want to to allow people to re-tweet. With my old username, I used to have to write at max 120 characters per tweet to allow re-tweet (leaving 20 characters out of the real 140 characters limit to “RT @Mohamed_Meligy: ”). With my new twitter username I can use up to 128 characters (leaving 12 for “RT @Meligy: ”). I know ...
Lambda expressions are yet another one of those things that took me a while to really embrace/ understand but once I did, I use them exclusively in LINQ. The reason it took me a while to finally start using them is because every time I tried to read an explanation of them, the author got bogged down in a ridiculous amount of details and explanations that I either got lost, or just lost interest. Once I learned how to use them, I found it was easier to go back and re-read those explanations and understand ...
Hah! back in the Blogging Business after being away for a really long period. The Spring is just so exciting,Glad that the Winter is over.Well not to mention I have kicked off with my jogging routine starting from today and expect myself not to stop this. I *wish* to be blogging regularly as possible,I am sure I will find a few minutes in the Tram on the way to work.Thanks for my IPhone 3GS. I dedicate this blog post to my Mom.She just loves the Skydeck here in Melbourne,hence decided to capture ...
Usually, I'm not what you would call an early bird. That's why I have read about the new dynamic keyword in C# 4.0 only now. To say it clear: I was horrified. My first intuition was to write an FxCop rule to blame all its usages in the analyzed code. Instead, I wrote this post, which is basically a rant against dynamic - simply because writing a post is much quicker and I felt the urgent need to express my opinion on this, but I'm still thinking about the FxCop thing... The basic fact is in short, ...
Few days ago I wrote a small behavior, which I think, can be used in many applications, so I decided to share it with you :) What are behaviors in Silverlight I won't write in this post, because there are many other places where you can find nice tutorial about this. I personally recommend this one: http://www.silverlightshow.... What I did What I did is a "TargetedTriggerAction" behavior, which simulate button click on targeted button control, when ...
There has a bunch of great stuff going on here in St. Louis and it’s about time I shared some of the news. St. Louis Day of .NET 2009 This event was held on August 28th and 29th here in St. Louis at the Ameristar Casino and Conference Center. We had 500 people in attendance (including attendees, speakers, etc) and the overwhelming feedback was that is a HUGE success. As organizers everything fortunately came off smoothly after all of our stress and prep-work. We’ve accumulated a list of “lessons ...
I was having an discussion with my wife on things to come in computer software and silverlight. below is a brief snippet: My wife holds an computer engineering degree and is passionate about new innovations. She is a prolific programmer though she ONLY codes when she feels like(or finds a problem worth her attention) and thus is NOT a regular coder like mortals like me who are ... well, just coders, who codes for money:D Wife: What is this buzz around Silverlight? Subodh: Because we need smarter ...
Yesterday I noticed that a new version of Gallio, my favorite Test and Automation platform, was released a few days ago. Although the official version number suggests only a small progression (we are coming from v.3.0.6 SR2 and now have v3.1), it is a major upgrade that brings not only some minor improvements, but a wealth of new features. Among the highlights are: VS 2010 Beta 1 and .NET 4.0 support full RSpec integration (used for Behavior Driven Development) a new plug-in model makes it very easy ...
MVVM == Model View ViewModel Pattern is a MUST follow pattern in Silverlight (WPF). here is why… Problems it solves: •Tight coupling of layers (ex a query in the UI) •Unit testing is hard/impossible, only functional testing is possible •Assures codes still works correct after a change •ViewModel •Provides View with data model and behavior •View will bind to ViewModel •Wraps data access entirely In light of new technologies like RIA services (which provides CRUD) operations out of the box it is imperative ...
Blog.scottcairney.com is back. Up and running once again, with many thanks from geekswithblogs.net! This is my personal blog where I will discuss topics that are of interest to me, these will of course include e-commerce, SOA and other enterprise development topics. I will also keep you up to date on the activities of the Commerce Server team and hope I can provide an informal outlet for information for those who share my interests. For the billions who don't know me, I've been architecting and building ...
[Source: http://geekswithblogs.net/E... The ASP.NET Web Part framework uses a plug-in framework for loading and saving personalization data to a persistent source. Out of the box, a SQL Server data source is provided (via the aspnet_regsql tool), along with a SQL personalization provider – specified in the system.web configuration section: <webParts enableExport="true"> <personalization defaultProvider="SqlPersona... "> <providers> <add name="SqlPersonalizationPro... ...
Lately I've been noticing a trend in technology that is starting to scare me. I think we've advanced beyond the information age, and are upon a new era of communication and social networking. Gone are the days of actually phoning people, instead we have advanced so far as to invent telephones that instead of calling your friends, you can take full advantage of using a tiny little keyboard to stumble thumb some text message to them. Yes, technology IS advancing. And I must say, I love Facebook/MySpace/Bebo/Whate... ...
George Mauer gave a great presentation at the Greater New Orleans .Net User Group last Monday. It was titled “You Can’t Dance the Lambda” and it was all about lambdas in .Net. He did a great job explaining lambdas so even people new to them should have come away with a good understanding. Here’s the follow up email he sent out: Thanks again to everyone that attended our meeting yesterday and a double thanks for all the kind words afterward. We had sent a tentative goal of 15 regular attendees by ...
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 ...

I have recently setup a personal account on Microsoft Health Vault. I haven’t had much time to play around; but it is intriguing that so many organizations are starting to adopt Health Vault. Hopefully, I’ll get deeper into it soon, and start playing with the SDK.

Commerce Server 2009 was the single biggest upgrade to the Microsoft e-commerce platform in nearly 10 years. A large proportion of the changes are the introduction of a single API covering the multiple business logic implementations required within an e-Commerce site. In former releases business concepts such as inventory, catalogue, order management, user profiling, and marketing had each been separated into their own domain logic and thus each had a unique API which made it difficult for new developers ...
Turing Project Page: [Novice: 9 | Advanced: 6 ] FAQ | Table of Contents | Definitions What is this and where do I start? [Reposted here while my primary blog is sorted out ] From Database to DataGrid The next step in Project Turing is to create a first iteration of the Silverlight application that will retrieve data from our database. Using our technology of choice: the Data Entity Framework coupled with .Net RIA Services. .Net RIA Services will allow us to create business logic on the server and ...
No this is not SharePoint or Silverlight related at all. Tomorrow is 09/09/09 and the Beatles, one of my favorite bands of all time aside from Green Day and Three Dog Night, are releasing there albums in digital format entirely remastered plus as a bonus Harmonix is releasing a special version of Rockband. I can probably throw away $60 for the game, but not so much the money for the remastered tracks. Growing up my dad was born in the 50’s, so his music was primary the Beatles, the Beach Boys, the ...
Last Time… we looked at installing and setting up VisualSVN Server to be our Source Code Management (SCM) system. With our SCM system all set up, now we need to take a look at how to best take advantage of its features. We’ll look at common folder structures for code repositories and what they folder do/mean. Just about anyone who has used some sort of code repository has probably seen this structure: This is a very common pattern because it highlights the three main things you want your repository ...
Manual Labor I find occasional manual labor projects oddly satisfying. I’ve spent the majority of my career sitting behind a desk programming, or otherwise working on a computer. Putting a little bit of muscle behind a task gives my mind a chance to wander. Working on something manually taxing allows me to think of things out of order and without context. It gives me time to think about relationships. The Art of Wandering Relationships allow me to go from one topic to another without worrying that ...
Surprisingly (or maybe not), I have heard this question and its many variations several times over my career, even more so the past couple of years. It really is a very simple question without a very simple answer, especially since it is highly subjective. From personal opinion (like I said, subjective), what constitutes a good developer is that they exhibit few (if any) bad developer traits, AND, they bring more to the table than just code. Writing code is just one component of the job. A bad developer: ...
"Smaller, Faster, Smarter" Every successful software once reaches a stage where adding more features makes the application 'Bigger, Slower and Lamer". Once that critical mass has been reached, trying to cash in by adding more features leads to a process called 'feature creep'(http://en.wikipedia.... What Microsoft and Apple are trying to do with their latest OS releases (Windows 7 and Snow Leopard) is to offer an upgrade which claims to free up more disk space (smaller), run ...

The new version of the MVVM Light Toolkit was just posted. So what is new? Well, to be honest not much.

Read the rest of this entry »

Windows 7 makes Vista friendly I must admit that I never had anything against Vista when it first came. I guess people had issues with it because the change in the appearance that Vista presented was very sharp from the previous versions. I am very certain that people would have had a similar problem with Windows 7 if It had been release prior to Vista. But personally, I guess that was all part of Microsoft's strategy. I also strongly Believe that people will begin to Appreciate Vista when they realize ...
Wednesday the 2nd, well spent most of the day at Work Scours, taking tests to see if I qualify for grant to take classes for a CCNA. I passed but, boy was my mind tired. Found an interesting news article on Inside Tech, called Stalk Your Way to a New Job. “Interested in a company and need to find a person to contact? Google away. Trying to suss out the guy who’s interviewing you next week? Facebook him!” I used it to find a person I knew at company, I used to work at and found his Email. Also found ...
Inside MS WSS 3.0 – Pattison & Larson Chapter 1 – Getting Started · WSS is a Site Provisioning (Creating) Engine · Multiple SQL DBs (2005 / 2000 / Express) store content & configuration data · Farm – one or more computers providing WSS to users · Configuration DB – farm wide settings o Server names o User roles · Content DB – one per WSS Application o · WSS runs on top of IIS · Needs IIS to handle incoming HTTP requests · The IIS Default Site has listener that passes HTTP requests to sharepoint/home ...
For my personal projects (and likely our work projects) I've been looking into Subversion as an alternative for VSS. And so far, I've only 'blowed up' my repository a dozen times in the installation process. I am by absolutely no stretch of the imagination an SVN expert (I just started tinkering with it this week), but figured I would toss out a few of the hurdles I toughed through in getting it up and running. After installing the product I got to spend a few frustrating days connecting to my server ...
I try to spend a little time every day brushing up on my developer skills. Some days I have more success than others. I might attempt to brush up on my skills by reading a tech book (currently working through "Working Effectively with Legacy Code" by Michael C. Feathers, I'm loving that book!), practicing some new language features (I'm still wrapping my head around lambda expressions and LINQ) or just browsing tech blogs and listening to tech podcasts. I do this partly because our industry changes ...
So I was casually looking at the Microsoft Careers site, and saw the following listing. This really reads more like a personal ad for escort services to me, but I didn't think Microsoft offered that kind of thing. Sales Manager for Consulting Services (m/f) for Discrete & Globals (m/f) https://careers.microsoft.c... ...
A situation, that most developers might know from personal experience: The project is nearing the deadline, and there is far too much work left to be done. Usually the consequence is, that the remaining features of the software will be implemented in a quick-and-dirty way, leaving aside quality related issues like e.g. proper design or adherence to coding standards for the moment. - Much of today's spaghetti code is born this way. The common excuse for that is: "We'll do that later. Now our first ...
*Moved to: Second blogger from my officeOne of my colleagues is facing the maelstrom that is corporate blogjection and has become a geek with a blog. Have a heart as he is a poor under-paid support analyst who hits WAY above his pay grade. Welcome Roddy… good first post on SQL Server Function to add working days on to a date, I always wanted to know how to do that!Read more...Follow my new blog on http://blog.hinshelwood.com ...
I didn’t leave work until 8PM this evening. I was wrestling with a JavaScript/JQuery problem and it became a personal battle to bend this application to my will. (Maybe in some future post I’ll talk about how horrible that is.) So I didn’t get it before I left, but I came home and started hitting it here on a test project. There seems like there are probably some scripting conflicts in our project (we have the JQuery stuff and prototype in there), so it didn’t take be but about a half-hour at home ...
I have been recently dealing with a somewhat tangled set of components where over time, developers have added references as needed to get things done quickly, creating circular and upstream references, resulting in low level layers depending on high level layers. While looking for a nice little refresher online on dependency injection (incidentally, this is a great refactoring technique to fix this situation fast), I found this nice concise definition on bad design provided in an article by Robert ...
I have looked at LINQ and still get this uneasy feeling that it is definitely a love/hate relationship, but I figure I would ask the community on their views on it. Here are my personal issues with it that is steering me away from it currently to be used as a main driving framework of a brand new project: LINQ is a framework in which I may not agree with how it handles all the "voodoo" behind the scenes which can lead to developers believing it is the next thing to sliced bread. I agree it does add ...
This post is part of a series called Ignite Your Life. For background info on the series, please refer to previous posts on introducing the series and The 5 R's (where you can find links to the other posts in this series). In January, 2004, the Seattle Seahawks and the Green Bay Packers found themselves tied up after 4 quarters of their playoff game. After the Seahawks won the coin toss to begin overtime, their quarterback Matt Hasselback was asked if they wanted the ball or to defer. He responded… ...
Well, it has taken me a while to actually get a post up but I'm going to try to work towards a weekly major post which will deal with relevant common themes I found in articles or ran into at work with minor "comment" or "pointer" posts on a roughly daily basis which will reference other articles which I found particularly relevant to the subject of this blog, getting Windows and GNU/Linux working together. I'm also going to try to have a truly useful article dealing with making Windows and Linux ...
As most of you know, I serve on the INETA (International .Net Association) Board of Directors, being in charge of the Speakers Bureau and other Speaker programs. There have been several rumors floating around with a lot of misconceptions and I wanted to clarify a few things. The budget numbers have come in, and the U.S. National Speakers Bureau budget is less than half of what it was last year. I can personally guarantee that User Groups will continue to have speakers funded by INETA. However, we ...
Fields… not the kind with green grass and butterflies. Rather, fields that contain the deep dark secrets of a class. You know: member variables. There’s plenty of divergence in naming these pieces of class data. Some developers prefix the field name with an underscore. Some prefer m (meaning member) and an underscore. I personally prefer straight camelCasing. Here are some variations I’ve seen. private string name; private string _name; private string m_name; private string _Name; private string ...
<rant> Recently a friend of mine wrote a post about having his comments deleted from a post. It has caused a bit of a controversy because both of them are MVPs. http://flux88.com/blog/a-de... Go ahead and read it, I’ll wait here. Seriously. Some people have said it was a bad thing that he wrote the post. I personally think he did a very good thing. At times it is very important to hold people accountable for something you believe in. While it’s not always the ...