In my ISP, they must hire service SQL Server to host a sql server compact framework?
The fact that MVC requires the host to have some extra service? Or a simple hosting plan already supports asp.net MVC?
You can bin-deploy SQL CE 4. Just make sure you are using the RTM version because there was a problem with bin-deployment in betas. Also see Scott Gu's blog post about it.
ASP.NET MVC 3 can also be bin-deployed if your hosting provider doesn't have the assemblies installed in the GAC. All that's need is .NET 4.0.
This being said SQL CE is an embedded database and not designed to work in a heavy multithreaded environments such as ASP.NET. It is good for development and light-usage scenarios. For high-volume sites and applications you'll probably want to migrate it to use SQL Server Express or SQL Server.
Related
I want to deploy ASP.NET Core Web API project on testing server with database. I have gone through heroku but it doesn't support Dot Net applications. Here are the configurations of my application:
ASP.NET Core 5 Web API
SQL Server 2019
Note: I need backend on server so I could test frontend application where ever I am.
I have used the following they each have positives and negatives. The first works the best for me.
winhost.com has cheap SQL + .NET Core hosting. No affiliation with them other than a happy customer for 10 years or so.
Azure, and other cloud hosting also works and is more performant for more money.
You could also setup your own server on an old PC (cheapest option)
You can go with Asphostportal, shared hosting option, they do support both Asp.net core and SQL server. They are pretty cheap, it is around $8/month.
I have been developing an ASP application which I have almost finished. It accesses a SQL database on a Windows sever on AWS. I would like to deploy my application to AWS though.
Does anyone have any suggestions about how I should do this?
Refer to the Deploying an asp.net application thread that contains all necessary information and step-by-step instructions on how to accomplish this task.
If you are deploying an MVC application, check whether the hosting provider provides the support for MVC hosting. Just right-click on the solution and select Publish. Then copy the files into the hosting space.
I am migrating off of Microsoft's OracleConnection class for a asp.net-mvc website given that its being deprecated. I see on the oracle site, there are 2 different options, one is the Oracle ADO Provider for .Net 4 and the other is Oracle ADO ASP Provider for .Net 4. I am trying to figure out the difference because the code that I use to access Oracle in my site is not web specific (its sitting in a different project to the main MVC project and I plan on using this library in desktop apps as well).
Can someone explain the difference between these two libraries and advise on which one I should use for my situation?
The Oracle website can be a problem! :)
The ADO provider is the standard data access code for Oracle from .NET:
Oracle Data Provider for .NET (ODP.NET) features optimized ADO.NET
data access to the Oracle database. ODP.NET allows developers to take
advantage of advanced Oracle database functionality, including
Real Application Clusters
XML DB
The Oracle Providers for ASP.NET you mention, is a specific release for helping with things like ASP.NET State Management, Membership and Roles:
ASP.NET provider developers will discover the
Oracle Providers for ASP.NET are easy to learn and use as they share a
common schema and API with existing ASP.NET providers. They integrate
seamlessly with existing ASP.NET services and controls, just like
other ASP.NET providers.
Oracle offers the following providers:
Membership Provider
Role Provider
Site Map Provider
Session State Provider...
I had an ASP.NET WebForms application. I have been migrating it to use ASP.NET MVC. In the process, I had to strip out my membership code and use a newer implementation. Currently, I am successfully using the SQL Table Profile provider with Windows Azure: http://code.msdn.microsoft.com/Using-the-SQL-Table-4c220996/view/SourceCode#content
My challenge is, what is the equivalent for membership? Considering the SqlMembershipProvider will not work with ASP.NET MVC, I'm not sure what to use now. I need to authenticate my users. Can someone please tell me what "DefaultMembershipProvider" I can use with my tables that are hosted on SQL Azure?
Thank you!S
You would need to use SQL Azure with your webrole to get it working. Sql Azure database has the Asp.net membership/role etc. tables, then Membership and Role provider will work normally without further changes to the Provider. And you sure can use SQLMembershipProvider with MVC3 ASP.NET Web Role and SQL Azure on Windows Azure. You may find articles on internet on how to use it all together:
http://romikoderbynew.com/2011/02/02/using-autofac-mvc3-sqlmembershipprovider-and-entity-framework-in-windows-azure-and-sql-azure/
Also you sure can create your own if wish to as described in this discussion:
ASP.NET MVC3 Custom Membership Provider - The membership provider name specified is invalid
I have a Silverlight application where I use LINQ to SQL to store my data. Now I have added this application to an Azure cloud, and want to use an Azure method to store my data.
But I don't know whether I should use "Azure Table Storage" or "SQL Data Service", and how I can use it.
You should use SQL Data Services. I guess by now you know this:
For the underlying Windows Azure platform, we’re adding FastCGI / PHP support, along with the ability to run full trust .NET applications; SQL Data Services goes relational, allowing you to use the full ADO.NET stack, LINQ to SQL, and so on inside a cloud offering;
via Tim Sneath mix09 post
I don't have a good answer for you, but I do know that Azure Table Storage is for non-relational data tables, meaning that if you need to create relational joins between tables, this most likely won't be the route to go.
As for SQL Data Services, there's a CodePlex project called PhluffyFotos that has a "LINQ to SDS provider" that you might want to check out for inspiration.
PhluffyFotos is a web 2.0 Picture
Gallery Service where users can upload
their pictures from the web or mobile
device. This sample is designed to
demonstrate how you can develop a
multi tenant application using SQL
Server Data Services (SSDS).
The demo utilizes several technologies
including: ASP.NET MVC Preview 4,
LINQ, Windows Communication
Foundation, Silverlight, Windows
PowerShell, and the .NET Compact
Framework 3.5.