Skip to content

Commit ff0dec0

Browse files
committed
First check in main project
1 parent 90ab26c commit ff0dec0

File tree

365 files changed

+252317
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+252317
-0
lines changed

ADONETWithSqlServerMVCApp.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30011.22
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADONETWithSqlServerMVCApp", "ADONETWithSqlServerMVCApp\ADONETWithSqlServerMVCApp.csproj", "{A9F5785D-8100-4560-A857-5319AFD710EA}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{A9F5785D-8100-4560-A857-5319AFD710EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{A9F5785D-8100-4560-A857-5319AFD710EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{A9F5785D-8100-4560-A857-5319AFD710EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{A9F5785D-8100-4560-A857-5319AFD710EA}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {926B42D1-6F56-4767-BFAA-B1648D2D55E4}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
4+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5+
<PropertyGroup>
6+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8+
<ProductVersion>
9+
</ProductVersion>
10+
<SchemaVersion>2.0</SchemaVersion>
11+
<ProjectGuid>{A9F5785D-8100-4560-A857-5319AFD710EA}</ProjectGuid>
12+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
13+
<OutputType>Library</OutputType>
14+
<AppDesignerFolder>Properties</AppDesignerFolder>
15+
<RootNamespace>ADONETWithSqlServerMVCApp</RootNamespace>
16+
<AssemblyName>ADONETWithSqlServerMVCApp</AssemblyName>
17+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
18+
<MvcBuildViews>false</MvcBuildViews>
19+
<UseIISExpress>true</UseIISExpress>
20+
<Use64BitIISExpress />
21+
<IISExpressSSLPort>44334</IISExpressSSLPort>
22+
<IISExpressAnonymousAuthentication />
23+
<IISExpressWindowsAuthentication />
24+
<IISExpressUseClassicPipelineMode />
25+
<UseGlobalApplicationHostFile />
26+
<NuGetPackageImportStamp>
27+
</NuGetPackageImportStamp>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
30+
<DebugSymbols>true</DebugSymbols>
31+
<DebugType>full</DebugType>
32+
<Optimize>false</Optimize>
33+
<OutputPath>bin\</OutputPath>
34+
<DefineConstants>DEBUG;TRACE</DefineConstants>
35+
<ErrorReport>prompt</ErrorReport>
36+
<WarningLevel>4</WarningLevel>
37+
</PropertyGroup>
38+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
39+
<DebugSymbols>true</DebugSymbols>
40+
<DebugType>pdbonly</DebugType>
41+
<Optimize>true</Optimize>
42+
<OutputPath>bin\</OutputPath>
43+
<DefineConstants>TRACE</DefineConstants>
44+
<ErrorReport>prompt</ErrorReport>
45+
<WarningLevel>4</WarningLevel>
46+
</PropertyGroup>
47+
<ItemGroup>
48+
<Reference Include="Microsoft.CSharp" />
49+
<Reference Include="System" />
50+
<Reference Include="System.Data" />
51+
<Reference Include="System.Drawing" />
52+
<Reference Include="System.Web.DynamicData" />
53+
<Reference Include="System.Web.Entity" />
54+
<Reference Include="System.Web.ApplicationServices" />
55+
<Reference Include="System.ComponentModel.DataAnnotations" />
56+
<Reference Include="System.Core" />
57+
<Reference Include="System.Data.DataSetExtensions" />
58+
<Reference Include="System.Xml.Linq" />
59+
<Reference Include="System.Web" />
60+
<Reference Include="System.Web.Extensions" />
61+
<Reference Include="System.Web.Abstractions" />
62+
<Reference Include="System.Web.Routing" />
63+
<Reference Include="System.Xml" />
64+
<Reference Include="System.Configuration" />
65+
<Reference Include="System.Web.Services" />
66+
<Reference Include="System.EnterpriseServices" />
67+
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68+
<Private>True</Private>
69+
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
70+
</Reference>
71+
<Reference Include="System.Net.Http">
72+
</Reference>
73+
<Reference Include="System.Net.Http.WebRequest">
74+
</Reference>
75+
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
76+
<Private>True</Private>
77+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll</HintPath>
78+
</Reference>
79+
<Reference Include="System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
80+
<Private>True</Private>
81+
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll</HintPath>
82+
</Reference>
83+
<Reference Include="System.Web.Optimization">
84+
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
85+
</Reference>
86+
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
87+
<Private>True</Private>
88+
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll</HintPath>
89+
</Reference>
90+
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
91+
<Private>True</Private>
92+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll</HintPath>
93+
</Reference>
94+
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
95+
<Private>True</Private>
96+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
97+
</Reference>
98+
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
99+
<Private>True</Private>
100+
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
101+
</Reference>
102+
<Reference Include="Newtonsoft.Json">
103+
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
104+
</Reference>
105+
<Reference Include="WebGrease">
106+
<Private>True</Private>
107+
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
108+
</Reference>
109+
<Reference Include="Antlr3.Runtime">
110+
<Private>True</Private>
111+
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
112+
</Reference>
113+
</ItemGroup>
114+
<ItemGroup>
115+
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
116+
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
117+
</Reference>
118+
</ItemGroup>
119+
<ItemGroup>
120+
<Compile Include="App_Start\BundleConfig.cs" />
121+
<Compile Include="App_Start\FilterConfig.cs" />
122+
<Compile Include="App_Start\RouteConfig.cs" />
123+
<Compile Include="Constants\AlertMessage.cs" />
124+
<Compile Include="Constants\AlertMessageEnums.cs" />
125+
<Compile Include="Controllers\HomeController.cs" />
126+
<Compile Include="DBAccessLayer\EmployeeInfoAccess.cs" />
127+
<Compile Include="Global.asax.cs">
128+
<DependentUpon>Global.asax</DependentUpon>
129+
</Compile>
130+
<Compile Include="DBAccessLayer\employee.cs" />
131+
<Compile Include="Models\EmployeeAccessLayer.cs" />
132+
<Compile Include="Models\EmployeeInfo.cs" />
133+
<Compile Include="Properties\AssemblyInfo.cs" />
134+
</ItemGroup>
135+
<ItemGroup>
136+
<Content Include="Content\bootstrap-theme.css" />
137+
<Content Include="Content\bootstrap-theme.min.css" />
138+
<Content Include="Content\bootstrap.css" />
139+
<Content Include="Content\bootstrap.min.css" />
140+
<Content Include="Content\DataTable\dataTables.bootstrap4.min.css" />
141+
<Content Include="Content\Sweetalert\sweetalert2.css" />
142+
<Content Include="Content\Sweetalert\sweetalert2.min.css" />
143+
<Content Include="favicon.ico" />
144+
<Content Include="fonts\glyphicons-halflings-regular.svg" />
145+
<Content Include="Global.asax" />
146+
<Content Include="Content\Site.css" />
147+
<Content Include="Scripts\bootstrap.bundle.min.js" />
148+
<Content Include="Scripts\bootstrap.js" />
149+
<Content Include="Scripts\bootstrap.min.js" />
150+
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
151+
<Content Include="Scripts\DataTable\datatables-demo.js" />
152+
<Content Include="Scripts\DataTable\dataTables.bootstrap4.min.js" />
153+
<Content Include="Scripts\jquery-3.4.1.js" />
154+
<Content Include="Scripts\jquery-3.4.1.min.js" />
155+
<Content Include="Scripts\jquery-3.4.1.slim.js" />
156+
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
157+
<None Include="Scripts\jquery.validate-vsdoc.js" />
158+
<Content Include="Scripts\DataTable\jquery.dataTables.min.js" />
159+
<Content Include="Scripts\jquery.easing.min.js" />
160+
<Content Include="Scripts\jquery.validate.js" />
161+
<Content Include="Scripts\jquery.validate.min.js" />
162+
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
163+
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
164+
<Content Include="Scripts\modernizr-2.8.3.js" />
165+
<Content Include="Scripts\Sweetalert\sweetalert2.all.js" />
166+
<Content Include="Scripts\Sweetalert\sweetalert2.all.min.js" />
167+
<Content Include="Scripts\Sweetalert\sweetalert2.js" />
168+
<Content Include="Scripts\Sweetalert\sweetalert2.min.js" />
169+
<Content Include="Web.config" />
170+
<Content Include="Web.Debug.config">
171+
<DependentUpon>Web.config</DependentUpon>
172+
</Content>
173+
<Content Include="Web.Release.config">
174+
<DependentUpon>Web.config</DependentUpon>
175+
</Content>
176+
<Content Include="Views\Web.config" />
177+
<Content Include="Views\_ViewStart.cshtml" />
178+
<Content Include="Views\Shared\Error.cshtml" />
179+
<Content Include="Views\Shared\_Layout.cshtml" />
180+
<Content Include="Views\Home\About.cshtml" />
181+
<Content Include="Views\Home\Contact.cshtml" />
182+
<Content Include="Views\Home\Index.cshtml" />
183+
<Content Include="Views\Home\showData.cshtml" />
184+
<Content Include="Views\Home\AddRecord.cshtml" />
185+
<Content Include="Views\Home\EditRecord.cshtml" />
186+
</ItemGroup>
187+
<ItemGroup>
188+
<Folder Include="App_Data\" />
189+
</ItemGroup>
190+
<ItemGroup>
191+
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
192+
<Content Include="fonts\glyphicons-halflings-regular.woff" />
193+
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
194+
<Content Include="fonts\glyphicons-halflings-regular.eot" />
195+
<Content Include="Content\bootstrap.min.css.map" />
196+
<Content Include="Content\bootstrap.css.map" />
197+
<Content Include="Content\bootstrap-theme.min.css.map" />
198+
<Content Include="Content\bootstrap-theme.css.map" />
199+
<None Include="packages.config" />
200+
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
201+
<Content Include="Scripts\jquery-3.4.1.min.map" />
202+
</ItemGroup>
203+
<PropertyGroup>
204+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
205+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
206+
</PropertyGroup>
207+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
208+
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
209+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
210+
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
211+
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
212+
</Target>
213+
<ProjectExtensions>
214+
<VisualStudio>
215+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
216+
<WebProjectProperties>
217+
<UseIIS>True</UseIIS>
218+
<AutoAssignPort>True</AutoAssignPort>
219+
<DevelopmentServerPort>53045</DevelopmentServerPort>
220+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
221+
<IISUrl>https://localhost:44334/</IISUrl>
222+
<NTLMAuthentication>False</NTLMAuthentication>
223+
<UseCustomServer>False</UseCustomServer>
224+
<CustomServerUrl>
225+
</CustomServerUrl>
226+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
227+
</WebProjectProperties>
228+
</FlavorProperties>
229+
</VisualStudio>
230+
</ProjectExtensions>
231+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
232+
<PropertyGroup>
233+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
234+
</PropertyGroup>
235+
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
236+
</Target>
237+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
238+
Other similar extension points exist, see Microsoft.Common.targets.
239+
<Target Name="BeforeBuild">
240+
</Target>
241+
<Target Name="AfterBuild">
242+
</Target> -->
243+
</Project>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<UseIISExpress>true</UseIISExpress>
5+
<Use64BitIISExpress />
6+
<IISExpressSSLPort>44334</IISExpressSSLPort>
7+
<IISExpressAnonymousAuthentication />
8+
<IISExpressWindowsAuthentication />
9+
<IISExpressUseClassicPipelineMode />
10+
<UseGlobalApplicationHostFile />
11+
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
12+
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
13+
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
14+
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
15+
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>False</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
16+
<WebStackScaffolding_LayoutPageFile />
17+
</PropertyGroup>
18+
<ProjectExtensions>
19+
<VisualStudio>
20+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
21+
<WebProjectProperties>
22+
<StartPageUrl>
23+
</StartPageUrl>
24+
<StartAction>CurrentPage</StartAction>
25+
<AspNetDebugging>True</AspNetDebugging>
26+
<SilverlightDebugging>False</SilverlightDebugging>
27+
<NativeDebugging>False</NativeDebugging>
28+
<SQLDebugging>False</SQLDebugging>
29+
<ExternalProgram>
30+
</ExternalProgram>
31+
<StartExternalURL>
32+
</StartExternalURL>
33+
<StartCmdLineArguments>
34+
</StartCmdLineArguments>
35+
<StartWorkingDirectory>
36+
</StartWorkingDirectory>
37+
<EnableENC>True</EnableENC>
38+
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
39+
</WebProjectProperties>
40+
</FlavorProperties>
41+
</VisualStudio>
42+
</ProjectExtensions>
43+
</Project>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace ADONETWithSqlServerMVCApp
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15+
"~/Scripts/jquery.validate*"));
16+
17+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
18+
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
19+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20+
"~/Scripts/modernizr-*"));
21+
22+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
23+
"~/Scripts/bootstrap.js",
24+
"~/Scripts/bootstrap.bundle.min.js",
25+
"~/Scripts/jquery.easing.min.js"));
26+
27+
bundles.Add(new StyleBundle("~/Content/css").Include(
28+
"~/Content/bootstrap.css",
29+
"~/Content/site.css"));
30+
31+
bundles.Add(new StyleBundle("~/Content/dataTable").Include(
32+
"~/Content/DataTable/dataTables.bootstrap4.min.css"));
33+
34+
bundles.Add(new ScriptBundle("~/bundles/dataTable").Include(
35+
"~/Scripts/DataTable/jquery.dataTables.min.js",
36+
"~/Scripts/DataTable/dataTables.bootstrap4.min.js",
37+
"~/Scripts/DataTable/datatables-demo.js"));
38+
39+
bundles.Add(new StyleBundle("~/Content/Sweetalert").Include(
40+
"~/Content/Sweetalert/sweetalert2.min.css"));
41+
42+
bundles.Add(new ScriptBundle("~/bundles/Sweetalert").Include(
43+
"~/Scripts/Sweetalert/sweetalert2.min.js",
44+
"~/Scripts/Sweetalert/sweetalert2.all.min.js"));
45+
}
46+
}
47+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace ADONETWithSqlServerMVCApp
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)