Patterns & practices ekibini .net'in ilk yıllarından beri takip ederiz. Hazırladıkları “Application Block” larla yönetilebilirlik ve performans adına pek çok doğru kodlamanın örneği oldular. Bir çok yazılım mimarı ve yazılım geliştiricinin Application Block’ların yanı sıra oluşturdukları kılavuzlardan da faydalandığını gözlemledim. Yalnız .net Framework 3.0 ve 3.5 ile birlikte Microsoft'un ürün geliştirme hızına yetişememiş bir ekip olarak gözümden düşmüşlerdi açıkçası. Bana cevap "WCF Security Guidance" ile geldi.
WCF, SOA'nın fazlasıyla popüler olduğu sektörümüzde Microsoft'un temel hamlelerinden bir tanesi. Eğer Microsoft platformunda yazılım geliştiriyorsanız servislerinizi oluşturmak için WCF yeterli. WCF'de senaryonuza göre farklı güvenlik konfigurasyonlara ulaşabilirsiniz. Ama hangi konfigurasyonun senaryonuz için en iyi olduğunu ve bunu kod yapıtaşlarıyla en iyi nasıl geliştirebileceğinizi aşağıdaki kılavuz yol gösterecektir.
http://www.codeplex.com/WCFSecurity
1 kişi tarafından 5,0 olarak değerlendirildi
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
VS2005'de teknik olarak bazı sınırlılıklarla birlikte bir servisin içerisinde workflow kullanmak mümkün. Bunu sağlamak için ciddi bir süre evirmek ve çevirmek için harcıyorsunuz. Sonuçta hem servis hem de workflow tarafında bir takım ek kodlar yazmış oluyorsunuz. Bu sıkıntıların arasında aşağıda ".net Framework 3.5 features list" de görebildiğiniz gibi Orcas imdada yetişiyor. "Workflow Services" kavramıyla ifade edilen ve Orcas'da bir template ile sadece 60 saniyede yapabildiğiniz üzere herhangi bir workflow'unuzu servis olarak sunabiliyorsunuz.
.NET Framework 3.5 New Features
|
Faster .NET Framework execution
|
Base Class Library – New Class Additions
|
- Faster garbage collection
- Smarter, faster NGen requiring smaller working set RAM
- 64 bit client improvements
- ThreadPool performance improvements
- Security check caching during NGen
|
- BigInteger, HashSet and DateTime2 types
- NSA Suite ”B” and FIPs compliant cryptography
- Lightweight Reader/Writer Lock Classes
- Anonymous and Named Pipes IO Classes
- Integration with Event Tracing for Windows
- New Addin hosting model for extensibility
|
|
WF Enabled Services
|
Web 2.0 Friendly and AJAX Enabled WCF
|
|
Using workflow to provide for durable and long-running services. New Tools, WF activities and new programming model classes have been added to simplify building workflow-enabled services using WF and WCF. This allows a .NET Framework developer to build business logic for a service using WF and expose messaging from that service using WCF. These improvements not only provide tools for this scenario but they reduce the amount of glue code that was previously required.
|
Ajax is a web development technique for making asynchronous exchanges of small amounts of data between browser and web service calls from the browser client script to the web server. A programming model is provided for building Ajax style web applications using WCF services. An HTTP programming model is also provided allowing for REST style web services. |
|
More WS-* Standards Support
|
RSS and ATOM Syndication API
|
| Implementation in WCF of the latest OASIS specifications Web Services Atomic Transaction (WS-AtomicTransaction) 1.1, WS-ReliableMessaging 1.1, WS-SecureCOnversation and Web Services Coordination (WS-Coordination) 1.1. |
Applications built using WCF will be able to easily expose syndicated data which can be consumed by an RSS or ATOM reader. |
|
Rules Data Improvements
|
Built-in WPF tools for Visual Studio “Orcas”
|
| The rules engine in WF is improved to add support for C# 3.0 extension metods, and for operator overloading . Also the ”new” operator is added to compete the base set of expression types. |
The Visual Studio designer for WPF was previously released as a CTP. It is not integrated into the development environment and is significantly improved. |
|
Language Integrated Query (LINQ)
|
Additional WPF Features and Improved Performance
|
| Deep integration of LINQ data-awareness into the programming languages and framework. |
WPF has smoother animations, faster startup and better overall performance. There are also new data types available for data binding with LINQ. Better integration support is now provided for with codename “WPF/E”. |
|
VS Developer Tools for WF, WCF
|
Partial Trust Support for WCF Hosting
|
| Visual Studio”Orcas” has built in tools for web service authoring with WCF and for building workflow enabled software with WF. There are new project templates for WCF services, WF business logic, workflow enabled services, and AJAX services. The templates are conveniently set up to compile and run even before any custom code is added enabling .NET developers to get going quickly. There are also numerous other tools for developing with WF, WCF and WPF. |
Partial trust on the vlient is provided for ASMX parity focussing mainly on partially trusted WCF applications deployed through click-once. Support is provided for basic HTTP binding provided that the application runs in the Internet zone permissions and have granted the apropriate WebPermission. Secure communication is possible through transport security only. All other features are not available to partially trusted applications including hosting services, duplex communications, non-HTTP transports, WS-* protocols and any WF use. |
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Bu kadar çok değişim, yazılımcıların odaklanması gereken konuları da beraberinde arttırıyor. Visual Studio ve .net Framework ne kadar da verimlilik için pek çok araç ve ortam sağlasa da hala başa çıkmamız gereken bir çok konu bırakıyor. Bu konular için Microsoft’un yeni teknolojileri yara sarmaya geliyor ama beraberlerinde cevap verilmesi gereken bir çok soruyla birlikte.
- Yazılım dili ve platformunda .net 2.0, 3.0 derken 3.5 ile buluştuk bile, 3.5 Beta 2'de ve üzerinde hala majör değişiklikler sözkonusu.
- Veri erişim katmanlarımız Ado.Net 2.0’dı şimdi Linq’yu konuşuyoruz, SQL 2008 Linq için özel uyumlu gelecek. Sanırım gelmesi bir yılı alır.
- Windows Forms’tan Click Once ve Smart Client’lara mı geçiyoruz derken WPF kendi başına çok ayrı özellikleriyle dikildi karşımızda, ama görüyoruz ki henüz geliştirebileceğimiz doğru düzgün bir IDE'si bile yok.
- Asp.Net 2.0’ın pek güzel özelliklerine henüz aşina olacakken, AJAX ve Silverlight geldi çattı. Silverlight'ın çalışması için istemcilerde kurulum gerekiyor ve her geçen gün değişen standartların arasında bir başlangıç noktası görünmüyor.
- Remoting, Enterprise Services ve ASMX’in avantajları/dezavantajlarının yoğun tartışmalarının üzerine WCF kara kalemle bir çizgi çekti. Ama henüz bunun konfigurasyon yönetimi için araçlar bizlere ulaşmadı.
- İş akışı ve İş süreçleri yönetimi (BPM) konusunda ürünleri incelerken Share Point ve Biztalk alternatif konumuna gelirken diğer taraftan WWF kendi başına bir konsept sundu. Pek çok yeni tanım ve karmaşıklık var. Bir versiyon sonra sanki ortalık süt liman olacak gibi ama şu an için ne sütten ne de limandan haber var.
- Dağıtık uygulamaları tek bir güvenlik platformuna nasıl taşırız derken, CardSpace göründü uzaktan. Ama değişik platformlarla birlikte çalışabilirliği ve yönetilebilirliği üzerinde kara bulutlar henüz dağılmadı.
- Uygulamaları IIS 6.0 ve Windows Server 2003 üzerinde nasıl host edeceğiz derken Windows Server 2008 IIS 7.0 ve Application Server özellikleriyle geliyor. Ne zaman bize ulaşacak ve uygulamalarımızın konfigurasyonlarında ne gibi değişiklikler yapacağız. Pek yorum yapmak mümkün görünmüyor.
- Visual Studio 2005 ve Team System derken, Visual Studio 2008 ve Team System 2008 yeni platformuyla göz dolduruyor. Beta'lardaki bug'ların yüzde kaçı relase'de de devam edecek, bugünlerdeki merak konumuz.
- Bir de Expression designer araçları var. Başlangıç noktası, hedefi ve geleceği mechul.
Eğer "bugün birşeyler yapmak" istiyorsanız elinizdeki imkanlar yarın için geçerliğini yitirecek. "Yarın gelecek araçlarla bugün için birşeyler yapmak" isterseniz çok ciddi sıkıntıları karşınıza alıp Donkişot’luk yapıyor olabilirsiniz. Peki ne yapacağız. Gelecek teknolojilere göz kırpan, uyumluluk noktaları aralanmış, bugünki teknolojilerin zirvelerinden derlenmiş bir platform hazırlamak ve bunu yeni teknolojileri içerisine alarak sürdürmek. Bence bu kırılım noktasında yol bu olmalı. Unutulmamalı ki bu son kırılım noktası değil ve yıllar geçtikçe kırılım noktalarına daha da hızlı ulaşıyoruz.
4 kişi tarafından 5,0 olarak değerlendirildi
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
Üstad
Tahiroğlu'nun bahsettiği ilk addIn
Sela'nın ara sıra istenildiği gibi son versiyonu almadığına dair şikayetler üzerine, diğer
AddIn'i kurduk. Yaklaşık bir haftadır kullanıyoruz. Şu ana kadar bir sorun teşkil etmedi. Çalışma tarzı olarak "her hangi bir kodu check-out yapmak istediğinizde son versiyonunu alması" eski alışkanlıklarımızla uyumlu bulunduğundan bu addIn'le yolumuza devam ediyoruz. Şu anda TFS 2008'i beklemeden yola devam edecek seviyeye geldik. Gerçi Merging'le alakalı bazı itirazlar devam ediyor. Biraz daha akıllı ve bug'sız olabilir diye düşünüyoruz. Gerçi bu konuda biraz daha somut adımlar attıktan sonra merging hakkında yorumlarda bulunuruz.
1 kişi tarafından 4,0 olarak değerlendirildi
- Currently 4/5 Stars.
- 1
- 2
- 3
- 4
- 5
SSW Code Auditor'un deneme sürümünü deneme fırsatım oldu. Öncelikle çok hızlı bir araç olduğunu söyleyebilirim. "Uncompiled code" üzerinden çalışması ayrı bir güzellik. Standart kurallar gerçekten güzel belirlenmiş, hemen hemen herkese uyar. Siz de kendi kurallarınızı belirleyebiliyorsunuz. TFS ile entegre çalışabiliyor. Daha ne olsun.
Çalıştırdıktan sonra güzel bir rapor çıkartıyor. Tek tek kurallara ve koda ulaşabiliyorsunuz. Mutlaka bir deneyin, işinize yarayacaktır.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Üstad Tahiroğlu'nun bahsettiği ürünlerden Sela'yı kurduk ve pek memnun olduk. Meğer ne kadar güzelmiş aşağıdaki mesaj kutusunu görmek.
TFS 2005'iniz var ve ekibiniz kalabalıksa, proje yöneticiniz merge'lere ayırdığınız vakitlerden sıkıldıysa, siz TFS'e nahoş sıfatlar bulmaya başladıysanız Sela'yı kurun, TFS'e son bir şanş verin.
2 kişi tarafından 5,0 olarak değerlendirildi
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
Microsoft, TFS 2005'te alt yapısını kurduğu ürününü 2008'de "kullanılabilir" hale getiriyor. Tersinden aldığınızda TFS 2005 bazı eksik özelliklerinden dolayı "kullanılamaz" durumdaydı. Allah'tan MicrosoftSever bazı firmalar bir takım araçlarla yardımımıza yetişiyor ve bir kısmını halledebiliyoruz. Fakat TFS 2008 bir takım araçlara ihtiyaç kalmadan Source Safe'in yerine kullanılabilir olduğunu gösteriyor. Özellik listesi aşağıda...
The Team Foundation Server 2008 Feature list is finalized and available...
"Administration, Operations & Setup
- Share Point 2007 support
- Enable use of Sharepoint on any server and any port
- Support for MOSS 2007
- Enable support for Reporting Services on any server and any port (new) (RTM)
- Support for SQL Named Instances – This will allow customers to share a SQL server between multiple TFS instances, or with other applications. This has been a commonly requested feature by enterprises.
- “Longhorn” server support – TFS will support the next version of the server (and corresponding new version of IIS) that is currently under development.
- Sync Large Groups – This is a set of work to improve the performance and robustness of TFS’s handling large groups of users (~30,000 or more) granted permission to a TFS instance. Today this can result in a support call to recover from it.
- Non-default ports – We’ve gotten a bunch of feedback from enterprise customers about TFS’s limited support for alternate web sites and ports running afoul of data center policies. We are going to be improving TFS’s configurability in this respect in Orcas.
- Simplify installation – In Orcas, we will be doing a variety of things to attempt to make installing TFS easier and quicker than it is now. Improvements include eliminating the separate data-tier installation, simplifying the requirements around required domain accounts by supporting the built in machine accounts (like Network Service) where we can, etc.
- Official testing and support for more configurations - This includes clustering, mirroring, log shipping, Virtual machine deployment, and more.
- Support for client certificates
- Upgrade from TFS 2005
- Support for SQL 2008 (aka Katmai) (new) (RTM)
- TFSDeleteProject now permanently deletes (destroys) version control content (new) (RTM)
- New role for many operations activities (new) (RTM) - You don't have to be server administrator to run many of the admin utilities any longer.
- Enhancements to tfsadminutil (new) (RTM) - New capability to configure accounts, connections, etc on both TFS and the TFS proxy.
Build
- Support multi-threaded builds with the new MSBuild.
- Continuous Integration – There are many components to this, including build queuing and queue management, drop management (so that users can set policies for when builds should be automatically deleted), and build triggers that allows configuration of exactly how when CI builds should be triggered, for example – every checkin, rolling build (completion of one build starts the next), etc.
- Improved ability to specify what source, versions of source, and other build properties.
- Improved extensibility of the build targets – such as ability to easily execute targets before and after each solution/project is built.
- Improved ability to manage multiple build machines.
- Stop and delete builds from within VS.
- .NET Object model for programming against the build server.
- Simplified ability to specify what tests get run as part of a build.
- The ability to store build definitions anywhere in the version control hierarchy.
- Scheduled builds - You can schedule builds to happen at specified times.
- Improved build agent communication - We replaced .NET binary remoting with WCF web services, simplifying some configuration and security aspects.
- Ability to run GUI tests as part of a build - Automated builds used to run tests in such a way as to prevent access to a GUI desktop.
- New checkin policy for broken CI builds - Preventing checkin while the CI build is broken.
- Support for HTTPS communication to the TFS server (new)
- Continuous Integration build checkin policy (new)
- Support for incremental gets and builds (new)
Data Warehouse
- Add support for checkin policy overrides to the warehouse - an oversight from V1.
Migration
- Migration toolkit – A toolkit for building conversion and mirroring solutions between TFS and other systems. In addition, we will release one or more new tools to integrate with popular alternative systems.
Version Control
- Annotate – This is based on the TFS Annotate Power Tool but includes numerous improvements.
- Folder Diff – Also based on the TFS Tree Diff Power Tool with numerous improvements.
- Destroy – The ability to permanently delete version control files/folders from TFS. It can also be used to destroy the file contents while preserving the change set history.
- Get Latest On Checkout – There have been many requests for this feature (which was a change in behavior from SourceSafe). There is now an option that allows you to specify that you want TFS to download the latest version of files when you check them out.
- Workspace improvements – Workspaces will now support mapping a folder or file under a cloaked folder and wildcard mappings so that you can map all files in a folder without mapping sub folders. Based on experience with large projects, this will simplify workspace definitions for many people.
- Performance improvements – A variety of Version Control performance enhancements that will improve virtually all aspects of version control performance. The gains for smaller servers/projects (< 10,000 files) will be modest. The gains for larger projects (particularly where the file count approaches 100,000’s) will be substantial.
- Scale improvements – Fixed out of memory problems on the server when operating on more than a few hundred thousand files at a time.
- Offline improvements - We've signficantly improved the experience going offline and integrated the tfpt online capability into the IDE for going back online.
- Extranet support for the TFS Proxy - allowing you to access a local TFS proxy with a different set of credentials than the TFS server.
- Command line help - You can now type "tf command /help" and get a console dump of the usage of that command. This is much more convenient than always being launched into the richer GUI hypertext help when you just want to remember what the options for a command are. You can still launch the GUI help by running "tf msdn". You can get a console dump of available commands by just typing "tf help".
- Source Control Explorer refresh improvements - This includes less redrawing and reloading but even more important it enables updates based on changes made in other instances of TeamExploror or the command line. That's right, if you checkout a file from the command line, any instances of TeamExplorer you have running on the same machine will automatically refresh.
- Async loading of the Source Control Explorer (new)
- The SCE local path can now be selected and copied (new)
- Merge improvements (new) - Improved the logic that detects merge conflicts to generate fewer false positives and handle more scenarios.
Work Item Tracking
- Performance & Scale improvements – A variety of improvements that will make both the work item server and client faster and able to handle larger servers.
- Query builder usability improvements - Drop down filtering based on current project, better MRU lists, column drag & drop, shift-click mouse based multi-column sorting, etc.
- Attachments improvements - Save button, drag & drop for adding an attachment, multi-select for attaching files.
- Tooltips on field names contain the field name used for querying
- Server side support for deleting work items & work item types - We didn't have time to do client UI support for it but we plan to release a Power Tool that will take advantage of the new server side feature.
- Support for security on the iteration hierarchy (new)
Web Access
- Adding Web Access UI to TFS - As you've seen many places, we acquired devBiz and their TeamPlain Web Access product. We are releasing it as a Power Tool in the next few months and plan to release it as an official product in the Orcas timeframe. We have not figured out how the release date will line up with the Orcas date but it will be in the same general timeframe.
Bug fixes
- In addition to all of the feature work, we’ve spent months testing the product and fixing any bugs we’ve found. We expect Orcas will have even better stability and robustness than TFS 2005.
Compatibility (no change since last time)
As Orcas is an adoption focused release, we have put a lot of emphasis on compatibility with VS2005. We are striving for near 100% compatibility. The Orcas client will be able to work with a VS2005 server and a VS2005 client will be able to work with an Orcas server. There are only a few compatibility issues.
- Client side VS add-ins will need to be recompiled (or have policy changed) because the TFS OM assembly versions will change and add-ins will need to bind to the new assemblies. The APIs themselves are generally not changing, so we don’t expect much in the way of code changes – just recompilation.
- Build is the only area where we plan to have some compatibility disconnects. In general, most build operations - listing build definitions, starting and stopping builds, examining build reports, etc. will work both with 2005 client -> Orcas server and Orcas client -> 2005 server. However, here are a few caveats:
- An Orcas TFS server will only work with an Orcas build server - so you'll need to upgrade your build server when you upgrade your TFS server.
- For an VS2005 client to start a build on an Orcas server, the build definition needs to be stored at $/<TeamProject>/TeamBuildTypes/<name>. In Orcas, you have more flexibility as to where to put them.
- Changes made to properties in the .proj file that are in the database in Orcas will not be updated in the database and will no longer be in sync.
- VS2005 will be able to start a build, but it can’t queue a build, see the list of builds in the queue, see the list of build agents, etc.
- An Orcas client will not be able to create a new build definition on a TFS2005 server.
- When starting a build, an Orcas client will not be able to change any parameters in the dialog for a TFS2005 Server."
3 kişi tarafından 5,0 olarak değerlendirildi
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5