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
ret.Add(string.Format(Error.TransportOrderAlreadyExists + string.Empty, transportOrder.LoadNumber)); |
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
var transportOrder = _appService.FindById<TransportOrder>(transportOrderId); | |
transportOrder.ReceiveLoadGuid = closedLoadId; | |
Save(transportOrder); | |
if (transportOrder == null) | |
{ | |
throw new ArgumentNullException("transportOrderId"); | |
} |
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
public class MocheSurfContext : DbContext | |
{ | |
public MocheSurfContext() | |
: base("MocheSurfConnectionString") | |
{ | |
} | |
protected override void OnModelCreating(DbModelBuilder modelBuilder) | |
{ |
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
public class MocheSurfContext : GenericRepository.EntityFramework.EntitiesContext | |
{ | |
public MocheSurfContext() | |
: base("MocheSurfConnectionString") | |
{ | |
} | |
public DbSet<NewsletterSubscription> NewsletterSubscriptions { get; set; } | |
protected override void OnModelCreating(DbModelBuilder modelBuilder) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<MSBuildCommunityTasksPath>$(MSBuildProjectDirectory)\.build</MSBuildCommunityTasksPath> | |
<SolutionDir>$(MSBuildStartupDirectory)</SolutionDir> | |
<WebProjectFileName>$(SolutionDir)\src\MocheSurf.FrontEnd\MocheSurf.Frontend.csproj</WebProjectFileName> | |
<OutputDir>$(SolutionDir)\BuildArtifacts</OutputDir> | |
</PropertyGroup> |
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
<log4net> | |
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> | |
<threshold value="All" /> | |
<file value="\\tomar\Websites\mocherandomgeneration.dev.fullsix.local\private\logs\MocheRandomGeneration.WebApplication.NEW.local.%property{log4net:HostName}.log" type="log4net.Util.PatternString" />" | |
<appendToFile value="true" /> | |
<rollingStyle value="Date" /> | |
<datePattern value="'.'yyyyMMdd'.txt'" /> | |
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> | |
<layout type="log4net.Layout.PatternLayout"> | |
<conversionPattern value="%date %-5level %logger - %message%newline" /> |
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
protected void Application_Error(object sender, EventArgs e) | |
{ | |
var currentException = Server.GetLastError(); | |
if (currentException.GetType() == typeof(HttpException)) | |
{ | |
return; | |
} | |
_logger.Fatal("An unhandled exception occurred", currentException); |
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
<IncludeSetAclProviderOnDestination>False</IncludeSetAclProviderOnDestination> |
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
@echo Off | |
set target=%1 | |
if "%target%" == "" ( | |
set target=build-ci | |
) | |
set config=%2 | |
if "%config%" == "" ( | |
set config=Debug | |
) |
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
Update-Package [PackageId] -Reinstall |
OlderNewer