Skip to content

Commit 7a62bc3

Browse files
author
Ömer Selim
committed
AngularJs Gün sonu
1 parent dc99b7c commit 7a62bc3

Some content is hidden

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

59 files changed

+70249
-0
lines changed

ASPNetWebApplication.sln

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Yonetim.BLL", "Yonetim.BLL\
2121
EndProject
2222
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Yonetim.AdminTemaa", "Yonetim.AdminTemaa\Yonetim.AdminTemaa.csproj", "{A6DBAE1B-E599-4404-979A-991D63D1ECF1}"
2323
EndProject
24+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "03AngulerJS-MVM-ASP.NetWebApi", "03AngulerJS-MVM-ASP.NetWebApi", "{4A90D260-F957-45EA-B34A-5A0D740B9D86}"
25+
EndProject
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiGiris", "WebApiGiris\WebApiGiris.csproj", "{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB}"
27+
EndProject
2428
Global
2529
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2630
Debug|Any CPU = Debug|Any CPU
@@ -55,6 +59,10 @@ Global
5559
{A6DBAE1B-E599-4404-979A-991D63D1ECF1}.Debug|Any CPU.Build.0 = Debug|Any CPU
5660
{A6DBAE1B-E599-4404-979A-991D63D1ECF1}.Release|Any CPU.ActiveCfg = Release|Any CPU
5761
{A6DBAE1B-E599-4404-979A-991D63D1ECF1}.Release|Any CPU.Build.0 = Release|Any CPU
62+
{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
63+
{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
64+
{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
65+
{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB}.Release|Any CPU.Build.0 = Release|Any CPU
5866
EndGlobalSection
5967
GlobalSection(SolutionProperties) = preSolution
6068
HideSolutionNode = FALSE
@@ -67,5 +75,6 @@ Global
6775
{F1D65D13-0D96-4EB9-91B0-7545D33E7718} = {6E105EED-36C9-4928-9742-A918397FF8E8}
6876
{6EF200CF-303A-4B49-86A2-0AE97464E5EC} = {6E105EED-36C9-4928-9742-A918397FF8E8}
6977
{A6DBAE1B-E599-4404-979A-991D63D1ECF1} = {6E105EED-36C9-4928-9742-A918397FF8E8}
78+
{7A8AEED1-C04D-4E4C-9CDA-B716E7D586FB} = {4A90D260-F957-45EA-B34A-5A0D740B9D86}
7079
EndGlobalSection
7180
EndGlobal

WebApiGiris/App_Start/WebApiConfig.cs

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
using Newtonsoft.Json;
2+
using Newtonsoft.Json.Serialization;
3+
using System;
4+
using System.Collections.Generic;
5+
using System.Linq;
6+
using System.Net.Http.Formatting;
7+
using System.Web.Http;
8+
9+
namespace WebApiGiris
10+
{
11+
public static class WebApiConfig
12+
{
13+
public static void Register(HttpConfiguration config)
14+
{
15+
// Web API configuration and services
16+
17+
// Web API routes
18+
config.MapHttpAttributeRoutes();
19+
20+
config.Routes.MapHttpRoute(
21+
name: "DefaultApi",
22+
routeTemplate: "api/{controller}/{id}",
23+
defaults: new { id = RouteParameter.Optional }
24+
);
25+
config.Formatters.Clear();
26+
config.Formatters.Add(new JsonMediaTypeFormatter());
27+
28+
//config.Formatters.JsonFormatter.SerializerSettings = new JsonSerializerSettings()
29+
//{
30+
// ContractResolver = new CamelCasePropertyNamesContractResolver()
31+
//};
32+
}
33+
}
34+
}
+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
3+
<TelemetryInitializers>
4+
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector"/>
5+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
6+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer"/>
7+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.BuildInfoConfigComponentVersionTelemetryInitializer, Microsoft.AI.WindowsServer"/>
8+
<Add Type="Microsoft.ApplicationInsights.Web.WebTestTelemetryInitializer, Microsoft.AI.Web"/>
9+
<Add Type="Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer, Microsoft.AI.Web">
10+
<!-- Extended list of bots:
11+
search|spider|crawl|Bot|Monitor|BrowserMob|BingPreview|PagePeeker|WebThumb|URL2PNG|ZooShot|GomezA|Google SketchUp|Read Later|KTXN|KHTE|Keynote|Pingdom|AlwaysOn|zao|borg|oegp|silk|Xenu|zeal|NING|htdig|lycos|slurp|teoma|voila|yahoo|Sogou|CiBra|Nutch|Java|JNLP|Daumoa|Genieo|ichiro|larbin|pompos|Scrapy|snappy|speedy|vortex|favicon|indexer|Riddler|scooter|scraper|scrubby|WhatWeb|WinHTTP|voyager|archiver|Icarus6j|mogimogi|Netvibes|altavista|charlotte|findlinks|Retreiver|TLSProber|WordPress|wsr-agent|http client|Python-urllib|AppEngine-Google|semanticdiscovery|facebookexternalhit|web/snippet|Google-HTTP-Java-Client-->
12+
<Filters>search|spider|crawl|Bot|Monitor|AlwaysOn</Filters>
13+
</Add>
14+
<Add Type="Microsoft.ApplicationInsights.Web.ClientIpHeaderTelemetryInitializer, Microsoft.AI.Web"/>
15+
<Add Type="Microsoft.ApplicationInsights.Web.OperationNameTelemetryInitializer, Microsoft.AI.Web"/>
16+
<Add Type="Microsoft.ApplicationInsights.Web.OperationCorrelationTelemetryInitializer, Microsoft.AI.Web"/>
17+
<Add Type="Microsoft.ApplicationInsights.Web.UserTelemetryInitializer, Microsoft.AI.Web"/>
18+
<Add Type="Microsoft.ApplicationInsights.Web.AuthenticatedUserIdTelemetryInitializer, Microsoft.AI.Web"/>
19+
<Add Type="Microsoft.ApplicationInsights.Web.AccountIdTelemetryInitializer, Microsoft.AI.Web"/>
20+
<Add Type="Microsoft.ApplicationInsights.Web.SessionTelemetryInitializer, Microsoft.AI.Web"/>
21+
</TelemetryInitializers>
22+
<TelemetryModules>
23+
<Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector"/>
24+
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.PerformanceCollectorModule, Microsoft.AI.PerfCounterCollector">
25+
<!--
26+
Use the following syntax here to collect additional performance counters:
27+
28+
<Counters>
29+
<Add PerformanceCounter="\Process(??APP_WIN32_PROC??)\Handle Count" ReportAs="Process handle count" />
30+
...
31+
</Counters>
32+
33+
PerformanceCounter must be either \CategoryName(InstanceName)\CounterName or \CategoryName\CounterName
34+
35+
NOTE: performance counters configuration will be lost upon NuGet upgrade.
36+
37+
The following placeholders are supported as InstanceName:
38+
??APP_WIN32_PROC?? - instance name of the application process for Win32 counters.
39+
??APP_W3SVC_PROC?? - instance name of the application IIS worker process for IIS/ASP.NET counters.
40+
??APP_CLR_PROC?? - instance name of the application CLR process for .NET counters.
41+
-->
42+
</Add>
43+
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryModule, Microsoft.AI.PerfCounterCollector"/>
44+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.DeveloperModeWithDebuggerAttachedTelemetryModule, Microsoft.AI.WindowsServer"/>
45+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule, Microsoft.AI.WindowsServer"/>
46+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule, Microsoft.AI.WindowsServer"/>
47+
<Add Type="Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule, Microsoft.AI.Web">
48+
<Handlers>
49+
<!--
50+
Add entries here to filter out additional handlers:
51+
52+
NOTE: handler configuration will be lost upon NuGet upgrade.
53+
-->
54+
<Add>System.Web.Handlers.TransferRequestHandler</Add>
55+
<Add>Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.RequestDataHttpHandler</Add>
56+
<Add>System.Web.StaticFileHandler</Add>
57+
<Add>System.Web.Handlers.AssemblyResourceLoader</Add>
58+
<Add>System.Web.Optimization.BundleHandler</Add>
59+
<Add>System.Web.Script.Services.ScriptHandlerFactory</Add>
60+
<Add>System.Web.Handlers.TraceHandler</Add>
61+
<Add>System.Web.Services.Discovery.DiscoveryRequestHandler</Add>
62+
<Add>System.Web.HttpDebugHandler</Add>
63+
</Handlers>
64+
</Add>
65+
<Add Type="Microsoft.ApplicationInsights.Web.ExceptionTrackingTelemetryModule, Microsoft.AI.Web"/>
66+
</TelemetryModules>
67+
<TelemetryProcessors>
68+
<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor, Microsoft.AI.PerfCounterCollector"/>
69+
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
70+
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
71+
</Add>
72+
</TelemetryProcessors>
73+
<TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/>
74+
<!--
75+
Learn more about Application Insights configuration with ApplicationInsights.config here:
76+
http://go.microsoft.com/fwlink/?LinkID=513840
77+
78+
Note: If not present, please add <InstrumentationKey>Your Key</InstrumentationKey> to the top of this file.
79+
--></ApplicationInsights>

WebApiGiris/Content/Site.css

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
body {
2+
}

0 commit comments

Comments
 (0)