Update for ASP.NET MVC 4 + EF 5

Jul 23, 2012 at 7:38 PM

Hi there, first off great work. I believe that your application will be a solid foundation for my multi user/tenant application.

I was just wondering are there any plans or works under way to port this to ASP.NET MVC 4 + .NET 4.5 + EF 5 frameworks?

Thanks again !

Jul 27, 2012 at 6:02 PM

When I build and then run this in VS 2012 Express for Web I get the following error:

System.InvalidOperationException was unhandled by user code� HResult=-2146233079� Message=the role environment has not been initialized�

at ..

Tenant = Tenant.GetTenantByNamespace(RoleEnvironment.IsEmulated ? "trent" : tid);
Any ideas?

Feb 17, 2013 at 2:16 PM
In my case the error was related to failure on SQL database connection, I added the right database connection settings at the CloudNinja.Cloud web role settings.

Now I'm stuck on another error at TaskController TaskContext, I'm getting error login failed for the app user (same I use for connection) I suspect there is something I have to implement on the database to make federation available.

Has anyone ever implemented this sample?

Regards.
Danfer.
Nov 4, 2014 at 12:06 AM
Hi, my name is Debra Dove and I’m a Program Manager on the Azure SQL Database (http://azure.microsoft.com/en-us/services/sql-database/) team at Microsoft. I am reaching out to you because this project uses the Federations feature. I want share with you the new investments that our team is making in scale-out technology, especially now that the Federations feature is approaching its end-of-life (http://msdn.microsoft.com/library/azure/dn741330.aspx).

Recently, we announced our Public Preview for Azure SQL DB Elastic Scale (http://go.microsoft.com/?linkid=9862608) - a set of .NET client APIs that enable you to query one shard or a set of shards as well as manage your shard metadata. Additionally, we are also previewing a management service that provides the ability perform both split and merge operations on shards. I invite you to please see our Elastic Scale getting started page (http://go.microsoft.com/fwlink/?LinkID=510913) as well as our documentation map (http://azure.microsoft.com/en-us/documentation/articles/sql-database-elastic-scale-documentation-map/).

Additionally, as part of this preview, we have also created a Federation Migration Utility to assist in the migration of an existing Federation application to the Elastic Scale solution without performing any data movement. For more information, please see the following conceptual documentation (http://azure.microsoft.com/en-us/documentation/articles/sql-database-elastic-scale-documentation-map/) and video (http://channel9.msdn.com/Blogs/Windows-Azure/Azure-SQL-Database-Federations-Migration).