Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

MVC Basic Site: Step 1 – Multilingual Site Skeleton

, 25 Oct 2013
This article is intended to be the first one from this series and is focused mainly in the creation of a multilingual MVC web site skeleton.
mvcbasicsitedatabase.zip
mvcbasicsitesourcecode.zip
MvcBasicSiteSourceCode
MvcBasicSite
MvcBasic.Logic
MvcBasicSiteModel.edmx
Properties
MvcBasicSite
app_code
App_Data
App_GlobalResources
ClassDiagramUI.cd
Content
Images
dd_arrow.gif
flag_De.png
flag_En.png
flag_Ro.png
HeaderLogo.png
icon-arrow.gif
themes
base
images
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
Controllers
Global.asax
Models
MvcBasicSite.csproj.user
Properties
Scripts
Views
Account
Home
Shared
@model MvcBasic.Logic.User
@using MvcBasic.Logic;
@{
    Address address = Model.Address;
    if (address == null)
    {
        address = new Address();
        Model.Address = address;
    }
}
<tr>
    <td>
        @Resources.Resource.UserAndAddressUsername
    </td>
    <td>
        @Html.EditorFor(model => model.Username)
        @Html.ValidationMessageFor(model => model.Username)
    </td>
    <td>
        @Resources.Resource.UserAndAddressPassword
    </td>
    <td>
        @Html.EditorFor(model => model.Password)
    </td>
    <td>
        @Html.ValidationMessageFor(model => model.Password)
    </td>
</tr>
<tr>
    <td>
    </td>
    <td>
    </td>
    <td>@Resources.Resource.UserAndAddressComfirmPassword
    </td>
    <td>
        @Html.EditorFor(model => model.ComfirmPassword)
    </td>
    <td>
        @Html.ValidationMessageFor(model => model.ComfirmPassword)
    </td>
</tr>
<tr>
    <td>
        @Resources.Resource.UserAndAddressEmail
    </td>
    <td>
        @Html.EditorFor(model => model.Email)
        @Html.ValidationMessageFor(model => model.Email)
    </td>
    <td>
        @Resources.Resource.UserAndAddressComfirmEmail
    </td>
    <td>
        @Html.EditorFor(model => model.ComfirmEmail)
    </td>
    <td>
        @Html.ValidationMessageFor(model => model.ComfirmEmail)
    </td>
</tr>
@Html.Partial("_Address", address)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

About the Author

Raul Iloc
Architect SoftCon IT Services
Romania Romania
I'm currently Project Manager and Software Architect for .NET Development at SOFTCON IT Services SRL Timisoara a subsidiary of SOFTCON AG Munich Germany.
 
I am a senior software engineer with about 18 years working experience in software development and about 13 years as Project Manager and Architect.
I have about 12 years working experience in C# and .NET, 7 years working experience in C++ and Visual C++, 2+ years working experience in Java and J2EE.

| Advertise | Privacy | Mobile
Web04 | 2.8.140718.1 | Last Updated 25 Oct 2013
Article Copyright 2013 by Raul Iloc
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid