Anasayfa RSS Email
Tuesday, July 20, 2010

new blog : develoq.net

I have created a new blog site named: develoq.net.

From now on, I will blog in Turkish on this site (cengizhan.com), and blog in English on develoq.net (rss)

Wednesday, July 07, 2010

WebMatrix paketi

Microsoft WebMatrix adından yeni bir paket duyurdu. Henüz beta olan bu paket ve içerdiği teknolojileri bu adresden indirebilirsiniz.

Tamamen ücretsiz olan bu paketin için WebMatrix adından bir geliştirme aracı, IIS Developer Express, SQL Server CE 4.0 ve Razor ASP.NEt View Engine içeriyor. Aslında yeni bazı teknojileri getirmesi yanında yeni bir vizyonda sunuyor. Bu LAMP adındaki Apache, MySQL, PHP dağıtım paketlerine de benzetebilebilir. ASP.NET ile web sayfaları geliştirebilmek için gerekli olan geliştirme editorü, kopyala-yapıştır ile yüklenecekbilecek veritabanı, tam fonksiyonlu web sunucusu, view katmanından kullanmak için kod odaklı yeni bir teknoloji ve ASP.NET Web Pages API adında web sayfalarından kullanmak için hızlı çözüme gitme odaklı bir nesne modeli içeriyor. Bu yazımda web sunucusu, veritabanı özelliklerinden bahsedip, view engine değineceğiz. Razor ve ASP.NET Web Pages ile ilgili ise daha sonra yazılara devam etmek niyetindeyim.

WebMatrix ismi ASP.NET 1.x sürümlerinde yine Microsoft’un sağladığı ücretsiz bir editörün adıydı, bu WebMatrix’in eski WebMatrix ile bir alakası yok.

IIS Developer Express

Visual Studio 2005 sürümünde ASP.NET uygulamalarının çalıştırılması için ASP.NET Development Server adında küçük bir araç gelmeye başladı. Bir ASP.NET uygulamasını IIS gerekli olmadan çalıştırabilmektedir. Bundan önce ise Cassini adında bir ürün vardı, zaten ASP.NET Development Server bu ürünün daha önce çıkmış olan Cassini alt yapısı üzerine kurulmuştu ve Visual Studio 2005 ve 2008’e entegre edilmişti.

Bir exe dosyasının çalıştırılarak sadece yerel hosting yapan bu web sunucusu (ASP.NET Development Server) bir çok kurum tarafından güvenlik politikaları sebebiyle tercih ediliyor.

Ancak bu web sunucu yazılımı IIS’in tüm özelliklerine sahip olmadığı için sorunlar çıkabiliyordu. Bu sebeple uygulama geliştirme sürecinde ASP.NET Development Server ile geliştirilen bir uygulamanın IIS’de de çalıştığından ya da tam tersi durumdan emin olmak için test etmek gerekiyordu. ASP.NET MVC Framework veya farklı detaylı konular ile çalışanlar, IIS’in bir çok zengin özelliğinin ASP.NET Development Server tarafından desteklemediğini görmüştür.

Özetle ASP.NET Development Server, IIS’e göre daha kısıtlı özelliklere sahip olduğu için geliştirme ortamı ile dağıtım ortamı arasındaki farklılıklar sorunlara sebep olabiliyordu.

Bu iki seçeneğe alternatif olarak yeni bir seçenek var. IIS’in tüm özelliklerine sahip, artı olarak ASP.NET Development Server gibi bir exe dosyası çalıştırılarak çalışan ve işletim sistemi bağımlı olmayan bir seçenek.

IIS Developer Express (beta) adındaki bu ücretsiz araç iisexpress.exe dosyasının çalıştırılması ile belirtilen bir klasörü bir web application olarak host ediyor. Windows XP ve üzeri işletim sistemlerinde çalışabiliyor.

