Web sitenizde Paypal Kullanmak isterseniz aşağıdaki linkleri takip edebilirsiniz.

Website Payments Standard Integration Guide: Contains information previously contained in

separate manuals, such as the Shopping Cart manual and the Instant Payments Notification

manual. Get it at https://www.paypal.com/en_US/pdf/PP_WebsitePaymentsStandard_

IntegrationGuide.pdf.

• The PayPal Developer Network: The official resource for PayPal developers. Access it at https://

www.paypal.com/pdn.

• PayPalDev: According to the site, this is an independent forum for PayPal developers. Access it at

http://www.paypaldev.org/. You can also find numerous links to various other PayPal resources

as well.

Etiketler : Etiket Yok
Kategoriler : ASP .NET Delphi Prism Visual Studio
Yorumlar : 0 Yorum Yorum Yaz

What’s New in Silverlight 4?

READ FIRST

Want to know the feature-by-feature 'what's new' information? Read the What's new in Silverlight 4 whitepaper for more detailed technical information.

Silverlight 4 delivers a full suite of powerful capabilities to business application developers, bringing the best-of-breed .NET platform to browser-based experiences. Silverlight provides an ideal platform for developing and deploying modern business applications for both customer facing and staff-facing applications.

Business Application Development

Silverlight 4 consolidates its position as the natural choice for building business applications on the Web:

New Features for Application Developers

  • Comprehensive printing support enabling hardcopy reports and documents as well as a virtual print view, independent of screen content.
  • A full set of forms controls with over 60 customizable, styleable components. New controls include RichTextbox with hyperlinks, images and editing and Masked textbox for complex field validation. Enhanced controls include DataGrid with sortable/resizeable columns and copy/paste rows.
  • WCF RIA Services introduces enterprise class networking and data access for building n-tier applications including transactions, paging of data, WCF and HTTP enhancements.
  • Localization enhancements with Bi-Directional text, Right-to-Left support and complex scripts such as Arabic, Hebrew and 31 new languages including Vietnamese and Indic support.
  • The .NET Common Runtime (CLR) now enables the same compiled code to be run on the desktop and Silverlight without change.
  • Enhanced databinding support increases flexibility and productivity through data grouping/editing and string formatting within bindings.
  • Managed Extensibility Framework supports building large composite applications.
  • Exclusive tooling support for Silverlight, new in Visual Studio 2010. Including a full editable design surface, drag & drop data-binding, automatically bound controls, datasource selection, integration with Expression Blend styling resources, Silverlight project support and full IntelliSense.

Developer tools

  • Fully editable design surface for drawing out controls and layouts.
  • Rich property grid and new editors for values
  • Drag and drop support for databinding and automatically creating bound controls such as listbox, datagrid. New datasources window and picker.
  • Easy to pick styles and resources to make a good looking application based on designer resources built in Expression Blend.
  • Built in project support for Silverlight applications
  • Editor with full intellisense for XAML and C# and VB languages.

Empowering richer, more interactive experiences

Silverlight is already in use as a comprehensive platform for building rich experiences both for application and pure media scenarios including HD quality, interactive video through Smooth Streaming. Silverlight 4 introduces additional capabilities to enable creation of ever more rich, appealing high-performance interactive experiences and innovative media experiences:

  • Fluid interface enhancements advance application usability through animation effects.
  • Webcam and microphone to allow sharing of video and audio for instance for chat or customer service applications.
  • Audio and video local recording capabilities capture RAW video without requiring server interaction, enabling a wide range of end-user interaction and communication scenarios for example video conferencing.
  • Bring data in to your application with features such as copy and paste or drag and drop.
  • Long lists can now be scrolled effortlessly with the mouse wheel.
  • Support conventional desktop interaction models through new features such as right-click context menu.
  • Support for Google’s Chrome browser.
  • Performance optimizations mean Silverlight 4 applications start quicker and run 200% faster than the equivalent Silverlight 3 application.
  • Multi-touch support enables a range of gestures and touch interactions to be integrated into user experiences.
  • Multicast networking, enabling Enterprises to lower the cost of streaming broadcast events such as company meetings and training, interoperating seamlessly with existing Windows Media Server streaming infrastructure.
  • Content protection for H.264 media through Silverlight DRM powered by PlayReady.
  • Output protection for audio/video streams allowing content owners or distributors to ensure protected content is only viewed through a secure video connection.

Move beyond the browser

Silverlight 3 pioneered the delivery of a new class of Rich Internet Applications to work on the desktop without additional code or runtimes. Silverlight 4 extends this capability:

For Sandboxed applications

  • Place HTML within your application enabling much tighter integration with content from web servers such as email, help and reports.
  • Provide support for ‘toast’ notification windows, allowing applications to communicate status or change information while the user is working on another application through a popup window on the taskbar.
  • Offline DRM, extending the existing Silverlight DRM powered by PlayReady technology to work offline. Protected content can be delivered with a persistent license so that users can go offline immediately and start enjoying their content.
  • Control over aspects of UI include window settings such as start position, size and chrome.

For Trusted applications

  • Read and write files to the user’s MyDocuments, MyMusic, MyPictures and MyVideos folder (or equivalent for non-windows platforms) for example storage of media files and taking local copies of reports.
  • Run other desktop programs such as Office, for example requesting Outlook to send an email, send a report to Word or data to Excel.
  • COM automation enables access to devices and other system capabilities by calling into application components; for instance to access a USB security card reader.
  • A new user interface for requesting application privileges access outside the standard Silverlight sandbox.
  • Group policy objects allow organizations to tailor which applications may have elevated trust.
  • Full keyboard support in fullscreen mode richer kiosk and media applications.
  • Enhancements to networking allow cross-domain access without a security policy file.
  • Custom Window ‘chrome’ to provide a highly branded experience
Etiketler : Etiket Yok
Kategoriler : ASP .NET Delphi Prism Kişisel Visual Studio
Yorumlar : 0 Yorum Yorum Yaz

Kaynak : MSAkademik

Xml artık bugünün ve  geleceğin teknolojisi. Buna bütün dev firmalar inanmış durumda. Microsoft gece gündüz çalışarak tüm sistemlerini xml tabanına taşıyor, Macromedia ürünlerinin yeni versiyonları xml ile daha çok içli dışlı. Aynı şekilde Sun ve IBM de tam gaz xml'i benimsemiş durumdalar. Bu yüzden xml'i kullanmayı öğrenmek artık bir lüks olmaktan çıktı, bir zorunluluk haline geldi.

 


Xml Webservislerine geçiş yaşandığı şu günlerde bazı firmalar ilk etapta bilgilerini  şimdilik xml olarak sunmaya başladılar. Örnek olarak IMKB'nin döviz kurlarını vermesi ya da Radikal gazetesinin günlük haberlerini vermesi gibi. Biz de bu makalede bilgilerimizi program koduyla nasıl xml olarak yayınlayabileceğimizi öğreneceğiz. Tabii ki bunun birçok yolu var. Biz System.Xml ad alanındaki XmlWriter soyut(abstract) sınıfının alt sınıfı olan XmlTextWriter sınıfını kullanarak yapacağız. Amacımız XmlTextWriter sınıfının nasıl kullanıldığını ögrenmek.

Bunu kod üzerinde göstermeye çalışalım. Örneğimizide SQL Server dan alacağımız bilgileri bir xml dosyası yaratıp içine yazacağız. 

// Sql Serverdaki Northwind verıtabanına bağlantıyı sağlayacak // bağlantı cümlesi. Bunu kendi bilgisayarnıza göre kendiniz // olusturacaksınız. string CnnStr="<Northwind e bağlanan connection stringiniz>"; SqlConnection sqlCnn = new SqlConnection(CnnStr); SqlDataAdapter sqlAdapter = new SqlDataAdapter("Select * From Products",sqlCnn); DataSet dSet = new DataSet(); try { sqlCnn.Open(); // 1 ve 5, birinci kayıttan başla ve 5 kayıt al demek. // örnek için yeterli. "Products", tablonun ismi. sqlAdapter.Fill(dSet,1,5,"Products"); } catch(Exception exp) { MessageBox.Show("Hata: "+exp.Message); } finally { if (sqlCnn.State == ConnectionState.Open) { sqlCnn.Close(); } } //doyanın ismini ve yolunu belirliyoruz. XmlTextWriter xmlDoc = new XmlTextWriter( @"E:\products.xml",System.Text.Encoding.UTF8); // dosyaya nasıl yazılacagını belirtiyoruz. xmlDoc.Formatting = Formatting.Indented; // Dosyanin başına <?xml version="1.0" ?> yazıyoruz. // false parametresi standalone=no yazar // true olsaydı, standalone=yes yazacakti. xmlDoc.WriteStartDocument(false); // "DOCTYPE" tanımını yazıyoruz. // Bu örnekte kullanmıyoruz ama ögrenmek için bulunsun... xmlDoc.WriteDocType("Urunler",null,null,null); xmlDoc.WriteComment("Comment, yani dosyaya yorum yazıyoruz..."); //baslangıç elementini yazıyoruz xmlDoc.WriteStartElement("Ürünlerimiz"); // Ürünlerimiz elementinin altına // yeni bir baslangıç elementi daha yazıyoruz. xmlDoc.WriteStartElement("Ürün",null); string no = dSet.Tables[0].Rows[0]["ProductID"].ToString(); string uID = dSet.Tables[0].Rows[0]["ProductName"].ToString(); string fiyat= dSet.Tables[0].Rows[0]["UnitPrice"].ToString(); // Bilgi içeren elementleri yaziyoruz. // Bilgiyi dSet ten alıyor. xmlDoc.WriteElementString("Numarasi",no); xmlDoc.WriteElementString("ÜrünAdı",uID); xmlDoc.WriteElementString("Fiyatı",fiyat); // Yukarida kaç tane writeStartElement yazdıysak // o kadar writeEndElement yazıyoruz.(yani 2 tane) xmlDoc.WriteEndElement(); // buyaya kadar olan kısmı bir for döngüsü içine alarak // bütün dSet'in içindekilerini yazabilirdik. // Ama örnek için sadece bir deflık yaptık. xmlDoc.WriteEndElement(); // Aslında su an dosya bos. // Bu bilgilerin hepsi hafızada duruyor // Bu bilgleri dosyaya yazalım xmlDoc.Flush(); // dosyayı kapatalım xmlDoc.Close();

 

Kod için gerekli açıklamaları kod satırlarının üstüne yazdım. Böylece anlamak daha kolay olur. Xml Dosyamız asağıdaki gibi olacaktır.


Products.xml

<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE Urunler(View Source for full doctype...)> <!--Comment, yani dosyaya yorum yazıyoruz...--> <Ürünlerimiz> <Ürün> <Numarası>2</Numarası> <ÜrünAdı>Chang</ÜrünAdı> <Fiyatı>19,0000</Fiyatı> </Ürün> </Ürünlerimiz>

Etiketler : Etiket Yok
Kategoriler : Visual Studio
Yorumlar : 0 Yorum Yorum Yaz

Kaynak : MSAKADEMİK

Bu makaleyi okuduktan sonra; 

  • XMLReader sınıfının altsınıflarını kullanarak dosyadan XML okuyabileceksiniz.
  • XMLReader sınıfının alt sınıflarının XMLTextReader, XMLValidatingReader ve XMLNodeReader olduğunu öğreneceksiniz.
  • Bu alt sınıfların hangi durumda hangisinin kullanılacağını bileceksiniz

Önbilgi: Temel XML bilgisi

Bir dosyadan XML bilgiyi iki farklı sekilde okuyabilirsiniz; birincisi direkt dosyadan satır satır okuyarak, ikincisi ise tüm dosyayı hafızaya alıp okuyarak.
Birinci durumda, yani satır satır okumak için, XMLReader sınıfını kullanıyoruz. Bu sınıfla hızlı, depolamadan, sadece ileriye dogru (fast, non-cached, forward-only) okuma yapılır. Dosyanın birinci satırından baslayarak okumaya baslar ve asagıya, dosyanın sonuna kadar devam eder. Tıpkı ADO.NET'teki DataReader gibi.

 

XMLReader'ın birkaç önemli altsınıfları vardır. Zaten XMLReader, DataReader gibi bir soyut(abstract) sınıftır. Dolayısıyla new kelimesiyle oluşturulmaz. Onun yerine alt sınıfları kullanılarak oluşturulur. Bu sınıfın nasıl oluşturulduğuna geçmeden alt sınıflarından bahsetmek istiyorum. Bunlar XMLTextReader, XMLValidatingReader ve XMLNodeReader' dır.  Aşağıdaki tabloda XMLReader altsınıfları ve hangi durumlarda kullanıldığı belirtilmiştir.

Senaryo

Kullanılacak Reader

Performans çok ön plandaysa, DTD(Document Type Definition) ve Şema(Schema)'ya ihtiyaç duyulmuyorsa

XMLTextReader

Xml dosyasının düzgün-yapılı(well-formed) olması gerekiyorsa

XMLTextReader

Xml dosyasının DTD' ye göre geçerli(valid) ve düzgün-yapılı olması gerekiyorsa

XMLValidatingReader

Xml dosyasının belli bir şemaya göre geçerli(valid) ve düzgün-yapılı olması gerekiyorsa

XMLValidatingReader

Xml dosyasının düzgün-yapılı olması  ve XmlNode'a göre okunması gerekiyorsa

(XmlNode: xml dosyasında <x>ile</x> dahil arada kalan hereşeye denir. )

XMLNodeReader

 

Bu arada küçük bir not; XMLTextReader ve XMLValidatingReader sınıfları en fazla 2 gigabyte'lık dosyaları okuyabiliyor. Eğer dosyanız daha büyükse bir kaç parçaya bölmeniz performans açısından daha iyi olur.

Asagıdaki gibi bir XML dosyasının oldugunu düsünün. Adı Employees.xml olsun.

<?xml version="1.0"?> <Root> <Employees> <EmployeeID>1</EmployeeID> <LastName>Davolio</LastName> <FirstName>Nancy</FirstName> </Employees> </Root>

Yukarıdaki xml dosyasında ilk satır tanımlama satırıdır. <Root> elementi kök elementidir. xml dosyaları için olmazsa olmazlardan biri de kök elmentinin olmasıdır. Başlangıç elementi de denir. <Employees> de bir elementtir. Elementlere aynı zamanda Node da denir. Node  kelimesini Türkçeye çeviremedim. Artık güzel bir bilişim sözlüğü çıkana kadar nacizane bendeniz elminden geldikçe daha iyi anlaşılması için Türkçe'ye çevirmeye çalışacağım. Çeviremediklerim için affınıza sığınıyorum.  <Employees> ile</Employees>  arasındaki elementlere ChildNode denir. Yani <Employees> elementinin çocukları oluyor.

Şimdi de yukarıdaki xml dosyasından yazıları alacak kodu yazalım. Bunun için bu bilgilere uygun bir arayüz oluşturalım. Arayüz aşağıdaki gibi olabilir


 

Kodun sadece button1_Click olayındaki kısmını buraya koyuyorum. Çünkü geri kalan kısmı Developer kendisi oluşturuyor. Ayrıca makalenin sonunda kodun tamamının zipli halini indirebileceğiniz bir link verceğim.

