This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Serializable] | |
public class LoggerAspect : OnExceptionAspect | |
{ | |
private static ILog logger = LogManager.GetLogger("MeinLogger"); | |
//Meldung die Angezeigt werden soll | |
private string ExceptionMessage { get; set; } | |
private Type HandleThisExceptionType { get; set; } | |
public LoggerAspect(string exceptionMessage, Type handleThisExceptionType = null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | |
<TypeScriptTarget>ES5</TypeScriptTarget> | |
<TypeScriptJSXEmit>None</TypeScriptJSXEmit> | |
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | |
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | |
<TypeScriptModuleKind /> | |
<TypeScriptRemoveComments>False</TypeScriptRemoveComments> | |
<TypeScriptOutFile /> | |
<TypeScriptOutDir /> | |
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"@angular/common": "4.0.3", | |
"@angular/compiler": "4.0.3", | |
"@angular/core": "4.0.3", | |
"@angular/forms": "4.0.3", | |
"@angular/http": "4.0.3", | |
"@angular/platform-browser": "4.0.3", | |
"@angular/platform-browser-dynamic": "4.0.3", | |
"@angular/router": "4.0.3", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <binding AfterBuild='moveToLibs' /> | |
var gulp = require('gulp'); | |
gulp.task('moveToLibs', function (done) { | |
gulp.src([ | |
'node_modules/core-js/client/shim.min.js', | |
'node_modules/zone.js/dist/zone.js', | |
'node_modules/reflect-metadata/Reflect.js', | |
'node_modules/systemjs/dist/system.src.js' | |
]).pipe(gulp.dest('./Scripts/')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TypeScriptTarget>ES5</TypeScriptTarget> | |
<TypeScriptJSXEmit>None</TypeScriptJSXEmit> | |
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | |
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | |
<TypeScriptModuleKind>CommonJS</TypeScriptModuleKind> | |
<TypeScriptRemoveComments>False</TypeScriptRemoveComments> | |
<TypeScriptOutFile /> | |
<TypeScriptOutDir /> | |
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations> | |
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | |
import { AppModule } from "./app.module"; | |
platformBrowserDynamic().bootstrapModule(AppModule); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'my-app', | |
template: '<h1 class="well well-sm text-center">Hello World to - {{name}}</h1>' | |
}) | |
export class AppComponent { | |
public name : string = "SquadWuschel"; | |
constructor() { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>My ASP.NET Application</title> | |
@Styles.Render("~/Content/css") | |
<!-- Polyfill(s) for older browsers like IE --> | |
<script src="~/Scripts/shim.min.js"></script> | |
<!-- 1. Load libraries --> | |
<script src="~/Scripts/zone.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* System configuration for Angular samples | |
* Adjust as necessary for your application needs. | |
*/ | |
(function (global) { | |
System.config({ | |
paths: { | |
// paths serve as alias | |
'npm:': 'node_modules/' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> |
OlderNewer