Aşağıdaki iki resimde de gözüktüğü gibi iisexpress.exe çalıştırıldığında iisexpresstray.exe adında bir program daha çalıştırıyor. Bu program çalışan iisexpress.exe programlarını aşağıdaki ilk resimde gözüktüğü gibi system tray üzerinden yönetmek için kullanılıyor.

image

 

image

 

IIS Developer Express ile ilgili daha detaylı bilgiyi ilk ağızdan Scott Guthrie(TheGu)’den okumak için tıklayınız.

 

SQL Server Compact Edition (SQL Server CE)

Microsoft’un mobil cihazlarda kullanılmak üzere geliştirdiği, SQL Server CE artık ASP.NET uygulamlarında kullanılmak için gerekli olan uygulama geliştirme arayüzüne (API) sahip.

Bir çoğunuzun bildiği gibi SQL Server CE ücretsiz ve mobil cihazlarda herhangi bir sunucu yazılımına gerek duymadan, uygulamanız içinden kullanılabilen bir yapıya sahiptir. SDF uzantılı SQL Server CE dosyalarını herhangi bir sunucu yazılımı kurmadan uygulamanıza gömülü şekilde kullanabilirsiniz.

ASP.NET ile de kullanılmak üzere düzenlenen bu sürümü ise SQL Server CE version 4 (beta) .  Mevcut ADO.NET API’si ile erişilebilmektedir. Bu sayede Entity Framework, NHibernate gibi orm araçlarıyla veya herhangi bir ADO.NET merkezli veri erişim senaryosunda aynen kullanmaya devam edebileceksiniz.

Bu yeniliğin pratik getirileri nedir?

Paylaşılmış web hosting senaryolarında herhangi bir SQL Server ücreti ödemeden veya yapılandırma işleri ile uğraşmadan SDF uzantılı SQL Server CE veritabanınız FTP ile upload edip kullanabileceksiniz.

SQL Server lisans maliyetinin karşılanmadığı senaryolarda MS Access veya SQLLite gibi farklı veritabanı yapıları kullanmak durumunda kalıyorduk, bunun yerine SQL Server CE veritabanını kullanabileceğiz. Bu sayede uygulamanın gereksinimleri arttığında uygulamayı ölçeklemek adına SQL Server CE’den SQL Server’e geçmeniz gereken senaryolarda sadece connectionstring değiştirmeniz yeterli olacak. Bahsettiğim veritabanlarından birisini kullanırken SQL Server’a geçmek istediğinizde eğer gerekli soyutlama seviyesi oluşturulmadıysa uygulamanın kodunda düzenlemeler yapmanız gerekmektedir.

SQL Server CE SDF dosyalarını WebMatrix paketi içindeki WebMatrix geliştirme aracı ile aşağıdaki resimde gözüktüğü gibi başka herhangi bir araca gerek kalmadan düzenleyebilirsiniz.

image

 

SQL Server CE 4.0 ile ilgili duyurusu ve detaylı bilgi için TheGu’nun yazısını okuyabilirsiniz.

 

Razor Template Engine – ASP.NET  View Engine

 

ASP.NET ekibinin WebMatrix ile birlikte duyurduğu yeni bir özellik ise aslında ASP.NET MVC Framework ve yeni duyurulan ASP.NET Web Pages API ile akalı.

Razor adında bir ASP.NET MVC View Engine duyuruldu. Aslında Razor, ASP.NET MVC View Engine olmaktan öte bir template engine özelliğine de sahip. Yani ASP.NET ortamında değilken bile Razor’u bir template engine olarak kullanabilirsiniz. Şablon dosyasını ve inputlarını vererek Razor template engine yapısını bir console application içerisinde kullanabilirsiniz. Java teknolojisi ile ilgilenenler için tanıdık bir yaklaşım bu, MVC tasarım kalıbında View katmanı için farklı yapılar kullanabilirsiniz. ASP.NET MVC’nin şuan ki varsayılan view engine yapısı .aspx/.ascx dosyalarını çalıştıran ASP.NET Web Forms teknolojisini kullanmaktadır. Bu varsayılan view engine ASP.NET ortamına bağlıdır. Ancak Razor ise ASP.NET MVC View Engine olavrak çalışabilmesinin yanında, ayrıca bir template engine olarak da çalışabilir. (Java’da ki Velocity, String Template view teknolojileri gibi)

