Migration to SDK 2.1, from HWC to IIS

Hello,
I have an azure webrole running on SDK 1.8, it has a handful WCF services and a common data access component to access an Azure SQL database and Azure Storage. It was running using the Hosted Web Core (HWC) - no Site definitions as I do not host websites
on it - so far this worked really fine for the last two years.
Now I wanted to update it to SDK 2.1 (which should be latest for VS2010) and I am facing several issues:
I learned that hosting the WCF services via HWC is no longer possible since SDK 2.0 and I have to use IIS.
This leads to the problem that the webrole is running under a different process as the webservices.
So far I have created a common component that is initialized when the webrole was started. It read the configuration, which contained the parameters to access the SQL database and the storage. This component was used by the webservices to read/write data
to database and storage.
Now with IIS, the initialization only happens for the process of the webrole. This leaves the webservices with a non-initialized data access component.
To the questions:
1: What would be the best practice to access a SQL database and the storage from the webservices. These have been completely stateless so far, but now they each would need to read the access parameters for the database and storage.
I am lacking a defined entry point there to initialized the component.
2: Why was HWC hosting removed? For my scenario (Webservices with database/storage backend) I see no benefits of using IIS (just a lot of issues for migrating and redesigning the architecture).
Any advice would be helpful, also an explanation why HWC was removed (so I can understand it).

Hello Will, thanks for the answer,
Yes, I am using an Azure hosted SQL database. I would like to retain having the sql server connection parameters in the webrole configuration instead of the web.config. That way I can react to the role configuration changes and don't need to recycle the
role when switching databases. Same when storage settings change.
I have found the article you posted about IIS and changes from HWC as well, but I found no explanation why the possibility hosting a webservice HWC style was removed.
Did it cause problems or issues or was it a strategic change to only go the IIS way? So far I did not have many issues hosting webservices without IIS (in contrast to experiences with IIS, which did not always go smoothly).
I am now rewriting the data access component to initialize itself lazy-loading style on the 1st access (even if I am no big fan of that pattern, I usually prefer to have a well-defined initialization at startup).
Anyway, I know I can't go back because sooner or later the older SDK versions will become unsupported. Learning why HWC was removed would help to understand things better.
Maybe this post helps others to identify migration issues early without a lot of searching.
Thanks for the help.

