Developer Academy II – LINQ Presentation

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...
2 תגובות

ASP.NET Login Control & ReturnUrl Problem

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, 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...
תגיות: ,
3 תגובות

Local Resource Generation and Orcas Beta2

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...
אין תגובות

Dynamic Application Configuration in .NET Applications

8 באוגוסט 2007

We have couple of choices to work with application in .NET 2.0: Pros Cons 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...
תגיות: ,
אין תגובות

How to Specify Specific Language for Localization

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...
אין תגובות

ASP.NET AJAX 1.0 RC Released

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
תגיות: , ,
אין תגובות