Search

Categories

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Send mail to the author(s) E-mail

# Friday, 02 September 2016
( Azure | Git )

Git reset --hard asdf

Git clean –xfd

Azure

to make sure the azure web app is clear:

image

or better (Advanced Tools from just below Console above)..debug console CMD

image

| | # 
# Friday, 19 February 2016
( Azure )

“The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

http://stackoverflow.com/a/18938991/26086

<httpErrors existingResponse="PassThrough"/>
| | # 
# Saturday, 07 March 2015
( Azure )

Getting slow responses from api.spotify.com from Azure.  Turns out DNS directs to the US

http://stackoverflow.com/questions/28872012/spotify-web-api-slow-from-azure-in-europe-resolving-to-wrong-country
https://social.msdn.microsoft.com/Forums/en-US/09c8c11b-25d5-415a-9c24-7ed16e2d9d07/spotify-web-api-slow-from-azure-in-europe-dns-resolving-to-wrong-country?forum=WAVirtualMachinesVirtualNetwork

api.spotify.com locally is resolving to: 194.132.196.227
ping time locally from Brighton is 30ms

api.spotify.com from azure vm is resolving to 194.68.30.55
ping time locally from Brighton is approx 200ms!
tracert locally from Brighton shows the server in the US

api.spotify.com from ec2 is resolving to 194.132.197.198
ping time from ec2 in Ireland is 11ms

Azure VM from Northern Europe

Psping api.spotify.com:80  resolving to 194.68.30.83:80 in 147ms (the US)

Psping api.twitter.com:80 resolving to 199.59.148.87 with ping time of 150ms (US)

    Ping api.twitter.com from Brighton, England resolves to 185.45.5.33 in 40ms (London)

Psping www.cnn.com:80 resolving to 103.245.222.184 ping time of 280ms (US)

   Ping www.cnn.com from Brighton, England resolves to 185.31.18.184 in 30ms (London)

   Ping www.cnn.com from EC2 in Ireland resolves to 185.31.19.184 in 13ms (London)

Cnn.com is using fastly.com for DNS load balancing/caching - so it thinks Azure Northern Europe is in  the US too.

fastcompany.com the same… EC2 gives 11ms, Azure 280ms

| | # 
# Wednesday, 04 March 2015
( Azure | Spotify )

Whilst at work (in Brighton) on a 50meg leased line

image
Huge performance difference in API query time (I think) between Azure in Western Europe and my local line.  I believe Spotify’s servers are in London so this would make sense to be slightly faster, however such a big difference doesn’t.

Azure Different Plans

image
Free website – no (as 185MB data limit)
Shared website – yes.. this is what this is on..costing approx 5UKP per month + 5UKP database?
B1 Small Instance – moved to that. 1 Core.  1.75GB RAM.  20UKP per month + 5UKP database?

Website in West Europe
B Basic - DB is West Europe (max size 2GB)

Spun up a
S1 Small Instance in Northern Europe
B Basic DB in Northern Europe

image
No massive difference coming from Northern Europe

From ADSL

image

Spotify Web API Speed Test Page

A page testing the speed of API calls to Spotify

229 : https://api.spotify.com/v1/artists/3hv9jJF3adDNsBSIQDqcjp

461 : https://api.spotify.com/v1/artists/3hv9jJF3adDNsBSIQDqcjp/top-tracks?country=GB

615 : https://api.spotify.com/v1/albums/?ids=3vLaOYCNCzngDf8QdBg2V1,3vLaOYCNCzngDf8QdBg2V1,3vLaOYCNCzngDf8QdBg2V1,3vLaOYCNCzngDf8QdBg2V1,3vLaOYCNCzngDf8QdBg2V1

987 : https://api.spotify.com/v1/albums/?ids=3vLaOYCNCzngDf8QdBg2V1,1cvcW2kVGrN9tdyoaVjmf0,0m8wvW3WNm9D7J0KUlbf3h,1nojrwBYMmq5jY1gJYtywa,0lrBKnE4qQnr8VM56J3gow,4ttFaYVApnyblaGHNwGAf7,62Qu5QoNx3De0p5qQT0u7o,69UMMsDqpBwy7Dr2oZn2Ra,311yDc6Ow5WF8puYAAte1B,05IBZIkN7fdbiVCgGCJCWX,6Z9OaWRC8Bsb64OyhiZ49L,6GMHua20KrXo7MlfwbTWk1,40pk5HrcQ3TDP0KBP3KhfQ,6KZwPiN4oDTcvgtbHGr1A1,2zlXL0UVwQrH9FRFSvNOBg,5hNZOA0YJBq0bGYnWGSo5x,0QluVU5ReXs7oI1ZyS101F,6pJf6YRFeyj615gGq6yDnZ,777UeiexLMf1mFR42nSoR2,2qkxQSusZ6JXAzpnptVUo1

