| Method | Mean | Error | StdDev |
|---|---|---|---|
| SerializeProto | 849.57 us | 12.4482 us | 10.3949 us |
| DeserializeProto | 37.37 us | 0.4032 us | 0.3574 us |
| SerializeJson | 894.04 us | 17.0883 us | 13.3414 us |
| DeserializeJson | 48.73 us | 0.8571 us | 0.8017 us |
| SerializeBinary | 1,473.37 us | 49.7022 us | 140.1859 us |
| DeserializeBinary | 100.19 us | 1.9587 us | 3.3786 us |
This file contains hidden or 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
| export enum AccountFormType { | |
| SignIn = 1, | |
| CreateAccount = 2 | |
| } |
This file contains hidden or 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
| public class ObjectPool<TObject> where TObject : class, new() | |
| { | |
| private int maxPoolSize; | |
| private Stack<TObject> poolCache; | |
| private Action<TObject> objectReset; | |
| private Func<TObject> factory; | |
| private bool isObjectResettable; | |
| public ObjectPool(int poolSize) |
This file contains hidden or 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
| <!-- navbar --> | |
| <nav> | |
| <div> | |
| <div> | |
| <a href="#">Home</a> | |
| </div> | |
| <ul> | |
| <li><a routerLink="/signup">Signup</a></li> | |
| </ul> | |
| </div> |
This file contains hidden or 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 { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { FormsModule } from '@angular/forms'; | |
| import { HttpModule } from '@angular/http'; | |
| import { RouterModule, Routes } from '@angular/router'; | |
| import { MaterialModule } from '@angular/material'; | |
| import 'hammerjs'; | |
| import { AppComponent } from './app.component'; | |
| import { SignupComponent } from './signup/signup.component'; |
This file contains hidden or 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
| public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) | |
| { | |
| this.ServiceProvider = app.ApplicationServices; | |
| loggerFactory.AddConsole(Configuration.GetSection("Logging")); | |
| loggerFactory.AddDebug(); | |
| if (env.IsDevelopment()) | |
| { | |
| loggerFactory.AddConsole(Configuration.GetSection("Logging")); | |
| loggerFactory.AddDebug(); |
This file contains hidden or 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
| info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2] | |
| Executed action ManageCare.Apps.Web.Controllers.HomeController.Index (src) in 2042.4375ms | |
| info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2] | |
| Executed action ManageCare.Apps.Web.Controllers.HomeController.Index (src) in 2042.4375ms | |
| fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0] | |
| An unhandled exception has occurred while executing the request | |
| System.ComponentModel.Win32Exception: The system cannot find the file specified | |
| at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) | |
| at System.Diagnostics.Process.Start() | |
| at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) |
This file contains hidden or 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.ComponentModel.Win32Exception: The system cannot find the file specified | |
| at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) | |
| at System.Diagnostics.Process.Start() | |
| at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) | |
| at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo) | |
| at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary`2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort) | |
| at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port) | |
| at Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions.<>c__DisplayClass0_0.<UseHttpHosting>b__0() | |
| at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.Crea |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Threading; | |
| namespace GameServ | |
| { | |
| public class ObjectPool<TObject> | |
| { | |
| private int maxPoolSize; |
This file contains hidden or 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
| C:\Users\Sully\Documents\Source\GitHub\ManageCare>dotnet restore | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\Domain\Domain.Security\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\Security\Security.Abstractions\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\DataAccess\DataAccess.Abstraction\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\Domain\Domain.Shared\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\DataAccess\DataAccess.SqlServer\DataAccess.SqlServer\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\Domain\Domain.Provider\project.json... | |
| log : Restoring packages for C:\Users\Sully\Documents\Source\GitHub\ManageCare\src\Apps\Apps.Web\project.json... | |
| log : Lock file has not changed. Skipping lock file write. |