MVC3 Azure app with table storage - asp.net-mvc-3

Do you have any particular example for MVC3AzureApp which will display Data from the windows azure Table storage. and also CRUD Functionality for the table.

I made a simple Azure project with an MVC3 WebRole with basic CRUD functionality: Download here.
It's not pretty code and I use some bad practice, but this is just meant as an example.
Check "TableStorageController.cs" for all the table manipulation code.
Make sure you have Azure SDK 1.7, or just replace the references with older versions.

Did you get how to perform CRUD on Table Storage?
may be this can help you:
http://www.windowsazure.com/en-us/develop/net/tutorials/multi-tier-web-site/4-worker-role-a/
And do you know how to perform Aggregate functions on windows Azure Storage Table too?

Related

liquibase example with google-cloud-datastore

I need some example where we can version control our db creation for google cloud datastore.
I can see example for the google cloud mysql https://medium.com/#ramzi.maalej/micronaut-using-google-cloud-sql-9b2fc466c01a but is there any documentation by google cloud to work with the google cloud datastore and liquibase.
Any help or example on how to setup liquibase with cloud datastore will be really appreciated
Even datastore does not offer a versioning system, maybe this could be created from the scratch using the export tool and some code in the back.
https://cloud.google.com/datastore/docs/export-import-entities#rest
For example Visual Studio has a tool to make migrations between the structure of the database, this is aimed to Entity Framework that maps relational databases,
But the most important approach is the thing that NoSQL databases maybe doest have context in each change.
https://guptakumartanuj.wordpress.com/2017/09/04/approaches-to-support-versioning-through-nosql-database-like-document-db/

How to build a tool to enter and access data on cloud

I am a web designer with no coding experience . I was offered a project. .. the client wants a "tool to put all his data(huge employee records) on cloud and to access it as needed " .My question is
What exactly such a tool is called ?
Can it be built without coding? Websites like joomla, etc. Can they be used somehow ?
Can coding be learnt simultaneously with the project?
Sorry for the silly question.
We need a little more information. Is the employee data stored in a database? What type of database is it? When you say cloud what do you mean? AWS?
You might be able to create SQL queries without learning SQL using tools like mysqlworkbench but what you would do with that data after the query I'm not sure.

What is the best use of provided SQL Database table in Windows Azure Mobile Services?

I have been experimenting with Windows Azure Mobile Services. I am impressed that it creates a table for me and a database connection along with projects in various platforms. I wish the data were Windows Azure Storage however, because SQL Database can be expensive.
My thought is, since it is already provided, it makes sense to use it to store account information. Then I can use Azure Storage for frequently changing data. What minimal information should be necessary for such a use?
Here is a possible table design.
unique_id: GUID
email_address : varchar
oath_provider_choice : varchar
oath_yahoo : varchar
oath_google : varchar
oath_microsoft : varchar
Does this make sense or is it too much?
You can access Azure Table Storage from Mobile Services using the Azure Module. I have a pretty extensive sample here (http://chrisrisner.com/Mobile-Services-and-Windows-Azure-Storage) which shows how to insert / update / delete / read tables and rows from Mobile Services Table Scripts (effectively bypassing using the SQL database). It also shows how you can use blob storage. Now that Mobile Services has Custom API, it might make more sense to use that as opposed to the table scripts. You can also communicate directly with table storage (warning: this would require having the account name / key in your client app). As pointed out in the comments, currently each table in Mobile Services generates an ID column which has to be a bigint.

Can I include a database in the XAP, or should I create the database on initial load, for a Windows Phone 7 application?

I have a Windows Phone 7.1 application that currently uses data from text files. At this point I'd like to see how well my queries perform using a database.
This is the first application where no data will be written by the user, instead a number of pre-defined queries will pull the data they request.
In the past I've created the database when the application started for the first time. In this case, since I have the data they'll need, I wonder if I can just create the database (WP7.1, so I'm going to use SQL Server Compact Edition) and include it in the XAP.
I've seen How to add an existing database file into my windows phone 7 app and read data from it?, which gets me to How to: Deploy a Reference Database with a Windows Phone Application, that has an important note that:
Microsoft SQL Server Compact (SQL CE) databases that have been created on the desktop may work with a Windows Phone application, but are not officially supported.
Should I just include data files that will be loaded into a database when the application is loaded, like I've done for my CRUD applications, or can I safely include a database I've created during development?
After continuing to dig into it, I found Jerry Nixon's series on Mango databases, in particular Mango Sample: Database Part 2:2.
I found he actually laid out the steps a little more completely.
Step 1: Create the Database
Step 2: Construct your Schema and Default Data
Step 3: Include the Database in your Project
Step 4: Generate your Entities with SqlMetal
Step 5: Clean up the Data Context
The last step includes information about moving the database.
Look at this previous question here on Stackoverflow. This has been answered already here
Windows Phone 7 databases
Summarizing that answer, yes you can included pre populated DB file with your application, but it is readonly, look at these blog posts it clearly explains how to achieve this -
http://blog.arsanth.com/?p=343
http://erikej.blogspot.com.au/2012/01/windows-phone-local-database-tip.html
Thanks

How to Maintain a Common data over windowsphones?

I am creating an offline app,which have a table of data(SQL)..And that data must be in all the phone using my app...The Application must update this table whenever the phone gets connected to Internet.The Users can insert,update but cant delete their data in the table.
I want this table to be in a common place and store the table to Isolated Storage for offline usage .In my search I found that we can do this through OData with SQLAzure in cloud..I do want to know is there any other way of doing it?
You can use sql-ce dabatabase from mango which is stored in IsolatedStorage.
Here is good article.
For online updating I always use custom webservices running on my server, which is not that hard to develop.

Resources