Razor’u ayrıca kullanabilmenin yanında bu sayede view katmanı ile ilgili unit testing yapılabilmesi de sağlanmış olur.

Razor’un yazım kuralları ve getirdikleri ile yazılacak çok şey var. Bununla ilgili yazılar yazmayı planlalıyorum. Razor ile ilgili yine ilk ağızdan TheGu’dan duyuru yazısını ve yeni özelliklerini okumak için tıklayınız.

[ asp.net mvc .net web webmatrix ]
Sunday, June 06, 2010

TFS 2010 - Source Control İleri

Microsoft ISV etkinlikleri kapsamında dün Ankara'da gerçekleştirdiğim TFS 2010 Source Control ileri konularını içeren sunum dosyasına aşağıdan erişebilirsiniz. [ tfs vs2010 seminer etkinlik ]
Friday, June 04, 2010

TFS 2010 - Source Control Giriş

Microsoft ISV etkinlikleri kapsamında bugün Ankara'da gerçekleştirdiğim sunum dosyasına aşağıdan erişebilirsiniz.
Thursday, June 03, 2010

Microsoft Yazılım Geliştiriciler Teknoloji Günleri 3 - Ankara

"Microsoft Yazılım Geliştiriciler Teknoloji Günleri 3 - Ankara" etkinliği kapsamında yarın Microsoft Ankara'dayım. Sunumlarını etkinlikten sonra site üzerinden de paylaşacağım. Team Foundation Server 2010 Source Control özelliği üzerine 3 oturumdan oluşan eğitim sunumları yapacağım. Öğleden sonra ise Daron Yöndem'in sunumları olacak. Ankara'da ki yazılım geliştiriciler aşağıdaki etkinlik adresinden kayıt olup, bilgi alabilirler. Oturumlar BizSpark ve WebSiteSpark kapsamında yapılıyor, bu programa üye olan şirketlerden katılabiliyorsunuz.

http://www.facebook.com/event.php?eid=127034150653637

 

[ tfs seminer etkinlik ]
Saturday, May 29, 2010

Yazgelistir Zirvesi - Mayıs 2010

 Yazgelistir.com organizasyonu ile gerçekleştirilen Yazgelistir Zirvesi kapsamında gerçekleştirdiğim oturumun sunumunu aşağıda bulabilirsiniz.

[ visual studio .net vs2010 seminer etkinlik ]
Friday, May 14, 2010

Application Platform Capability Assessments

Microsoft  "Application Platform Capability Assessments" web site provides questionnaires that provide insight into your IT capabilities.

You can use one of assessments on that site to get an overview of the current state of you IT capabilities.

Specially, development teams can get "Application Life-Cycle Management " assessments to be informed about their ALM process as an individual or as a team.

If you are in software development company or you have a software development team I highly recommend you to click this link and get this assessments. https://www.microsoft.com/assess/

[ team system vs2010 ]
Monday, May 03, 2010

Visual Studio 2010 and Team Foundation Server 2010 New Team Features - @Istanbul

Microsoft, organized a technical seminar day for Microsoft Istanbul ISV Partners.
I had a session about "Visual Studio 2010 and Team Foundation Server 2010 New Team Features". You can download the presentation from the link below.

Presentation Powerpoint files.

[ tfs english vs2010 seminer etkinlik ]
Tuesday, April 27, 2010

Features removed from TFS 2010 Power Tools

Brian Harry (from Microsoft VS team) posted a blog entry about TFS 2010 power tools. Brian lists the removed features power tool feature. Cool down! Removed because these features now is a TFS product feature. No need to install power tools for these features.

Quotes from Brian’s post:

  • Build Notifications – Now BuildNotification.exe in Team Explorer 2010
  • TFS Users – No longer needed because TFS now automatically handles user name changes.  More user manipulation is now shipping in “tfsconfig identities”
  • tfpt Rollback command – Now in the product as “tf rollback”.
  • tfpt History command – The ability to follow branches is now in Team Explorer 2010
  • tfpt DestroyWI command – Shipped as witadmin destroywi
  • tfpt DestroyWITD command  – Shipped as witadmin destroywitd
  • tfpt TweakUI command – Incorporated into the product
  • tfpt Destroygl – Shipped as witadmin destroygloballist
  • tfpt ChangedocUrl – Incorporated into Project/Excel addins.
  • tfpt Workspace command – Added to tf workspace

 

Brian’s original post : http://blogs.msdn.com/bharry/archive/2010/04/26/tfs-2010-power-tools-have-released.aspx

[ tfs english vs2010 ]

Team Foundation Server 2010 Power Tools released the RTM version.

Yesterday Team Foundation Server 2010 Power Tools released the RTM version (which means you can use it, this the release which works good with TFS 2010).

 

You can download and get more information about power tools from Visual Studio Gallery.

http://visualstudiogallery.msdn.microsoft.com/en-us/3e8c9b68-6e39-4577-b9b7-78489b5cb1da

 

This release supports Visual Studio Team Foundation Server 2010. The following highlights the tools available in this release

Tool

Description

Alerts Explorer

A plug-in to Visual Studio, Alerts Explorer provides a graphical user interface that supports flexible subscription of alerts based on check-in, work item change, or build completion.

Microsoft Team Foundation Server 2010 Best Practices Analyzer

To launch the Microsoft Team Foundation Server 2010 Best Practices Analyzer, click Start, point to All Programs, point to Microsoft Team Foundation Server 2010 Power Tools, point to Microsoft Visual Studio Best Practices Analyzer, and then click TfsBpa.exe.

Updated! A diagnostic tool with a graphical user interface that you can use to perform the following actions:

· Verify that the deployment for Team Foundation Server is configured according to recommended best practices

· Identify the source of problems in an unhealthy deployment.

· Take a snapshot of the configuration of a deployment.

· Obtain usage data about the volume of data stored or accessed in the past 14 days. Includes specific information about database tables that have a tendency to grow and that may need to be reduced in size.

Custom Check-in Policy Pack

A supplemental set of four custom check-in policies to use to enforce software development practices during the check-in process.

Process Editor

Updated! An add-in to the Tools menu, the Process Editor provides a graphical user interface for editing Team Foundation Server process templates inside the Visual Studio IDE. This tool also provides a GUI for viewing the values assigned to all fields defined in a project collection.

Team Explorer Enhancements

This tool provides additional Visual Studio menu options and functions to support finding files under version control by status or wildcard, opening a folder using Windows Explorer from the Source Control Explorer context menu, and labeling files and folders in Source Control Explorer. 

Team Foundation Power Tool (TFPT.EXE) Tool

Updated! A command line tool that you can use to work with files and directories under version control, team projects, and work items. Some commands display a graphical user interface when run.

Team Members

An add-in to Team Explorer, this tool allows you to organize users into sub-teams and access a number of collaborative tools, such as IM and email, sharing of queries and links, and downloading and installation of custom Team Foundation components.

Windows PowerShell Cmdlets for Visual Studio Team System Team Foundation Server

This tool provides a Windows PowerShell interface that supports basic version control commands and a pipeline and glue to enable scripting.

Windows Shell Extensions

This tool provides integration with Windows Explorer and the common file dialogs. With this integration, you can perform many source control operations without having to run Visual Studio or a Team Foundation command-line tool.

Work Item Templates

