Multilingual App Toolkit for web applications - localization

I have come across this very interesting tool for Visual Studio 2012 development of windows apps called Multilingual App Toolkit - further information here
This is very clever how it generates resources based on selected languages etc.
Being a web application developer who develops multi lingual applications, I would love something similar, with same functionality available. For example, I am currently developing an MVC4 application for a client who has a requirement to support multiple languages. Is such a tool available to assist me with this? Or is there away to use the Multilingual App Toolkit for such web sites? Any other similar tools available?

The Multilingual App Toolkit v3.0 now supports ASP.NET MVC projects. See the blog announcement: http://blogs.msdn.com/b/matdev/archive/2014/04/14/announcing-multilingual-app-toolkit-v3-0.aspx

You simply need to do what the Visual Studio extension would otherwise do for you in a Windows Phone / Windows Store project. The extension puts some MSBuild imports in your project file and sets-up your existing resource files so the are generated by the use of the XLIFF files.
For details, please see: http://damsteen.nl/blog/using-the-microsoft-multilingual-app-toolkit-with-asp.net-mvc-or-any-other-.net-project-type

Related

Why webmatrix create mvcforum site as website and not web application

I created web app of mvcforum with webmatrix and now when i create
again its website and not soloution project how i can create web
soloution project of mvcforum with webmatrix?
WebMatrix doesn't support the Web Application project type. Therefore it is not the correct tool for ASP.NET MVC development. You should use Visual Studio instead. The Community edition is free for single users and includes the same feature set as the Developer version (https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx).

ASP.NET to Mobile

Right now I am developing a website in visual studio using ASP.NET and C#. Is there any easy way to turn it into an application where iPhone users can get it on the app store. I heard something about Xamarin(monotouch), but I did not really understand exactly what it did.
No. Xamarin is a framework that lets you write Apps for iOS and Android using C# and accessing the native API frameworks. It does not allow you to simply port any .NET app to a mobile platform.
You can use responsive design to allow your ASP.NET site to work with both desktop and mobile browsers. See http://www.asp.net/mobile
As Jason wrote Monotouch enables you to build native applications. If you would choose a single page application approach you would be able to put the output in PhoneGap to publish it to the AppStore/Google Play.
That requires a bit of different thinking and doing, as you can't rely on the classic model with controllers/views and hard links.
However, it is still possible and I did it already for a project. I have an ASP.NET MVC application with Razor etc. as foundation, so I can easily manage the different "pages", dozens of different script files etc. However, all pages are Parial Views rendered within one single page. The nice thing about is, that this application works in each browser and is testable, too. To get it additionaly in an app container, we wrote a little tool that grabs all the output of that single page and converts it to a static HTML file, copying and referencing all the images, stylesheets and scripts, too.

Create MVC app in Visual Studio 2013 Express for Web

Does Visual Studio 2013 Express for Web allow creating MVC applications and hybrid apps that are MVC as well as usable on mobile devices?
VS2013 Express for Web allows for creating any ASP.NET projects that the full version can create. This includes MVC, WebForms, and WebAPI. It is a perfectly viable tool for any web site; the features you'll miss from the full version are tooling features such as performance and code analysis, extensibility features (of VS), etc.

Move MVC application in VS2008 to windows azure

I am new to Azure.I have MVC application build in VS 2008. It does not uses any database. How can I migrate the application to windows azure.
Which SDK and tool kit i should use.
Do i need to upgrade my app to 2010 before migrating
Is there any built in support for MVC
What role I should use
Thanks
Ank
Windows Azure hosts various roles, one of which is a WebRole. You can easily place an MVC project into this role for hosting on Azure.
Firstly, you will need to upgrade to VS2010 as I believe the latest SDK (Version 1.4) only supports VS2010. Download that from here http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7a1089b6-4050-4307-86c4-9dadaa5ed018&displaylang=en
Once you have it installed, you create a Cloud project in VS. You then add your existing MVC projects to this solution. You then add a web role to the Cloud project you created and select your MVC project as the target.
There are a few things extra you need, such as setting copy-local on some referenced assemblies.
Here is an excellent post on the subject: http://blogs.msdn.com/b/jnak/archive/2008/10/28/asp-net-mvc-projects-running-on-windows-azure.aspx
Which SDK and tool kit i should use.
1.4 is the latest download link
Do i need to upgrade my app to 2010 before migrating
yes, SDK 1.4 does not support 2008
Is there any built in support for MVC
yes you will find a ASP.NET MVC 2 WebRole template`
What role I should use
this depends, try starting with Extra Small

Solution for web designer using an OSX to develop an ASP.NET MVC project?

The project is developed using ASP.NET MVC framework and heavily relies on .NET 3.5.
What would be the best solution to allow a web designer, who is using OSX, to develop the site's UI? Basically he would just need to edit the aspx, css and js files, but also run the web application locally.
I've thought of some possibilites:
Install parallels/vmware/bootcamp and set up everything as you would for windows. Bad: it would be slow, OSX user doesn't like working in windows
Set up Mono and run the webapp on that. Use whatever tool you want for editing the front end files. Bad: does mono support MVC framework, .NET 3.5 and database connections? Unfamiliar platform, so possibly a lot of work setting it up, if it even will work.
Run the site on a separate server, and edit the front end files via network drive. Bad: our development server is so slow that seeing the changes takes too long...
Do you have other ideas or comments for these options?
Thanks!
You could try using a virtual machine. VirtualBox is a free one and is quite simple to setup. The only downside is that you need your own copy of Windows...
What you really need to do is have your web designer mock up the pages in static HTML, CSS, and JavaScript first (in their environment of preference.) Once that's done, adapting the markup to the ASP.NET project should be easily doable by yourself or the designer on a Windows machine (or virtual machine, your preference).
The MVC framework is part of Mono. Ares Technica has an article about the MVC framework and running it on Mono.
While it seems that some people were able to hack the framework to work on Mono back in March and April of this year, Microsoft has since released the MVCframework as open source and it is now fully supported by Mono as of the 2.4.2 release.
Here is a link to the most recent Mono releases along with Virtual Machine images that already been pre-configured to give you the best development experience.
Good luck with your project and hope this helps some.

Resources