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
*** Запись журнала привязки сборки (02.03.2016 @ 14:57:27) *** | |
Операция выполнена со сбоем. | |
Результат привязки: hr = 0x8007000b. Была сделана попытка загрузить программу, имеющую неверный формат. | |
Диспетчер сборки загружен с: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll | |
Выполняется в контексте исполняемого файла c:\windows\system32\inetsrv\w3wp.exe | |
--- Подробный журнал ошибок. | |
=== Информация о состоянии предварительной привязки === |
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="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | |
<file value="Log\MyLog_" /> | |
<appendToFile value="true" /> | |
<rollingStyle value="Date" /> | |
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> | |
<datePattern value="yyyyMMdd.lo\g" /> | |
<maxSizeRollBackups value="6" /> | |
<staticLogFileName value="false" /> | |
<layout type="log4net.Layout.PatternLayout"> |
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
[Route("/route/{Id}")] | |
public class JustId : IReturn | |
{ | |
public long Id { get; set; } | |
} | |
[Route("route/{Id}")] | |
public class JustId_NoSlash : IReturn | |
{ | |
public long Id { get; set; } |
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
#region Types for MapValueTest | |
public class Person | |
{ | |
public int Id { get; set; } | |
public bool IsActive { get; set; } | |
} | |
public class SecurityDbMappingSchema : MappingSchema | |
{ |
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" ?> | |
<Types | |
xmlns = "urn:schemas-bltoolkit-net:typeext" | |
xmlns:m = "urn:schemas-bltoolkit-net:mapping" | |
xmlns:da = "urn:schemas-bltoolkit-net:dataaccess"> | |
<Type Name="Person" da:TableName="Persons"> | |
<Member Name="Id" m:MapField="UserId" da:PrimaryKey="1" da:Identity="1" /> | |
<Member Name="MiddleName" m:MapField="MI" /> |
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
#region Types for VerificationFailedExceptionTest | |
public class Class1 | |
{ | |
public string Token { get; set; } | |
} | |
public class Class2 | |
{ | |
private readonly string _token; |
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
[TestClass] | |
public class ForGitHub | |
{ | |
#region Types | |
public class RecoveryRecord | |
{ | |
public string Token { get; set; } | |
} |
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
private static P SameType (P p) { return p; } | |
private static T Assignable(P p) { return (T)(object)p; } | |
private static T Default(P p) { return (p as IConvertible) == null ? (T)(object)p : (T)System.Convert.ChangeType(p, typeof(T), Thread.CurrentThread.CurrentCulture); } |
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
#region Types | |
public class TestStep | |
{ | |
public string Step { get; set; } | |
} | |
internal class Test_Int | |
{ | |
private BindingList<TestStep> _steps; |
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 void SerializeToStream(IRequestContext requestContext, object response, IHttpResponse httpRes) | |
{ | |
var httpReq = requestContext.Get<IHttpRequest>(); | |
if (httpReq != null && AppHost.ViewEngines.Any(x => x.ProcessRequest(httpReq, httpRes, response))) return; | |
if (requestContext.ResponseContentType != ContentType.Html && httpReq != null | |
&& httpReq.ResponseContentType != ContentType.JsonReport) return; | |
var dto = response.ToDto(); | |
var html = dto as string; |
NewerOlder