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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
namespace LinkCrawler |
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
// 1 Way | |
public class Configuration | |
{ | |
public string EndPoint | |
{ | |
get { return ConfigurationManager.AppSettings["EndPoint"]; } | |
} | |
// other properties here// | |
} |
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 TestProcessorOutput | |
{ | |
public string ScreenTestOutputMessage { get; set; } | |
public string StoredProcedureTestOutputMessage { get; set; } | |
public string RunOutPutFileValidationTestOutputMessage { get; set; } | |
public string RunInputFilevalidationTestOutputMessage { get; set; } | |
} | |
public interface ITestProcessor | |
{ |
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
GO | |
/****** Object: StoredProcedure [dbo].[INSERT] Script Date: ******/ | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
--drop proc [dbo].[INSERT] | |
CREATE procedure [dbo].[INSERT] | |
( |
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 interface ILogger | |
{ | |
void Write(Exception ex); | |
void Write(string logText); | |
} | |
public abstract class BaseLogger | |
: ILogger | |
{ | |
public static string logFilePath = string.Empty; |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
LinkCrawler crawler = new LinkCrawler(); | |
List<string> list = crawler.Catch("http://blog.yemrekeskin.com/en/"); | |
foreach (var item in list) | |
{ | |
Console.WriteLine(item); |
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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Linq; | |
using ServiceStack; | |
using ServiceStack.Configuration; | |
using ServiceStack.Redis; | |
using ServiceStack.Text; | |
namespace GithubApi |
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 static class EmbeddedStringResources | |
{ | |
static Dictionary<string, string> stringResources = new Dictionary<string, string>(); | |
public static string LoadResource(string name) | |
{ | |
// Tüm resource .dll içinde olmalı (GetExecutingAssembly()) | |
Assembly assembly = Assembly.GetExecutingAssembly(); | |
string resourceName = assembly.GetName().Name + ".Resources." + name; |
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 CronLog | |
:BaseModel | |
{ | |
public int ProcessId { get; set; } | |
public string ProcessName { get; set; } | |
public DateTime RequestTime { get; set; } | |
public DateTime ActualRequestTime { get; set; } | |
public DateTime ResponseTime { 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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Samples | |
{ | |
class Program | |
{ |
OlderNewer