(Not:en başa using System.XML yazmayı unutmayın) private void button1_Click(object sender, System.EventArgs e) { XmlTextReader reader = new XmlTextReader(@"Employees.xml"); while(reader.Read()) { if(reader.NodeType == XmlNodeType.Element) { if(reader.Name.Equals("EmployeeID")) { textBox1.Text = reader.ReadString(); } else if(reader.Name.Equals("LastName")) { textBox3.Text = reader.ReadString(); } else if(reader.Name.Equals("FirstName")) { textBox2.Text = reader.ReadString(); } } } reader.Close(); }

Şimdi kodu satır satır inceleyelim:
Birinci satırda reader adında XMLTextReader sınıfından bir örnek oluşturuyoruz. Parametre olarak da xml doyasının bulunduğu URL yi string olarak alıyor. Eğer xml dosyası C sürücüsünün altında olsayıdı o zaman parametre olarak (@"C:\Employees.xml") yazacaktık. Bu dosya şu an bin/degub/Employees.xml de olduğu için sadece ismini yazdık.

Ikinci satırda bir while dögüsü oluşturuyoruz. reader.Read() koşulu doğru değerini döndürdüğü sürece yani dosyanın sonuna kadar döngü devam eder.  Dögünün içinde bir if cümlesi görüyorsunuz. Eğer node tipi elementse işlemler yapacak. Daha sonra elementin adına göre textbox'lara readString() methoduyla elementlerin içindeki bilgileri yazacak.

Son olarak, işimiz bittikten sonra reader.Close() ile reader'ı kapatıyoruz.


Programı Çalıştırıp "XML'den oku (button1)" düğmesine bastığımızda xmlden bilgileri başarıyla okumuş oluyoruz.


 

 

Gelecek makalelerde XML ile oynamaya devam edeceğiz.

kodun zipli halini buradan indirebilirsiniz.

Etiketler : Etiket Yok
Kategoriler : Visual Studio
Yorumlar : 0 Yorum Yorum Yaz

MaLum oLur ki başLığa göre biraz uçuk bir terim ama gerçekten yapıLabiLen bir durum aşağıdaki linke tıkLayarak programı indirip, deneyebilirsiniz. KoLay geLsin.!

http://www.tuncayozer.com/news/CS2PAS.zip

Etiketler : Etiket Yok
Kategoriler : Delphi Prism Visual Studio
Yorumlar : 0 Yorum Yorum Yaz
This series of 8 hour-long sessions will cover some of the new features in Visual Studio 2010, as of the Beta 2 release, and some of the new language features in .NET languages including C#, Visual Basic.NET, and F#, as of version 4 of the .NET framework.
Information and relevant details from the link below you can see the video playback.
Etiketler : Etiket Yok
Kategoriler : Visual Studio
Yorumlar : 0 Yorum Yorum Yaz

Merhaba Web sitenizden kendi işyerinizi göstermek istiyorsunuz. Önce VisuaL Studio kuLLanıyorsanız. GoogLe Maps e ait DLL dosyasını indirip VisuaL studio ya ekLedikten sonra, GoogLe Maps ten API Key temin ediyorsunuz ve işyerinizin buLunduğu noktayı http://www.mygeoposition.com/ adresini kuLLanaraktan koLayLıkLa buLabiLirsiniz.

GMap1.enableHookMouseWheelToZoom = true;
GMap1.enableDoubleClickZoom =true;
GLatLng latlong = new GLatLng(37.956448, 40.186186); GMap1.setCenter(latlong, 16);
GMap1.addControl(new GControl(GControl.preBuilt.SmallMapControl, new GControlPosition(GControlPosition.position.Top_Right)));   GMarker labtek = new GMarker(latlong);
GInfoWindow labwin = new GInfoWindow(lab, "<img src=yondis.jpg style=width: 200px; height: 150px><center><b>lab</b></center>", true); GMap1.addInfoWindow(labwin);

Etiketler : Etiket Yok
Kategoriler : ASP .NET Visual Studio
Yorumlar : 0 Yorum Yorum Yaz
Arama
  Ara
Dil Seçin
Sayfalar
Son Yorumlar
Sayfalar
Blog Sayaç
Tag Bulutu