Sunday, 13 May 2012

Questionable UX of the SSIS expression builder

SSIS allows you to integrate quickly.
Microsoft obviously put huge effort into adapters for various sources and destinations - and it pretty straight forward stuff.
However some of the "small stuff" ,totally unnecessarily, becomes rocket science.
I needed to have a variable that evaluates to current date less one *calendar* month in format yyyy-mm-dd"

The,workable,end result I came up with is 408 characters for "today less a month".

Rule and expression builders should be massively simple for an end user to work with - otherwise don't bother adding them to a product.

'Expression builder' more like spaghetti builder, C# scripts all the way from now on!

(DT_STR,4,1252)DATEPART( "yyyy" , DATEADD("DD",DATEDIFF("DD",(DT_DATE)"1/2/1900",GetDate()),(DT_DATE)"1/1/1900")) +"-"+
RIGHT("0" + (DT_STR,4,1252)DATEPART( "mm" , DATEADD("month",0,DATEADD("DD",DATEDIFF("DD",(DT_DATE)"1/2/1900",GetDate()),(DT_DATE)"1/1/1900") ) ), 2) + "-"+
RIGHT("0" + (DT_STR,4,1252)DATEPART( "dd" , DATEADD("DD",DATEDIFF("DD",(DT_DATE)"1/2/1900",GetDate()),(DT_DATE)"1/1/1900") ), 2)




Thursday, 26 April 2012

Google launch Google Drive



Google launched their much awaited 'cloud' file storage solution Google Drive  April 24, 2012


Drive extends Google Docs docs.google.com and introduces platform capabilities for third party software [think editing, collab etc for files stored in the ether]
I've used Google docs for a long time and keep many documents there , very handy and easy to share and provides a great user experience. 


OS Support:
It looks like their client , to allow syncing, supports all major os's bar linux at present, with support for Macs, PC's, Android, iPhones


Possibly Downsides:
I personally have confidence in Google's Privacy policy believing their 'do no evil' motto but you may wish need to read the terms of service fully.
"You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours."
It is likely that your documents will be parsed to better serve advertising content at the very least. The ownership of derivative works is confusing.


Talking Turkey:
5GB of storage for free
with option to upgrade storage 
  • 25GB for 
  • USD$2.49/month, 
  • 100GB for 
  • USD$4.99/month
  •  1TB for USD$49.99/month.
Video:

Monday, 16 April 2012

Choosing the Right Microsoft Reporting Technology



Accurate and timely information is the cornerstone of a good business decision.


Today, in the Microsoft space there are a myriad of tools available to architects when choosing a reporting technology for their projects.
Perhaps ironically there is need to apply some business intelligence ourselves when choose the proper and correct technology.


Some factors to consider when making these technology include ...
  • Your specific and detailed business need is by far the most important factor.
    • I need to know how many apples I sell each month
    • We need our sales team to receive a pdf each week detailing target graphically
  • The cost implementing a technology {Hardware, Licencing, Training,Services]
  • Ease of integration
  • Usability
  • Any potential future necessity to scale 
  • The abilities of your current employees or IT partner
  • The accessibility/portability of information {mobile, web, pdf , email, scheduling}
Fundamentally , and indeed under the hood in Microsoft technologies,  all reports will have common characteristics. Here are some resources to help you determine what Microsoft technology to use and when.


1. 
Devin Knight a has a fantastic series of posts , listed below,  on choosing your reporting technology
Choosing the Right Microsoft Reporting Technology by Devin Knight

2. 
Many business are using Dynamics CRM as the platform for their business applications. John O' Donnell's Channel9 Video on Reporting with Microsoft dynamics CRM provides a intro to it's reporting capabilities leveraging reporting services






3. 
If you are looking to extend say an an existing asp.net application to include reporting functionality it is certainly worthwhile checking out the Microsoft Chart ControlsThese, along with the many list/grid controls, can provide you with the ability to present your information beautifully.

Monday, 9 April 2012

Open Source ASP.NET MVC, Web API and Razor

Continuing moves that strengthen Microsoft's relationship with the open source community; Microsoft have announced the availability of key ASP.NET software under an open source license (Apache 2.0).


ASP.NET MVC, Web API, Razor and Open Source - ScottGu's Blog
"You can now browse, sync and build the source tree of ASP.NET MVC, Web API, and Razor on the http://aspnetwebstack.codeplex.com web-site"


There are over seventy forks at time of writing!

Sunday, 8 April 2012

SQL Server 2012 Overview