987 : https://api.spotify.com/v1/artists/3hv9jJF3adDNsBSIQDqcjp/albums?country=GB&limit=50

391 : https://api.spotify.com/v1/artists/3hv9jJF3adDNsBSIQDqcjp/related-artists

194 : http://developer.echonest.com/api/v4/artist/biographies?api_key=SECRET&id=spotify:artist:3hv9jJF3adDNsBSIQDqcjp

image
Home ADSL

image
Work vs Azure

Test to see if it’s actually Spotify limiting me
pass the token?

image
Seems to make no difference passing a token

image
In fact, mostly faster without the token

I guess the next thing to do is try it somewhere else.  Amazon EC2?

EC2

image
EC2 is fast!

Azure VM - Slow

http://davemateer.cloudapp.net/

A1 Azure VM of it being painfully slow.  1.75GB RAM, 1 Core

http://weblog.west-wind.com/posts/2015/Feb/01/Azure-VM-Blues-Fighting-a-losing-Performance-Battle – seems I’m not along.

He went to a high perf cheaper SSD alternative https://www.vultr.com/pricing/

SQL stuff http://www.brentozar.com/archive/2014/09/azure-really-60-faster/

D1 for SSD – creating http://davemateer3.cloudapp.net.. 3.5GB RAM, 50GB SSD, 1core.. £78 per month?

EC2 VM

image

Much faster (even on the micro instance).

Decided to register a domain name – using fasthosts.co.uk.. www.davestopmusic.com

| | # 
# Monday, 12 May 2014
( Azure )

image
Changing up to a shared instance on Azure (vs free)

image

 

image

image
Gave it a few minutes and CNAME worked! 137.117.224.218

image

Added in the A record too – not sure if totally needed.  It worked – took 10 minutes!

| | # 
# Thursday, 05 December 2013
( Azure | Glimpse )

image

After setting the cookie to on, I got the above.  Then from:  http://getglimpse.com/Help/Troubleshooting

  <runtimePolicies>
      <ignoredTypes>
        <add type="Glimpse.AspNet.Policy.LocalPolicy, Glimpse.AspNet"/>
      </ignoredTypes>
    </runtimePolicies>
  </glimpse>

image
And it is working!

| | # 
( Azure | EF6 | MVC5 )

New Web Site – Custom Create

image

image

winterjAT9VB56yf

z…

image
Bottom right, download publish profile.

Actually in VS publish web project, import from azure,

image

image
Had to remember to select the correct db.  Actually I didn’t push out Executre code first.

image
Hmm database doesn’t look like it is there.

Did execute code first, and got authentication working

<system.web>
    <customErrors mode="Off"/>
    <authentication mode="None"/>
    <compilation debug="true" targetFramework="4.5.1"/>
    <httpRuntime targetFramework="4.5.1"/>

Actually had to just make sure customErrors were off

image

Ahh, it turned out it did do the first identity migration, but not the second library.

Ended up doing a generate scripts and http://social.msdn.microsoft.com/Forums/windowsazure/en-us/259af3d5-4016-43e2-9a84-7a17d4f52673/im-unable-to-create-a-new-table-on-sql-azure?forum=ssdsgetstarted

Needed to get rid of the ON PRIMARY stuff in the dump out to 2008R2

image

Then it worked:

image
We have a live site, connecting to a database!

Alt B O – toggle beteen debug / release

Alt B H – publish

| | # 
# Tuesday, 03 December 2013
( Azure | vs2013 )

Although they are free, you need a credit card

Decided to setup a new account (to keep it simple) – davemateer@outlook.com

https://account.windowsazure.com/Subscriptions

Portal didn’t work the first time (as it was using a different Live ID)

image
Right click on Azure, and connect

| | # 
# Sunday, 05 August 2012
( Azure | Web Deploy )

Create a new VM using Server 2008R2.  Installed IIS Role using the default options.  Should also put in management service (I did this later).

image
Open an endpoint up.

image

Setup WebDeploy on Sever 2008R2

