Blog Home  Amacin know-how ve XP paylasimi ise mutlaka yollarimiz biryerlerde kesisecek.. ;) RSS 2.0 Atom 1.0 CDF  
..::EralpErat::..{Embedded Programming} - Wednesday, August 29, 2007
I like Coding..
 
 Wednesday, August 29, 2007
Selamlar ;
 
Internette Ajax FW'le ilgili birseyler ararken ilginc bir linke rastladım.
Sun Microsystems‘ın Nisan 2007′de duyurduğu ve malumunuz Microsoft'da ki silverlight muadili olan JavaFx‘i , enterprise pazarda yeniden var olmak isteyen Sun’ın Java’yı kurtarmak için sunduğu son çözüm(!genel olarak böyle düşünülüyor..). Metalink‘de bu konuyla ilgili yapılmış karşılaştırmalı gözlem sonucu performansın ne kadar düşük olduğu aşağıda ki rakamlarla ifade edilmis.

  • JavaFX — 14 fps
  • Firefox + Silverlight (JavaScript) — 56 fps
  • Firefox + Flex — 62 fps
  • Adobe AIR — 62 fps
  • Firefox + Silverlight (CLR) — 202 fps
:) Saniye başına düşen ekran sayılarına dikkat!

8/29/2007 7:54:20 AM (GTB Daylight Time, UTC+03:00)  #    Comments [2]   Genel | Java Script | Silverlight  |  Trackback
 Tuesday, August 28, 2007

Selamlar ;

    25 Ağustos da Microsoft merkezinde JavaScript,Windows Mobile 6.0, C# 3.0 'ı içeren .NET ve Microsoft Teknolojileri (listemizde Ajax da vardi ama inanin sure yetmedi..) konulu bir seminer verdim..Normalde 4 saatlik bir seminer olmasını hedefliyordum ama katılımcıların seminer başında ki sayısal bütünlüğünden taviz vermeden ( ki kendilerine sabırları için teşekkür ediyorum ) 6 saat nasıl geçti birlikte anlamadım:) ..Yaklaşık 100 kişinin katıldığı seminer de teknik bazı problemlerin ( ki bu yüzden wireless modemimi değerli katılımcı arkadaşlardan birine hediye ettim  :)) dışında rahat ve dialogu yüksek bir ortam oluştu.Katılımcı arkadaşlarımız çoğunlukla genç ve öğrenci kesimdendi.Doğal olarak gözlerinde ki parıltıyı görebildiğim için çok şanslı hissediyorum kendimi..

    .NET ve yazılım dünyasında meydana gelen değişimlerden rich web application'ların ön plana çıkması ve bunun temelinde yatan enstrümanların doğru kullanılması durumunda verimliliğin oldukca artacağından,entegrasyonun öneminden

( win for desk win for CF ) ve C#da ki dil yenilikleri konusunda ki deneyimlerimden arkadaşlara birşeyler aktarmaya calistim.

    
    Katılımcı bütün arkadaşlara gönülden teşekkür ediyorum..

    Seminerden görüntüler :

Not : Ayrıca seminer de bahsettiğim JS book için http://www.eralperat.com/javascriptgoodbook.rar adresini kullanabilirsiniz.

8/28/2007 9:41:24 AM (GTB Daylight Time, UTC+03:00)  #    Comments [4]   Genel  |  Trackback
 Saturday, August 25, 2007
Selamlar ;

sa kullanıcıyla sql'inize bağlanmak istiyorsunuz ama herşey Ok olmasına rağmen ( Sql Server hem sa hemde windows authentication için açık , sa login enabled ve sa 'in şifresini bildiğinizi varsayıyorum..) bir türlü bağlanamıyor ve
TITLE: Microsoft SQL Server Management Studio
------------------------------

Cannot show requested dialog.

------------------------------
ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

------------------------------

Property IsLocked is not available for Login '[X]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)

gibi bir hata alıyorsanız... Windows Authentication la login olup

alter login sa with password = 'sifrenizzz' unlock, check_policy = off, check_expiration = off

yazdığınız takdir de sorunsuz bir şekilde artık login olabilirsiniz.

iyi çalışmalar.


8/25/2007 11:05:30 AM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Sql  |  Trackback
 Thursday, August 23, 2007
ETKİNLİK DETAYLARI
Etkinlik Konusu : .Net ve Microsoft Teknolojileri Semineri
Etkinlik Türü : Seminer
Hedef Kitle : Orta ve ileri düzey .NET bilgisi olan arkadaşlar
Kontenjan : 80
Etkinlik Tarihi - Saati : 25.08.2007 -- 14:00-18:00
Sponsor:        
Süre : 1 Gün
 Ek Bilgi : 
3 katılımcıya çekiliş ile kitap hediye edilecektir..
Semineri Veren : Eralp ERAT
Etkinlik Yeri  ve İçeriği: Seminerde pek çok Microsoft Teknolojisi incelenecek ve bunlar hakkında Eralp Erat katılımcılarla bilgi paylaşımında bulunucakatır.
ASP.NET Ajax 'dan Javascripte, .NET Framework 'den Mobiliteye ,C# 3.0 'dan ileri düzey .NET Framework konularına kadar çok geniş bir içeriğe sahip olan bu seminer sayesinde katılımcılar tüm bu konular hakkında fikir sahibi olacaklardır.

 

 

8/23/2007 9:17:17 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   .Net Framework | Genel  |  Trackback
 Tuesday, August 21, 2007