Microsoft's SQL Server 2012 was released to manufacturing this month.The launch event can be 'attended' at sqlserverlaunch.com and 180 day trial versions are available from here.


Editions
Microsoft's SQL Server 2012 offers 3 principal editions , in an effort to simplify purchasing decisions and align editions with common deployment scenarios.
  • Enterprise [Full Features set]
  • Business Intelligence [same features as Standard + 'premium BI features' useful to corporates]
  • Standard [includes database reports and analytics capabilities]
In addition to the above principal editions SQL Server 2012 specialised editions are also available
  • Developer [for non-Production use: demo's, testing and development , not free ]
  • Express
  • Compact
  • Web Edition [for hosting and Value-added IT providers – service providers .]
All editions are offered on 64-bit and 32-bit windows architectures.
Typically you would run SQL Server 2012 under Windows Server 2008 R2 operating system.
This could be either a standalone server or virtual machines instance running under the Hyper-V role.

Licensing
Licensing models for SQL Server 2012 are as follows
  1. Computing Power [Core based Licensing]
    The number of physical cores is used as the metric of 'Computing Power'
  2. Number or Users/Devices [Server + CAL]
    Enterprise Edition will be licensed via on Computing Power only [after June 2012]
    Business Intelligence Edition will be available per 'Number or Users/Devices' model.
    Both licensing models will be available for Standard Edition.
    Computing Power [Core based Licensing]
SQL Server 2012 licensing for Computing Power is based on the number of physical cores. a shift away from processor based licensing model seen in previous versions of SQL server.

You are required to license all cores with a minimum of 4 cores licenses required per processor.
So a notional 5 core processor would require 5 licenses and a single core processor would require 4 licenses!
The number of cores applicable to your processor is represented by the 'core factor' or the actual number of cores. The SQL Server Core Factor Table is available at this link

To calculate the required license when using this model you multiply the number of cores by the core factor.
Recent information from Microsoft would illustrate core licence cost as follows...
Enterprise Edition Per Core License USD $6874
Business Intelligence Per Server License USD $8592 [CAL's sold separately]
Standard Edition Core Server License USD $1793

If you plan on using Business Intelligence Edition and you are more comfortable with Core based Licensing then Enterprise Edition would be a more appropriate purchase for you.

Number or Users/Devices [Server and Client Access Licensing]
If you can easily count the number of clients that will access SQL Server thaen this is an appropriate licensing model for you. You may for example have a set number of applications that interact with SQL Server for some transaction processing. In this licensing model you must license each individual SQL Server , further to access a SQL Server the client must have a relevant CAL (in the same version or greater!)
A SQL Server 2012 CAL can access any licensed SQL Server including legacy Enterprise Editions.

Recent information from Microsoft would illustrate Client Access License cost as USD $209

Virtualisation + Licensing
Figuring out the licensing for virtual environments gets interesting. The same 2 licensing models apply but your decision will be based on your actual requirements. The per core licensing is a direct response to the fact that many organisation are now running up multiple virtual machine instances – operating a 'private /corporate cloud' ; either managed directly or outsourced.

SQL Server 2012 offers more flexibility for customers deploying to virtual environments. You can license the physical server with Enterprise Edition core licenses and include Microsoft Software Assurance - which will allows for certain amounts of running up and tearing down of environments with out affecting licensing.

When calculating core license cost for VM instances the 'core factor' mentioned above does not apply -but each VM requires a 4 core licence minimum (a VM with 4 virtual cores requires 4 core licenses , a VM with 4 virtual cores requires 6 core licenses , a VM with 2 virtual cores requires 4 core licenses)


A four processor/CPU server with four cores per processor that is fully licensed with sixteen core licenses will allow you to run SQL Server software in up to sixteen Virtual Machines.
You can also individually license each Virtual Machines (VM instance) -the only option for Standard Edition on a virtual environment. Further you can go the Server License per VM and individual CAL per user route

As stated your actual usage scenario needs to be assessed, it is common to have multiple virtual database servers used by Test, UAT, Development, Build, Pre-Production etc.

Microsoft Services Provider License Agreement (SPLA)
If you provide hosted application of software services to your customers you should consider volume licensing under the Microsoft Services Provider License Agreement (SPLA).An example of such services would be offering a line of business application whereby you and not your customer are the licensee or the Microsoft product.

Who can help you make the correct decisions?
Pinpoint.Microsoft.com should be used to determine best fit Microsoft Partners.
I recommend that you find Microsoft Partners that have a 'Data Platform' competency.


Independent consultants, such as myself, can help you clarify your current and potential requirements ,], determine what technology is best suited to your business and access how any purchases could impact your current IT investments. There are definite questions you should put to potential providers BEFORE you commit your hard earned money.
Your IT professional or an appointed 'champion' in your organisation should prepare a list of questions for an initial consultation – many partners will provide an assessment for free.
Your chosen database technology is a foundation for your business and will have a directly effect on customer experience.
As with any major purchase correct procedures, oversight and due diligence are paramount.
When making a decision on the database platform for your organisation a number of factors will influence your decision.

  • Current or planned IT infrastructure investments and associated compatibility
  • The maturity of the product line.
  • Any costs associated with training employees.
  • The Actual and specific features that will be of benefit to your business
  • The uptime/availability required by your customers (24/7 or Business 9 to5 , Is downtime allowable/planned
  • Any MIS /BI capabilities does your organisation need to support decisions?
    • Do your decisions rely on accurate timely data (Sales, Stock Forecasting etc
  • What sort of integration scenarios does your organisation need?
  • Availability of employees or IT partners with a level of competence in the technology
  • The suitability of the technology to any product roadmap or business strategies.
Recommended Further Reading & Resources?
  1. See the SQL Server Trial Software Web Site.


Cumulative update package 1 for SQL Server 2012





Thursday, 5 April 2012

Visions of the Future from Google.

Google's Project Glass augmented reality glasses.
One day your eyewear* will show you maps, allow you to calls, listen to music videos, check-in, search the net.

* Should that be eyeware?
Aidan


and with the ads...

Friday, 16 March 2012


If at first you don't succeed - start a revolution!

A few short years ago, before the iPhone, Apple announced the 'iTunes Phone',the ROKR (E790), a handset with with a version of iTunes client from mobile pioneer Motorola.

Funny how things change in such a short space of time - less than two years apple launched the first generation iPhone today's dominant smartphone.

Motorola's handset division, now owned by Google, today offer Hansdsets + Tablets all running on the Android os - check out the XYBOARD

Who will start the next revolution?
Would such involve traditional device manufacturers or is it destined to be driven by Microsoft, Google and Apple?

Here's an interesting video where Steve jobs announces the "iTunes Phone". Spot the awkwardness at 3:49!




Thursday, 1 March 2012

Visions of the Future from Microsoft.

Visions of the Future from Microsoft.

"future technology will help people make better use of their time, focus their attention, and strengthen relationships while getting things done at work, home, and on the go"


Thursday, 26 January 2012

Tuesday, 17 January 2012

Wikipedia gone dark ... curse you SOPA!!!

What will I do for the evening, how will I get random useless information?
Learn more about SOPA and PIPA


Sunday, 15 January 2012

All this hype about Office 365 - a quick look

I signed up for a trail of Office 365 , a SAAS offering of those familiar, ubiquitous  Microsoft Office applications.


Having launched to most of the world last June , I'm a bit late to the party but was interested in taking a peek at it's capabilities. It seems to be advertised everywhere now.


Signing up to the  trial and checking it out  is well worth a few minutes of your time - even just to get an idea of how 'rich in functionality' future web apps are going to be.
In particular I was interested in how excel works 'in the cloud'.  


Excel in Office 365 falls under their Office Web Apps banner , browser-based scaled down versions of of Excel, 

Word, OneNote and PowerPoint


After signing in and a quick few clicks  I was in firing away on a excel-esque interface via my browser. I was able to produce pretty convincing workbook , a few tables here and there, a pie chart and use some formula and formatting same as I would offline.






There is slight lag , you see the old 'progress indicator ' every so often but overall it's a comfortable experience.


You can download your workbook locally ,take a snapshot with only the values and even email it from you 'outlook in the cloud'. Autosave is a nice feature too.


Worth a look.



Wednesday, 28 December 2011

Denial-of-service vulnerability affecting many web app servers including ASP.Net


On Wednesday Microsoft issued a security advisory regarding a newly disclosed exploit that allows attackers to run up CPU usage to near 100% on almost all of the popular web server/frameworks including ASP.Net.

Repeated issuing of "specially crafted" http posts can degrade performance relating to the processing required for hash table inserts. The advisory suggests to configure the max request size, with a security patch likely to follow.

http://technet.microsoft.com/en-us/security/advisory/2659883

"It is possible for an attacker to send a small number of specially crafted posts to an ASP.NET server, causing performance to degrade significantly enough to cause a denial of service condition. Microsoft is aware of detailed information available publicly that could be used to exploit this vulnerability but is not aware of any active attacks."


http://blogs.technet.com/b/srd/archive/2011/12/27/more-information-about-the-december-2011-asp-net-vulnerability.aspx

https://twitter.com/#!/search/%23hashdos




Sunday, 9 October 2011

Redesign of www.asp.net website

I'm really liking the new design for www.asp.net
While it is still in beta, the layout and content organisation are definitely improvements.
Visual Studio Express installation and Web Pages are very prominent , hinting that Microsoft are eager to get newbies using asp.net and visual studio.
The learning resources (videos, samples etc) in all three flavors of asp.net seem consistent and there may even be some content refreshes!
Worth checking out folks..
Aidan

Sunday, 25 September 2011

Bug? Dress it up and call it a 'feature'.

I've seen this somewhere but I couldn't find the original. Here's my take..
Bug? Dress it up and call it a 'feature'.



Tuesday, 13 September 2011

TFS 2010 CI Builds and writeable .config transformations file

Visual Studio 2010 /.Net 4 provides a useful feature config transformations.

This give you the ability to magically transform your .config files , replacing settings with those appropriate to particular builds/environments.

For example you might have Web.Dev.Config”, and  Web.UAT.Config” and Web.Release.Config” .

If you are using TFS 2010 Build for continuous integration - which under the hood uses MSBuild- you may hit an issue whereby your destination file isn't writable ...”Access Denied”  thus TFS Builds fail...”Access Denied”

A simple way to resolve the issue is to add an msbuild command to make the file writeable in you in the afterbuild target defined in your .csproj, as highlighted below.


By making the file writable your TFS continuous integration builds should complete successfully.

Some useful related links.

Over at the blog Kam's Idea Log there is a great post detailing how to apply the transform.

TFS 2010 Build Guidance on MSDN

Saturday, 10 September 2011

ASP.NET ScottGu's vNext Series

The ingenious Mr. Scott Guthrie, whom I had the pleasure of meeting in 2006 in Dublin, has recently announced a new series of asp.net blog posts, the ASP.NET vNext Series.

Covering both Web Forms and MVC the posts will detail new IDE features and improvements in Visual Studio and ASPNET in general to improve the developer experience such as the following example showing event handler generation from the source code view.



Looking forward to more post from The Gu.

Sunday, 24 July 2011

Linux celebrates 20 years

Linux celebrates 20 years, Microsoft send cake, kinda.

Microsoft   vs. and   Linux

Sunday, 17 July 2011

Setting up a Learning Plan for a Microsoft exam.

I'm currently working on passing the .net 4 web certification, exam 70-515.

The Microsoft Press book contains 14 chapters and nearly 1000 pages, so clearly a study plan is required.

Similar to developing software, it is advisable to break down the content into manageable chunks. Fortunately, Microsoft provide learning plans/guidelines which will help you do exactly this : http://learning.microsoft.com

To set up the learning plan, first sign in then search the catalog by the exam code.
In the results, select the link listed under 'Learning Plans'.

You can then add the learning plan, view any available resources for a particular step ,for example: MSDN articles. You can mark these steps as 'complete' to track your progress toward getting that certification. 
In my opinion, a very useful study aid.
 
Setting up a Learning Plan for exam 70-515

Saturday, 9 July 2011

Google+ , should Facebook be worried?

You may have started to receive the occasional email requesting you to join Google+ “Google Plus”; Google’s latest foray into the realm of social networking launched on June 28th, plus.google.com

“The Google+ project is currently working out all the kinks with a small group of testers. If you're not able to access Google+, please check again soon.”

The email contains the usual “perceived scarcity” sell, but it does seem interesting in particular the new lexicon they’ve introduced: ‘Circles’, ‘Hangouts’, ’Huddles’ etc.

So I tried it out...

Overall it is a pleasant experience which should improve as it leaves beta. Google+ has their characteristic minimal interface you’d be forgiven for assuming there isn’t much to it, however the concept and UI to allows you to groups people into ‘circles’ is pretty impressive as is the automatically inclusion of your Picasa albums.

There is much speculation that Blogger and Picasa , GoogleSites and even Buzz (?) will fall under the Google+ branding.

When combined with YouTube, Gmail and Google’s mobile apps Google+ will have access to much ready-made content and users meaning they could be onto a winner here.

It will be interesting to how much momentum Google+ gains in the coming months.

Larry Page's Google Plus page per the Team blog