My Silverlight talk at Microsoft Innovation Briefing
This morning I did a Silverlight 2 talk at Microsoft Montreal, during a half-day briefing called Building Compelling Websites on the Microsoft Platform.
That was a 1 hour talk to present Silverlight 2, DeepZoom, Expression Blend and create from scratch a Silverlight 2 application which consume ......
Resharper 4 BETA Released
Avoid Much Talk
I wrote about Resharper 4 performance improvements in an earlier blog post today showing my VS Color Scheme including use of R# nightly builds. My friend Mohamed Tayseer pointed me out that Resharper 4 BETA was released yesterday. If you already know Resharper, skip the blah blah......
Working with Fiddler on LocalHost
Developing ASP.NET AJAX (or any AJAX really) is tremendously easier if you can watch the traffic going across the wire. There are a lot of ways to accomplish this, but I think Fiddler is the most popular Windows application for ASP.NET developers. Sure there is Firebug, and probably a million other......
Clarification on IIS reported sql-injection exploits
My post will not get as much press as Slashdot , but here is some postings from sources at MS, including Bill Staples on the SQL Injection attacks that help clarify things. http://blogs.technet.com/msrc/archive/2008/04/25/questions-about-web-server-attacks.aspx http://blogs.iis.net/bills/archive/20......
Interesting Finds: 2008.04.26
.NET 47 ASP.NET MVC Resources to Rock Your Development New Version of Functional Programming Tutorial Understanding when to use a Finalizer in your .NET class Web What Happened to Operation Aborted? Exceptional Performance Worksheet Other A Great XPath Query Tool ......
Refresh the UpdatePanel using JavaScript Code
(It's the post I wrote one year ago in my previous blog which has been cancelled now.) Lots of customers asked me that how to refresh the UpdatePanel - it actually is to raise an async postback using JavaScript code. The feature is quite important in some scenarios but unfortunately, ASP.NET AJAX ......
The Ninja of Dependency Injectors --- Ninject
Recently I am been following Rob Conery as he explores Test Driven Development using the ASP.NET MVC framework. Rob is using a style of development known as Test First Development or Red - Green - Refactor. The timing of these articles was actually nice as I was exploring the use of the MVC framewo......
Upcoming blog posts
I have been inspired by Rob Conery's blog posts on his journey down the TDD path, I decided there were a few blog series that I want to do myself. So in the near future I will be writing a few series of posts that will cover: Using TypeMock from a beginners perspective Using Ninject in an ASP.NET M......
ASP.NET Dynamic Data Preview disponible
Il y a quelques mois, est sorti la preview des extensions 3.5 d'ASP.NET contenant un lot de nouvelles fonctionnalités qui seront délivrées plus tard cette année (ASP.NET AJAX Improvements, ASP.NET MVC, ASP.NET Silverlight Support, et ASP.NET Dynamic Data compris). Cette preview......
Liens du 11 avril: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio et Silverlight
Voici l’article le plus récent dans ma série Listes de liens. Visitez aussi ma page Astuces, trucs et tutoriels ASP.NET et ma page Tutoriels Silverlight pour des liens vers des articles populaires que j’ai écrits dans le passé. ASP.NET Plus de tutoriels su......
Sessionless MonoRail Controllers
I saw this post on the Castle Users mailing list and thought it was interesting and I wanted to post it. By default, MonoRail controllers assume that ASP.NET session state is enabled. If you disable ASP.NET's session state inside web.config, you'll get an exception when MonoRail tries to proc......
ALT.NET Thinking From The Outside
As I've noted before, Dave Laribee was recently interviewed by Scott Hanselman on Episode 104 of Hanselminutes. The reaction that I've seen has been pretty positive from what I've seen. It's great to see the ALT.NET message being spread outside the core believers group. Many peopl......
ApplicationHost.config file getting corrupted when OneCare or Forefront is running?
We have seen some reported cases when applicationHost.config file is getting corrupted when OneCare or Forefront is running on the same machine. By "corruption" I mean the XML is malformed is you may get an error: Error: Configuration file is not well-formed XML. Without going into the te......
My Top 10 Favorite Websites
Here's a list of my Top 10 Websites. I have many more, and as I dig them out I will categorize them and post them. This is a good excuse for me to revisit the resources I have built up:
ASP.NET
1.
ASP.NET Official Site
2.
DotNetVideos
Development
3.
MSDN
4.
Cod......
How to (un)block directories with IIS7 web.config
IIS7 includes an all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with asp.net configuration, to be deployed with your content. This makes transferring IIS7 configuration from your Vista PC to your hosted server as easy as c......
My Office Groove presentation (in stereo)
In a prior post I had mentioned that I was to present at the CTAUG group meeting (on March 10th @ Microsoft Farmington CT) - entitled: Microsoft Office Groove (In Stereo). It went very well - I was awaiting CTAUG's response and here it is -
Main Presentation: Microsoft's Peer-to-Peer Office c......
SQL Server 2008 Feb CTP - DVD ISO Details - Part 2
This is the follow up post that finishes describing in detail the files on the SQL Server 2008 CTP DVD.
Tools Folder
The Tools folder contains the bits for the client tools installs along with any of the prerequisites that need to be installed. This folder would be on the s......
Introducing the Autocomplete Text Field for SharePoint 2007
Yesterday I finally had some time to finish a project I've been working on for some time: the Autocomplete Text Field for SharePoint 2007. Click here for a small demo screencast on Soapbox, or download the high resolution video from the CodePlex site. The idea is pretty simple: you've got a Sha......
The What's New Web Part for SharePoint 2007
A long, long time ago, back in the SharePoint 2003 days, I created some pretty popular web parts which filled in some gaps the out-of-the-box functionality left open. In SharePoint 2007 most of those web parts are obsolete; for example the Breadcrumbs web part is not necessary anymore since SharePo......
Looking at DSLs in .NET
As I've mentioned in recent posts such as here, here and here, I've been very interested in Domain Specific Languages (DSLs), especially with regards to F# and the DLR as well. I recently re-listened to Software Engineering Radio Episode 52 with Obie Fernandez discussing DSLs in Ruby. &n......
Using a DropDownList/ListBox in ASP.NET 2.0
Last month I showed two techniques on how you can use a Repeater to display data from a SQL Server database using minimal coding. Thankfully, there are many more web controls that you can bind data to. Two popular Data-Bound Web Controls that share the same abstract base class are DropDownLis......
[MIX08] Keynote
MIX08 Keynote was driven by Ray Ozzie, Scott Guthrie and Dean Hachamovitch. Ray Ozzie talked about connected apps and how Microsoft go to the advertising market (explains the Johnny cash theme ?). Scott Guthrie did a talk around 4 points (and also did some juggling!): Web (IE8) M......
Configuring Kerberos for SharePoint 2007:- Excel Services and SQL Analysis Services
I am trying to address one of the most common scenarios that actually requires Kerberos in order to work; that is using Excel Services to display data from a SQL Analysis Services Cube (or a normal SQL database) via SharePoint. Why does this scenario require Kerberos? Kerberos is required whenever ......
Internet Explorer 8 Beta 1 - Websites that are Broken
IE8 Beta 1 now forces CSS 2.1 along with other web standards (includes some early HTML 5 stuff too!). I'm creating a list of websites that seem to be broken by the browser. Feel free to leave a comment if you come across other sites. Here's what I found so far (notice that only part of the site may......
MIX08- Second Day Early Morning
I have a ton of video from the keynote. However it is all grainy and well even Microsoft expressions is have a hard time with it. So I will try to get some better pictures. A couple of great apps that have been discovered: cetwit- windows mobile twitter application feedslide - One click applicati......
Tip: Get application based file path with ASP.NET
Linking to a resource from a reusable control in different levels in your web app folder tree can be a tedious and not so obvious task. We have a number of tools in our bag that we can use: absolute paths - http://www.yoururl.com/a/b/c/page.ext - not acceptable for reusable components re......
ASP.Net Interview Tests
In the past, when I have attended job interviews for roles that incorporate ASP.Net, more than 80% of the time the process would include a coding test. There have been a few tests that have gone well and have coded what was required, and others tests that just went wrong full stop, that I would rat......
IoC and the Unity Application Block - Going Deeper
I thought after my recent F# post, I'd get back to the Unity post that was halfway done before the firestorm began...
In a previous post, I showed how easy it was to create a basic application using the Unity Application Block. I'm always finding new ways to solve my problems and new tools to do......
Microsoft Sql Server 2008 February 2008 CTP Released
Well even though the full release of SQL Server 2008 has been pushed to late second half of the year, the latest CTP was delivered on time. This is the first feature complete CTP released. It includes increased functionality around data compression, policy-based management enhancements,......
Understanding IoC Container - Part 2
I try to lower expectations in order not to be disappointed, but in this case I was asked by several individuals to address the fact that IoC container power is in the ability to "hook" implementer with the contract through an external file, leaving application code unaware of the actual ......
Working with Asp.Net Timer control on client side
Hi,
Few days back I saw this question in the forums and from then I was looking for an answer for it. The Timer control in the asp.net Ajax is pretty useful when we want to do some activity on the client side at a certain interval of time. The control also gives us good control on twe......
Building and binding hierarchical data from the database to the ASP.NET Navigation Controls
If we need to bind our navigations controls to hierarchical data we define manually ourselves in an xml file, this is easy as pie. However, things can get rather complicated or not so obvious when we need to generate this data from a database. First off, what can we use that is already provided to ......
WCF Bindings Needed For HTTPS
I just finished writing my first production WCF application, which worked very well until I deployed it to our production environment. All of a sudden none of the WCF calls would work, and I would get a JavaScript "TestService is not defined" error. When I look inside the JS s......
Do .NET 2.0 SP1 Binaries Fail Without SP1?
Do .net 2.0 service pack 1 compiled binaries fail when ran on machines without that service pack? Developers automatically get force-fed .net 2.0 sp1 when we install VS 2008, which doesn't sound like it should be a big concern typically. But what about the next time you compile an exist......
Quick Attach and Detach Debugger
Here's a trick I often use in Visual Studio to speed up the trial-and-error process.
A disadvantage of using an ASP.NET Web Application Project instead of an ASP.NET Web Site is that you cannot edit code behind files (or basically any code file in your web project) while you are debugging. So t......
Return of SmartPart v1.3 for SharePoint 2007 Released!
Yesterday evening I've uploaded a new version of the SmartPart to the CodePlex site. For those of you who don't know the SmartPart: it's a generic web part wrapper for SharePoint 2007 which can host any ASP.NET Web User Controls. So basically you can build web parts by using the Visual Studio desig......
The Power of Caching on ASP.NET, speed up your web application.
I have been using the ASP.NET Cache for many years, as its a complete set of tools that allow me to keep my web site up to date without user interaction. Web applications need to be ready to deliver the data prepared to the user in milliseconds. You should not be waiting for the request to fetch an......
January 2008 Recap
I've had a policy against posting on big news that's likely to be common knowledge in the Microsoft development community, since nobody needs another post saying "Big News, Visual Studio 2008 is out today!" But I think I'm going to break that policy once a month with a digest of the big news of th......
OpenId in ASP.NET
Just wanted to commit this to my memory and share it with others!
Mads Kristensen recently blogged about his ASP.NET Implementation of OpenId. It seems to be by far the simplest solution I've seen thus far.
http://blog.madskristensen.dk/post/OpenID-implementation-in-Csharp-and-ASPNET.aspx
Some l......
Acropolis, CAB, WPF, and the future
"Acropolis, the future of Smart Client"
So sayeth Glenn Block, product lead for the Smart Client Software Factory and CAB. Glenn's a good friend and he's just doing his job, but I felt a little shafted when Acropolis popped up on the scene. I mean, after the last few weeks of CAB is complex and CA......
Find your Sql Server Version and Edition
When working with Sql Reporting Services or other features that are version-specific, I often need to know what version of Sql Server is running on the target server.For Sql 2000 and newer, you can simply query:SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel')......
ViewState Chunking in ASP.NET 2.0 (maxPageStateFieldLength)
I am currently teaching an ASP.NET 2.0 course in Quebec city. I like it because each time I give a training I learn something (and so do my trainees I hope...). This time I learnt something new about the ViewState.When ViewState in your page become very large it can be a problem......
A Better Way To Show your Build Output: BuildConsole.NET
Sometime ago I built a tool I called Build Console. I was a quick and dirty development but until today we are using it often in our daily building. Why I needed this tool, well I don’t wanna tell you that VS build report is really poor but… it is ;) I don’t wanna open a bi......
Architect Conference in Europe
June in Europe is generally a good time for traveling and enjoying outdoor experiences looking at old buildings, monuments, churches, fountains, and architecture in general. Yes, early summer is great for architecture, even if architecture is actually software architecture.In London, June 12-14, so......
Coming to Australia
Soon back to Australia for ASP.NET, AJAX and even a bit of silver light ... Coming down under in May. Read full details here. Rich and enjoyable ASP.NET training with lots of tough but challenging labs and hot topics such as AJAX Extensions and the new baby--Microsoft Silverlight, the "u......
Hacking AJAX Sites - How secure are you?
Mike Ormond of Microsoft UK has written an interesting piece (with pictures!) all about AJAX security and the ways in which is can be hacked.
Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...
Need DotNetNuke Support?
If you're looking for DotNetNuke support there are quite a few options out there. First, you can use the forums at DotNetNuke.com, but as heavily trafficed as those forums are some posts get lost in the rush. Second, checkout the Help page on DotNetNuke.com (thanks for M. Washington for pointin......
Powershell adoption at the workplace, part II
Let me first reply to comments from the first post in the series Chris - I don't have a ready set link that I use to tell people about Powershell, so for sitting down with them and showing has been far more effective than telling. For instance, my friend Andy, despite cutting his teeth on Unix, Bas......
ASP.NET 2.0 Tips, Tricks, and Gotchas
If you haven't checked this out yet, be sure to take a visit to it. Scott Guthrie has compiled a list of ASP.NET 2.0 Tips, Tricks, and Gotchas. He has compiled some of the best resources for navigating through the UI, VS 2005, AJAX, and more. Be sure to check the list out at http://weblogs.asp.......
In Case You Missed It: Expression to be added to MSDN
Scott Guthrie has posted on Tuesday that the Expression Blend and Expression Web products will be added to the MSDN downloads section. This will be available for all MSDN Premium subscribers. You can check out Scott's full post including links to the existing trials here: http://weblogs.asp.net......