Selamlar ; Sql Server 2008 ile hayatımıza MS kanadından girecek olan yeniliklerin listesi ve ilgili linkleri aşağıda.

  • Security and Data Auditing
    • Transparent Data Encryption - This is encrypting the data while it is on disk and remains transparent to applications
    • External Key Management - This new functionality relates to consolidation of key management and integration with external products
    • Data Auditing - This is one core feature of SQL Server 2008 that will include a number of new features to include:
      • The introduction of first class 'AUDIT' objects
      • Auditing DDL (data definition language) commands
      • Support for multiple logging targets
    • Additional information - http://www.microsoft.com/sql/prodinfo/futureversion/datamanage/default.mspx
  • Availability and Reliability
    • CPUs - Support for pluggable CPUs which means that a CPU can be added on the fly and recognized by SQL Server 2008 just like memory in SQL Server 2005
    • Database Mirroring - Enhanced Database Mirroring to include compression of mirror streams, enhanced performance and automatic page-level repair for the principal and mirror
  • Performance
    • Data Compression - This new feature provides the ability to easily enable or disable data compression as an online command as well as offer more efficient data storage above and beyond traditional data compression
    • Backup Stream Compression - The ability to configure compression with server level control or backup statement control of all backup types (full, differential, transaction log)
    • Performance Data Collection - When you are experiencing a performance issue the biggest problem is pinpointing the problem, so with SQL Server 2008 Microsoft is introducing a single common framework for performance related data collection, reporting, and warehousing
    • Improved Plan Guide Support - With SQL Server 2008 plans can be frozen for permanent query usage as well as pull plans directly from plan cache with SQL Server Management Studio integration
    • Resource Governor - If you have had the need to segment your SQL Server resource utilization then you should be looking forward to SQL Server 2008 because you will have the opportunity to create pools and groups to segment the resources and govern them independently
  • Management
    • Policy-Based Management Framework - The ability to manage objects via policies as opposed to traditional scripts with inherent monitoring and enforcement
    • Microsoft System Center - Integration with Microsoft System Center which a product from Microsoft to improve operational costs
    • Extended Events - Another new feature is Extended Events which is a high performance yet light weight tracing infrastructure with insight into the core engine independent of SQL Trace
  • New Data Types
    • Date Time Data Type - The datetime data type will now be able to support the following:
      • Precision to the 100th nanosecond which is 7 digits past second
      • Time-zone datetime offset to translate the datetimes across numerous time zones
      • Rather than having to parse the datatime for just the date or just the time, now SQL Server 2008 will have date only support as well as time only support
    • HierarchyID - With the introduction of the HierarchyID data type this data type will be hierarchical-aware and will be accompanied by built-in functions, methods, etc. to support complex hierarchies in your data with .NET
  • Development Enhancements
  • Service Broker
    • Interface - A new user interface and tools will be released for working with Service Broker in order to add, drop or edit Service Broker objects directly in SQL Server Management Studio
    • Conversation Priority - The ability to set message ordering with a send and receive impact with levels one to ten
  • Data Storage
    • Data Compression - Reference the Performance section above
    • FILESTREAM Attribute - With this feature get the best of both worlds with functionality from BLOBs in the DB vs. BLOBs on filesystem
    • Integrated Full Text Search - With SQL Server 2008 Full Text Search is fully integrated into the relational engine with no external storage, no external service as well as more efficient and reliable costing
    • Sparse columns - SQL Server 2008 has more efficient storage for 'wide' tables with many columns that repeat and do not contain data
    • New index types - New indexes include:
      • Spatial indexes
      • Hierarchical indexes
      • FILTERED indexes (indexes on filtered values within columns)
  • Data Warehousing/ETL
    • Partitioned Table Parallelism - This feature eliminates the one thread limit per partition
    • Star Join support - SQL Server 2008 now supports a star join with no special syntax which is completely optimizer based with full backward syntax support
    • Data compression - Reference the Performance section above
    • Resource Governor - Reference the Performance section above
    • Persistent Lookups in SSIS - There is no longer a need for re-querying for lookup operators and cache lookups in multiple ways with the ability to persist lookups to disk
    • Improved thread scheduling in SSIS - This is accomplished by a shared thread pool and pipeline parallelism
    • SQL Server Change Tracking - Reference the Development Enhancements section above
    • MERGE statement - The MERGE statement will add a great deal of value with slowly changing dimensions
    • Scale-out analysis services - With read-only storage multiple Analysis Services SQL Servers can be leveraged
    • Subspace computations
    • New tools for cube design
    • Best practice design alerting
    • Backup cubes with better scalability
    • Excel - Data-mining add-ins for Excel
  • Reporting
    • Reporting Services Deployment - IIS is no longer required to run Reporting Services
    • Rich-text support
    • Enhanced visualization graphing
    • Word - Reports can be rendered to Microsoft Word
  • Deprecation

8/21/2007 10:41:24 PM (GTB Daylight Time, UTC+03:00)  #    Comments [20]   Sql  |  Trackback
 Friday, August 17, 2007

Selamlar ;

Geçenlerde 2008 de Js debuggingle uğraşırken Watch ekranının değişmiş olduğunu farkettim.Dikkatli bakınca Methods ve Events diye iki ayrı childnode gibi bir güzellik eklenmiş.Ellerinize sağlık ne diyeyim :)Solda ki vs 2005 de var olan quickwatch sağda ki ise vs 2008 'de ki..

  
8/17/2007 4:22:11 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Java Script | Visual Studio  |  Trackback
 Thursday, August 16, 2007

Selamlar ;

xml verilerini öyle karmakarışık görmek insanın canını sıkıyor olsa gerek :) Aşağıda ki metodla rahatca indent edilmiş nodelar üzerinde fink atabilirsiniz :)

 

public static string FormatXml(string xml)

{

    StringBuilder sb = new StringBuilder();  

    XmlWriterSettings settings = new XmlWriterSettings();

    settings.Indent = true;

    settings.OmitXmlDeclaration = false;

    using (XmlWriter w = XmlTextWriter.Create(sb, settings))

   {

        using (TextReader tr = new StringReader(xml))

        {

             using (XmlReader r = XmlTextReader.Create(tr))

             {

                 w.WriteNode(r, true);

             }

        }

   }

  return sb.ToString();

}