image
Web Platform Installer to get Web Deploy.

image
Open firewall on 8172

image

http://www.youtube.com/watch?v=RFqGzPbMEuY

image
Control Panel, Programs and Features, Change, Check all features are installed.
http://learn.iis.net/page.aspx/1182/troubleshooting-web-deploy-problems-with-visual-studio/

image
These settings work.

image
Delete the iisstart.htm file or rename so that Default is the default.  I also changed the app pool to be .NET4

| | # 
# Friday, 17 February 2012
( Azure )

https://www.myazurestorage.com/

The Windows Azure MyAzureStorage is a web based application that gives you the ability to browse your Windows Azure Storage tables and create, edit, delete, and copy entities.

| | # 
# Thursday, 16 February 2012
( Azure | Orchard )

Adding a module so that it persists.

 

image

trick was to rename the package downloaded to a .zip.  Then drill into content. modules.

then follow instructions on http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure

| | # 
# Wednesday, 15 February 2012
( Azure | Orchard )

http://blog.smarx.com/posts/custom-domain-names-in-windows-azure

image

Putting in a CNAME record for davemateer.com to point to my orchard website on Azure.

| | # 
( Azure | Orchard )

Installed using Web Platform Installer, which seems to have installed it using Web Matrix

After a stop, start it worked!

image

 

Technical Initial Thoughts:

  • [did it!]Get orchard deployed to a production server
  • Get a professional website together showcasing software development, infrastructure and hardware projects done in last x years

Where to host?  Need .NET4 and SQL Server (or SQL CE).  Azure – yes

ASP.NET MVC3

NHibernate – ORM

Autofac – IoC – Orchard makes heavy use of dependency injection.

Castle Dynamic Proxy -

Proxy objects can assist in building a flexible application architecture because it allows functionality to be transparently added to code without modifying it. For example, a class could be proxied to add logging or security checking without making the code aware this functionality has been added.

For example, NHibernate, an object/relational mapper uses DynamicProxy to provide lazy loading of data without the domain model classes being aware of this functionality.

a few questions per day on Stackoverflow. eg http://stackoverflow.com/questions/9225040/how-orchard-cms-does-the-logging

Pluralsight Video

Free video for intro.. then pay for the rest

http://localhost:65422/ – using webmatrix

TinyMCE editor

Pages and Widgets

image

when editing the welcome to orchard.. it is a page.  When editing the Third Leader Aside it is a Widget.  Thie is an HTML widget.. just like a page.

image

image

but dont want the bullets

Edit The Stylesheet

image

image

no bullets on ul!

image

Ordering of Main Menu and Adding Items

image

image

Building from Source / Mercurial

downloaded source (not clone the mercurial).  This didn’t work deploying to Azure

http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure

image

getting from codeplex via mercurial

image

Had to change Azure tools version 1.5 to 1.6 on \AzurePackage.proj and in other places (but next bits didn’t seem totally necessary): http://orchard.codeplex.com/discussions/278917

Put in my storage connection string (for BLOB’s) into the ServiceConfiguration.cscfg in the VS solution.

Run ClickToBuildAzurePackage.cmd

  <Setting name="DataConnectionString" value="DefaultEndpointsProtocol=https;AccountName=mateerstorage3;AccountKey=eYuIdHYAtX/jzkP5a67ev3ZUt1qSu0xxxxxxxxxxxxbosh419uEkJnn0Tu4jamgUiHJ1msW5K56wh7qmKVeYiVQ==" />

Upload to Azure using the manual uploader from Silverlight admin interface.

Connection string for the database

Data Source=zx6l3oinx1.database.windows.net;Initial Catalog=orcharddb;User ID=dave;Password=xxxx;Trusted_Connection=False;Encrypt=True;MultipleActiveResultSets=True

image

Downloaded Orchard.Azure Version from Codeplex

I actually did this first to make sure connection strings were right and to prove Orchard worked on Azure.  However did the above after so I could have full control and deploy to an extra small instance.

changed the dataconnectionstring to this:

<ConfigurationSettings>
      <Setting name="DataConnectionString" value="DefaultEndpointsProtocol=https;AccountName=mateerstorage3;AccountKey=thisisasecret==" />
      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
    </ConfigurationSettings>

image

should be mateerstorage3'

put in this in the connection settings:

Server=tcp:zx6l3oinx1.database.windows.net,1433;Database=orcharddb;User ID=dave@zx6l3oinx1;Password=myPassword;Trusted_Connection=False;Encrypt=True;

