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
Go to top

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
MvcBasicSiteDatabase.bak
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
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="AboutTitle" xml:space="preserve">
    <value>About</value>
  </data>
  <data name="AddressCountry" xml:space="preserve">
    <value>Country</value>
  </data>
  <data name="AddressFax" xml:space="preserve">
    <value>Fax</value>
  </data>
  <data name="AddressFirstName" xml:space="preserve">
    <value>First name</value>
  </data>
  <data name="AddressLastName" xml:space="preserve">
    <value>Last name</value>
  </data>
  <data name="AddressPhone" xml:space="preserve">
    <value>Phone</value>
  </data>
  <data name="AddressStreet" xml:space="preserve">
    <value>Street</value>
  </data>
  <data name="AddressTown" xml:space="preserve">
    <value>Town</value>
  </data>
  <data name="AddressZipCode" xml:space="preserve">
    <value>Zip</value>
  </data>
  <data name="Cancel" xml:space="preserve">
    <value>Cancel</value>
  </data>
  <data name="HeaderPartialLogoff" xml:space="preserve">
    <value>Log off</value>
  </data>
  <data name="HeaderPartialLogon" xml:space="preserve">
    <value>Log on</value>
  </data>
  <data name="HeaderPartialWelcome" xml:space="preserve">
    <value>Welcome</value>
  </data>
  <data name="HeaderTitle" xml:space="preserve">
    <value>MVC Basic Site</value>
  </data>
  <data name="IndexTitle" xml:space="preserve">
    <value>Welcome!</value>
  </data>
  <data name="LogOnErrorMessage" xml:space="preserve">
    <value>The user name or password provided is incorrect.</value>
  </data>
  <data name="LogOnLegend" xml:space="preserve">
    <value>Account Information</value>
  </data>
  <data name="LogOnLoginButton" xml:space="preserve">
    <value>Login</value>
  </data>
  <data name="LogOnMessage" xml:space="preserve">
    <value>Please enter your username and password or you can</value>
  </data>
  <data name="LogOnMessage2" xml:space="preserve">
    <value>if you don't have an account.</value>
  </data>
  <data name="LogOnModelPassword" xml:space="preserve">
    <value>Password</value>
  </data>
  <data name="LogOnModelUsername" xml:space="preserve">
    <value>Username</value>
  </data>
  <data name="LogOnRegisterLink" xml:space="preserve">
    <value>register</value>
  </data>
  <data name="LogOnTitle" xml:space="preserve">
    <value>Log On</value>
  </data>
  <data name="LogOnValidationSummary" xml:space="preserve">
    <value>Login was unsuccessful. Please correct the errors and try again.</value>
  </data>
  <data name="MenuAbout" xml:space="preserve">
    <value>About</value>
  </data>
  <data name="MenuHome" xml:space="preserve">
    <value>Home</value>
  </data>
  <data name="RegisterBack" xml:space="preserve">
    <value>Back</value>
  </data>
  <data name="RegisterInvalidUsername" xml:space="preserve">
    <value>The username is invalid! There is already a registred user for this username.</value>
  </data>
  <data name="RegisterRegister" xml:space="preserve">
    <value>Register</value>
  </data>
  <data name="RegisterThanks" xml:space="preserve">
    <value>Thank you for your registration!</value>
  </data>
  <data name="RegisterTitle" xml:space="preserve">
    <value>Register</value>
  </data>
  <data name="UserAndAddressComfirmEmail" xml:space="preserve">
    <value>Comfirm email</value>
  </data>
  <data name="UserAndAddressComfirmPassword" xml:space="preserve">
    <value>Comfirm password</value>
  </data>
  <data name="UserAndAddressEmail" xml:space="preserve">
    <value>Email</value>
  </data>
  <data name="UserAndAddressPassword" xml:space="preserve">
    <value>Password</value>
  </data>
  <data name="UserAndAddressUsername" xml:space="preserve">
    <value>Username</value>
  </data>
  <data name="ValidationRequired" xml:space="preserve">
    <value>Required</value>
  </data>
  <data name="WebAppTitle" xml:space="preserve">
    <value>MVC Basic </value>
  </data>
</root>

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)

Share

About the Author

Raul Iloc
Architect SoftCon IT Services
Romania Romania
I am a software project manager with about 19 years working experience in software development and about 14 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.
 
I'm currently Project Manager and Software Architect for .NET Development at SOFTCON IT Services SRL Timisoara a subsidiary of SOFTCON AG Munich Germany.

You may also be interested in...

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