8/16/2007 12:25:45 PM (GTB Daylight Time, UTC+03:00)  #    Comments [5]   C# | Genel  |  Trackback
 Saturday, August 11, 2007

Windows Presentation Foundation and Windows Workflow Foundation are not going to be supported any time soon, but there will be a compact version of Windows Communication Foundation in version 3.5 of the .NET Compact Framework. Also in version 3.5, there will be support for LINQ to Objects, LINQ to XML, and LINQ to DataSet, but no support for any other LINQ flavors.

Açıkca söylemeliyim ki birileri beni duydu :)

8/11/2007 11:34:14 AM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   .Net Framework | C# | mobile  |  Trackback
 Friday, August 10, 2007

 

Yaratıcımız yüce ALLAH'ın daveti üzerine peygamberimiz bir gece melekler tarafından mekkeden
kudüse götürülmüştür. Burada cebrail ile birlikte bütün gökleri aşarak
''sidretül münteha'' denilen makama yükselmiş ve ALLAH ile görüşmüştür. Bu
yolculğun Mekke'den Kudüs'e kadar olan bölümüne isra Kudüs'ten ALLAH ile
görüşmesine kadar ise Miraç denir. Bu görüşmede Peygamber efendimize ümmet'i
için vakit namaz ve Miraç hediye edilmiştir.


Allah'ın rahmeti, bereketi sizinle olsun, gönül güneşiniz hiç solmasın,
yüzünüz aydın olsun, kabriniz nur dolsun, makamınız Firdevs, dualarınız
kabul olsun.

Kandiliniz mübarek olsun...

8/10/2007 10:13:18 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Genel  |  Trackback

Selamlar ; linux-programlama grubundan bir arkadaş bu konu hakkında bir calisma olup olmadığı konusunda bizlerden yardım istedi en nihayetinde ortaya pure javascript den oluşan bir çözüm çıktı.

Yapmanız gereken ilgili js kodlarını xyz.js  gibi bir js dosyasi içinde toplayıp ilgili aspx,html,php,jsp gibi bir sayfada yer alan head tagine link vermeleri..Gerisini çalıştırarak görün.. :)

Ha bu arada nedir bu subliminal mesaj derseniz "bilince ulaşma eşiğini geçemeyen, eşik altında kalan ve canlının farkettiğinin farkında olamadığı uyarıcı.." Olumlu etkileride var.Haricen burdaki örnekte itemlar static.Istersek bunu Ajax ile async yapip istediğimiz datasource dan istediğimiz veriye ulaşarak yolumuza devam edebiliriz.. :)

Hatta şehir efsanesi gibi anlatılan bu gizli mesaj olayını geçenlerde işyerinden hem abim hemde çok sevdiğim bir arkadaşım olan Oğuz abiylede konuşmuştuk.Örneği bir yerlerden duyduğunuza eminim ; ismi malum cola firması sinemada çöl sahnesinin arasında logosunu anlık göstererek insanların susamasını ve satışını arttırmayı hedeflemiş :) Kimileri yalan diyor hatta sevdiğim bir başka abimde "Reklama gerek yok zaten içiyoruz " :)

Test için : http://www.eralperat.com/test.htm

var xArray = new Array();

var MessageFactory = {

AddMessage:function(message)

{

xArray[xArray.length] = message ;

}

}

window.onload=function()

{

MessageFactory.AddMessage("I love this game!");

MessageFactory.AddMessage("I love hipo!");

MessageFactory.AddMessage("I have to work!");

MessageFactory.AddMessage("I have to read CRM book!");

GenerateMessage();

}

function GenerateMessage()

