2 בדצמבר 2007
Last week, at second anual Israeli Dev Academy conference, I gave presentation about LINQ.I was very lucky to have huge (in Israeli scale :-)) and very enthusiastic croud. My goal was to pass a couple of important LINQ related ideas:
LINQ is not a new OR mapper or API to deal with XML
LINQ is all about having best of two worlds: Objects and Data
LINQ changes the way you write code
You can get fare performance with LINQ
You are welcome to download and use presentation slides and demos. You will need VS2008 RTM to run demo solution. You can download VS2008 trial...
30 באוגוסט 2007
Slides and Demo solution from "ASP.NET Ajax Extensions Overview" presentation, I gave recently for Israel Electric Corporation, available for download here. Enjoy!
21 באוגוסט 2007
I was surprised today by an odd behavior of Login control. When browsing some pages in my web site that required authentication, I was redirected to the Login page, but then, after successful login, I was redirected to the page, specified by DestinationPageURL property of Login control (instead of original URL). I went to investigate. Here are the results:
First of all Login control standard behavior:If the user browse the Login page directly, after login, asp.net will redirect the user to page which is defined by DestinationPageURL property. If the DestinationPageURL property is empty, the default value is default.aspx. If...
10 באוגוסט 2007
Team Foundation Server has some limitations on SQL Server collation it can use. You can face this problem when trying to setup TFS with existing instance of SQL Server. See whole description of the problem and solution here.
9 באוגוסט 2007
There was an issue with local resources generation in Orcas beta1. Each time we tried to perform "Generate Local Resource" for web page, A resource writer could not be found." message was shown in output window and nothing was generated. You can find reference to this problem here and here. This was not a critical issue for beta1 product stage IMHO. Now, in beta2 it gets better. Local Resource Generation option finally working fine in VS2008, but... After beta2 setup on my machine, the same problem found its way into VS2005! For those who have the same problem, or would like...
8 באוגוסט 2007
We have couple of choices to work with application in .NET 2.0:
appSettings section in standard configuration files
Simple existing API, changes in web.config immediately reflected in application
Cons: name-value string pares only can be stored, application need restart to accept external changes
Custom configuration sections
Can store complex data
Should be implemented for each configuration structure, implementation is not very intuitive, application need restart to accept external changes
applicationSettings section & Settings files
Standard API, built-in (in VS2005) editor for simple types, support for design-time binding, writable from application code, complex types can be stored in ArrayList
Limited supports for complex types, application need restart to accept...
1 באוגוסט 2007
ASP.NET 2.0 infrastructure uses provider architecture in conjunction with local and global resources to support localization. Provider architecture gives us option to replace default resx (XML) resources, used to store localized data, with anything else (database for example). Global resources provide us with auto-generated, strongly-typed API to access application wide resources. Local resources can use implicit and explicit binding and have nice “Generate Local Resource” (Tools>Generate Local Resource in Visual Studion) option to generate default resource file for current page and inject implicit binding. See Web Pages Resources Overview in MSDN for more.
Localization provider uses current culture information to select...
17 בדצמבר 2006
Microsoft Developer Academy event will take place at January 31. It should be highly technical event. You can see the list of proposed lectures in this survey. It is your opportunity to vote for the topics you are most interested in. Fill free to make any suggestions or propose topics that are not on the list.
ASP.NET AJAX (formely Atlas) RC released during this weekend. Like previous versions it is available in 3 parts:
Core ASP.NET 2.0 AJAX Extensions 1.0
ASP.NET 2.0 AJAX Futures December CTP - core platform with additional functionality that remains under development
ASP.NET AJAX Control Toolkit - Shared-source community project consisting of samples and components
Following one day training I did during MVP week, I packed PowerPoint slides together with all demo code. You can download it from here. PowerPoint 2007 presentation is inside. Fill free to reuse it as you like.