image

| | # 
# Wednesday, 26 October 2011
( Azure )

Use: http://www.red-gate.com/products/dba/sql-azure-backup/download

**SCRATCH ALL THIS BELOW**

I used to use Generate scripts, however this can take a while.

Now there is an Export option in the Silverlight admin interface:

image

button in export:

image

Access key is found in Hosted Services, Storage

Then before pressing go you need to make sure the container is there.  I used Azure Blob Storage Studio: http://azureblobstudio.codeplex.com/

To see if job has finished:

image

click on Status of the database.

Its pretty fast.  Also a good way to tell if you’ve messed up any logon / password stuff.

Then download the bacpac file using blob studio.

Restore the database on local SQL Server

couldn’t figure out how to restore a .bacpac file.. can do a .dacpac from the root of sqlserver in management studio.

| | # 
# Thursday, 17 March 2011
( Azure )

We going between date formats eg US to en-NA or British in Azure…:

 

<globalization uiCulture="en" culture="en-NZ"/>
</system.web>

| | # 
# Thursday, 10 March 2011
( Azure | MVC )

As there is no template currently for MVC and Azure on 1.3:

http://blog.smarx.com/posts/asp-net-mvc-in-windows-azure

http://www.jimandkatrin.com/CodeBlog/post/MVC3-in-Azure.aspx – Logging too

http://nerdwords.blogspot.com/2011/02/setting-up-mvc-3-for-azure-with_27.html

image

The trick to getting it working on Azure was to populate the database first.  If not then a it gave a very generic error.

| | # 
# Thursday, 03 February 2011
( Azure )

Setting up RDP to a Windows Azure Instance:

http://blog.syntaxc4.net/post/2010/12/16/Setting-up-RDP-to-a-Windows-Azure-Instance-Part-1.aspx

Be very careful to upload the cer to the Management Certificates section of the admin interface (Silverlight)

http://blog.bareweb.eu/2011/01/using-certificates-in-windows-azure-management/

then WebDeploy

http://dunnry.com/blog/2010/12/20/UsingWebDeployWithWindowsAzure.aspx

For development only, using webdeploy.

When creating certificates remember to click the password bit.. so it gives a .pfx file

| | # 
# Wednesday, 02 February 2011

Open Win 7 command prompt as administrator

http://www.tothepc.com/archives/windows7-command-prompt-administrator-rights/

Copy 2 dlls from GAC to root of c

Microsoft.ReportViewer.ProcessingObjectModel.dll

Mircosoft.RevportViewer.DataVisualization.dll

cd C:\WINDOWS\ASSEMBLY\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel

http://blogs.msdn.com/b/sqlazure/archive/2010/08/17/10051010.aspx

| | # 
# Monday, 17 January 2011
( Azure | SQLServer )

http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=KB2006191&DownloadId=8227

Here are the scripts put together in 1 file:

Remember to point your web app to the database to populate it ie in Visual Studio, click on the icon at the top in solution explorer to launch the web app.

| | # 
# Friday, 10 December 2010

Need to manually create the tables.

this is a .sql file.

| | # 
# Tuesday, 29 June 2010

see about half way down this article for the first working MVC1 app connecting to the db.

http://wag.codeplex.com/

Using the EntLib5

image

Music Store App (Mar 23rd)

image

Hello World sample bits of code from MS:

image

 

Transferring data up to SQL Azure.. using Script Manager in SQL Man Studio 2008..

http://www.msteched.com/2010/NorthAmerica/COS311

 

Doing a Simple MVC Application and Publishing up to the Cloud (no DB)

This is a simple new project, Cloud Service, ASP.NET MVC2 Web Role

Right click on the VoucherMVC project, then publish.  Upload via the Web Interface.

image

NerdDinner

http://www.marcmywords.org/post/NerdDinner-hosted-on-Windows-Azure-and-SQL-Azure.aspx

Failed to generate a user instance due to a failure in starting the process… DB Error:  Solved by deleting a directory on my local machine (Win 7).

http://www.aspdotnetfaq.com/Faq/fix-error-Failed-to-generate-a-user-instance-of-SQL-Server-due-to-a-failure-in-starting-the-process-for-the-user-instance.aspx

 

Populating the Database

http://azurefeeds.com/post/923/Migrating_an_Existing_ASP.NET_App_to_run_on_Windows_Azure.aspx