This tool provides an add-in to the Team menu and a folder under each team project node in Team Explorer. With this tool, you can create, apply, capture, set, and organize default work item templates.

Visual Studio 2010 Theme on your Desktop

I just started to use a new Windows Theme. Rob Caron has published a new theme pack for Visual Studio 2010.

You can download and check screenshots of this theme from Rob’s blog.

http://blogs.msdn.com/9997311.aspx

 

Now, my desktop looks like :

screenshot of my desktop

[ english ]

Visual Studio 2010 and Team Foundation Server 2010 New Team Features - @Ankara

Microsoft, organized a technical seminar day for Microsoft Ankara ISV Partners.
I had a session about "Visual Studio 2010 and Team Foundation Server 2010 New Team Features". You can download the presentation from the link below. I want to thank you to Microsoft DPE Team members and Ed for his support about presentation material.

Presentation Powerpoint files.

[ tfs english vs2010 seminer ]
Monday, April 26, 2010

Visual Studio 2010 ve TFS 2010 Yeni Takım Geliştirme Özellikleri

Microsoft ISV Partners 26 Nisan 2010 Ankara seminerlerinde kullandığım TFS 2010 odaklı sunumu aşağıdaki linkten indirebilirsiniz.

 

Visual Studio 2010 ve TFS 2010 Yeni Takım Geliştirme Özellikleri.pptx

[ tfs vs2010 seminer etkinlik ]
Sunday, April 25, 2010

How to delete a Team Project from a TFS 2010 Team Project Collection

You can not delete a Team Project from Source Control Explorer. When you try to delete it from Source Control Explorer in Visual Studio, it says to use team project deletion tool.

You can remove a team project from Team Foundation Server when the project is no longer required by using TFSDeleteProject.exe.

Open Visual Studio 2010 Command prompt and type;

"http://chan08:8080/tfs/defaultcollection" is my tfs 2010 team project collection url.
"demo2" is the team project will be deleted.
"/q" is for brave administrators. :)

tfsdeleteproject /q /collection:http://chan08:8080/tfs/defaultcollection demo2

Deleting from Build ...
Done
Deleting from Version Control ...
Done
Deleting from Work Item Tracking ...
Done
Deleting from TestManagement ...
Done
Deleting from LabManagement ...
  Not found
Deleting Report Server files ...
Done
Detaching SharePoint site ...
Done
Deleting SharePoint site ...
Done
Deleting from Team Foundation Core ...
Done

 

[ tfs english vs2010 ]
Thursday, April 22, 2010

New .NET debugger extension for WindDBG : PSSCOR2

You had a chance (!!??) to work with WinDBG with SOS.DLL extension for debugging .net applications.

Psscor2 provides a superset of SOS.DLL functionality, specially for ASP.NET application. I already used it in only ASP.NET based projects, so this improvements will help me a lot (I am prying for not to need it in real life scenarios).

Earlier I was using this command for listing all exceptions.

 .foreach (ex {!dumpheap -type Exception -short}){.echo "********************************";!pe -nested ${ex} }

 It says; "list all types which has a name that contains 'Exception' word.";

Now with PSSCOR2; DumpAllExceptions (shorted as dae) command does the work.

!dae

 For example, Psscor2 provides the ability to view:

  • managed call stacks (with source mappings)
  • managed exception information
  • what types are in the managed heap and their reference chain
  • which ASP.NET pages are running on which thread
  • the contents of the ASP.NET cache
  • and much more.

 Download url: http://www.microsoft.com/downloads/details.aspx?FamilyID=5c068e9f-ebfe-48a5-8b2f-0ad6ab454ad4&displayLang=en

For more information please check out :

http://blogs.msdn.com/tom/archive/2010/03/29/new-debugger-extension-for-net-psscor2-released.aspx

http://blogs.msdn.com/tess/

Turkish resource about advanced debugging technics : Ahmet Mitat Bostanci http://blogs.msdn.com/amb/ 

[ english debug windbg ]
Web Statistics