<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Andreas Eide</title><subtitle type="html" /><id>http://weblogs.asp.net/andrease/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/andrease/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2003-11-25T22:30:00Z</updated><entry><title>ASP.NET localizer</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/08/18/216681.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/08/18/216681.aspx</id><published>2004-08-18T19:59:00Z</published><updated>2004-08-18T19:59:00Z</updated><content type="html">&lt;p&gt;We are looking at how to best localize the static content of a packed ASP.NET app. The current idea is to use resource files and satellite assemblies to localize the texts in the web pages.&amp;nbsp;&lt;/p&gt; &lt;p&gt;Most examples seem to use one big resource file for the app and manually create an ID for text strings in the resx file. Then this is wired together. Either explicitly in code by calling rm.GetString(ID) or by creating a property on the control for specifying the ID and using a framework class or inherited control that read from the resource manger.&lt;br /&gt;This all seems a bit tedious.&lt;/p&gt; &lt;p&gt;We have looked at a tool called ASP.NET Localizer (&lt;a href="http://www.winformreports.co.uk/features_loc.htm"&gt;http://www.winformreports.co.uk/features_loc.htm&lt;/a&gt;). It has a control you can drop onto the form. It then stores all texts and other translatable properties of the built in web controls in the resx file created for the ASP.NET page. If you change the language in the designer, it creates a new resx file for that language and stores all properties you translate in the appropriate resx file. At runtime it reads the properties for the controls from the resx file.&amp;nbsp;Seems pretty cool. Thoughts?&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=216681" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/andrease/archive/tags/ASP.NET/default.aspx" /></entry><entry><title>NNUG meeting lastTuesday</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/06/03/147956.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/06/03/147956.aspx</id><published>2004-06-03T20:56:00Z</published><updated>2004-06-03T20:56:00Z</updated><content type="html">&lt;P&gt;Long time no see!&lt;/P&gt;
&lt;P&gt;We had a user group meeting on Tuesday with 70 people and 3 excellent&amp;nbsp;sessions. We had to start one hour earlier than usual to fit in everyting. The sessions were&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Inge Stubdal talked about his impressions from TechEd with a strong focus on Burton.I can't wait!&lt;/LI&gt;
&lt;LI&gt;Reidar Husmo talkedabout the experiences in creating the official Norway site based on ASP.NET, Content Management Server and more&lt;/LI&gt;
&lt;LI&gt;Jon Jaren&amp;nbsp;went deep into SQL Server and how you can tune and montor .NET apps running on SQL Server.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Another great meeting!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=147956" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="NNUG" scheme="http://weblogs.asp.net/andrease/archive/tags/NNUG/default.aspx" /></entry><entry><title>Edit and continue with ASP.NET</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/02/22/77711.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/02/22/77711.aspx</id><published>2004-02-21T23:15:00Z</published><updated>2004-02-21T23:15:00Z</updated><content type="html">&lt;P&gt;Many developers don&amp;#8217;t realize that they can do edit and continue (EnC)&amp;nbsp;when developing ASP.NET applications with Visual Studio .NET 2003.&amp;nbsp;And it doesn't matter if you are using Visual Basic .NET or C#.&amp;nbsp; It's pretty close to EnC anyway. And it gets even better in Whidbey.&lt;/P&gt;
&lt;P&gt;How? By using attach / detach in Visual Studio 2003. &lt;/P&gt;
&lt;P&gt;Say you are deep down debugging a web app and an error occurs on your postback. Now, to fix the bug you don&amp;#8217;t have to stop the debugger, you simply go to the debug menu and select Detach all. You can now edit the code, build, and select Debug -&amp;gt; Processes. Check the &amp;#8216;Show system processes&amp;#8217; checkbox, select the ASP.NET worker process (aspnet_wp.exe) and attach. &lt;/P&gt;
&lt;P&gt;You can now hit refresh in the browser and voila, you are back in business without having to start all over again. Note that you don&amp;#8217;t have to start out by debugging. I often prefer to start without debugging and attach when I need to. &lt;/P&gt;
&lt;P&gt;This gets better in Whidbey since you don&amp;#8217;t have to compile the code-behind to a DLL.&amp;nbsp; You don&amp;#8217;t even have to detach / attach. With Whidbey, simply&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Start out by debugging&lt;/LI&gt;
&lt;LI&gt;Edit the code&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Hit refresh&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Nice, or what?&lt;/P&gt;
&lt;P&gt;At the NNUG/MSDN event I have demoed the return of Edit &amp;amp; Continue in Visual Basic .NET Whidbey. Someone in the audience even said they would not move to .NET before this feature is back (talking to him offline revealed that he was already using .NET).&lt;/P&gt;
&lt;P&gt;For me this is mostly an issue with Windows Forms development where you may be deep in an application debugging. Fixing the bug and coming back to the place where the error occurred may take a significant amount of time. Windows Forms apps are not the fastest to start up ;-) and getting back to the same place and state can take a long time.&lt;/P&gt;
&lt;P&gt;Since C# probably will not get EnC, maybe VB.NET will be the language of choice for Windows Forms development? Having done some Office integration lately and now working with VB.NET in Whidbey has put VB.NET in a new perspective for me. &lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=77711" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/andrease/archive/tags/ASP.NET/default.aspx" /><category term="Whidbey" scheme="http://weblogs.asp.net/andrease/archive/tags/Whidbey/default.aspx" /></entry><entry><title>MSDN/NNUG tour hit Oslo today</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/02/17/75085.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/02/17/75085.aspx</id><published>2004-02-17T21:15:00Z</published><updated>2004-02-17T21:15:00Z</updated><content type="html">&lt;P&gt;The combined &lt;A href="http://www.nnug.no"&gt;NNUG &lt;/A&gt;/ MSDN tour hit Oslo today and it was a blast! The headline was &lt;A href="http://www.microsoft.com/norge/microsoftdagene/fremtiden_utvikler.aspx"&gt;Yukon, Whidbey &amp;amp; Indigo! &amp;#8220;-What is HOT? What is NOT?&lt;/A&gt;&amp;#8221;.&lt;/P&gt;
&lt;P&gt;400 people got to hear three speakers from the user group (Trond Brande, Arne J&amp;#248;rgensen and myself) in addition to Stein M&amp;#248;llerhaug from security company Syamantec and two people representing Accenture talking about the &lt;A href="https://www.altinn.no/cms/1044/altinn/"&gt;AltInn &lt;/A&gt;project which is probably the largest .NET project in Norway today. I didn&amp;#8217;t get to see all sessions but the feedback from the people I talked to was very good.&lt;/P&gt;
&lt;P&gt;My own session on Whidbey was great fun. A few hickups but that must be expected using Alpha code! I tried to position where Whidbey stands today, focused on Windows Forms and ASP.NET and did several demos. My presentation (in Norwegian) is available on the &lt;A href="http://www.nnug.no/DesktopDefault.aspx?tabid=97&amp;amp;showlogin=1"&gt;download&lt;/A&gt; area of the user group (requires registration).&lt;/P&gt;
&lt;P&gt;Only one more stop on the tour, Stavanger on Thursday.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=75085" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="NNUG" scheme="http://weblogs.asp.net/andrease/archive/tags/NNUG/default.aspx" /></entry><entry><title>MVP - me too!</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/02/14/73087.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/02/14/73087.aspx</id><published>2004-02-14T21:59:00Z</published><updated>2004-02-14T21:59:00Z</updated><content type="html">&lt;P&gt;I checked &lt;A href="http://weblogs.asp.net/cnagel/archive/2004/02/14/72922.aspx"&gt;Christian Nagel's&lt;/A&gt;&amp;nbsp;web log, a fellow &lt;A href="http://www.microsoftregionaldirectors.com/Public/pubHome.aspx"&gt;Regional Director&lt;/A&gt;, &lt;A href="http://www.ineta.org/eu/index.htm"&gt;INETA Europe&lt;/A&gt;&amp;nbsp;buddy and good friend and saw that he had been recognized as an MVP on his birthday. Congratulations Christian, and happy birthday!&lt;/P&gt;
&lt;P&gt;Then I checked my e-email and found that I had also been recognized as an MVP for ASP.NET! Time to update the Affiliations section!&lt;/P&gt;
&lt;P&gt;Andreas&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=73087" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author></entry><entry><title>The future is here now</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/01/27/63356.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/01/27/63356.aspx</id><published>2004-01-27T11:27:00Z</published><updated>2004-01-27T11:27:00Z</updated><content type="html">&lt;P&gt;At the last user group meeting in December we had Longhorn, Indigo, Avalon and Whidbey on the menu. This generated a lot of interest and&amp;nbsp;we in the Norwegian .NET User Group (NNUG) and Microsoft MSDN is co-arranging a tour where you can learn more about the future with Yukon, Indigo and Whidbey. We are going to Bergen, Oslo, Stavanger and Trondheim. I will be presenting Whidbey in Bergen on Thursday. &lt;/P&gt;
&lt;P&gt;Dates:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Bergen January 29.&lt;/LI&gt;
&lt;LI&gt;Trondheim February 11.&lt;/LI&gt;
&lt;LI&gt;Oslo February 17&lt;/LI&gt;
&lt;LI&gt;Stavanger February 19&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;More info &lt;A href="http://www.microsoft.com/norge/microsoftdagene/default.aspx"&gt;http://www.microsoft.com/norge/microsoftdagene/default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=63356" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="NNUG" scheme="http://weblogs.asp.net/andrease/archive/tags/NNUG/default.aspx" /></entry><entry><title>European Architecht Tour – coming to town</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2004/01/13/58026.aspx" /><id>http://weblogs.asp.net/andrease/archive/2004/01/13/58026.aspx</id><published>2004-01-12T23:43:00Z</published><updated>2004-01-12T23:43:00Z</updated><content type="html">&lt;P&gt;On Thursday Arvindra Sehmi, &lt;A href="http://staff.newtelligence.net/clemensv/"&gt;Clemens Vasters&lt;/A&gt; and others are coming to Oslo on their EMEA Architect Tour. If you are in Oslo, and haven&amp;#8217;t signed up yet you can do so &lt;A href="http://www.microsoft.com/norge/events/architect/default.mspx"&gt;here&lt;/A&gt;. I am working to squeeze in room for attending this, they were very good on the tour last year!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=58026" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author></entry><entry><title>PDC user group meeting today – sold out!</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2003/12/02/40665.aspx" /><id>http://weblogs.asp.net/andrease/archive/2003/12/02/40665.aspx</id><published>2003-12-02T12:17:00Z</published><updated>2003-12-02T12:17:00Z</updated><content type="html">&lt;P&gt;We have had a lot of interest for the PDC user group meeting today. So much in fact that we do not have room for everyone even though we use Microsoft Norway&amp;#8217;s new premises with a bigger auditorium.&amp;nbsp; Good with so much interest, too bad that we don&amp;#8217;t have room for everyone. &lt;/P&gt;
&lt;P&gt;Sessions today: Keynote, Indigo, Avalon and ASP.NET Whidbey (that&amp;#8217;s me). &lt;/P&gt;
&lt;P&gt;And of course last minute laptop problems; Virus on my freshly installed XP image, and the colors don&amp;#8217;t project properly. Andreas B from MS comes to the rescue; I can borrow his machine. Thanks!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=40665" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="NNUG" scheme="http://weblogs.asp.net/andrease/archive/tags/NNUG/default.aspx" /></entry><entry><title>Versioning issues with winforms controls hosted in IE</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2003/11/28/40204.aspx" /><id>http://weblogs.asp.net/andrease/archive/2003/11/28/40204.aspx</id><published>2003-11-28T12:07:00Z</published><updated>2003-11-28T12:07:00Z</updated><content type="html">&lt;P&gt;A client has a third-party application written for version 1.0 of the runtime. This is a web application using windows forms controls in the browser. &lt;/P&gt;
&lt;P&gt;Now, we have built an app using version 1.1 of the runtime for this client. &lt;/P&gt;
&lt;P&gt;It turns out that the third-party controls hosted in IE does not work properly on version 1.0 of the runtime.&amp;nbsp; If we install 1.1 on the client machines the existing app breaks. But we need the new runtime for our app!&lt;/P&gt;
&lt;P&gt;To me part of the side-by-side story is that you can install a new version of the runtime side-by-side with older versions. Existing applications built on earlier version will not break. You can make applications run on older versions of the runtime by specifying the required runtime in the config file.&lt;/P&gt;
&lt;P&gt;According to the &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondeployingcommonlanguageruntimeapplicationusingie55.asp"&gt;MSDN &lt;/A&gt;doc, IE will always host using the latest version of the runtime:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;All managed controls hosted by Internet Explorer use the latest version of the common language runtime installed on the computer. This means that in some instances the control may not run against the version it was built with if several version of the runtime are installed on the computer.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And&amp;nbsp; &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconconfiguringcomapplicationforside-by-sideexecution.asp"&gt;here&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;COM applications hosted by an extensible host, such as Microsoft Internet Explorer or Microsoft Office cannot control which version of the runtime is loaded.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;We have found that we can actually specify the required runtime for IE. We created an &lt;U&gt;iexplore.exe.config&lt;/U&gt; file specifying 1.0 as the required runtime. That makes IE host using 1.0! Not the perfect solution but it works in our case.&lt;/P&gt;
&lt;P&gt;The first big app we built on .NET for a client also used controls hosted in IE and we found that it worked well once we worked around the security issues and getting the control to communicate with IE. Using windows forms controls in the browser sort of gives you the best of both web and windows. I talked to people from this client at the last user group meeting and the app has been working without problems since it was deployed. Always nice to hear!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=40204" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term=".NET" scheme="http://weblogs.asp.net/andrease/archive/tags/.NET/default.aspx" /></entry><entry><title>Post-PDC user group meeting</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/andrease/archive/2003/11/25/39772.aspx" /><id>http://weblogs.asp.net/andrease/archive/2003/11/25/39772.aspx</id><published>2003-11-25T21:30:00Z</published><updated>2003-11-25T21:30:00Z</updated><content type="html">&lt;P&gt;Our user group, the &lt;A href="http://www.nnug.no"&gt;Norwegian .NET User Group&lt;/A&gt;, will have a meeting on Tuesday focusing&amp;nbsp;the news presented at the PDC. We will have one keynote and then three sessions digging into Indigo, Avalon and ASP.NET. All sessions presented by people from the user group. I will present the session on ASP.NET 2.0. &lt;/P&gt;
&lt;P&gt;I am really looking forward to this meeting. One day after announcing the meeting, more than 50 people have signed&amp;nbsp; up!.&lt;/P&gt;
&lt;P&gt;Check out the details at &lt;A href="http://www.nnug.no/DesktopDefault.aspx?tabid=100"&gt;http://www.nnug.no/DesktopDefault.aspx?tabid=100&lt;/A&gt; (in Norwegian).&lt;BR&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=39772" width="1" height="1"&gt;</content><author><name>andrease</name><uri>http://weblogs.asp.net/members/andrease.aspx</uri></author><category term="NNUG" scheme="http://weblogs.asp.net/andrease/archive/tags/NNUG/default.aspx" /></entry></feed>