Enable 32 bit application on Azure Website - asp.net-mvc

I am surprised but I cannot seem to find much on this on the internet.
I did see something about needing to do it through a Web Role but I don't think that Azure does Web Roles anymore, I do not see the ability to add a Web Role in Azure Management Studio.
For clarity, this an Azure Website, not a VM. I need to Enable 32 Bit Applications in the Azure Website but I do not think I can after reading this:
What is the difference between an Azure Web Site and an Azure Web Role
Do I have to create an Azure VM to Enable 32 bit applications in IIS?

If you need to install/register 32bit application, you have to use Web Role.
If you just want to run your website in 32bit mode, you can use Web Site. It must be in Basic or Standard mode. Then you can switch between 32bit and 64bit in management portal 'configure' tab.

Related

Umbraco Site Deployment

I've an umbraco site which is currently on my localhost IIS..
I've see several hosting and it's have different price plan between umbraco hosting and the asp mvc site hosting..
To make my site live, are I need to choose the umbraco hosting plan, because my logic thing on local my umbraco site work normally in IIS without additional IIS plugin or setup.. So I can just choose the general asp mvc site hosting
I'm new to umbraco and this is my first time deploy an umbraco site..
Any idea guys? Thanks
Umbraco will run on any standard IIS based hosting that supports .Net and SQL Server. If you're using a SQL CE database rather than full SQL Server (or MySQL), you'll need to make sure that your host supports that too.
Also, ensure your hosting provider supports Medium trust and generally not Shared Server, although I have heard users getting this going.
If its within your budget buying a VM Server and handling the hosting provides total control over the environment.
Have you looked at Umbraco Cloud?

Uploading MVC site to server

I've built an .NET MVC4 website using C#, and now I want to upload it to the internet.
I've never uploaded any website so I don't really know what steps I need to do.
Does it matter what kind of server to use, because when I run the website through VS2012 I can see it runs with IIS express, but then I realized there are several kinds of servers, like apache. Do I need specific kind of server?
And what about domain? what is the difference between domain and server.
Thanks.
You will need IIS for running .NET applications. Apache is more suited for Java, PHP and other languages.
The server/hosting is the space where you upload your project files.
The domain or ip address is what in put in your browser bar to be able to access your application. (Ex: google.com is a domain which is pointing to some server where the google site is hosted).Unless you want to access your application by typing the ip address of the server in the browser you need to buy a domain.
Take a look here for a more detailed explanation:
http://support.hostgator.com/articles/hosting-guide/what-is-the-difference-between-domains-vs-hosting-vs-website
Many web hosting providers allow you to buy a domain when purchasing the hosting serivce but you can buy it separatly and then point it to the ip address of your server.
I dont know many about WIndows web hosting providers but you might start looking in the Microsoft Asp.net website: http://www.microsoft.com/web/hosting/home
In your case you need to choose a hosting provider which supports MVC4.
Then you need to upload your project to the server. Take a look here: http://msdn.microsoft.com/en-us/library/dd410407(v=vs.90).aspx
Your server should come with an FTP account configured. You can use it to upload your files.
A domain is only a address in the internet which allows people to find certain places like an adress in a city.
So in order to make people find your stuff on the internet you have to have it a domain name.
It's the www.mvc4.com <----domain name
The other thing is the type of Server you need apache is also a server but in most cases it is used with java applications. What you need to do is to find a server which supports C# code and
type in .net hosting in google and you will find a lot hosters where you can register domain name for your C# code
step 1: Buy domain from website like Godaddy, net4 india etc
Step 2: Buy windows hosting to host MVC Application from web hosting like Godaddy, net4 india etc. Please buy latest framework hosting
Step 3: Build application using MVC(any version)
Step 4: Upload the published files to FTP.
Run the application.

Windows Azure + Asp.Net MVC + E-Commerce

I will developp and host an e-commerce website based on Asp.Net MVC4 (with several SQL Server Jobs).
I think use Azure in order to stay in Microsoft's world and avoid dedicated server management.
The package Web Site Shared with 1 site / 5Go SQL Server Database / 200Go Bandwidth is very interesting with the price based on 12 months.
But i don't know if this configuration is enough specially on the bandwidth.
What do you think of ? Did you use Azure with this type of application ?
Regards,
Guillaume.
If you want to develop E-Commerce application you will have to secure customers' sensitive data i.e. credit cards, address details etc. via secure connections (HTTPS; in many countries this is legal requirement). For that reason you will have to have SSL support.
Azure Website do not support SSL for custom domains. However, they support SSL for *.azurewebsites.net DNS name. So if your E-Commerce application DNS will be, say, my-ecom-app.azurewebsites.net then it's fine. Otherwise, I would not recommend Azure Website solution yet (I am sure SSL support for custom domains on Azure Website will be implemented).
Azure Cloud Services, on the other had, have full support of SSL for custom domains.
One of the really good websites to check Azure features and development roadmap is ScottGu's Blog
Azure Web Sites do not support SSL and I really don't know of any successful e-commerce site that does not run SSL for at least part of the website. If you really want to host your e-commerce on Azure today your only real choice is to run Virtual Machines for your web front end servers and use them for your DB or use SQL Azure.
We developed platform called Virto Commerce that does just that, MVC4 website hosted on Azure. There was also a need for SQL Jobs (indexing, payment processing, cart cleanups and so on) for which we used WorkerRole (instead of WebRole). WorkerRole and WebRole can actually be combined as part of a single deployment, however it is better to use a different instance for worker roles. In our case WorkerRole acted as a scheduler for multiple jobs defined in the database.
The challenge with WorkerRoles however is to make sure they scale well when new instances are added. So the workload needs to be distributed between multiple instances. This is done through the use of queues and blob locks, where each job is now split into two, one that schedules and partitions the work and the second that actually picks up the next partition and completes it.
Hope this helps!
PS: Virto Commerce is now available as an open source project on codeplex, go to http://virtocommerce.codeplex.com

AppDomain dynamic assembly loading for ASP.NET MVC on Windows Azure?

I have already several .NET backgrounds apps on Windows Azure (aka Worker Roles) that are relying on AppDomain isolation and dynamic assembly loading. The main benefits are:
rebooting the app with new assemblies takes a few seconds (versus 5min for VM reboot).
teamwork is simplified as we can use the Azure Storage account to grant narrow access to the app only (instead of granting accesses to all Windows Azure services through the portal).
I am currently considering extending the process to Web Role for ASP.NET MVC webapp. Does anyone knows how to do this?
If you are already doing dynamic loading in a worker role then why the question for a web role. It is exactly the same.
Maybe you can elaborate a little on what you thing you are missing?

Silverlight 3 Out of Browser Application feature

I am currently researching new technologies for our company's development road map and saw that Silverlight 3 has the ability to install an application on the client's desktop.
Is this feature a full or partial emulation of a WinForms application and does it provide the ability to access all or limited local resources on the client's computer?
The Silverlight 3 Getting Started page lists some details. Scroll down near the bottom and read the details under "Out of Browser Capabilities". It says that Silverlight 3 applications are sandboxed and, while they have access to persistent storage, this storage is separate from the regular file system.
it's not a winforms application at all, this will even work on linux (via moonlight). it does provide some resource access, but it's sandboxed unless the user allows certain access. Just like adobe air.
It's not an emulation of WinForms at all. The closest comparison to true Desktop technology would be a WPF (Windows Presentation Foundation) application.
If you're familiar with Adobe Air, the Silverlight Out of Browser experience will be similar...but different. The main difference being that a Silverlight out of Browser application will run in a "protected" sandbox which means your application will only have limited access to resources on the host PC.

Resources