Development by Davis

Headlines

jueves, 11 de octubre de 2012

Development by Davis: “Organization innovation and employee empowerment at the Bank of New Zealand” plus 3 more

Development by Davis: “Organization innovation and employee empowerment at the Bank of New Zealand” plus 3 more


Organization innovation and employee empowerment at the Bank of New Zealand

Posted: 11 Oct 2012 03:00 AM PDT

hack the system

The Bank of New Zealand was founded in 1861 and, on the verge of bankruptcy, purchased by the National Australia Bank Group in 1992. The acquisition was completed in 2003. It was rebranded BNZ, with a new logo and colors in 2008, to better align with its parent company, now known as NAB. BNZ promised its individual, agricultural and business customers positive, flexible and efficient service; access to a network of specialist expertise; and ongoing innovation.

read more


LightSwitch: a small guide for migrating apps from v1 to v2

Posted: 11 Oct 2012 01:47 AM PDT

I have been recently busy in migrating a quite complex LightSwitch application from v1 (2011) to v2 (2012) and so I'd like to share some considerations that can be useful before you start the migration process.

Actually, the process is very simple but requires you to pay attention against the following aspects.

Extensions and 3rd party components

If your application uses extensions or controls by 3rd party producers, it is particularly important to ensure that a version supported by Visual Studio 2012 exists. In most cases, extensions for v1 are also correctly recognized and used in v2, but this is not a rule. So, before you do anything else, create a new empty LightSwitch project in VS 2012 and check that everything you need is available in the Extensions tab of the project's properties. If not, check for the availability of a new version. If one is not available, make an installation repair of the controls so that they can be recognized by VS 2012 if this has been installed after the extensions.

Server side: prerequisites

If your application is going to be published onto a Web server, as it often happens, you just need to install the .NET Framework 4.5 and the Web Deployment 3.0 tool. Assuming you are publishing the upgraded app onto the same server of the previous version, the Visual Studio LightSwitch 2011 server prerequisites are still good for version 2012, so you don't need anything else. Let me suggest to download the Web Deployment tool via the Web Platform Installer which makes things the appropriate way.

Server side: the database

Unless you want to upgrade to SQL Server 2012, your existing database will not need any changes since LightSwitch 2012 still supports previous versions of the db engine. Really cool.

Client side: Silverlight 5

Of course LightSwitch 2012 relies on Silverlight 5, so clients that will access your application will receive a warning which says that Silverlight must be also upgraded to version 5. In scenarios like the one I work for, so a Windows domain and users with limited privileges, this is a thing to take care about since if you want to avoid the need of (or you can't from remote connections) go to every workstation and logon with admin credentials to install the plug-in, you might want to plan a distribution like a WSUS server.

Silverlight projects with custom controls

In LightSwitch 2012, when you open a solution containing a Silverlight project exposing custom controls, such a project will not be automatically upgraded to version 5. For this reason, you must upgrade the project to version 5 of Silverlight by changing the project properties, but most importantly you need to upgrade references to assemblies if an updated edition targeting Silverlight 5 exists. Consequently, if an updated version of the assemblies does not exist, do not migrate. It is a good way to avoid a number of problems.

Deployment

The LightSwitch 2012's Publish Wizard now includes some more options especially when publishing to Web servers, but it is not mandatory to use them when upgrading. You won't change the previous settings and you can still publish the same way you did with version 1. Cool  However, let me give you a suggestion based on my practical experience: if you use 3rd party extensions or libraries, after you upgrade these components as well and before you publish to the server, remove the Bin subfolder from the application folder on the hosting Web server. After you have done this, go publish! The reason is that LightSwitch is careful enough to update all the required components, but it can happen that not all of them are replaced with updated versions. By doing so, it will deploy all the correct files. Of course, make a backup of the Bin subfolder.

Conclusions

According to my personal real-world experience, these have been the most critical points when upgrading a LightSwitch application from v1 to v2. Keep in mind that Visual Studio 2012 will also upgrade the .LsProj file, which cannot be reverted. So, even if the IDE makes a backup, make one yourself: you never know. 

Happy migration!

Alessandro


Choosing a license for your work

Posted: 11 Oct 2012 02:00 AM PDT

creative commons
Do you use a Creative Commons license for your work?
Yes
No
I've thought about it.

Creative Commons

  • helps you share your knowledge and creativity with the world
  • develops, supports and stewards legal and technical infrastructure
  • maximizes digital creativity, sharing, and innovation

read more


Silicon Valley Leadership Group Selects AMD to Host 2012 Data Center Efficiency Summit

Posted: 10 Oct 2012 12:00 AM PDT

AMD (NYSE: AMD) today announced that it will host the Silicon Valley Leadership Group's fifth annual Data Center Efficiency Summit on Oct. 24 at AMD headquarters in Sunnyvale, Calif.  Thanks to AMD's efforts to reduce data center power with...


No hay comentarios:

Publicar un comentario