{

var xTop = Math.floor(Math.random()*window.screen.availHeight-200);

var xLeft = Math.floor(Math.random()*window.screen.availWidth-200);

var xNumber = Math.floor(Math.random()*4);

var xFind = document.getElementById('gezgin');

if (xFind)

xFind.parentNode.removeChild(xFind);

/*document.title = xNumber;*/

var xElement = document.createElement('div');

xElement.setAttribute('id','gezgin');

xElement.style.visibility = 'visible';

xElement.innerHTML = "<span style='color:Red;position:absolute;left:"+xLeft+"px;top:"+xTop+"px;'>"+xArray[xNumber]+"</span>";

document.body.appendChild(xElement);

setTimeout('killDiv();',100);

setTimeout("GenerateMessage();setTimeout('killDiv();',100);",3000);

}

function killDiv()

{

var xFind = document.getElementById('gezgin');

if (xFind)

{

xFind.style.visibility = 'hidden';

}

}

8/10/2007 8:53:10 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Asp.NET | Java Script  |  Trackback
 Friday, August 03, 2007

Selamlar ;

biraz uğraştıktan sonra çıktı.

İsteyen olursa yardımcı olabilirim :)

Sevgiler.

Eralp

8/3/2007 5:33:07 PM (GTB Daylight Time, UTC+03:00)  #    Comments [23]   mobile  |  Trackback
 Sunday, July 29, 2007
Selamlar ;
Visual Studio 2008 beta 2 'si http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx  link'nde hazır :)

Yanliz kurulumdan sonra Ms Ajax 1.0 uygulamalarına has bir problem olmaması açısından Important Instructions for Installing Visual Studio 2008 Beta 2
After the Beta 2 installation has finished, you should run this script to ensure that the installation of .NET Framework 3.5 Beta 2 will not affect the development of ASP.NET AJAX 1.0 applications.

şeklinde bir uyarıda bulunuyor , indirilecek olan   .exe policyler ile ilgili bir takım değişiklikler yapıyor.

bilginize..

Eralp




7/29/2007 7:48:33 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Visual Studio  |  Trackback
 Thursday, July 19, 2007


Selamlar ; yukarıda interpret ve compile edilen dillerin dünyaca tanınmış bazı algoritmalardan geçirildiğinde verdikleri sonuclara göre sıralanmış bir hali bulunmakta.

Oldukca bilinen bir karşılaştırma testi :) C# in yeri de hiç fena değil :) Bence kategori olarak ayrılmalıydı managed languages , unmanaged languages ve script languages gibi..O zaman herkes kendi kategorisinde değerlendirilirdi..Şimdi listeye bakıp şu daha iyi değil demek ne derece doğru olacaktır size bırakıyorum..

iyi çalışmalar.

Eralp

7/19/2007 3:07:45 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Genel  |  Trackback
 Tuesday, July 17, 2007
Selamlar ;

Aslında bu konuda Yaldex Pro derim başka da birşey demeye gerek yok :)Tabi şaka bir yana Orcas'in geçenlerde farkettiğim bir özelliğide JavaScript'e ilgili markup file'in (.aspx) içinde dahil code completion özelliğinin artık çalışabiliyor oluşu (external js lerdeki function'ları tanımasından bahsediyorum normal de temel bazı fonksiyonlar için zaten sorun yok çalışıyor var olan vs 2005).

Bu gerçekten güzel hem sadece bu da değil , debugging olayı için harici bir js dosyası zorunluluğuda ortadan kaldırılmış.Yani asp kodlarının arasında da debug yapabileceğiz..

İyi çalışmalar.

Konuyla ilgili daha detaylı bilgi ve video için  http://channel9.msdn.com/Screencasts/302613_jscript.wmv linkini kullanabilirsiniz..


7/17/2007 2:01:26 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Asp.NET | Java Script | Visual Studio  |  Trackback
 Monday, July 16, 2007

Selamlar ;

Fazla söze gerek yok adamlar yapmış :) , VS içerisinde berlitilen assemblylerin depend yapısını grafik olan veren cok tatlı bir eklenti..ve daha fazlası için http://www.codeplex.com/reflectoraddins e mutlaka göz atın..

Graph


