asp.net mvc internationalization automation - asp.net-mvc

Is any tools for automation in internationalization for mvc exist? I need to internationalize web solution now. it wasn't implemented any features for internationalization there. All content are hard coded mostly (I mean view texts, messages and so on). Maybe some one could advice something that will be helpful in this case.

I am not aware of any tools that might help you if everything is hardcoded. I would recommend you the following guide.

Unfortunately with MVC we don't have the benefit of Visual Studio's "Generate Local Resources" command (available in the Tools menu when a Web Form is open), which does just what you need. So unless someone wrote a tool for this, you are stuck with copying your text to resources manually.

Related

Is there an official page for ASP.NET MVC Futures?

I am planning to integrate Mvc.Futures in my project, but am unable to find any official documentation for this library.
Official project page on nuget.org points to old asp.net project page on codeplex and even there is not so clear where information about Futures can be found.
I might be missing something, but would appreciate if anyone can give me pointers to the right place.
Thanks.
This is follow up on my own question:
I haven't found anything else related to Mvc.Futures after i posted this question, so i ended up using T4MVC which seem to get more love from MSFT than the Futures itself (lead developer of this template is MSFT employee David Ebbo).
We are using it quite successfully so far (more than 8 months) and i am pleased with the results.
For better integration with Visual Studio i am using AutoT4MVC extensions which runs the T4 templates on each change in the sections of the MVC app that require rebuild (such as Controllers, Content*, Views etc..)
To sum up - i would suggest that you stay out of Mvc.Futures for now and use T4MVC instead.

Where can I find Umbraco free skins

I am trying to compare Umbraco with Orchard, and though I could find free Orchard Skins (not many on the site) but couldn't find any for Umbraco.
And in general I looking for CMS system for my own site, what should I choose based on Professional support and ease of development (I am a .Net Developer too)
Update: I was wrong. There are lots of skins for Umbraco.
I think the two CMSes are very different, with Orchard focusing on the authors and Umbraco on the developers. In other words: As far as I know there aren't any skins for Umbraco, because you are expected to choose your own layout framework. If you need skins, then choose a framework that has some.
http://www.noupe.com/css/5-popular-css-frameworks-tutorials-tools-for-getting-started.html
You can pretty much use any HTML template, but you would have to set it up yourself. This makes Umbraco pretty flexible.
Orchard is a little like DotNetNuke with its skinning capability because you can put things inside of styled "containers".

ASP.NET MVC Razor designer

