Tag | Programming Posts

Technorati Tags: ASP.NET,General I often see questions at forums(http://forums.asp.net) asking stuffs like: Where to begin? Where Do I start? How to Get Started? So I decided to write this "boring" post to express my opinion and hopefully this can help beginners find their way to get started with ASP.NET. Based on my experience learning ASP.NET is just like learning how to play a guitar.. (oh really? why could I say that? ).(1) First you must have this what we call "interest" because if you don't, ...
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. Earlier I promised applications that use the WMI Win32_Battery class to display battery status. I started this series of articles with C# (Windows XP: Monitoring Batteries in C Sharp) so I will start with a C# application. For those of you who know me, I am not a user interface developer and will leave fancy GUIs to those of you who are better than ...
In this Issue: Tim Greenfield, Rene Schulte, Jianqiang Bao(-2-, -3-), Alex Knight, Shawn Wildermuth, John Papa and Adam Kinney, Josh Twist, Ning Zhang, John Stockton, and David Anson. Shoutout: Mike Taulty has added to his list of Silverlight 4 Beta Networking Videos, bringing the total to 11. I've got something like 50 posts to review, but some of you have figured out if you submit, you bump up in the queue. I'll get to everything, just thought I'd mention that :) From SilverlightCream.com: SuperStackPanel ...
Between working on Pong and work, I've recently taken up working with the Unreal Development Kit (UDK). Back before Unreal Tournament 3 came out I started toying with the Unreal Tournament 2004 editor and didn't get very far. When Unreal Tournament 3 came out, I grabbed a copy simply to play on PS3 and wasn't too big of a fan of some of the gameplay choices Epic had made. I returned the game and went on my way. However as time passed I realized I really enjoyed the look and feel of the engine and ...
While I was on holiday last week we announced Tech Days. Tech Days is shaping up to be something rather good. It is a week-long series of free events run by Microsoft and technical communities to “Celebrate and inspire developers, IT professionals and IT Managers to get more from Microsoft technology” You can attend for 1 day or all 5 days. You can just attend the developer days or mix it up with the IT Pro days. It is entirely up to you. I will be doing my bit delivering sessions on Azure, Entity ...
I have not programming in a while, and I have forgotten some of the concept and definition of terminology. Until I was being asked, they took me a while before they snapped back in my brain :-) Custom Attribute? For example: How I create a Custom attribute? From what I remember the primary step to properly design custom attribute classes follows: Applying the AttributeUsageAttribute([At... Inherited=false, AllowMutiple=true)]) a) Declaring the attribute. (Class public ...
Normal 0 false false false EN-AU X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... ...
Set your ideas free Create what you can imagine, build on the strengths of your team, and open up new possibilities. · New prototyping, modeling, and visual design tools enable you to create innovative applications for Windows and the Web · Create a shared vision as a foundation for creativity with SketchFlow ,in Microsoft Expression® Studio , and Team Foundation Server · Take advantage of new opportunities & capabilities offered by multi-core programming and cloud development tools Simplicity ...
One of our engineers was adding a third party driver to system today and had trouble getting it to work. When he installed from the CAB file that was provided, it worked correctly. When he built it into the OS, it wouldn’t work correctly (unfortunately I didn’t discuss it in enough detail to tell you what it was doing.) Just before the end of the day he called out to me and said he left the K flag out. For those of us who read the Platform Builder newsgroup regularly, we know that this is a common ...

Coding standards is to programming what walking is to a fashion show.

You can have the best coding standards and rules to force everyone to obey them, but if what you're building is crap, the walk won't help much.

Pat

Name - Zac Harlan How long have you been coming to CRineta? - off and on for a couple years then got serious about two years ago. Where do you work? - J&P Cycles What do you do there? - Lead Programmer Analyst How old were you when you started programming? - I was a "late bloomer" because i didn't "experience" my first program until i was a freshman in college. ;-) What was your first language? - C/C++... though I really shouldn't say that because I never got that good with it. What was the first ...
The second installment of the Community Megaphone Podcast is now up and you can view it at http://www.communitymegapho... Our guest for Show #2 is Joel Cochran and we talked primarily about Blend and WPF: Originally an AS/400 RPG Programmer, Joel is a former Contributing Editor for ITJungle.com (originally MidrangeServer.com) and has taught various programming languages and Internet technologies at Blue Ridge Community College. He has been developing in C# full time since 2003 and currently ...
Most people - even the overwhelming majority of programmers - would say that the main activity of a software developer is "writing source code". But this is a (though quite understandable) misconception - and if you take a look at the available figures on the issue or if you - as a software professional - are honest to yourself, the misconception immediately turns out to be an enormous one. The world is full of software systems that are already in operation, and they have to be maintained - writing ...
I don’t really want to make an “End of 2009, beginning of 2010” post. Mostly because we’re almost in February, but also because I’m sure both of my readers could care less. I do, however, want to mention what I’ve been up to (mostly as just a shout out to all the cool events and people). Last year became SUPER busy right at the end, and so far this year, it’s been exciting too. I have been traveling quite a bit around the Midwest, speaking at user groups and Code Camps. I did HDC last October, then ...
As a programming teacher one of the things that often comes to mind is; how can I teach programming in a way that is interesting and dynamic? Very recently I came up with a plan that I hope will address this idea. My plan is to add a new and exciting programming course called "Game Development and Programming with XNA" to our course offerings. Coincidentally this morning I came across an interesting article in the Science Daily that really connects with many of the thoughts I have had related to ...
The first annual Chirp has been scheduled for 14-15 April in San Francisco. Chirp is a conference, sponsored by Twitter, about the Twitter platform. http://chirp.twitter.com To attend the conference, you'll need to obtain the password by executing the users/show command. There are plenty of tools to help you do this if you have some degree of programming skill. Of course, there is a .NET LINQ provider, LINQ to Twitter, that can help perform this task with ease. In LINQ to Twitter terms, you would ...
I've moved all my posts on Videography to my other blog. http://www.belugaconsultanc... I'm keeping this for more technical programming blog posts. It's mostly for my own consumption but happy if it helps anyone else ...
To download the sourcecode click here Introduction Recently I have been working with some hierarchical object structures that are a composition of several other nested classes and elements, that we call “template objects”. To give you an idea of this, consider “Patient” class as a container that holds patient demographics in a hierarchical object structure. Fig: hierarchical template. These template objects are very robust and flexible, someone can go and design a template like above in a hierarchical ...
We begin this particular piece of our adventure into functional programming with some WCF code unification. This same technique can be used with other constructs including database connections and anything that has a setup/tear down template. I have a small set of example code using WCF which I’ll be using as an example. The specifics of the WCF calls, syntax, and general discussion is outside of the scope of this particular post; however, there are many good references on MSDN and in other’s blogs. ...
One of the problems that a large part of the a certain gaming community has understood over the years has been one of version checking. A common, though now older, method of version checking among this community has been to execute a known algorithm based on a seeded value; however, the algorithm would change based on a formula sent over the wire. For instance, suppose for every four bytes in a file, there are four state values: A, B, C, and S. The S value is the current four bytes of the file. The ...
This article is a two-part series regarding the LinqToWikipedia provider. The first article will cover the basic concepts of Linq as well as the client usage of this particular provider while the second article will explore the inner workings of the LinqToWikipedia provider to give you an understanding of what it takes to create your own IQueryable provider. NOTE: You should download the latest build from Codeplex so you can follow along with the code samples. What is Linq? Let's spend a moment and ...

The .NET Framework is Microsoft's comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes.

In this Issue: Richard Waddell, Benjamin Roux, Sergey Barskiy, Alex Knight, Chris Klug(2), András Velvárt, Brian Genisio, Jeff Prosise, Matthias Shapiro, and Mike Taulty. Shoutouts: Adam Kinney is taking Blend training on the road: Silverlight Design Days – Free Blend Training on Tour... keep checking back, and find one close to home! New Silverlight MVP Koen Zwikstra announced Silverlight Spy 3.0.0.7 From SilverlightCream.com: The Seeker: Sidebar 2 – Blendable Seeker via ControlTemplate Richard ...
Last month when I spoke at ArcSummit for nPlus1.org about design patterns, object oriented programming and dependency injection Chris Woodruff and I sat down and recorded an episode of Thirsty Developer with Dave Bost and Clark Sell. Check it out here ...
So there is this meme going around about people posting their CodeMash schedules, so I thought I would be a sheep and do the same. Primary Secondary Wednesday AM Practical B/TDD (Phil Japikse) PM Competency & Leadership in Software (Mary Poppendieck) Thursday 9:45am – 10:45am What Makes Ruby Different? (Joe O’Brien/ Mark Peabody/ Leon Gersing) Agile Iteration 0 (Ken Sipe) 11:00am – 12:00pm Maintainable ASP.NET MVC (Chris Patterson) An Introduction to MongoDB (Mike Droll) 1:45pm – 2:45pm 3:35pm ...
But first, a brief introduction as to what prompted this line of posting. At PDC ‘09 I had the pleasure of making acquaintances with Jon Galloway and Steve Andrews who challenged me to do more than practice & talk with co-workers and put together a talk and the suggested topic for said talk was – functional programming. Well, I’m not quite at the talk stage yet, but figured that the blog format worked as a good starting point. So, what is functional programming? Wikipedia offers the following ...
Tech bloggers like to have a predictions post at the beginning of each year (or the end of the previous one). I’ve never actually written one before, although I have made year-ahead predictions in panel discussions for the now defunct NYSIA. Since there’s no panel this year, and since I’m taking better care of this blog, I’d thought I’d give clairvoyance a whirl right here. The following predictions are pretty random and probably not comprehensive, but I’m making it my new year’s resolution to prevent ...
I consider myself extremely fortunate. I go to work everyday and do something I LOVE to do and I get paid quite well for it. Everyone should be that lucky. But about once a year I go through what I call, "Code Burn Out". I still enjoy what I do, I just don't come home and work on my own stuff. I don't spend all my time reading about software development and practicing to make myself better. I spend very little time on Twitter, and I don't even get on my computer very much after normal working hours. ...
Suppose you have to write a test to verify that an edit form will throw a certain exception under certain conditions. If you don't use VB 9 features, you might end up with this effusion of verbosity: Try editForm.Save(MyDataContext) Throw New AssertFailedException("Save should have thrown an exception") Catch ex As Exception If Not (ex.GetType().Equals(GetTyp... Then Dim errorMessage = String.Format("Save should should have thrown BusinessOperationException; threw {0} ...
Recently I had a need to create a SQL Server 2008 SSIS package that could do SFTP transfers. The FTP component that comes with SSIS is very useful but it cannot do secure transfers. In the past I have had to use scripting to create dynamic script files for WS_FTP pro (which I do use and like very much!!) but this brought in many more moving parts and was subject to failure for a number of reasons. After a bit of searching I found http://www.cozyroc.com and in particular the SFTP component: http://www.cozyroc.com/ssis... ...
I just installed Sharepoint 2010 on Windows 7 and i’m looking for the new features in the Information Worker area as first step. My first impressions are very favorable to the new look & feel and Content Management, i love the ribbon-based interface. Well, i begun my Sharepoint quest adding Lists to my site. The new interface to add lists to content is so cool, completely based on Silverlight I added a new Survey List to my Site and i can observe the new branching feature for customize the flow ...
So we have outgrown our current load balancer solution (LVS) and we decided to step up and get a device that can help accelerate our web applications. We have dozens of web servers and our current load balancing solution simply couldn't cut it anymore. Both BIG-IP and Netscaler and very sophisticated devices. Here are some of the features they provide: Layer 7 traffic routing and content modification Load balancing including via cookies Global load balancing for multiple sites SSL offloading HTTP ...
[22/12/09: I have been unable to get the podcast hosted on Channel 9 due to problems with the publishing platform. But Michael did a great job so I wanted to get it posted. Hence you can find it on Skydrive for the moment. Download from Skydrive ] A great chat with Michael Foord, author of IronPython in Action, on why a C# or Visual Basic .NET developer should look at also investing time in learning and using IronPython. Michael wrote an article on IronPython for the November 18th 2009 UK MSDN Flash ...
What is WCF? Windows Communication Foundation aka WCF is a Microsoft platform for SOA (Service Oriented Architecture). The following are some of the important aspects that WCF allows us to achieve. Its used for building distributed and interoperatble applications. Unifies ASMX, .NET Remoting, Enterprise Services, MSMQ etc. A single programming model for all distributed computing technology. Configuration driven protocol choices, messaging format, reliable transactions etc. Built for service-oriented ...
As you can tell by the gap in the posting dates it has been a while since I last posted on this blog. With all that has been happening in my personal as well as professional life, blogging has taken a back seat. Many things have happened since I last posted. I won't enumerate them, but let's just say life has been exciting to say the least. One of the more exciting events in my life been the appointment to a new position at Algonquin RegionHigh School as a Programming & Math Teacher. As great ...
Technorati Tags: Application Architecture and Design Strategies Technorati Tags: Application Architecture and Design Strategies The Ultimate Programming Cheat Sheet List For Web Designers And Developers http://www.webdesigndev.com... HTML 5 Cheat Sheet CSS Cheat Sheet jQuery Cheat Sheet MySQL Cheat Sheet .Net Cheat Sheet and much more ...
Technorati Tags: Parallel Programming Parallel Programming in the .NET Framework. Many computers and workstations today have two or four CPUs, which enable them to execute multiple threads simultaneously. To take advantage of the hardware of today and tomorrow, software developers can parallelize their code to distribute work across multiple processors. Microsoft Visual Studio 2010 and .NET Framework 4 Beta 2 enhance support for parallel programming with a new runtime, new class library types, and ...
Technorati Tags: LINQ PLINQ: LINQ, but Faster! Parallel Language Integrated Query (PLINQ) in the Microsoft .NET Framework 4 offers a minimal-code solution to take advantage of this parallel hardware, providing an implementation of the .NET Standard Query Operators that uses parallel execution techniques underneath the simple LINQ programming to make applications run faster! Come for a deep dive into PLINQ via Microsoft Visual Studio 2010. See what it looks like from the perspective of LINQ developers, ...
Technorati Tags: Application Architecture and Design Strategies,Silverlight,Para... Programming,Tutorials The MSDN Southern Fried Roadshow is a developer/architect training through the southeast, presented by technology evangelists Chad Brooks, Glen Gordon and Brian Hitney with Microsoft. Dec. 8 2009. Introduction to ADO.NET Data Services The new wave of Web applications are built on AJAX and Microsoft Silverlight. We learn how ADO.NET Data Services enables applications to expose data as a REST-based ...
It looked like we should look a bit about LINQ fundamentals before we actually get into the core programming for our Silverlight twitter application. So we’ll look into LINQ for a few more posts, then we will proceed with our usual Silverlight stuff. Line INtegrated Query allows us to use Query language to select data from almost any type of data sources like XML, SQL, Objects, etc.... For more information about LINQ, visit this page, I don’t want to get deep into the details. You can get the sample ...
I bought myself an early christmas gift and purchased the book "Functional Programming in the Real World" by Tomas Petricek. The book is available through Manning's early access program. I've been drooling over this book for a long time and finally I have it now! (cue music: Jingle bells, jingle bells jingle all the way..) Sadly though I have an exam coming (I'm taking my masters in Software Engineering) in 2 weeks time and now I need to force myself to study the lecture notes and not read Tomas's ...
ASP.NET 4 Setting Client IDs Another most wanted feature of asp.net 4 is the ability control client ID generation. At least I am happy with this. With prior version of asp.net it was always difficult control the control id generation though not impossible. Why is this important? If you can control ID generation then the markup size may dramatially reduce which may result in improved performance. The gain may around 15% reduction in terms of markup size in case of complicated nested pages. The new ...
Reposting this from my personal blog as this may be useful to few readers here as well. Personal Development : Time, Planning , Repairs & Maintenance These are just my thoughts, but some you may find something interesting in it. Please think over it. We may know many things, but still we always keeps procrastinating it. I have written this as I have heard many people coming back and saying they don’t have time to do things they like. These are my thoughts buy may be useful to someone else too. ...
Welcome to the first part of the Silverlight 3 tutorial. I know SL4 Beta is out, but if you have your fundamentals right, versions are not a problem, just a little bit of study will keep you abreast of the latest version. Here are some prerequisites for this tutorials. Remember, our ultimate aim here is to create a Twitter client from Silverlight. Softwares required: 1) Visual Studio 2008 with SP1 2) Silverlight 3 Tools for VS2008 - here 3) Silverlight 3 SDK – here 4) Expression Blend 3 – I am not ...
Javascript does not have classes in the traditional sense, but we can achieve something similar in a number of ways. C# and Ruby both have standard class syntax. This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes C# public class Vehicle { protected string Make { get; private set; } protected string Model { get; private set; } public Vehicle(string make, string model) ...
This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes Variables C# requires that variables be declared with a specific type. Javascript and Ruby determine the type of variables at runtime. Here is the syntax: C# public string publicMessage = "Hello World"; private string privateMessage = "Hello World"; static string PRIVATE_MESSAGE = "Hello World"; Javascript var message ...
Two areas I am looking at right now are SQL Azure and Entity Framework 4. PDC had plenty of content on both these areas. Just need to find the time to watch some of it! I have added direct links to the standard definition WMV and the PPTs to download (which is what I am doing right now). SQL Azure SQL Azure Database: Present and Future Windows Media Video PPT Using the Microsoft Sync Framework to Connect Apps to the Cloud Windows Media Video PPT The Future of Database Development with SQL Azure Windows ...
I was asked a little while back to pull together the best training resources for .NET development to feed into a MSDN UK site. I thought it would be useful to share here as well. By no means everything is listed but sometimes less is more :-). Enjoy: Top Tip: Watch out – these are sometimes big downloads. For instance I just downloaded a high def PDC2009 session at 600MB! I recommend you check out Free Download Manager – it is a great open source tool for working with large files. Offline Training ...
I’m going to be looking at a few different languages and blogging my thoughts. I am not a language dork so it will probably be mostly wrong. The languages I care about are c# (which is what I mostly use), javascript (which I love) and ruby (which everyone else loves). This post is part of a series comparing the language features of the C#, Javascript and Ruby programming languages. Part 1: Installation and hello world Part 2: Variables Part 3: Classes Installation C# is installed by installing visual ...