»
S
I
D
E
B
A
R
«
The November version of the Windows Azure SDK and Tools
Nov 15th, 2009 by evereq

Download them here.

New in the November 2009 SDK (quote from Microsoft Windows Azure team newsletter):

  • Windows Azure Service Runtime managed library: The latest version of the Service Hosting Runtime API includes support for enhanced communication between roles and for runtime notification of service configuration changes. Direct communication between role instances enables new application development scenarios, including applications that distribute state across role instances. Service configuration changes include an increase or decrease in the number of request role instances and changes to the values of configuration settings.
  • Windows Azure Diagnostics managed library: The new Diagnostics API enables logging using standard .NET APIs. The Diagnostics API provides built-in support for collecting standard logs and diagnostic information, including the Windows Azure logs, IIS 7.0 logs, Failed Request logs, crash dumps, Windows Event logs, performance counters, and custom logs.
  • Certificate Management: Enhanced support for SSL certificates in Windows Azure and in the Windows Azure SDK enables the secure automated deployment of certificates to services hosted on Windows Azure.
  • Variable-size Virtual Machines : Developers may now specify the size of the virtual machine to which they wish to deploy a role instance, based on the role’s resource requirements. The size of the VM determines the number of CPU cores, the memory capacity, and the local file system size allocated to a running instance.
  • External endpoints for worker roles. A worker role may now define any number of external endpoints for HTTP, HTTPS, and TCP, and specify the desired port number for any external endpoint.
  • Persistent local resource storage: Developers can now choose to persist data written to a local storage resource at runtime when the role is recycled.
  • Windows Azure Storage Client managed library: The Storage Client library provides a .NET API for accessing the Windows Azure storage services.
  • Improved Development Storage: Development storage provides a high-fidelity simulation of the Windows Azure storage services in the cloud. Tables can now be created dynamically in the development storage Table service and are no longer required to be generated in advance.
  • Updated samples: The samples included with the Windows Azure SDK have been updated to demonstrate new features. The samples now include both C# and Visual Basic versions.

As we can see – a lot of improvements and new features introduced in this release. I will made review of them right after will have time to check (hopefully today later)! In any case, glad that MS improve Azure SDK so quickly!

Update: after installation and first review, I found following:

  • It seems like Microsoft finally have “official” Client library for Azure Storage. The name is same like from samples before, i.e. “StorageClient”, but now it is in “Microsoft.WindowsAzure.StorageClient” namespace, not like “Microsoft.Samples.ServiceHosting.StorageClient” that was before! It is also VERY extended and improved, so if you going to use Azure Storage, for sure you need to use this library (and I am also going to use it in my EvejobAzNET project) – it give you access to Blob Service, Queue Service and Table Service! Sure like before, it is possible to use simple .NET Client Library for ADO.NET Data Services (and new library use it inside anyway, just check that it reference System.Data.Services.Client library inside)… But with official Azure Storage Client library a lot of tasks become much more simple! You can found this library (*.dll) in “c:\Program Files\Windows Azure SDK\v1.0\ref\” folder, together with other useful binaries!
  • It is possible now to use another “official” library to get programmatic access to most of functionality available before only from Azure Developer Portal (and actually I don’t know why, but for some reasons Portal works and looks not best way! You can google, A LOT of people complain about issues with this!).
  • A new Library for Logging and Diagnostic functionality was added to SDK (Microsoft.WindowsAzure.Diagnostics namespace) - feel free to review samples in SDK (zip archives available in root folder of SDK installation, i.e. in C:\Program Files\Windows Azure SDK\v1.0 by default – samples-cs.zip for C# version and samples-vb.zip for VB version)
  • A lot of other improvements / features was added that relate mostly to development / production environment (Visual Studio Azure support, new release of Development Fabric etc) – they not change significantly your code / application design, instead of features described above that I highly recommend to review in case if you develop for Azure!
Evejob Development Environment Installation Part #7: Installation of MySQL Database & Tools
Nov 1st, 2009 by evereq

We are going to use MySQL database for all “Evejob” versions, except versions for  .NET platform.

So let’s install MySQL Community Edition Server. You can get installation files from http://dev.mysql.com/downloads/mysql/

Be sure that you download 64 bit version for Windows, like Windows MSI Installer (AMD64 / Intel EM64T), from here http://dev.mysql.com/downloads/mysql/5.1.html#winx64 for example.

Installation of MySQL for Windows is simple operation (in contrast to configuration MySQL for production usage), so I will skip installation steps here… We can leave all settings by default – it’s enough for development purposes on local machine.

To manage database you can download GUI Tools from http://dev.mysql.com/downloads/gui-tools/.

Also note that exists A LOT of free / not free and excellent tools to manage / design MySQL databases (for both development and production).

I will list here just some of them:

  • MySQL Workbench – “visual database design application that can be used to efficiently design, manage and document database”
  • Navicat for MySQL – powerful database administration and development tool (without complex visual design features) available in both commercial and Non-commercial (Free) Lite version
  • DevArt dbForge Studio for MySQL – “cutting-edge administration tool and development environment for professional working with MySQL databases” and this is TRUE! Best that I see for MySQL!!! Highly recommended! Sure Express version (that is free) is very limited, so probably after 30 days trial period you will buy Non-Commercial Professional Edition License (cost only 99$) or Commercial for 199$ (more info about versions / prices here)
  • SQLyog MySQL – “the most powerful MySQL manager and admin tool, combining the features of MySQL Query Browser, Administrator, phpMyAdmin and various other MySQL Front Ends and MySQL GUI tools in a single intuitive interface” – actually I think this tools make sense to use more during maintenance period than during development and because they are not free I recommend to skip them for now…

After installation of MySQL, you just need to know for development following information (that you setup during installation):

  1. Server Host (”localhost” in your case, if you install it on your local machine) and port (default 3306)
  2. Username (usually root)
  3. Password (you enter it during installation of MySQL or even possible you leave it blank – sure NOT for production!)

Now using this connection parameters, you can run MySQL Administrator (from GUI MySQL Tools) or any administrator utility and check connectivity. If everything OK and you see all 3 schemes (”information_schema”, “mysql” and “test”), you can move forward and start development using MySQL as primary database.

My Favorite Tools
Oct 13th, 2009 by evereq

OK :) So i decide to publish here MyFaTo (don’t forget to register this cool name for next killer start up! ha ha). If seriously, list contain not only Tools, but also frameworks, plug-ins, extensions etc. Will try to keep this list up to date :D

