WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
.NET / Miscellaneous

Event Log Writer - High Performance Event Logging

— Add-On kwa WorldWideScripts.net

Kujiunga na kulisha wetu kukaa hadi tarehe!

Mpya! Kufuata yetu kama unataka!


Tukio Ingia Writer - High Utendaji Tukio Logging - WorldWideScripts.net Item kwa Sale

Ads

Ad: Bluehost hosting

Ingia Tukio Mwandishi NET sehemu. Hutoa kwa njia rahisi na imara kuandika kwa logi tukio hilo. Moja ya kuonyesha kubwa ya sehemu hii ni kuandika kwa logi tukio katika vipindi inavyoelezwa kwenye thread background. Hii kuhakikisha kwamba utendaji wa maombi yako bado katika kilele ! Sehemu hii pia inatoa juu ya utendaji anaandika kwa kutumia waandishi cached - inajenga waandishi kwa ajili yenu kuhakikisha kwamba mwandishi sahihi daima kutumika bila ya uendeshaji wa kujenga moja mpya kila wakati.

Mengine. NET Maombi Desktop Mipango Huduma Webs ite Mtandao Maombi Mtandao Huduma EventWriter Single Andika Windows Tukio Ingia

Katika kile maombi naweza kutumia hili?

Sehemu hii ni kujengwa kwa kutumia . NET Framework 2.0 ambayo ina maana katika inaweza kutumika katika maombi yote . NET kwamba ni kwa kutumia mfumo 2.0 au karibu zaidi. Hii ni pamoja na . NET 2.0, 3.0, 3.5, 4.0, 4.5 & +. Sehemu hii inaweza kutumika kila aina ya maombi NET ikiwa ni pamoja na

  • Console
  • Madirisha Fomu
  • WPF
  • ASP.NET
  • ASP.NET MVC
  • Madirisha Huduma
  • Huduma za mtandao (XML / WCF )

Je, ni ya kuaminika?

  • Deadlocks - thread usalama kwa njia ya locking hujiepusha deadlocks
  • Kumbukumbu uvujaji - kusafisha kupitia njia kuondoa & fikiria matatizo kama vile msikilizaji lapsed
  • Isipokuwa uvujaji - Ubaguzi utunzaji kupitia kuhakikisha kusitisha isiyopaswa ya maombi haina kutokea
  • ASP.NET ThreadPool & Service hazipatikani - Give udhibiti wa kama nyuzi ThreadPool ni kutumika au si ( by default hakuna) . Hii kuhakikisha kwamba nyuzi hazitachukuliwa mbali high upatikanaji maombi ASP.NET kusababisha dreaded "Huduma hazipatikani "
  • Kazi / Background kazi muundo - Flexible utaratibu kwa ajili ya kujenga shughuli background tata
  • Jina nguvu saini - Inaruhusu referencing katika maombi mengine kuwa ni nguvu aitwaye saini & pia imewekwa ndani ya Global Bunge Cache ( GAC )

Unapata nini katika mfuko ?

  • NET Bunge na Sahihi Nguvu Jina
  • Debug file ( PDB )
  • XML maoni ( Intellisense )
  • Console Demo Mradi Maombi
  • Pana msaada faili kimaandishi matumizi kamili
  • API Documentation
  • C # Chanzo
  • Kanuni. . Visual Studio 2012 Suluhisho
  • Msaada

Msaada

Kuuliza swali lolote au kupendekeza makala katikasupport.avantprime.com!

Jinsi ya kutumia hii katika maombi yangu?

Kuandika kwa logi tukio

Console.WriteLine("Writing two entries to the event log...");
var writerSetting = new EventLogWriterSetting(LogName, EventSource);
using (var writer = new EventLogWriter(writerSetting))
{
    for (int i = 0; i < 2; i++)
    {
        var message = string.Format("EventWriter message on {0}", DateTime.Now);
        Console.WriteLine(writer.WriteToLog(message, EventLogEntryType.Information)
                ? String.Format("Successfully wrote to the event log. Message: {0}", message)
                : "Unsuccessful attempt to write to the event log." 
            );
    }
}

Kuandika kwa logi tukio kutumia waandishi cached

EventLogWriterCache.WriteToLog(DateTime.Now.ToString(), LogName, EventSource, EventLogEntryType.Information);

Kuandika kwa logi tukio kutumia utaratibu foleni

Console.WriteLine("Configuring QueueWriter to write every 3 seconds starting after 5 seconds.");
var writerQueueSetting = new EventLogWriterQueueSetting(TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));

EventLogWriterQueue.Setting = writerQueueSetting;
var writerQueue = new EventLogWriterQueue(LogError);
var message = new EventLogWriterQueueMessage
    (
        String.Format("Queue message: {0}", DateTime.Now.ToString(CultureInfo.InvariantCulture)),
        LogName,
        EventSource,
        EventLogEntryType.Information
    );
writerQueue.Log(message);

Console.WriteLine("Polling every four seconds for new entries in the event log...");
for (int i = 0; i < 4; i++)
{
    TestEventLogReader();
    Thread.Sleep(4000);
}

// Only dispose after your queue is empty
while (!EventLogWriterQueue.IsQueueEmpty)
{
    Thread.Sleep(1000);
}

writerQueue.Dispose();


Download
Vipengele vingine katika jamii hiiKila sehemu ya mwandishi huyu
MaoniMara kwa mara kuulizwa maswali na majibu

Mali

Kuundwa:
7 Januari 13

Badiliko:
19 Juni 13

Sambamba Browsers:
IE6, IE7, IE8, IE9 , IE10, Firefox, Safari , Opera , Chrome

Programu Version:
NET 2.0 , NET 3.0, NET 3.5, . . . . NET 3.7 , NET 4.0, NET 4.5

. . Files Pamoja:
C # CS

Keywords

Tukio Ingia, background kazi, c- mkali, cached tukio logi waandishi, haraka utendaji, magogo, mbalimbali tasking, sambamba tukio logi maandishi, foleni, foleni tukio logi maandishi, thread- salama, madirisha tukio logi, kuandika kwa logi tukio