Skip to content

Commit

Permalink
Updated and fixed mvc test application
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed May 5, 2020
1 parent c92e442 commit 419a884
Show file tree
Hide file tree
Showing 30 changed files with 1,614 additions and 1,553 deletions.
25 changes: 25 additions & 0 deletions samples/ASPNet/MvcTestApplication.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcTestApplication", "MvcTestApplication\MvcTestApplication.csproj", "{2658E893-EB33-43FE-B4D0-AD16BC76578B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2658E893-EB33-43FE-B4D0-AD16BC76578B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2658E893-EB33-43FE-B4D0-AD16BC76578B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2658E893-EB33-43FE-B4D0-AD16BC76578B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2658E893-EB33-43FE-B4D0-AD16BC76578B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9288D4A6-BBEC-4995-89CE-5E5AC37851B4}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
using System;

namespace MvcTestApplication
{
public class ApplicationDependencyClass : IApplicationDependency
{
private readonly DateTime _CurrentDateTime;

/// <summary>
/// Initializes a new instance of the RequestDependencyClass class.
/// </summary>
public ApplicationDependencyClass()
{
_CurrentDateTime = DateTime.Now;
}

public string GetContent()
{
return "This is an application level dependency, constructed on: " + _CurrentDateTime.ToLongTimeString();
}
}
}
using System;

namespace MvcTestApplication
{
public class ApplicationDependencyClass : IApplicationDependency
{
private readonly DateTime _CurrentDateTime;

/// <summary>
/// Initializes a new instance of the RequestDependencyClass class.
/// </summary>
public ApplicationDependencyClass()
{
_CurrentDateTime = DateTime.Now;
}

public string GetContent()
{
return "This is an application level dependency, constructed on: " + _CurrentDateTime.ToLongTimeString();
}
}
}
Loading

0 comments on commit 419a884

Please sign in to comment.