Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Forums application using MVC4 and Entity Framework

, 15 Feb 2013
I would like to share the application which is done in MVC4 using Entity Framework.
mvcForumapp-noexe.zip
mvcForumapp
App_Start
bin
Content
css
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
minified
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
mvcForumapp.csproj.user
mvcforums.edmx
obj
Debug
edmxResourcesToEmbed
mvcforums.csdl
mvcforums.msl
mvcforums.ssdl
Properties
Scripts
Views
Login
Logout
Question
Question_Answer
Register
Reply
Shared
Technology
mvcForumapp.zip
App_Data
Antlr3.Runtime.dll
EntityFramework.dll
Microsoft.Web.Infrastructure.dll
mvcForumapp.dll
mvcForumapp.pdb
Newtonsoft.Json.dll
System.Net.Http.dll
System.Net.Http.Formatting.dll
System.Net.Http.WebRequest.dll
System.Web.Http.dll
System.Web.Http.WebHost.dll
System.Web.Mvc.dll
System.Web.Optimization.dll
System.Web.Providers.dll
System.Web.Razor.dll
System.Web.WebPages.Deployment.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
WebGrease.dll
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
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
Global.asax
mvcForumapp.csproj.user
mvcforums.edmx
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
mvcforums.csdl
mvcforums.msl
mvcforums.ssdl
mvcForumapp.dll
mvcForumapp.pdb
ResolveAssemblyReference.cache
TempPE
mvcforums.Designer.cs.dll
video2.zip
#lightbox
{
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 16000 !important;
    text-align: center;
    line-height: 0;
}
#lightbox img
{
    width: auto;
    height: auto;
}
#lightbox a img
{
    border: none;
}
#outerImageContainer
{
    position: relative;
    background-color: #fff;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}
#imageContainer
{
    padding: 10px;
}
#loading
{
    position: absolute;
    top: 40%;
    left: 0%;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}
#hoverNav
{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}
#imageContainer > #hoverNav
{
    left: 0;
}
#hoverNav a
{
    outline: none;
}
#prevLink, #nextLink
{
    width: 49%;
    height: 100%;
    background-image: url(http://www.gimptalk.com/public/style_images/master/spacer.gif); /* Trick IE into showing hover */
    display: block;
}
#prevLink
{
    left: 0;
    float: left;
}
#nextLink
{
    right: 0;
    float: right;
}
#prevLink:hover, #prevLink:visited:hover
{
    background: url(http://www.gimptalk.com/public/style_images/master/lightbox/prevlabel.gif) left 15% no-repeat;
}
#nextLink:hover, #nextLink:visited:hover
{
    background: url(http://www.gimptalk.com/public/style_images/master/lightbox/nextlabel.gif) right 15% no-repeat;
}
#imageDataContainer
{
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    overflow: auto;
    width: 100%;
}
#imageData
{
    padding: 0 10px;
    color: #666;
}
#imageData #imageDetails
{
    width: 70%;
    float: left;
    text-align: left;
}
#imageData #caption
{
    font-weight: bold;
}
#imageData #numberDisplay
{
    display: block;
    clear: left;
    padding-bottom: 1.0em;
}
#imageData #bottomNavClose
{
    width: 66px;
    float: right;
    padding-bottom: 0.7em;
    outline: none;
}
#overlay
{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15000 !important;
    width: 100%;
    height: 500px;
    background-color: #000;
}

/************************************************************************/
/*  BBCODE STYLES */
/* 	NOTE: These selectors style bbcodes throughout IPB. It is recommended that you DO NOT change these 
	styles if you are creating a skin since it may interfere with user expectation
	of what certain BBCodes look like (quote boxes are an exception to this). */

strong.bbc
{
    font-weight: bold !important;
}
em.bbc
{
    font-style: italic !important;
}
span.bbc_underline
{
    text-decoration: underline !important;
}
acronym.bbc
{
    border-bottom: 1px dotted #000;
}
span.bbc_center, div.bbc_center
{
    text-align: center;
    display: block;
}
span.bbc_left, div.bbc_left
{
    text-align: left;
    display: block;
}
span.bbc_right, div.bbc_right
{
    text-align: right;
    display: block;
}
div.bbc_indent
{
    margin-left: 50px;
}
del.bbc
{
    text-decoration: line-through !important;
}
ul.bbc
{
    list-style: disc outside;
    margin-left: 30px;
}
ul.bbc ul.bbc
{
    list-style-type: circle;
}
ul.bbc ul.bbc ul.bbc
{
    list-style-type: square;
}
ul.bbcol.decimal
{
    margin-left: 30px;
    list-style-type: decimal;
}
ul.bbcol.lower-alpha
{
    margin-left: 30px;
    list-style-type: lower-alpha;
}
ul.bbcol.upper-alpha
{
    margin-left: 30px;
    list-style-type: upper-alpha;
}
ul.bbcol.lower-roman
{
    margin-left: 30px;
    list-style-type: lower-roman;
}
ul.bbcol.upper-roman
{
    margin-left: 30px;
    list-style-type: upper-roman;
}
hr.bbc
{
    display: block;
    border-top: 2px solid #777;
}
div.bbc_spoiler
{
}
div.bbc_spoiler span.spoiler_title
{
    font-weight: bold;
}
div.bbc_spoiler_wrapper
{
    border: 1px inset #777;
    padding: 4px;
}
div.bbc_spoiler_content
{
}
input.bbc_spoiler_show
{
    width: 45px;
    font-size: .7em;
    margin: 0px;
    padding: 0px;
}
pre.prettyprint
{
    padding: 5px;
    background: #f8f8f8;
    border: 1px solid #c9c9c9;
    overflow: auto;
    margin-left: 10px;
    font-size: 11px;
    line-height: 140%;
}
.bbc_member, .bbc_url, .bbc_email
{
    color: inherit;
}

/* Quote boxes */
p.citation
{
    background: #d3e9dc url(http://www.gimptalk.com/public/style_images/master/citation_bg.png) no-repeat right;
    color: #2b3730;
    font-size: 0.9em;
    font-weight: bold;
    border-width: 1px 1px 0 3px;
    border-style: solid;
    border-color: #6fa987;
    padding: 5px 8px;
}

div.blockquote
{
    background: #f3f9f6;
    font-size: 0.9em;
    border-width: 1px 1px 1px 3px;
    border-style: solid;
    border-color: #6fa987;
    margin: 0px;
    margin-top: 0px;
}

div.blockquote p.citation
{
    background-color: #e5d2e9;
    color: #413544;
    border-color: #ae7eb9;
}

div.blockquote div.blockquote
{
    background: #f9f5fa;
    font-size: 1em;
    border-color: #ae7eb9;
    margin: -0px 15px 0px 15px;
}

div.blockquote div.blockquote p.citation
{
    background-color: #e9e7d1;
    color: #474534;
    border-color: #b2ab72;
}

div.blockquote div.blockquote div.blockquote
{
    background: #f9f8f3;
    border-color: #b2ab72;
}

div.blockquote p.citation
{
    margin: 6px 15px 0 15px;
    font-size: 1em;
}

div.quote
{
    padding: 12px;
}

div.quote p.blockquote
{
    margin-left: -12px;
}

cite
{
    display: block;
    font-weight: bold;
}

blockquote cite
{
    font-size: 1em;
}

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 Code Project Open License (CPOL)

About the Author

demouser743
Software Developer
India India
I am Dorababu, working as a Software engineer. Web development in Asp.Net with C#, WinForms and MS sql server are the experience tools that I have had for the past 3 years. Yet to work on WCF, WPF, Silverlight and other latest ones.
Follow on   Twitter   Google+

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 15 Feb 2013
Article Copyright 2013 by demouser743
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid