Blog Home  Amacin know-how ve XP paylasimi ise mutlaka yollarimiz biryerlerde kesisecek.. ;) RSS 2.0 Atom 1.0 CDF  
..::EralpErat::..{Embedded Programming} - Monday, October 01, 2007
I like Coding..
 
 Monday, October 01, 2007
Selamlar ;

Boğaziçi Universitesi mühendislik fakültesinde 05.10.2007 tarihinden itibaren uzun bir süre C# anlatacağım.Tabi sadece C#'la sınırlı kalacağımı sanmıyorum :)

Buna vesile olan Hakan abime teşekkürler.

Eralp


10/1/2007 12:24:22 PM (GTB Daylight Time, UTC+03:00)  #    Comments [29]   C# | Genel  |  Trackback
Selamlar ;

Get the latest version of SQL Server Compact 3.5 Beta 2 and start building a new generation of embedded database applications for desktops and mobile devices. SQL Server Compact 3.5 Beta 2 introduces a host of new features including LINQ to SQL support, Microsoft Synchronization Services for ADO.NET, plus enhanced support for T SQL statements that lets developers rapidly develop and deploy applications using Visual Studio 2008.

SQL Server Compact 3.5 Beta 2 yi ve ona ait tüm tooları http://www.microsoft.com/sql/editions/compact/beta2.mspx adresinden indirebilirsiniz.Bu yeni sürümde ;

QL Server Compact 3.5 includes a host of new features including the following:
  • LINQ to SQL enabling developers to integrate data access directly into their code
  • Side-by-side installation together with SQL Server 2005 Compact Edition (version 3.1)
  • Support for newer and more secure encryption algorithms
  • Additional timestamp (rowversion) data type

  • Enhanced support for Transact-SQL statements including:
    • Nested query in SELECT FROM clause
    • CROSS APPLY and OUTER APPLY
    • CAST and DECIMAL
    • TOP
    • SET IDENTITY INSERT
  • Microsoft Synchronization Services for ADO.NET providing the ability to synchronize data from disparate sources over two-tier, N-tier, and service-based architectures
  • Support for System.Transactions
Gördüğünüz üzere çokca yenilik bizleri bekliyor.Bana göre en önemlisi LINQ'in oluşu.Lakin SQL Server kullanmasam da datami XML üzerinde tutmam dahilinde XLINQ ile verilerimi sorgulayip işlem yapmak C# 3.0 in atası C omega'yi duyduğumdan beri isteğimdi.İlgili namespace'in dahil edilip edilmediğine dair henüz bakacak zamanım olmadı ama büyük merak icerisindeyim..

iyi çalışmalar.




10/1/2007 7:16:16 AM (GTB Daylight Time, UTC+03:00)  #    Comments [0]    |  Trackback
 Sunday, September 30, 2007

Selamlar ;

evet evet konuyla ilgili olan arkadaşların "yahu bizde durumu garipsemiştik sen git mac os'a ( işyerinden arkadaşım sevgili Melih Sancar kulakların çınlasın) destek vereceğini söyle ama linux'i es geç,olmadi MS" dediğini duyar gibiy"dim".. Evet en sonunda konuda bir anlaşmaya varıldı.İlgili taraflardan Novell'den Miguel De Icaza blogunda konuyla ilgili açıklamalar da bulunmuş.Ek olarak mono'da VB.NET in çalışmasını sağlayan elemanlardan Bjarne MIX'07 serilerinden birinde (Boston) konunun demosunu dahi yapacakmış.Burayı tıklayınız...

Halihazırda linux üstünde çalışan uygulamaların Screenshotlar için buraya tıklayın..

Gelişmeler heycan verici , bu arada 6 Eylül'de de silverlight1.0 'ın final sürümü release oldu.

iyi çalışmalar.

 

 

9/30/2007 5:49:23 AM (GTB Daylight Time, UTC+03:00)  #    Comments [0]    |  Trackback
Selamlar ;
geçende msdn'den gelen emaile şöyle bir gözatarken çok ilginç bir sorunla ve bunun çözümüyle karşılaştım.Şu ana kadar bir sıkıntı yaşadığımı hatırlamasam da bu konu hakkında :) inanın çok tuhafıma gitti primitive type lardan olan string class ina ait
String.IsNullOrEmpty metodunun NullReferenceException throw ediyor oluşu.. Kullanan arkadaşlara aman dikkat diyorum.Konuyla ilgili makale için tıklayın.. linkine bir göz atın.

iyi çalışmalar.


Eralp

9/30/2007 5:18:41 AM (GTB Daylight Time, UTC+03:00)  #    Comments [0]   .Net Framework  |  Trackback
 Friday, August 31, 2007
Selamlar eğer birazcık zamanınız varsa mutlaka izleyin derim..

Ebruli olayını bu kadar basit bir biçimde sanala taşınacağını düşünememiştim doğrusu.Bir de telefonu koyduğunda ekranın telle irtibata geçip eteğindeki leri dökmesi bittiğim andır :)

(Not : Cümlelerimden çokca birşey anlaşılamamasının sebebi evet tahmin ettiğiniz gibi , gizemi arttırmak :) Hadi izlesenize.. :))


8/31/2007 7:48:49 AM (GTB Daylight Time, UTC+03:00)  #    Comments [2]   Genel  |  Trackback
 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ışÄ