locked
Can I use Azure to develop a local-only website? RRS feed

  • Question

  • User2142845853 posted

    I have a working MVC app deployed on a Windows Server.  Am trying to implement the storage of files (pdf's, doc's, images) and the choices seem to be buying 3rd party tools or implementing the controls from scratch;  I had not generally used Azure because the requirement was to use the local server.

    But some future expansion may be cloud based, but for now when looking up add-ins for file management into MVC, and the contoso university example isnt the way Id hope to go, there is:  https://github.com/Azure/azure-sdk-for-net 

    my question is:  Could the Azure platform be installed to utilize things like the file management?  am just trying to find solutions.  there is this DevExpress https://demos.devexpress.com/MVCxFileManagerAndUploadDemos/FileManager/Features  that looks great but i dont need this full package, just a file manager to allow uploading, display etc of files to sql server or to be stored on the windows server being used

    Tuesday, November 10, 2015 3:39 PM

All replies

  • User-646145796 posted

    Hi,

    As I know we couldn't install Azure platform in our local, however we can manage Azure Web App via Azure portal (http://manage.windowsazure.com/) or Azure Web app KUDU tool  (refer to https://github.com/projectkudu/kudu/wiki/Kudu-console for more details), KUDU tool provide us with the file explorer UI, it could help us to manage files. If we choose Azure, we could develop cloud based application, we can save the files (pdf's, doc's, images) to Azure storage, we could also use local SQL database as Azure web site database (see detailed steps here: https://azure.microsoft.com/en-gb/documentation/articles/web-sites-hybrid-connection-connect-on-premises-sql-server/), you could also use Azure AD to only allow local user access your website (see more details here: http://www.asp.net/identity/overview/getting-started/developing-aspnet-apps-with-windows-azure-active-directory). If I misunderstand, please feel free to let me know, hope this could help you.

    Best Regards,

    Jambor

    Tuesday, November 10, 2015 9:55 PM
  • User2142845853 posted

    Hi Jambor

    Im looking for tools, source code or add-ins kind of similar but not as extensive as (

    http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx  or

    https://demos.devexpress.com/MVCxFileManagerAndUploadDemos/FileManager/Features )

    that will help the MVC project to reliably upload/download files to SQL server.  I have not found such a tool anywhere, even for sale although there are file explorer add-ins that use the filesystem to store various files to some drive path on the server.   I thought i read that with Azure there is some software add in to facilitate uploading of files and showing status;   Looking at the link it seems like NO, thats not the case at all.  the tools within Azure only setup files to be stored in the cloud.

    That wont work in this case.  has to be some reliable mechanism for storing and getting files within SQL linked to the existing table

    Wednesday, November 11, 2015 11:18 AM
  • User-376018714 posted

    hi

    Azure is nothing but a bunch of services that's available for you to use. One such service is a Storage service. Azure has BLOB or Binary Large Object storage available as a service. So you can use this service to store your files or what not. You will be billed by the amount of storage you use.

    You can have a local web application i.e. a web app hosted within your organization but utilize Azure Storage as part of your app.

    here is documentation to Azure Storage Services:

    https://azure.microsoft.com/en-us/documentation/services/storage/

    It was not clear from your question what you are exactly looking for.

    hope this helps

    Tuesday, November 17, 2015 1:20 AM
  • User2142845853 posted

    Hi Lohith

    yes, the question is about making the MVC/c# code to make a reliable file upload/display/download interface.  I have coded the project to have a file open dialog and upload a byte[] to varbinary(max), but the calls to save/get the file have no kind of extra methods to manage the process, like an async handler that will retry if there is some data error behind the scenes so the user just uploads or gets the file;  not sure how much extra handler code is needed but reliability is important.  So the question became since Azure looks to be the best at managing the transaction between an app and storage system, can any of that code be used to improve my local app, even if Im not using Azure right now?

    We considered Azure but the requirement is to store this data locally.   Im somewhat new to managing data files this way and want to try to start with the best possible code or code patterns

    thanks!

    Tuesday, November 17, 2015 8:39 AM