Skip to main content

Posts

Showing posts from 2007

Ajax with the ASP.NET MVC Framework

Hopefully everyone had a good few days off. Before the holiday break, I did some app-building on top of the ASP.NET MVC framework. Actually rather than building some sort of fancy app, instead I was prototyping some features on top of the framework bits slated for an initial release. I've shared out the sample code, sample app and tests - yes, sorry for another tease :-)... but stay tuned... and you'll soon have actual bits to play with as well. Until then, you can download the sample code and browse it locally, and follow along the rest of the post. In particular there are two projects within the solution: TaskList (the web app) and AjaxMVC (a class library with Ajax extensions). One of the prototypes is around bringing some basic Ajax functionality - basically to get post-back-less partial rendering and some behavior-like extensions to associate with DOM elements - sort of like ASP.NET Ajax but in a manner that fits with the pattern around how controllers and views are writte...

Script#

Script# brings the C# development experience (programming and tooling) to the JavaScript/Ajax world. The Script# compiler is a C# compiler that generates JavaScript as its output instead of IL. A key goal of the compiler to produce readable JavaScript (as if you had authored it by hand), and would be comfortable deploying into real apps. Hence the translation works from C# source directly into JavaScript without an intermediate IL layer. The compiler can also produce equivalent, but much more compact script for use in release mode deployment. The compiler does not introduce any additional levels of abstraction, thereby allowing you full control of what your application does. In essense the best of script with the best of C#! The Script# compiler can optionally be used with the Script# Framework that provides a more productive application development platform for larger, and more complex applications.

Embeddable IM Control

The folks from Windows Live Messenger just released an embeddable messenger control that you can embed into any web site, without any programming. Basically you can head over to the Messenger settings page to create the HTML snippet (an iframe) that you can embed into your page. You do need to allow publishing your presence information and grant permission to let anonymous site visitors to initiate an IM session. The control allows the visitor initiate a chat session with the invitee specified in the iframe URL. In most cases, for example if you're adding this chat control to your own site, the invitee would be you. However, I can see some application scenarios where the application dynamically picks the invitee ID at runtime. The screenshot of the control is on the left. It is a pretty basic chat control at this point. I have a few ideas for what I'd like to see from the control. More on that below. One super exciting aspect of this control for me personally is that it was c...

Facebook.NET

Facebook.NET provides a .net library for use in developing Facebook applications and accessing Facebook APIs. The library primarily geared around and optimized for developing ASP.NET-based Web applications, both FBML and IFrame-based Facebook applications through an intuitive API and small set of server controls. It does support the use of the Facebook API from desktop applications as well, and will eventually enable Silverlight application usage. The library is built on .NET 2.0, but should run on future versions of the .NET framework as well. Applications using Facebook.NET can be written in either C# or VB.NET. The library is still in early form (some APIs haven't been implemented yet, there are only a couple server controls: FacebookApplication, and FqlDataSource at the moment, etc.) but the intent is to grow this over the course of building some Facebook applications, and through community usage/feedback as well. Please help improve this project by submitting bugs and feature ...

Web Development Helper

Web Development Helper is an Internet Explorer plugin that provides a set of useful tools to both Ajax/JavaScript developers as well as ASP.NET page and control developers. For client-side script-based development, Web Development Helper provides HTTP tracing capabilities, as well as much improved script diagnostics, and tracing facilities, as well as an immediate window. For ASP.NET developers, when developing against your site on your local development machine, this tool provides the ability to view ViewState, ASP.NET trace messages, contents of your cache etc. http://projects.nikhilk.net/Projects/WebDevHelper.aspx

Solution to an IE gotcha when developing Facebook App in an IFRAME

This was a very frustrating problem for us in our app Jobs ( http://apps.facebook.com/getthejob ). The problem was that in IE, if a parent frame has a different domain than the child page, the session data (stored in the Session object) is not preserved as a security precaution. Anyway, if you have this problem, the answer is available on Microsoft's website. Simply put, in your ASP.NET page codebehind, add the following code: protected override void OnPreRender(EventArgs e) { Response.AppendHeader("P3P", "CP=\"CAO PSA OUR\""); base.OnPreRender(e); } This will add the right headers to every page.

Announcing a major MFC update plus TR1 support

As an update to Visual Studio 2008, we’re pleased to announce a major new release of the Microsoft Foundation Classes (MFC). Using these components, developers will be able to create applications with the “look & feel” of Microsoft’s most popular applications – including Office, Internet Explorer and Visual Studio. Some of the specific features include: · Office 2007 Ribbon Bar: Ribbon, Pearl, Quick Access Toolbar, Status Bar, etc. · Office 2003 and XP look: Office-style toolbars and menus, Outlook-style shortcut bar, print preview, live font picker, color picker, etc. · Internet Explorer look: Rebars and task panes. · Visual Studio look: sophisticated docking functionality, auto hide windows, property grids, MDI tabs, tab groups, etc. · Vista theme support: Dynamically switch between themes! · “On the fly” menus and toolbar customization: Users can customize the running application through live drag and drop of menu items and...

MATFOR 4

MATFOR® is a set of libraries developed to enhance computation and visualization in different programming environments: C++, Fortran, Visual Basic and Visual C#. Especially designed for scientists and engineers, MATFOR adds to programs with dynamic visualization capabilities, shortens numerical codes and speeds up development process. By adding a few lines of MATFOR codes to your program, you can easily perform real-time animations, or even produce a movie presentation file as you execute your program. MATFOR is based on industry-recognized visualization libraries VTK (Visual Tool Kit) and OpenGL and numerical library Intel MKL (Math Kernel Library).

Performans Değerlendirme Terminolojisi ve Gerçek Anlamları :)

Takim calismasina yatkin : Iki eliyle bi seyi dogrultamayan, lakin kalabaligin arasinda kaynamayi becerebilen ve is yapiyo imaji cizebilen; cakal Motivasyonu yuksek : Sazan gibi her ise atlayan, bilumum angarya yuklenebilir sahsiyet Etkili sunus yetenegine sahip : Ortalamanin uzerinde guzel/yakisikli kisi; cillop gibin Beden dilini kullanabilen : 'Bi su alabilir miyim' derken kasi gozu oynayan sakat kisilik; Ne yapacagi belli olmaz, Problem cozme yetenegi olan : Havuz problemleri cozerek buyumus oldugundan her konuda cozulecek bir problem arayan, rahatsiz mizacli kolej talebesi; problem cozebiliyosa, problem de cikartabilir,dikkatle izlenmesi lazim gelir Stresle basa cikabilir : Dunya yansa umurunda olmayan rahat kisilik, gevseklikte ve lakayitle sinir tanimayan (Not: Polyannagillerin istihdam edilebilenleri de benzer ozellikler gosterir, zinhar karistirilmamalidir ) Zamani iyi kullanan : Mudurunun ruhu bile duymadan, mesai saatleri icinde kahve icip fal baktiran, internette ge...

Visual Studio 2008 Yayınlandı

Microsoft'un yazılımcılara sunduğu yazılım geliştirme ortamı Visual Studio'nun yeni sürümü olan Visual Studio 2008 duyuruldu. Gelişmiş araçlar parmak uçlarınızda. Microsoft, Windows ortamında sunulan en yeni teknolojilerle yazılım geliştiricileri buluşturduğu Visual Studio 2008'i piyasaya sürdü. Hem profesyonellerin hem de giriş seviyesi programcıların kendilerine göre birşeyler bulabileceği belirtilen yeni Visual Studio içinde birden farklı .NET Framework (3.5'e kadar) ve AJAX için gelişmiş bir destek bulunuyor. Ayrıca LINQ teknolojisiyle C# ve Visual Basic'in veritabanlarıyla (SQL) ilişkisi kuvvetlendiriliyor ve kolaylaştırılıyor.

Taraftar PC Gadget (Perde Arkası)

