Tag | Testing Posts

One of the things I really wanted to do lately was to get SQL Azure, OData, and Windows Phone 7 working together; in essence, expose SQL Azure data using the OData protocol and consume that data on a Windows Mobile Phone 7 device. This blog will explain how to do just that. This example is also in our SQL Azure book in a bit more detail, but with the push for WP7 I thought I'd give a sneak-peak here. You will first need to download and install a couple of things, the first of which is the OData client ...
Up until a short while ago it wasn't even comprehensible that one can take a VB6 code and convert it into a Web based technology without having to actually rewrite the entire application code. The need to convert the VB6 systems to the Web has been here for a while in order to modernize and enjoy the benefits of the Web such as accessibility, centralization and easier deployment and maintenance - not to mention user trends. However, that need has become stronger and stronger since Microsoft announcement ...
This past week BizTalk 2010 RTM’d. BizTalk Server 2010 Developer Edition is Free. More details on that here: http://www.microsoft.com/bi... Now, the Developer Edition as always is for testing and development purposes. You can get that here: http://www.microsoft.com/do... There is also a training kit: http://www.microsoft.com/do... ...
Scrum is an agile framework that deliver an iterative and incremental management approach for software development. In the same way than Extreme Programming (XP), Feature Driven Development (FDD), and Crystal, Scrum provides an “Agile Approach” to build software using a set of practices that includes different artifacts such as Product Backlogs and Sprint Backlogs, “time-boxes” such as Sprint, Daily Meeting and predefined roles for the members of the Team (Team == all direct participants into the ...
Any ramblings and blog posts associated with the UNISA ICT 2622 tag should be considered study notes for my lectures… Objectives of Chapter 17 Explain the foundations for the adaptive development methodologies List and describe the features of the Unified Process system development methodology List and describe the features of Agile Modelling Compare and contrast the features of Extreme Programming and Scrum development Explain the importance of Model-Driven Architecture on enterprise-level development ...
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 ...
I've got a solution to running and debugging unit tests for WCF hosted services that utilize the CMServiceHost. Whether your generate your serivce proxy via WSDL (Add Service Reference) or Shared Contract (ClientFactory), the solution is similar. This email will detail how to invoke a WCF Service Host for testing in both scenarios. Testing a service client generated via "Add Service Reference" I'll illustrate the solution using the following sample unit test. Let's assume you've created a service ...
If you have made it to this point in your quest to find a new blog post from me, then you can consider your quest to be complete. For those of you not on a quest to find a new post from me, this post still applies to you too. Welcome to UXD with Wessty, the new home of my ramblings about user experience development (UXD) and anything else I feel like posting about. I say new home, because I have been maintaining another blog for almost two years now that I call Digital Thoughts, which is officially ...
I’ve been making my way through a few MVC books recently and was looking forward to reading Stephens book. Stephen does a lot of videos on the Microsoft asp.net site that I like and I was not disappointed by the book. Although not really targeted at MVC2 and VS 2010 all the basics are the same. He does an excellent job of stepping through the components of MVC… controllers, views, models and routing. He also digs into HTML helpers, binding, caching, authentication, testing and jquery. All the examples ...
When the P & C insurance company I used to work for wanted to start obtaining geocode information for addresses, I was responsible for the architecture and design decisions related to consuming the vendor-supplied data. The background for the task was nothing unusual: the vendor provided the data via a web service that used proprietary (and poorly documented) XML schemas for the input and output messages. We had 2 point-of-sale web applications and an internal underwriting application that would ...
Many times, especially during development, you could have certificates that are out of date, aren’t singed by any real authority (makecert, etc.), or even don’t match the host name that the request is issued against, but you want to test, etc. One example is if you want to run Fiddler to get a good over-the-wire trace of the HTTP traffic, when the endpoint is accessed over HTTPS. With Fiddler, you can capture HTTPS traffic, only thing is, it sticks it’s own certificate in the chain which doesn't ...
With Pete's guidance, it will feel like you have that super-smart coworker in your cubicle at all times. A new Silverlight 4 book is coming out on September 7th and I had a chance to review it before it hits shelves. After reading the book and some chapters multiple times, I can tell you that this is the best book for a developer wanting to learn Silverlight 4. If you are wondering if you should buy the book or not then let me answer that right now. YES. I would definitely recommend this book to ...
Postback 08302010 – This past week I met with a co-worker/friend of mine to discuss some of the WP7 Apps we’ve planned on creating this year. I think its best to really lay everything out on the table at the start of a project and get a firm grasp of what is needed to be programmed at the beginning. I absolutely loved this process too and recommend it before any actual building of a project takes place. In our case we’ve had a few ideas that are pretty good and came to some interesting conclusions ...
I have blogged before about using Powershell as a web testing harness before, but recently I started doing something a little different that has made it even more useful and simple before: jQuery. Powershell gives you access to the HTML DOM from IE, but as we all know this is a bit primitive. Essentially, if there are objects on the page with which you want to interact and those objects do not have an id associated with them, you're writing some fragile, painful looping code to traverse the DOM sometimes. ...
A customer came to me for assistance in formatting an SD card with TFAT. I did a quick look in the control panel code to find how it formats disks as TFAT and told the customer to use FormatVolume() and set the FORMAT_OPTIONS dwFlags FATUTIL_FORMAT_TFAT flag. I assumed that it was that easy and left the customer to write the code. A few weeks later the customer came back to me and said that they just couldn’t get FormatVolume() to work, let alone format the disk as TFAT. So this time I dug deeper ...
If anyone has been following my blogs lately, they would have noticed that they just had random rumblings of book summaries for my CS degree. This is actually the first semester where I am battling to keep up with the level of work – possibly because up to now the courses have been rather easy to complete the class work (multiple choice), and possibly because work work has gotten extremely busy which has left me with only one day a week (Saturday) to dedicate to learning and doing my assignments. ...
I facilitated a discussion on Automating Your IT Shop at St. Louis Day of .NET. There was so much to talk about, we didn’t get to everything. Here are the notes I took while we were talking. Conversation Starter Questions What tools do you use to automate? What tools would you like to use? What tools would you like to explore (time dependent)? How do I know what to automate? Cost v. Benefit. Decision tree complexity. Rewritable process? How do I automate? What is the right amount of tech for the ...
My quest to learn things outside the Microsoft stack has led me to the Ruby language. I always admired the beauty and expressiveness of the Ruby language. Ruby advocates the idea of unit testing and that is why it is baked into the Ruby language. I just published an article on Unit Testing Using the Ruby Language which can be viewed using the following link: Introduction to Unit Testing in the Ruby Language I hope you enjoy the article ...
Update 2: Excellent news! The $99 per app was wrong. See: http://windowsteamblog.com/... Thank you, Fred! Update 1: It's possible that somebody who didn't read closely looked at the old WM 6.X app cert docs, saw the $99 per app fee there, and thought it applied to WP7. I know people who "know people" and are investigating it. I'm very hopeful it's a mistake - see the end of my next post for how someone might ...
During the deployment testing of an integration component with Commerce Server 2009’s Order Service I encountered the following error at a client site "Column requires a valid DataType." It was occuring right at the point when deserializing the dataset from the GetPurchaseOrderAsDataSet() call. We did not encounter this problem at all on any of the workstations. The call stack was essentially of no help. After some usage of FileMon and a few other diagnostics tools it struck me that maybe there was ...
El manejo de la información hoy en día es importante, pero lo es aún más la forma en que se controlan los accesos a la misma. Hoy veremos como crear reglas de accesso a nuestras aplicaciones web basadas en asp.net utilizando el membership provider que nos proporciona asp.net de una forma fácil y rápida. Para empezar, agregamos una nueva página a nuestro proyecto asp.net y definimos lo siguiente <table class="webparts"> <tr> <th> Website Access Rules</th> </tr> <tr> ...
My latest book was just released. From Wrox – Professional Silverlight 4. This was a fun book to do as Silverlight is a great technology and will be one of the core technologies that will be used for so many applications now and in the future. Microsoft really put together something quite splendid here and you will find that this book is a good dive into the technology. The Silverlight 4 platform continues to add excitement to building rich Internet applications (RIAs), and it offers new user interface ...
In this Issue: Viktor Larsson, Roger Peters, Kirupa Chinnathambi, Kyle McClellan, Jag Reehal, Dinesh Sodani, David Rousset, Jeff Fansler, Paul Sheriff, Jeremy Likness, Mohamed Mosallem, and Jonathan van de Veen. Shoutout: The Visual Web Developer Team Blog posted Hot Fix Released for the Issue of Visual Studio 2010 Crashing When Switching to the Design View From SilverlightCream.com: Snipping databound properties Viktor Larsson has discussion of code snippets up in his latest post. He's specifically ...
Many, maybe even most, Windows CE devices are single purpose devices that have an application that fills the entire screen. So of course setting the application to entirely fill the display is important. In this article we will explore setting an application to display full screen using C/C++. My plan is to create a simple application that fills the screen with white and displays two buttons, exit and explore. Those may be odd buttons for a kiosk application, but they will come in handy while working ...
What is the MSMQ problem that you are most likely to encounter? The dreaded "Insufficient Resources" error. Unless you have a working knowledge of how an operating system actually operates then this error is going to cause mass confusion. For starters, which resources does it mean? Disk space? No, that has GBs free. Memory? No, task manager shows that there is more than enough still unused. So what's up? I've had a look at the MSMQ FAQ for the following list of possibilities (plus one or two others): ...
[Source: http://geekswithblogs.net/E... In my previous post, Cloud Services and Command-Query Separation: Part 2, I walked through a sample Command-Query Separated service bus solution using readily available cloud services for communication. In this one, I'll look at some of the implications of shifting systems integration to the cloud, compared to an on-premise ESB. The focus here is mainly on Amazon Web Services, but I'll cover Azure with a dedicated sample project. Cost & Non-Functional ...
For Windows Phone 7 developers, one of the more important pages on the MSDN website is the Design Resources for Windows Phone page. In particular, the UI Design and Interaction Guide for Windows Phone 7 (PDF) found there is something that every developer should read (and sooner rather than later unless you look forward to major redevelopment work at the end of your product’s development cycle). If you read it a while ago, check it out again as it’s now at Version 2.0 (updated and expanded quite a ...
One of my colleagues pointed me at Howard Baines as a recent example of a web consultancy already using Visual Studio 2010 and Entity Framework 4.0 to build web applications. I managed to grab a little time with co-founder Clive Howard (on twitter) to talk through some of the decisions, especially as I was intrigued to learn that they started out on Open Source Software including Ruby on Rails before switching to the .NET Framework. We discuss: Why switch to the .NET Framework? Entity Framework 4.0 ...
Make sure, for today at least, you navigate to “Downloads” instead of using the quick link on the right side. Summary This document is a collection of items from public blog sites, Microsoft® internal discussion aliases (sanitized) and experiences from various Test Consultants in the Microsoft Services Labs. The idea is to provide quick reference points around various aspects of Microsoft Visual Studio® performance testing features that may not be covered in core documentation, or may not be easily ...
I am working on a project testing some cool features and stuff that have to be done on a Mac. While I have been back and forth with MacBook Pros, this time I decided I should expand and extent my testing to the stuff that I do on a daily basis. Blogging is a challenge, tools available are not really all that flexible or feature rich. I have MarsEdit and Blogo. I do think Windows Live Writer is the best thing since ... sliced bread, seriously, I love that tool! But in order for this to work I had ...
I believe that every developer that works for someone has at least thought of becoming an Independent Developer at some point in his/her career. If I had to sum up the reason why, I’d pick these: 1. The freedom to pick the projects that you work on. 2. The ability to avoid worthless meetings. 3. Saying goodbye to incompetent co-workers. 4. Being able to do the project the ‘right’ way. (Which is typically your way - hopefully) 5. Getting the full reward for the skills you possess. I’m talking money ...
In this Issue: Michael Washington, Ezequiel Jadib, Kunal Chowdhury, Ernesto Herrera, Levente Mihály, Rob Davis, Sergey Barskiy, Jeremy Likness, Victor Gaudioso, and Jonathan van de Veen. Shoutout: Right on cue, Erik Mork and company posted This Week In Silverlight 7.23.2010 – Early Windows Phone 7 Reviews From SilverlightCream.com: Using The Silverlight DataGrid with View Model / MVVM Michael Washington has posted a tutorial on a pretty-much all-singing, all-dancing DataGrid (i.e. inline edits, button ...
And the day is Today. Today Tellago launches its new sister company “Tellago Studios” which focuses on developing Enterprise Software’s. The basic motive of the company is to convert the lessons we learn in our day to day life working with our customers while providing them Enterprise Software Solutions into new Enterprise Software. Many times using current technologies we feel that something is missing. What if we can also do this with this technology. We at Tellago, have this passion for innovation ...
Quick Link: download ASP.NET MVC Preview 1 It is a an exciting time to be a web developer. There are lots of new technologies from Microsoft coming out for the browser (IE9 changes everything), in the area of tooling (the brand new WebMatrix) and for the server – with ASP.NET MVC 3 Preview 1 released today (27th July 2010). Download and install side by side with MVC 2 If you have Visual Studio 2010 (The FREE Web Developer edition is fine) then you can safely download ASP.NET MVC Preview 1 (download ...
Any ramblings and blog posts associated with the UNISA ICT 2621 tag should be considered study notes for my lectures... Objectives of Chapter 1 Explain the key role of a system analyst in business. Describe the various types of system and technology an analyst might use. Explain the importance of technical skills, people skills and business skills for an analyst. Explain why ethical behaviour is crucial for a system analyst’s career. Describe various job titles in the field and places of employment ...
Lately I haven't been checking in code for new features without first calling over our team's design and QA members for a walkthrough. The process is really simple: I stand up in my cubicle, get them to take their headphones off, and ask them to come over to my workspace for 5 minutes. Usually I don't have to bribe them with jelly doughnuts. (Note to self: consider keeping a supply on hand, just in case.) As they watch over my shoulder, I give them a little demo of what I've been working on. They ...
Software Development Ken Schwaber Primer Guide Basics Scrum 12.00 Normal 0 false false false EN-US ZH-CN 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:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; ...
Technorati Tags: ASP.NET MVC,mvcconf I took the day off work today to "attend" mvcConf: the Virtual ASP.NET MVC Conference, and had a great time. Thanks to all of the presenters and organizers of the conference. It was a huge success, and I'm sure that like me, most of the attendees hope there will be another soon. It was amazing how smoothly everything went. There were only one session cancellation and very few technical difficulties (I experienced none, but people in the chat rooms reported a few ...
In this Issue: Kirupa Chinnathambi, Sergey Barskiy, Jesse Liberty(-2-), Shawn Wildermuth, Djonatas Tenfen, Yochay Kiriaty(-2-), Jason Zander. Shoutouts: Jeremy Likness follows up his Silverlight Profiling post with this one: Silverlight Profiling Part 2: The Easy Way Jeremy Likness also announced a release: Sterling OODB v0.1 Alpha Released! The Silverlight Team Blog announced Ooyala and Silverlight Bring the Beach Volleyball Open to You, Live! From SilverlightCream.com: Optimizing the On-Screen ...
Today I put out a new release for PowerSSAS. This release adds the following new cmdlets: backup-ASDatabase clear-ASCache get-ASConnection get-ASRole restore-ASDatabase It also includes a Powershell v2 .psd1 module file and includes the option to just download a zip file which can be copied into a folder your modules folder. So you can now install PowerSSAS without needing to have admin privileges. There are instructions on installing PowerSSAS as a v2 module here. I have also done some preliminary ...
Unit test suites are often used as a quality tool during the development process to keep the codebase stable as it changes and expands. Tools such as NUnit, MSTest are often used to run and report on the test suites. However, when implementing unit testing in your build process, you have no way of knowing how much of your code the unit tests are actually testing. This is where code coverage comes in. You can run NUnit, MSTest within the Code Coverage tool and use the report to determine which code ...
In the software development life cycle, testing and defect fixing take more time than actually code writing. In general, debugging is a process of finding out defects in the program and fixing them. Defect fixing comes after the debugging, or you can say they are co-related. When you have some defects in your code, first of all you need to identify the root cause of the defect, which is called the debugging. When you have the root cause, you can fix the defect to make the program behavior as expected. ...
Microsoft released yesterday the beta version of the Windows Phone 7 development tools, which was up until now in CTP. You can download it from here. It installs Visual Studio 2010 Express, Silverlight and XNA 4.0 for Windows Phone 7, Windows Phone 7 emulator and Expression Blend 4 beta. Yep, Expression Blend now installs with the beta version and you don’t have to install it separately which is nice. The beta version breaks some of the namespaces and classes from the previous April refresh CTP release. ...
I spent some time this afternoon testing lenses, just to see what my cheap DSLR lenses are capable of. I also wanted to know if my 50mm 1.8 prime lens produced sharper images than my 18-55mm kit lens. My test subject was a book on a shelf. The cover features small writing with sharply defined edges. From where I was sitting the writing was too small to read, and my eyesight is ok, as far as I know. I shot one image with each lens both using the following settings: 1.3” ISO 400, f7.1. Here are the ...
I recently had the privilege of taking part of a conversation about available blog engines with some of our Microsoft Community Leaders. I since got interested in finding out more about available .Net-based extensible blogging engines. Two days ago, I came across a link about Oxite, a codeplex ASP.Net MVC-based mature open source blogging engine (http://oxite.codeplex.com). While the Oxite project is no longer active, its source remains available and downloadable. Additionally, the future holds great ...
My day started out very rough. Hit a few rough patches early on, but then turned around to end as one of the best days of the year! I spent the night in the hospital last night. My wife had surgery yesterday and I stayed with her. No one wants to stay in the hospital, right? Bright and early at 6 AM, I went to the car and discovered a flat tire. I am a software guy. Changing a tire is too much like hardware. I have changed 3 flat tires career total. In the course of changing the tire, I learned a ...
In this Issue: Ben Hodson, Marcel du Preez, Karl Shifflett(-2-), Rishi, Chris Koenig, Adam Kinney, Xianzhong Zhu, Jeremy Likness, and CrocusGirl. Shoutouts: Victor Gaudioso posted an inteview: Checkout my Interview with Bytes on MSDN (Microsoft) The Silverlight Web Services Team poses this question: How can we make WCF support in Silverlight better? ... read and give feedback in the comments. Timmy Kokke has announced the opening of a new XAML resource site to bookmark: XamlResource.com Chris Bowen ...
Some time ago, I found myself in the difficult situation of trying to explain why business logic shouldn't be placed in the database, but instead in the code (preferably in a Business Logic layer or Object Model layer). The situation seemed so clear to me. It was striking how differently others in the team saw it. You may find yourself in a situation similar to this one, where you are working on a database that contains *many* business rules. Perhaps it started out as a set of tables that very closely ...
Normal 0 false false false EN-US ZH-CN 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:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ...
We software engineers and architects sometimes feel like the rope in a tug-of-war. Pulling from one side is the short-term goal of delivering functionality, preferably yesterday. Indeed, our customers cannot justify paying for our services unless we deliver a working product, better and faster than our competitors. Pulling from the other side, however, is the long-term goal of quality. If our code becomes too disorganized or hard to understand, we cannot long remain in business, because we will no ...