Here is first 11 entries (I grab it from my micro blog at Tumblr)

1) EntLib (http://www.codeplex.com/entlib) – “Must Use” blocks for Enterprise Software Developers :D

Cover most of Aspects, like Caching, Logging, Security, IoC, etc (really waiting for next version 5)

2) Moq (http://code.google.com/p/moq/) – best available mocking library for .NET 3.5 (at least today…….. i pretty sure that still exists in testing / mocking / TDD a LOT of space for creative ideas and implementations! Currently it looks like to write ‘good’ tests, you need to spend more time and effort, than to write a good code (even if you are using TDD……) and looks like current approach to use unit test frameworks / Mock libraries can be changed in future…… For example, right now, when i write this line, i start thinking of new C# Language features for Unit TESTING / Mocking…. Yes, yes, not build in to Visual Studio Team Edition or third party frameworks, but BUILD-IN to language ITSELF! Why not??? :D We already have LINQ here, lambda expressions, dynamics variables, so why not to embed here keywords with idea to test code that you just write!!! And then, when you just compile your code – compiler can TEST IT (right after build or simultaniosly) and when you run code – code will be tested in run-time (as additional feature)! :D cool :D Somebody think about this before??? :D OK.. Maybe i will need to write dedicated post for this!

3) Because spend above too much time (just so like Moq) about testing, here will just put references to NUnit (http://www.nunit.org/) and xUnit(http://www.codeplex.com/xunit). Looks like best what we have now (and what is free :D ) for unit testing in .NET……. Sure we want more automation, sure we want…. WFT!!!!@@@…. i start this again… actually what we want is simple like always: “to write code that is already tested” ! :D ha ha… it’s even better then TDD (write tests before code)… WTF! We want “CDD” (“Code Driven Development” or “Code Driven Design” (c) Ruslan Konviser 2009 – it’s late now here.. i tired… but simple search in Google can’t found that CDD is already in use!!! Please not mix this term with “Code driving testing” – it’s completely different! Aga – new term!!! another “Driven” design … Think it’s most simple term description – “just write code and that’s it!” ) :D :D :D

4) TortoiseSVN (http://tortoisesvn.net/) – best available tool to forget about “command-line” style of SVN (at least in daily usage) – integrates to explorer and give you all options available in SVN and even more…

5) AnkhSVN plug-in for Visual Studio (http://ankhsvn.open.collab.net/) – working with SVN repositories directly from Visual Studio… Previous versions have problems with performance, but looks like latest versions 2.x have no problems at all!

6) SlickEdit Gadgets for Microsoft Visual Studio (http://www.slickedit.com/content/view/441) – amazing and free gadgets… mostly i like “line ruler and indentation guide” – just take a look and you will never drop this feature (but first be sure that you enable it!). What’s important is this gadget works well with VS 2005 / 2008 and don’t cause any problems with a lot of other gadgets / plugins! Try it! Cool and Free!

7) Firebug (http://getfirebug.com/) – “You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.”. Any yes, i like it more then IE development toolbar…. not really sure why :) Maybe because it’s more user friendly (or developer friendly) :)

8) Quartz.NET (http://quartznet.sourceforge.net) Quartz.NET is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.

9) Spring .NET (http://www.springframework.net) Spring.NET framework provides comprehensive infrastructural support for developing enterprise .NET applications
A lot of useful modules (you can use them independently from each other) for AOP, Data Access (NHibernate, ADO.NET etc), Web (DIP for Pages etc… But for ASP.NET MVC you will need to wait v2), Testing, Messaging, Threading and even Quartz integration and many more… :)

If you do a lot of debugging, I suggest to take a look to following tools:

10) Crack.NET (http://cracknetproject.codeplex.com/) - A runtime debugging and scripting tool that gives you access to the internals of a WPF or Windows Forms application

11) Mole for VS (http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit.aspx) - Visualizer with property editing. Mole is a high performance, full featured, multifunction visualizer that allows detailed inspection of WPF, WCF, WF, ASP.NET, XBAP’s and WinForm applications.

12) CPU-Z is a freeware that gathers information on some of the main devices of your system. It is really fast and free way to get info about your hardware! It is also make sense to check another utilities on same site – most are free and useful!

13) Skipped :)

14) WiX (Windows Installer XML Toolset) is a Toolset that builds Windows installation packages from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages.

15) Paint .NET – free image and photo editing software (it’s not replacement for Photoshop, but good replacement for build-in Windows paint application with a lot of advanced features)


»  Substance: WordPress   »  Style: Ahren Ahimsa
© Copyright 2008–2009 EvereQ.com All rights reserved.