I'm using octopus deploy with the IIS deploy option and I want to set the culture and ui culture to spanish
There are any options to change this settings from Octopus?
It's configurable via web.config
<globalization culture="es-AR" uiCulture="es-AR" />
Related
Can I host a MVC3 website on an Azure Web Site ?
I try to deploy an MVC3 website to Azure Web Sites (in preview).
If I leave the web.config file I got an error.
If I remove the web.config file, like I did with a normal ASP.net website, then I got other errors that seems related to MVC3.
Thanks
I ended up following this tutorial.
http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/
It seems that if you if you have some additional configuration, you need the SDK.
To publish plain aspx websites, you dont need the SDK.
In terms of running an MVC website in Azure websites, I found this: http://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-database/
Hello everyone I want to ask how to publish a MVC3 project on IIS 7
I have done these steps:
Installed neccessary dlls
Microsoft.Web.Infastructure
System.Web.Helpers
System.Web.Mvc
System.Web.Razor
System.Web.WebPages
System.Web.WebPages.Deployment
System.Web.WebPages.Razor
Changed Framework
But it still does not publish
When you deploy it you can keep your projet in root folder where local disk C: or whatever and please dont forget to which framework you are using and you can change the framework at application pool
Requested URL: /Views/Home/Index.cshtml
Your requested URL is wrong. You cannot directly access Views. You should pass through a controller action, so the correct url that you need to type in your browser is /home/index.
You may take a look at some of the tutorials about ASP.NET MVC here: http://asp.net/mvc
In VS2010 ,I published my asp.net mvc3 web application as a file system and on IIS Manager, I created a new virtual directory(file system) and created a new website. But browsing the website is not redirecting me to the desired controller action. Can anyone suggest where i am going wrong?
IIS6 doesn't support extensionless urls by default. You will have to configure a wildcard mapping if you want to use such urls. Otherwise you will need to modify your routing in order to append an extension in all your urls that is associated with the aspnet_isapi filter in IIS.
Here's a guide that you may checkout: ASP.NET MVC 3 Extensionless URLs on IIS 6
I would like to try testing virtual hosting of an ASP.Net MVC website on my local machine. In Visual Studio in the Web tab of the properties file for the MVC project, I selected Use Local IIS Web Server. By "virtual hosting", what I really mean is that I'm trying to make sure that pages load correctly for urls of the form http://sub-domain-i.my-domain.com/MyMvcProject/Controller/Action, where I'm hoping to test multiple subdomains in place of sub-domain-i. In production, everything will be running under a single IP address on one server. I also hope to test https for urls of this form using a wildcard ssl certificate, but currently I'm having trouble configuring Visual Studio to just test regular http. Prior to worrying about sub-domains, the Project Url field in the Web tab of the properties folder for my MVC project said "http://localhost/MyMvcProject", and everything worked fine. However, after changing this to "http://sub-domain-1.my-domain.com/MyMvcProject" and then adding the following line into my C:\Windows\System32\drivers\etc\hosts file,
127.0.0.1 sub-domain-1.my-domain.com
Visual Studio produces the error "Unable to create the virtual directory. http://sub-domain-1.my-domain.com/MyMvcProject". Does anyone know what I might be doing wrong?
Many thanks in advance!
Edit: I've just discovered that if I select Use Custom Web Server instead of Use Local IIS Web server, it works and I don't get the popup error from Visual Studio. I'm still not sure why this solution works, though, or what I was doing wrong by selecting Use Custom Web Server...
A little late, but I hope it helps somebody.
You need to create the binding in the IIS website prior to add it to the project url of the project. That binding must be like
http | sub-domain-1.my-domain.com | 80 | * or 127.0.0.1
How to create a binding
I am have a web application on local IIS (mylocalsite.com)
What settings I need, so that I can handle all subdomains of my local site, like
user1.mylocalsite.com
user2.mylocalsite.com
anything.mylocalsite.com
All urls will point to same index page from where I can seperate subdomain and load page accordingly.
Since your description is not that clear, my initial thought would that you can setup different Bindings in IIS to cater for all the subdomains.
In IIS 7, right click your website -> Edit Bindings -> Add..
But my guess would be that you may need to do this from code, since users are added to your system (assuming user/sub-domain model). For this I refer you to
Create Binding in in IIS (iis.net)
Cool new IIS7 Features and APIs - ScottGu
Microsoft.Web.Administration