none
guide me please.

    Question

    • Hi all,

    • sorry , before one week I posted this questions in anther website but I don't find what I need

    • and now I stop my work because I'm still waiting your guide ..


    • My project is to be a cloud library where store private files and share 
      what want using a blob storage.
      I began with passing "dummy data" from my controllers to views templates.
      Then I'm still learning hooking up a real database using Sql Server Compact
      Edition.
      I need your advice in my state:
      Now I'm building my MVC4 proj with local db "SQL ServerCE",
      Do i complete it to the end with localDb then change the code to
      store all data,files,and images in the blob storage ?
      I think that'll take a lot of my time.
      Do you think that I can begin with the blob and use it with out 
      previous localDb ?
      please point me to a references that explain the using of blob with
      MVC4 ,i read the Windows Azure Training Kit but it explain blob with 
      WebRole application.
      Thanks

    Saturday, July 27, 2013 9:24 PM

Answers

  • HI

    Your localDB means SQL server Compact Edition is that right?

    If yes, you can use SQL Azure instead of SQL server DB On Azure(you only need to change the connectionstring to SQL Azure's and do ), you needn't to change them to blob.

    Here is suggestion.

    1. If you have images, files store in local folder, save them to blob storage.

    2. If you have data store in SQL Server db, save them in SQL Azure.


    Please mark post as answered if it helped!

    • Marked as answer by R_soft Wednesday, July 31, 2013 10:11 PM
    Sunday, July 28, 2013 4:11 AM
  • Hi,

      >> please point me to a references that explain the using of blob with
    MVC4

    Blob storage is independent of the technology you use. If you use .NET, you can use exactly the same code from the training course in your MVC application. More tutorials can be found on http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/. You can use blob storage to store files, and (as pointed out by Yuan) use Windows Azure SQL Database to store relational data. LocalDB is a SQL Server 2012 feature, which by defaut is not installed in Windows Azure. You can also install it yourself if you use web role or virtual machine (but not website), but it is recommended to use SQL Database for better scalability.

    Best Regards,

    Ming Xu


    Ming Xu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by R_soft Wednesday, July 31, 2013 10:11 PM
    Monday, July 29, 2013 1:38 AM

All replies

  • HI

    Your localDB means SQL server Compact Edition is that right?

    If yes, you can use SQL Azure instead of SQL server DB On Azure(you only need to change the connectionstring to SQL Azure's and do ), you needn't to change them to blob.

    Here is suggestion.

    1. If you have images, files store in local folder, save them to blob storage.

    2. If you have data store in SQL Server db, save them in SQL Azure.


    Please mark post as answered if it helped!

    • Marked as answer by R_soft Wednesday, July 31, 2013 10:11 PM
    Sunday, July 28, 2013 4:11 AM
  • Hi,

      >> please point me to a references that explain the using of blob with
    MVC4

    Blob storage is independent of the technology you use. If you use .NET, you can use exactly the same code from the training course in your MVC application. More tutorials can be found on http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/. You can use blob storage to store files, and (as pointed out by Yuan) use Windows Azure SQL Database to store relational data. LocalDB is a SQL Server 2012 feature, which by defaut is not installed in Windows Azure. You can also install it yourself if you use web role or virtual machine (but not website), but it is recommended to use SQL Database for better scalability.

    Best Regards,

    Ming Xu


    Ming Xu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by R_soft Wednesday, July 31, 2013 10:11 PM
    Monday, July 29, 2013 1:38 AM