Similar Messages

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • I use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    i use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    Welcome to Apple Support Communities
    That's the classic behaviour after using Migration Assistant and that's normal.
    To transfer the data from the new user account to your old user account, you can follow some steps. Here is all the information you need to do this > https://discussions.apple.com/docs/DOC-5472

  • I migrated all of my photos from my PC to my mac but I can't find them on my laptop!?

    Hi
    I hope someone can help me. It took hours on end to successfully migrate my photos and documents from my Windows PC to my new MacBook. (I'm a professional photographer)
    When The Migration Assistant was completed, I closed the window and went to my documents and... cannot find ANY of the files that I migrated over?   The instructions said something along the lines of I'd find all of my files and documents where I'd expect to... um... I can't find ANY!
    Please help
    Thank you

    How did you do your migration? Did you follow Apple support article and check help menu for tips?
    Note: This process will create a new user account on your Mac to contain the Windows PC information that is migrated over.  It will not merge the information with an existing user account on the Mac.
    http://support.apple.com/kb/HT4796
    Before you did so, did you use Windows Easy Transfer? do you have your files on external or on a drive you can connect?
    The best utility driver to mount PC NTFS drivers comes from Paragon-Software.
    Apple only has read only support and more limited as well.

  • Using Migration Assistant to move files from old PC laptop to new MacBook Pro that has Windows 8 installed containing Outlook

    When using Migration Assistant to move files from old PC laptop to new MacBook Pro, that has Windows 8 installed containing Outlook, will emails, contacts and calendar entries be moved to Outlook on the new MacBook or into Mail, Contacts and Calendar?

    I doubt they will. But then I'm not sure as I used a migration program once about 18 years ago and totally FUBARed the system I had at that time and I've never used one again.
    For me the reason to have a new system is to start fresh. Installing only program that I now use and manually copying data over from the older system.
    Not sure your older version of Outlook, and the outlook mail boxes, are compatible with Office/Outlook for Mac 2011.
    A better place to ask this question would be on the MS Office for Mac forums.
    Hope it all works out for you.

  • HT2518 I used Migration Assistant to tranfer files from an old PC to New Mac.

    I used Migration Assistant to tranfer files from an old PC to New Mac. Now I have two user accounts with slightly different names on the Mac. Any way to merge into one account? Thanks.

    Combine two+ Users Accounts on the same machine

  • Can i use windows migration assistant to transfer files from my windows formatted external hard drive to my mac?

    I have a windows formatted external hard drive and a macbook pro. I was wondering if i could use the windows migration assistant to transfer files from my external hard drive to the mac

    No.
    Just connect the drive to your Mac. The Mac can read most Windows formats (it cannot WRITE Windows New Technology File System (NTFS) formatted drives.

  • Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    No. Only those Apps that are not installed on the new will migrate over.

  • Migration Assistant Copied System Preferences from a Third HD!

    I used Migration Assistant to copy files off an iMac and onto a new HD in a MacPro. I purchased a second HD for the MacPro especially for this occasion because I wanted to leave the original MacPro HD intact. At this point, I had two HD's in the MacPro. After installing Snow Leopard, Migration Assistant copied all files and users as expected but something very strange happened:
    1. iMac is 10.6.5 but new HD has 10.6
    2. System Preferences were taken from the existing HD in the MacPro
    I knew there was something wrong because the desktop image was from the original MacPro HD.
    What's more annoying is that I completely wiped the new HD using Disk First Aid and removed the original HD from the MacPro so I could start the entire migration process again. Before quitting Disk First Aid, I noticed that it said 800mb had been used even though I had zero'd out everything.
    Again, for the second attempt I decided to remove the original HD from the MacPro and just leave the new drive in there, but it did it again.
    1. Question - If I had assigned Migration Assistant to copy files from the iMac HD why did I end up with System Preferences from the original MacPro HD?
    2. Question - After completely removing the original MacPro HD from the machine, why did Migration Assistant set up the new HD with the System Preferences on an HD that I had completely removed from the machine?
    I know all I have to do is use Software Update to bring it back up to 10.6.5 but it's really annoyed me because now I am wondering about of all the 500 gigs and what files may have been affected (hopefully none). I've had a quick look through the contents but I won't be able to tell because there are so many of them. And do I really want to spend time digging around in the Library of the iMac to copy across the System Preferences to the new HD and then remove what shouldn't have been there in the first place? I don't think so, and I shouldn't have to.
    I do wish Apple would have their software do what it says and not go digging around on another HD that was lying dormant for this exercise, especially after removing it for the second attempt. It's wasting so much of my time.
    Any thoughts, opinions, excuses and remedies would be greatly welcomed.
    Thanks in advance.
    Message was edited by: inknpaper

    inknpaper wrote:
    I used Migration Assistant to copy files off an iMac and onto a new HD in a MacPro. I purchased a second HD for the MacPro especially for this occasion because I wanted to leave the original MacPro HD intact. At this point, I had two HD's in the MacPro. After installing Snow Leopard, Migration Assistant copied all files and users as expected but something very strange happened:
    You mean you installed OSX on the new drive. Apparently you used a 10.6.0 disc.
    Then, presumably, your Mac re-started (from the new disk), you set up a user account, then started +Migration Assistant.+
    Migration Assistant doesn't install or copy OSX; whatever version of OSX you put on that drive is still there.
    2. System Preferences were taken from the existing HD in the MacPro
    Extremely doubtful.
    You have an extra user account (the one you set up after installing OSX and before doing the Migration). Unless you changed it, that account will have the default desktop picture.
    Are you sure the account you transferred has a different desktop picture than it did on the iMac? If so, is it the default?
    What's more annoying is that I completely wiped the new HD using Disk First Aid and removed the original HD from the MacPro so I could start the entire migration process again. Before quitting Disk First Aid, I noticed that it said 800mb had been used even though I had zero'd out everything.
    Yes; that's the partition map and empty directories.
    1. Question - If I had assigned Migration Assistant to copy files from the iMac HD why did I end up with System Preferences from the original MacPro HD?
    As above, I don't think you did. Be sure which account you're logged-on to.
    For best results, start over, and use +Setup Assistant+ instead of +Migration Assistant,+ so you don't end up with extra accounts. See [Setting up a new Mac from an old one or its backups|http://web.me.com/pondini/AppleTips/Setup.html] (or use the link in *User Tips* at the top of this forum), and note the green box there.

  • I recently purchased a new Macbook Air and used migration to transfer old files from my old PC to the Mac, and now there are songs that I purchased through Itunes on my phone that are not on my Mac, how do I transfer these songs from the phone to the Mac?

    I recently purchased a new Macbook Air and used migration to transfer old files from my old PC to the Mac, and now there are songs that I purchased through Itunes on my phone that are not on my Mac, how do I transfer these songs from the phone to the Mac?

    dnunn wrote:
    ... how do I transfer these songs from the phone to the Mac?
    Transfer Purchases  >  http://support.apple.com/kb/HT1848
    Download Past Purchases  >  http://support.apple.com/kb/HT2519

  • How do i migrate all my imovie projects from one computer to another

    how do i migrate all my imovie projects from one computer to another

    You need to attach the computers to one another say with a firewire cable? Or use an external hard drive to copy the Events/Projects and then move the hard drive to the other computer. Are you able to do either one of these first?

  • When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    You followed:
    http://www.apple.com/support/switch101/

  • Can I transfer/migrate my mail address book from my old G5 OS 10.4.11 to a new Maverick 10.9.4 ?

    Can I transfer/migrate my mail address book from my old G5 OS 10.4.11 to a new Maverick 10.9.4 ?

    Thank you so much! I actually need help transferring my old address book with all my contacts and their e-mail addresses. I had trouble setting up mail so I used my internet provider's webmail to send and receive mail, but that is fixed now.
    If I have to manually enter each contact, I'll do that, but it sure would be nice if there was a way to transfer the address book.
    Thanks again.

  • Secondly, i used migration assistant to move everything from old laptop to new. when i used pages on new machine, 10.8.5 operating system, there is no click for file save as in the menu, only flle save. why?

    secondly, i used migration assistant to move everything from old laptop to new. when i used pages on new machine, 10.8.5 operating system, there is no click for file save as in the menu, only flle save. why?

    Hold down Option key while clicking on menu bar and Save as will appear.

  • Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode

    Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode
    Hello, I am having problems migrating data from my old PC running XP (SP3) to my new Mac Pro 2012 using the Migration Assistant.
    - I downloaded and installed the Windows Migration Assistant from Apple
    - My Mac recognized PC and displays passcode
    - The sasscode does not show / display on my PC
    - My Mac is then stuck in "authenticating" loop and the PC is stuck "waiting for Mac to connect."
    - Both computers are connected on same network (have connected PC on WIFI and using ethernet to Reuter)
    I have looked on support site and only response I saw says to reinstall Windows Migration Assistant (which I have done)
    Any ideas?  If cant get this to workare there instructions for manually bring across relevant data eg itunes music and apps, photos, picasa data etc?

    Why not turn off the Windows firewall and uninstall any other firewall software you have installed?
    If you are using a Norton product uninstall it and discard it. To fully unistall most Norton products you have to go to the Norton website and download a soecial program to completely get rid of it. The normal uninstall feature built into the program will not remove all of it.

Maybe you are looking for

  • Why won't my Mac work with a Canon i860 Printer?

    I think it used to work, but I haven't used this printer in a while. I remember buying a cord from the Apple store for it, but I just keep getting a #306 message to check connections and make sure everything is powered on. Everything seems to be set

  • Underscore randomly replaces forward slash in topic file names and topic titles

    The problem I'm seeing is similar to the discussion at http://forums.adobe.com/message/2564701 which dealt with random insertion of underscores in topic titles. That problem seemed restricted to underscores replacing spaces in Topic File names and wa

  • How can I apply 2 billing plan in a contract?

    Please suggest I have a new requirment software trading Details 1. service material 2. Contract--> billing 3. Charge heads , Instlation charges (One time) Royelty chargess (Yearly) Usage charges per person (Monthly) My Question : How can I assign two

  • Why is iWeb converting all my PNG file to JPG upon publishing

    When I drag and drop a PNG image to iWeb, it shows up fine in iWeb, but once I publish it to either my site or to a folder, all the PNG images are converted to JPG with a very low quality.... Is there anything i can do to stop iWeb from changing my i

  • Pass rowtype as function parameter, as a Object like type. How?

    Hi. I have the following question. I have 3 tables: TAB1 TAB2 TAB3 I declare 3 rowtypes variables, one for each table: v_tab1 TAB1%ROWTYPE; v_tab2 TAB2%ROWTYPE; v_tab3 TAB3%ROWTYPE; I want to pass a rowtype as a function parameter, but i want the fun