Gadget projesi kapsamında anlaştığımız haber sitelerinden XML formatında alınan bilgiler sunucumuzdaki 64 bit windows servis uygulaması (C++ ile geliştirildi) tarafından kısa aralıklarla (bir dakika) kontrol ediliyor ve XML dosyalarında güncelleme olduğunda içeriği database sunucumuza kaydediyor. Daha sonra aynı servis uygulamamız, sunucumuzdaki gadget’ın kullandığı XML dosyalarını güncelliyor. Gadget’lar da belli aralıklarla (bu aralıklar içeriğin türüne göre değişiklik gösteriyor her menüde) XML içeriğini tekrar yüklüyor ve kullanıcıya en güncel bilgileri sunuyor. Gadget’lar kullanıcı adı ve parola ile çalışabiliyor ve aynı kullanıcı adı ile aynı anda 2 farklı gadget kullanılamıyor. Bir kullanıcı adı ile gadget kullanılırken başka bir bilgisayardan aynı kullanıcı ile gadget açılırsa ilk kullanıcı sistemden atılıyor. (MSN Messenger benzeri bir user authentication mevcut) Gadgetlar sidebar’a entegre ve sidebar’dan bağımsız çalışan iki farklı tasarıma sahip. İçerik detaylarının görüntül...

Taraftar PC Gadget

Ayrıntılı bilgi için www.taraftarpc.com adresini ziyaret ediniz.

Tennis Is Life Group

Verivizyon.com Topluluk Kurucusuna MVP Ödülü

Yaşar Gözüdeli 2007 yılında Microsoft SQL Server 2005 alanındaki çalışmalarından dolayı Microsoft tarafından MVP ünvanı ile ödüllendirildi. Verivizyon topluluk kurucusu Yaşar Gözüdeli, Ankara Hasanoğlan Anadolu Öğretmen Lisesi ve İstanbul Üniversitesi Bilgisayar Bilimleri Mühendisliğinden mezun oldu. 2000 yılından bu yana farklı kurumlarda veritabanı uygulamaları geliştirmekte. Profesyonel BT yazarlık hayatına ilk defa 2000 yılında Computer Life dergisinde yayınlanan makaleleri ile başladı. Arkasından aynı grup içerisindeki Net Life Internet kültürü dergisinde programlama hakkında beğeni ile okunan köşe yazıları ve çeşitli kapak-dosya konuları hazırladı. Bu dergilerin kapanmasının ardından Byte dergisinde de bir süre yazıları ve "Veritabanı Programlama 1-2" adlarında iki kitapçığı yayınlandı. 2003 yılında veritabanı uygulamaları geliştirme ve veri yönetimi hakkında bilgi paylaşım platformu Verivizyon'u kurdu. 2004 yılında Seçkin Yayınları'ndan çıkan "MS SQL Serve...

Windows XP PRO SP2 üzerinde IIS kuramama

Eğer Windows’unuzu kurduktan sonra IIS kurmadan SP2 kurduysanız muhtemelen artık IIS kuramayacaksınız demektir. Başta staxmem.dll olmak üzere bir den fazla dosya isteyecektir sizden. Bu dosyaları ise SP2 cd si üzerinden göstermenizi isteyecektir. Siz SP2 dosyalarını extract etsenizde, SP2 li bir cd göstersenizde yinede kurmayacaktır. Mevcut olan soruna göre makinenizi formatlamanız en doğru çözüm olarak gözükmekte ise yanılıyorsunuz. Start (Başlat) -> Run (Çalıştır) -> CMD -> [Enter] Karşınıza çıkan prompt’a esentutl /p %windir%\security\database\secedit.sdb komutunu yazmanız ve çıkan uyarı mesajında OK tuşuna tıklamanız yeterli olacaktır. Windows’un bozulan ya da değişen security db si eski hakine dönecek ve artık rahat rahat IIS kurabileceksiniz. Bunun sizin güvenliğinize de herhangi bir etkisi olmayacak.