Click here to Skip to main content
12,826,085 members (33,955 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads

Stats

88.4K views
5.1K downloads
135 bookmarked
Posted 12 Feb 2013

MVC Basic Site: Step 2 - Exceptions Management

, 25 Oct 2013 Ms-PL
This second article from the "MVC Basic Site" series presents in details the exceptions management rules and their implementation for an ASP.NET MVC web site, and provides some utile base classes and source code for Logging and Exceptions Management that can be reused.
MvcBasicSiteDatabase.bak
MvcBasicSiteSourceCode
MvcBasicSite
CreateEventLogEntry
Properties
MvcBasic.Logic
ClassDiagram1.cd
MvcBasicSiteModel.edmx
Properties
MvcBasicSite
app_code
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
ClassDiagram1.cd
MvcBasicSiteModel.edmx
App_Data
ClassDiagramUI.cd
dd_arrow.gif
flag_De.png
flag_En.png
flag_Ro.png
HeaderLogo.png
icon-arrow.gif
animated-overlay.gif
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
animated-overlay.gif
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
MvcBasicSite.csproj.user

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcBasicSite", "MvcBasicSite\MvcBasicSite.csproj", "{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcBasic.Logic", "MvcBasic.Logic\MvcBasic.Logic.csproj", "{C425134C-D6A3-4D00-90BD-E743301883B9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CreateEventLogEntry", "CreateEventLogEntry\CreateEventLogEntry.csproj", "{1D426355-9B4B-48D1-A2EF-D099DDB9C475}"
EndProject
Global
	GlobalSection(SourceCodeControl) = preSolution
		SccNumberOfProjects = 4
		SccLocalPath0 = .
		SccProjectUniqueName1 = MvcBasicSite\\MvcBasicSite.csproj
		SccLocalPath1 = .
		SccProjectFilePathRelativizedFromConnection1 = MvcBasicSite\\
		SccProjectUniqueName2 = MvcBasic.Logic\\MvcBasic.Logic.csproj
		SccLocalPath2 = .
		SccProjectFilePathRelativizedFromConnection2 = MvcBasic.Logic\\
		SccProjectUniqueName3 = CreateEventLogEntry\\CreateEventLogEntry.csproj
		SccLocalPath3 = .
		SccProjectFilePathRelativizedFromConnection3 = CreateEventLogEntry\\
	EndGlobalSection
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Debug|x86.ActiveCfg = Debug|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Release|Any CPU.Build.0 = Release|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{EFD8D6FE-41DF-41C7-9AF9-33CEC3C80E90}.Release|x86.ActiveCfg = Release|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Debug|x86.ActiveCfg = Debug|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Release|Any CPU.Build.0 = Release|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{C425134C-D6A3-4D00-90BD-E743301883B9}.Release|x86.ActiveCfg = Release|Any CPU
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Debug|Any CPU.ActiveCfg = Debug|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Debug|x86.ActiveCfg = Debug|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Debug|x86.Build.0 = Debug|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Release|Any CPU.ActiveCfg = Release|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Release|Mixed Platforms.Build.0 = Release|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Release|x86.ActiveCfg = Release|x86
		{1D426355-9B4B-48D1-A2EF-D099DDB9C475}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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
Program Manager
Romania Romania
I am Project Manager with about 20 years working experience in software development and about 15 years as Software Project Manager and Architect.

You may also be interested in...

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