Showing how to export a SQL script into SQL Azure format:

image

Ok, have got nerddinner database up there. 

ASP.NET Membership Provider..

http://blogs.msdn.com/b/jnak/archive/2009/11/24/asp-net-provider-scripts-for-sql-azure.aspx

http://www.marcmywords.org/post/NerdDinner-hosted-on-Windows-Azure-and-SQL-Azure.aspx

Details how to get the asp.net membership provider scripts working, using modified scripts.

http://support.microsoft.com/kb/2006191/en-gb

 

Issue with NerdDinner MVC2

Came across realm issue with regard to OpenID code, so reverted back to MVC1 code.

NerdDinner MVC1 Migrate to Azure – This Worked

Get it working normally in MVC (with 2 databases running SQLExpress in AppData folder)

Getting the Phone# does not match country error in nerddinner.

hacked the Helper/PhoneValidator.cs to always return true.

image

Deleted the unit test project for simplicity

Added a CloudService project into the solution

Right clicked on Role in CloudService, and added in the existing NerdDinner project

Added back in ConnectionStrings.config into the NerdDinner project

image

Coppied the database to SQL Azure using Management Studio 2008R2

Coppied Membership Provider to SQL Azure using special sql scripts

Added in ConnectionStrings.config into the project, and put in SQL Azure string.

Uploaded to Azure..

**problem goes between stopping and initializing… after 20mins?

Try recreating Service in Asia, and DB is in Asia too.

Try uploading again.. and putting one in staging too ( a simple MVC no database, includes test project, worked before).  9:50pm started.

image

App does work from local using SQL Azure as storage..

image

After sleeping on it, the problem was that copy local wasn’t set to true on the System.Web.Mvc reference.

image

| | # 
# Tuesday, 22 June 2010
( Azure )

In the 1.2 Release of the SDK we can now publish straight from VS instead of manually uploading files.

The end results is this:

image

which automatically publishes up to the cloud and runs the app making it live.

The way to do it is to select manage in Credentials, which brings up this box:

image

1. Create a self signed cert. 

2. upload it to the dev portal

3 grab your subscriptionid from Account page

You’ll need a storage account to setup through as well.

| | # 
# Thursday, 27 May 2010

DevDays – MVC – Scott Hanselman video:

WFT1_2MB_ch9.wmv 1.4GB

Looking at the callstack in debug to see how things are called.

image

IHttpHandler – the ‘simple’ building block of ASP.NET.

Example in c:\code\mvc2\hanselman

image

http://localhost:1476/Home/poop/2

Controller get invoked

Action invoker calls the method

Model Binding – took the other piece of the route data (ie 2) and coerced it into…

didn’t call HttpRequest or anything..

 

Passing a DateTime

image

image

Phil Haack Route Debugger

http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx

 

image

prop tab tab to auto gen the properties. then tab tab, then enter enter!

Create A Controller

Ctrl M, Ctrl C

Convention is HomeController

var p = new person

then ctrl period to import the namespace.

Create A View

Convention is in Views directory, create a new Person directory.

Index method links to Index view

Details method links to details view.

image

image

Ctrl M Ctrl V to create a view, when you are in the appropriate Controller class (eg Index)

Created a strongly typed view.. this Viewpage is of type Person

Model in the viewpage will always be of type T ie Person.

Could use Repository Pattern for the DB

Going live with ASP.NET4 – many hosting providers need you to upgrade to another machine.

image

Going Live on Azure

Created a new MVC2 Web Role project

Upload to test that MVC2 is working somewhat

ViewModel - MVCMusicStore

VS2010 Control comma – navigate to

http://mvcmusicstore.codeplex.com/

Uses Entity Framework.

Uses <%: HTml.DisplayForModel

AutoMapper

FirstName, LastName.. map to FirstName and Surname

image

ViewData

is another way to pass data.

image

ViewEngines

This is the WebForms view engine.

Routing

 

NerdDinner – MVC2 in beta (now it is live 27th May)

there are unit test in here.

image

just asserting not null.

Seperation of Concerns – in controller we can’t have Response.Write.. as it would break in this test.  Would work at runtime.

| | # 
( Azure )

Personal storage

Endpoints:

xxxxx.blob.core.windows.net

xxxx,queue.core.windows.net

xxxx.table.core.windows.net

This part of Windows Azure and not SQLAzure or AppFabric

image

azurestorageexplorer.codeplex.com

image

Also looking at Azure Diagnostics Manager from cerebrate.com

http://social.msdn.microsoft.com/Forums/en/windowsazure/thread/e972b0c0-3a04-4f0c-a73f-ab93552d8291

Example using ASP.NET and Storage and AppFabric Local Dev

http://msdn.microsoft.com/en-us/magazine/ee336122.aspx

Logging

Each app has to do its own logging and write to storage.. an app like this can nicely show what is happening.

image

http://microsoftpdc.com/sessions/svc15 –  this is pdc09

MIX2010 – Building and Deploying Windows Asure Based Apps

http://live.visitmix.com/MIX10/Sessions/SVC09  (Jim Nakashima)

Created a WebRole and a WorkerRole

image

One of the web roles.. when I clicked on the button, the worker role picked up the message from the queue.

Nerdinner MVC1 Migrating to Azure with SQLAzure

Could use Azure tables (examples on the web)

Need to do 3 things:

- Need to make a webrole

- Migrate dinner to use SQLAzure

- Migrate asp.net membership provider for SQLAzure.

| | # 
# Wednesday, 26 May 2010
( Azure )

http://blogs.msdn.com/b/brandonwerner/archive/2009/11/28/how-to-host-your-site-and-content-on-azure-quickly-and-easily.aspx

Local Development Fabric and Development Storage (uses SQLEXPRESS)

image

Live ‘Fabric’ and Storage which consists of Blob, Queue and Table

image

SQLAzure is something else!

AppFabric is something else.

| | # 
# Friday, 21 May 2010
( Azure )

There is an intro special which you’ll need a credit card to sign up for.

image

image

I then clicked Portal Home, and Manage Subscriptions and it seemed to work:

image

windows.azure.com - dashboard

Need Win7, Server 2008 or Vista..

http://www.microsoft.com/windowsazure/getstarted/

image

I run a windows7 VMWare image only had a 10gig partition, so off to easyvmx.com

put this is in the vmx file:

# Second SCSI disk image, size 25Gb
scsi0:1.present = "TRUE"
scsi0:1.fileName = "My_Virtual_Machine-2.vmdk"
scsi0:1.mode = "persistent"
scsi0:1.startConnected = "TRUE"
scsi0:1.writeThrough = "TRUE"

and the empty vmdk in the directory too.

Uninstalling the express version, then putting on a trail full version (many hours!  time for coffee and to chill out)

Forums

http://social.msdn.microsoft.com/Forums/en-US/windowsazure/threads

Putting SQL Server Express 2008 on my Win7 VM.

image

nice.. this may have just been the studio, without SQL

Ok.. so trying the SQ:EXPR_x86_ENU.exe – hopefully the SP1 which is compatible with Win7.. need Mgt Studio too.

Probably Best to use the Web Platform Installer

image

Download Azure Tools for Visual Studio 1.1 (Feb 2010)

Need IIS7 and dev tools running.

 

Examples

AzureBright CMS – no source code as yet. MVC2

http://code.msdn.microsoft.com/mytodo – MVC1 futures.

http://code.msdn.microsoft.com/windowsazuresamples – Hello world.

Windows Azure Platform Training Kit

need dev accounts for:  Azure, SQL Azure and Azure plaform AppFabric

http://code.msdn.microsoft.com/windowsazuresamples

 

Going through Demos tab in the Windows Azure Training Kit – didn’t work

Creating a Storage Account:

image

djhmateer,blob.core.windows.net – Storage account

djhmateer.cloudapp.net

image

MyTodo.cspkg – this is the app package

ServiceConfiguration.cscfg – conf file

When I got to Configuring – unclear exactly what to do:

image

after thinking I’d made a mistake in my configuration file having angle brackets in there []

I tried without.  Seems to have hung on updating deployment.  Tried to delete the service.  Couldn’t.  hmmm.

**where are the error logs?

Hello World Example – this worked

http://weblogs.asp.net/jeffwids/archive/2010/03/02/getting-started-with-windows-azure-part-0-where-do-i-go-to-get-started.aspx

image

the crowd goes wild..

image

And after probably 15minutes, the light went to Ready, and we went live.

I’ve downloaded the Azure Tools.. do I need the SDK?

ASP.NET MVC2 – This Worked

image

Did an Upgrade of HelloWorld.  And got a role not found

Trying a delete and a new deploy.

image

There is no SQL Server or data storage wired up yet

| | #