I am introducing ASP.NET MVC to a new team and one of the questions that comes up often is "Is there a designer view"
Even if it's not for layout is there an IN visual studio design view for ASP.NET MVC3 using the razor view engine.
No, there is no designer. It would likely be difficult for a designer to even know what is meant by Razor code in many cases.
It's really not so difficult to just use your web browser as a viewer. You can make changes to the HTML without having to recompile, just make the change, save, and refresh your browser.
EDIT (8/2/2013)
Since this answer was originally written, Microsoft has released Visual Studio 2012 which includes a feature called Page Inspector, which while not a true "designer" in the way that the question was written, it does give a much nicer semi-live preview mode. This has been improved in Visual Studio 2013 (which was RTM'd today, 10/17/13).
I use a web browser window and set the url my localhost in place of the designer.
view > "other windows" > "web browser". I then split the windows vertically or horizontaly.
I was able to work using the following trick:
change the razor file's extension to .html
Open the document
with the document open, change file extension back to .cshtml
Congratulations, you now have a designer's view of the razor file. If you need razor intellisense, close and re-open it.
No, in general you should try and steer clear from visual designers. The combination of HTML/CSS/Javascript is something that just cannot be done well with visual designers and the short term pain of learning these manually will be well worth it. Once you know these well you will be coding in a cleaner and quicker way. I often use Expression Web to do initial layouts before copying it to Visual Studio.
I know I am late to the party, but..
You can trick the IDE as mentioned above, but if you are building applications in MVC, you should be comfortable in code view. It is more productive and most of the responsive design and css implementation can give you false results in design view. Designer is useful in WebForms. But with the Browser Link feature in Visual Studio 2013, there is no longer any reason to trick your IDE, you can have one-to-many browsers open and get live updates back and forth from browser to visual studio. Can't beat that! The browser is where it's at!
Browser Link!
Install the following and you will be golden!
Microsoft Visual Studio 2013 Update 3
Web Essentials (Dependent on VS Update 3)
I think they are working on that as a feature for Expression Blend 5 Developer Preview .
They clearly recognise the issue of designing JS in the designer so I suspect they realise the same applies to some designers working on MVC applications.
I was told by someone from Microsoft "I think in Blend for HTML, using interactive mode, you would probably be just fine with designing MVC or MVVM patterns"
Also check out Visual Studio Page Inspector it looks like it will do what is needed
In Visual Studio 2013 added browser link this allows two way communication between browser and Visual Studio. It means you can refresh browser when you change code and instantly see how it looks. Also you can change Css in the browser and have it saved in Visual Studio
There is workaround it is mentioned here http://www.codeproject.com/KB/aspnet/EnablingDesignerSupport.aspx

Any experiences using SharpDevelop to build an ASP.NET MVC app?

I've always used VS for .NET development, but am just wondering about the alternatives around now. I'm especially interested in use for ASP.NET MVC development. I'm not bothered about any of the visual design aspects of vs, but of course love intellisense and the debugging features.
So, for anyone who has tried SharpDevelop when doing ASP.NET MVC:
How did you get on?
What are the main disadvantages and pain points?
Thanks
By the looks of it, SharpDevelop won't have any problems compiling the project and editing the source...you just won't get any tooling support. From what I've read, that includes aspx files.
Having said that, there does seem to be some movement around an ASP.NET plug-in editor for SharpDevelop here.
Source: http://community.sharpdevelop.net/forums/t/7872.aspx
As an aside, it might to nice to update this question with your experiences if you go down that route... (:
I have used SharpDevelop to create an ASP.Net WebForms project - didn't have too many issues with it. The lack of a visual designer is certainly annoying, but it forces you to think about the source directly, which is a good thing...
I haven't done anything with MVC yet - though from the sounds of things the only thing that's stopping SD at the moment is the tooling. The core developers might have no plans for that, but it's an open source project, so there's nothing stopping an independent effort.
I've gone a very limited amount of work (bug investigation) with the SD code - it seems to me that once you understand their classes it's not bad code... Their failing as a project has been (as it is with most open source efforts) that everyone wants to code, so the documentation gets ignored. No-one likes writing documentation, but clear documentation might have led to far greater participation...
It's a great project, but their decision to ignore the web is madness.
As Kieron said, you'll be able to compile and you'll lack tooling. Unfortunately, #Develop's forum says that they don't plan to directly support it:
ASP.NET support is not planned for SharpDevelop.
The lack of tooling and knowing that it's not coming anytime soon would be the major pain point for me.

What is the best Ruby on Rails environment for a Visual Studio user?

I've been a Visual Studio user since 1997, and used VB 3.0 before that. My whole professional life has been spent inside the Microsoft development environments.
Now I would like to branch out into Ruby on Rails to try something different, and it doesn't have the kind of vendor support that C# does (for very obvious reasons).
For someone coming from the world of Visual Studio, what is the best total environment (IDE, tools, gems, etc) to set up for RoR development on Windows that would make the transition easier?
If you want to stick with Visual Studio, you can always use the Ruby in Steel plugin by Sapphire Steel. The best traditional IDE for Ruby is probably NetBeans, it even has a special stripped-down Ruby Edition.
However, note that unlike less expressive languages like Java, C# or VB.NET, you can not only get by, but even be more productive with a good text editor than with a traditional static IDE. IDEs like NetBeans, Eclipse and Visual Studio are designed with static languages in mind, and trying to force Ruby into that ecosystem is just unnatural.
There is a nice article on The Best Environment for Rails on Windows by Fabio Akita that you might want to read. While I don't agree with everything he writes (mostly because I don't use Rails), it is a pretty good introduction of how you might want to setup a development environment specifically for Rails.
Try JetBrains RubyMine. When installing it, you have the option to set it up to match Visual Studio environment settings. All the short cuts are the same as Visual Studio. It even switches the copy and paste keys from command to control on a Mac. It's a bit expensive considering how many free options there are but in my eyes its worth it.
This thing is so highly customizable it's almost overwhelming.
Netbeans! Its got the most similar features. I developed for years in VS before the switch. It was the only one that I really liked and felt comfortable using.
Netbeans.org
You might find that RadRails (Aptana) is an excellent choice: (http://www.aptana.com/rails) - NOTE: Make sure you look at the Features and Comparisons tab as RadRails has many compelling features. Additionally, I have used Aptana Studio for JQuery development and it help me to be very productive.
I have tried Netbeans and it seemed very promising as well but that is mentioned many times so I thought to offer another approach I was aware of.
Hope this helps!
I use netbeans for two reasons. I like the visual studio style navigation pane and for the debugger.
Be warned though, Netbeans is pretty slow. It doesn't bother me that much because I too am slow.
I also dislike the filename tabs because you can easily be confused about what file you are working on since there is no directory information unless you mouse over the tab.
In 2018? Visual Studio Code! These things always seem to come full circle right?

Resources