News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
Test Review #2 – ASP.NET MVC Unit Tests  [click for more...]

See other reviews:

Here’s the second video review of Unit Tests. This is another one written by Microsoft – ASP.NET MVC (source).

First, it’s important to state how surprised I was by the high quality of the tests in MVC. The tests are readable, maintainable and trustworthy, with very little issues that I could find. whatever Issues I found are rather easy to fix. In any case, if one is looking for examples of systems written in what seems almost entirely in TDD, or at the minimum with very good testing guidance, ASP.NET MVC should be a good stop to look at.

Issues discussed in this video:

  • Implementing RowTest with MSTest, and the importance of naming (14:00)
  • Verify() that is splitted from the mock expectations (17:00)
  • some naming conventions
  • Over-specification in tests (mainly more than one mock object per test)
  • verifying mocks when it’s not required
  • logic inside tests (concatenation)
  • test factory methods with too much logic
  • a very good example of when multiple asserts is really bad (11:50)

Again – I’m very pleased with the test quality. Now is the time to make sure the things above are fixed. they are still important!

23/03/2009   [Link]
Windows Azure Tools for Microsoft Visual Studio March 2009 CTP  [click for more...]

On Friday Microsoft released March 2009 CTP of Windows Azure Tools for Microsoft Visual Studio. You have to remove previous releases of Azure tools before installing new one. 

New stuff in CTP:

  • Combined installer includes the Windows Azure SDK
  • Addressed top customer bugs
  • Native Debugging of Cloud Service Roles
  • FastCGI Project Template
  • Update Notifications of future releases

Windows Azure Tools for Microsoft Visual Studio includes:

  • C# and VB Project Templates for building Cloud Services
  • Tools to change the Service Role configuration
  • Integrated local development via the Development Fabric and Development Storage services
  • Debugging Cloud Service Roles running in the Development Fabric
  • Building and packaging of Cloud Service Packages
  • Browsing to the Azure Services Developer Portal
  • SSL Certificate selection

So, I start installing now. :)

23/03/2009   [Link]
Enterprise Library 4.1 and Unity 1.2 Hands-on Labs Download - Patterns & Practices  [click for more...]

Good news: the long-promised Hands-on Labs for Unity has been released! 

Get it from here, read about it here.

23/03/2009   [Link]
Google Chat Desktop Application using Jabber.Net  [click for more...]
A simple Google chat ( gtalk ) application using Jabber.Net
23/03/2009   [Link] $enthi£
IIS and IBM links don't necessarily cooperate. Here's how to fix!  [click for more...]
Bookmarking for another day. I've never encountered this, but it's good to know. http://blogs.technet.com/ben/archive/2009/03/21/iis-link-parsing-wreaks-havoc-when-ibm-servers-are-involved.aspx Steve...(read more)
23/03/2009   [Link]
ASP.NET MVC 1.0 Final Release  [click for more...]

I will certainly not be the first, nor the last, but here it is. ASP.NET MVC 1.0 final version is released.

Download ASP.NET MVC 1.0 here.

23/03/2009   [Link] sander.nospam@nospam.solvec.nl (Sander Gerz)
How to Create an HTML Editor for ASP.NET AJAX  [click for more...]
This article discusses how to create an HTML editor server control specifically for the Microsoft AJAX environment.
23/03/2009   [Link] Eric Williams (winthusiasm.com)
Javascript compressing and more  [click for more...]

Guillermo writes about a website that can compress javascript files. It does a really good job, but when I downloaded the result, it was unreadable.

O="functioresultarkervar conercatch(    windowoundstionif(atTemp uetails r){}eh
 

Would a browser still understand what to do? Well, it certainly did. Just make sure that you need to define the charset for the script:

   1: <script src="[yourscript]" type="text/javascript" 
   2:     charset="ISO-8859-1" ></script>
 