This add-in shows assembly dependency graphs, IL flow graphs and class diagrams. The addin uses Microsoft GLEE to render the graphs.

Install

  • Download and unzip Graph.zip to the same directory as Reflector.exe.
  • Graph.zip includes a Reflector.exe.config file which will start Reflector running on .NET 2.0. You need to restart Reflector after copying this file to the same directory as Reflector.exe.
  • Launch Reflector, open the View | Add-Ins... dialog and add Reflector.Graph.dll

Screenshot



Screenshot.png

7/16/2007 5:17:50 PM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   Visual Studio  |  Trackback
 Tuesday, June 19, 2007

Selamlar ;

Internette gezerken gözüme takıldı, Microsoft'un Visual Source Safe'ini Java dünyasıda isterse kullanabiliyor.Ücretsiz.

Bu linkten http://vssplugin.sourceforge.net/ ilgili bilgiyi edinebilirsiniz.

 

Not : Eclipse 2.0'da bazı özelliklerin aktif olmadığı vurgulanıyor , tam anlamıyla kullanılabilmesi için Eclipse 3.x in kurulu olması gerektiği belirtiliyor.

İyi çalışmalar..

 

6/19/2007 1:58:54 PM (GTB Daylight Time, UTC+03:00)  #    Comments [1]   Genel  |  Trackback
 Monday, June 18, 2007
    Selamlar ;

    16 haziran da Microsoft merkezinde .NET ve Mobile teknolojileri konulu bir seminer verdim..Normalde 2 saatlik bir seminer olmasını hedefliyordum ama 5,5 saati aştık katılımcılarla birlikte..Yaklaşık 70 kişinin katıldığı seminer de girmediğimiz konu kalmadı desem yeridir.

    Mobilitenin öneminden  bahsettiğimiz bu seminer de canlı testler yaparak cok daha yakından açıklama imkanımız oldu.GPS üzerine de demo yaptık.

    Devamı gelecek..

    Katılımcı bütün arkadaşlara teşekkür ediyorum..

   

6/18/2007 3:16:19 AM (GTB Daylight Time, UTC+03:00)  #    Comments [4]   mobile  |  Trackback
 Wednesday, June 13, 2007
Yeni eklenen Remote Performance Monitor sayesinde hafızada meydana gelen sızıntıları tespit edebilirsiniz.Bu sayede uygulamanızın memory management'ını daha iyi ayarlayabilir ,herhangi bir anda GC'nin o anki durumunu kaydedebilir ve hafızada ki nesneleri görebilirsiniz.Aynı zamanda farklı anlarda ki durumları karşılaştırabilirsiniz.

Tabi tüm bunların yanı sıra fixlenen bir çok özellik bulunmakta.Bunların listesi aynen aşağıda ki gibidir.

indirmek için  http://download.microsoft.com/download/0/7/2/0728de3a-fa75-413f-b3b6-8050518cef86/NETCFSetupv2.msi
Fixed Bugs:

  • NETCFRPM fails on x64
  • Setup install/uninstall fails silently when the MSI is launched from Control Panel-Programs and Features on Vista
  • Finalizers fail on RTF objects because COM bindings are already disposed
  • VS crashes on trying to attach without setting the Attach Enabled Registry Key
  • Thread.Join() fails with ERROR_INVALID_HANDLE on CE 6.0 platform
  • Potential memory corruption caused by circular reference
  • JIT assertion failure when non-existent COM port is addressed
  • TypeLoadException using generics with NETCF 2.0
  • IrDA is broken on Windows CE 5.0 devices
  • NetCFRPM and MDBG cannot target headless devices
  • SerialPort: Data corruption occurs if DataReceived event is used to receive Unicode characters sent across serial ports
  • SerialPort: Cannot open a COM port beyond COM9
  • SerialPort: GetPortNames() does not return serial port names beyond COM9
  • SerialPort: Data corruption occurs if DataReceived event is used to receive Unicode characters sent across serial ports