So not only is your javascript compressed, it’s also obfuscated in such a way that others cannot easily see what it’s doing or make modifications for their own purpose.
23/03/2009   [Link] sander.nospam@nospam.solvec.nl (Sander Gerz)
Commerce Server 2009 Announced at MIX09  [click for more...]
CS2009 offers developers a new unified programming model enabling true cross channel development, and integration with SharePoint to build sites rapidly out of the box. Find out more about the power of Commerce Server 2009.
23/03/2009   [Link] ASP.NET News
Using RSA Public Key Encryption in a Shared Web Hosting Environment  [click for more...]
This article provides a way to use RSA public key encryption in scripts running on a Web server hosted by a shared hosting company. It also demonstrates how to use RSA in .NET to solve the 'real world' problem of signing license codes so that they cannot be forged.
23/03/2009   [Link] Paul Sanders (AlpineSoft)
A C++ Style of Intercepting Functions  [click for more...]
This article is about detouring functions in a more safe C++ programming style.
23/03/2009   [Link] armagedescu
NerdDinner.com  [click for more...]
NerdDinner.com is an event management site so computer folks can meet and talk technology over a meal. It uses ASP.NET MVC along with jQuery, ASP.NET Ajax, Virtual Earth Javascript controls, and LINQ to SQL. It’s also a real site running at NerdDinner.com that you can use to schedule geek meet ups and nerd dinners in your neighborhood! It’s Open Source and hosted at CodePlex so you can expect to see updates and new features in the coming months.
23/03/2009   [Link] ASP.NET News
ASP.NET MVC RTM Now Available  [click for more...]
ASP.NET MVC enables Web developers to build Web solutions that are easy to maintain because it decreases the dependency between layers by using the Model-View-Controller (MVC) pattern and provides complete control over the page markup. Want to learn about ASP.NET MVC but don’t know where to start? View a walkthrough of building a basic Movie Database application using ASP.NET MVC.
23/03/2009   [Link] ASP.NET News
Customary Functions of GridView in ASP.NET 3.5  [click for more...]
The most advanced things which you can do with GridView in ASP.NET 3.5
23/03/2009   [Link] Behrouz Rad
MIX Slides, Code, and Session Recording  [click for more...]
Thanks everyone for the incredible amount of feedback that I got after my two talks at MIX last week -- I'm still receiving emails. I've added links to the video recordings of the talks below: ASP.NET 4.0: What's Next? ASP.NET: Taking AJAX Read More......(read more)
23/03/2009   [Link]
Firefox May Already Be Dead (PC World)  [click for more...]
PC World - This is an exciting time for Web browsers. Google Chrome is now available in alpha for Linux, and I downloaded it for Ubuntu. Despite the fact that I was running it on my rather underpowered Dell Mini 9, it started in the blink of an eye. Additionally, any JavaScript-heavy sites like Gmail or Google Docs were so responsive that it's almost unbelievable.
23/03/2009   [Link]
Playboy Posts Unedited Back Issues Online, for Free (PC Magazine)  [click for more...]
PC Magazine - Playboy has published 53 unedited back issues of its magazine online via a partnership with Bondi Digital Publishing and Microsoft, using its Silverlight media player.
23/03/2009   [Link]
Preview 2 of the WCF REST Starter Kit  [click for more...]
Preview 2 of the WCF REST Starter Kit is now available for download! The WCF REST Starter Kit is a set of .Net Framework classes and Visual Studio features and templates that enable users to create and access REST-style Windows Communication Foundation (WCF) services.
23/03/2009   [Link] ASP.NET News
Mix09: Overall thoughts  [click for more...]

As I mentioned during the conference, it suddenly seemed very silly to me to be blogging about the conference, when there was already plenty of that going on. I know I found it annoying that my RSS feeds were filled with posts about the same things, so there was little reason for me to add to that noise. But now that it's truly in the books, I think it's a good time to give my overall impression.

This was my third time, and it definitely was the charm (I missed the '07). I got to go on my employers dime again, which is something I quasi-negotiated when I took the job. The biggest value of going to a conference is still the conversations you have at meals or in the halls, without a doubt. Yes, you can watch the sessions online, but that lacks the human component. You can't share knowledge that way.

The keynotes are known as a platform for being product announcements. While that's very exciting to see live, and sure motivates us, it doesn't add a lot of value to the conference. What's cool about it is this year was that we got really good keynotes to go along with it. Not that I don't love Scott Guthrie (his video was hilarious), but you really want to see some big thinkers too. Bill Buxton and Debrah Adler were outstanding. I really got into what they had to say, more so than Ballmer or Gates in previous years. Those were definitely highlights for me.

The regular sessions included the kinds of deep dives I would expect, and they were 85% solid. I walked out of a couple, both from third-party speakers that had almost nothing to really add. What I didn't find on the agenda were the kind of process oriented sessions I've seen in previous years (except for one of those that I walked out of). I also didn't find that I was in a room with the creative people enough, and I'm not sure how you manage to create more situations like that outside of meals.

Overall, I enjoyed myself, and had the kind of brain rot by the end that you expect to get given the density of information you encounter. The biggest suggestion that I could make is to somehow classify sessions in terms of their level of difficulty or sophistication, and sequence them in a logical manner. There was so much Silverlight and MVC that I felt as if I had seen the same thing several times.

On a less important note, I think they failed to meet the kinds of dietary needs people have. If you were a vegetarian, you were screwed, limited to rice and salad. Seriously, did red meat have to be on every plate? And couldn't a sandwich just have good old wheat or white bread?

On another side note, epic win for Apple and the battery life span of the 17" MacBook Pro. Granted, I typically had the screen dimmed almost entirely (it's too bright for those dark rooms), but I actually got a real eight hours of use (plus sleeping) one day doing regular e-mail and Web stuff. Naturally, video, Flash and Parallels are things that greatly reduce the life span.

23/03/2009   [Link]
On the way back from Mix 09  [click for more...]
AT&T have kindly opened up their internet for the weekend (at Philly airport) which gives me a good opportunity to update my blog a little bit. This week I popped over to Las Vegas for the Microsoft Mix 09 conference. A conference which puts together developers and designers and brings them to one. I won't go into details on the Keynotes or Sessions at this point cause I do eventually have a plane to catch but I'll follow up with a longer blog post about the sessions I saw and what I thought...(read more)
23/03/2009   [Link]
Copyright © 2007 Solentive | Disclaimer | Contact | Home