The Wagner Blog
Development Notes, News and Trivia









Subscribe to "The Wagner Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

Tuesday, April 02, 2002
 

Visual Studio.NET BUGS (vsnet)

  1. events in InitializeComponents( ) execute twice
  2. per reports in newsgroup, events in InitializeComponents( ) are wholesale deleted by the IDE (on multiple dev machines)
  3. asp/html code is deleted by VS IDE
  4. config.web entries are ignored (connect strings are locally rewritten in the cs module by VS IDE)
  5. try, catch blocks cannot be debugged because the IDE steps into the catch block even if it is never called
  6. numerous posts in newsgoups about code being deleted by the IDE - or code not executing as designed simply because the order of methods within a class file was changed

Last week I had events executing twice. This week an entire <form> tag including several controls were deleted by the IDE. There are various posts on microsoft.public.vsnet.general that point out other people having similar issues. Maybe some of these problems arise from the fact that I'm running VSNET on a machine that had Beta2 on it before. So just to be sure I'll install it on a clean machine. I should also point out that this nonesense is specific to Visual Studio. You can develop .NET applications with other tools that don't exhibit the same problems. Two potential candidates are Antechinus and SharpDevelop. Personally I like the latter of the two. And if your really hard core, Textpad has a C# syntax module (but you don't get Intellisense with that one).

Using any one of these substitutes cuts down on your productivity when compared to a fully functional Visual Studio.


8:10:34 PM    

ASP.NET tidbit: If you place a call to Request.Servervariables["URL"] into the aspx.cs file of a given page you get the name of the aspx page to which this code behind file belongs. Interestingly that works a little different than I expected. I expected it to return the base url of the immediatly preceeding aspx page . In other words the page that called the one on which we use Request.Servervariables in "code-behind" mode.
6:37:11 PM    

Doc Searles: MS has patented a Digital Rights Management Operating System. Is there a connection to the language used by Sen. Hollins bill?
5:15:06 PM    

Yahoo's 'Opt-Out' Angers Users. In an e-mail that begins, 'Your privacy is very important to us,' Yahoo informs its users that it will begin providing personal information to marketers, even if the user had already opted against it. By Michelle Delio. [Wired News]
11:58:41 AM    

Linux App Writer Wows Skeptics. SashXB is a scripting language just released by IBM that lets non-Linux programmers write Linux code using HTML and JavaScript. By Michelle Delio. [Wired News]
11:56:04 AM    

A KaZaA client clone called KaZaA lite. This is cool.  A KaZaA client clone called KaZaA lite.  No spamware, ads, or pop-ups.  Otherwise, it works exactly the same as the actual KaZaA client. [John Robb's Radio Weblog] [Pythoz.com (weblog.jorgen.larsen.name)]
11:55:01 AM    

[Jorgen gets a job! Congratulations. Unemployment can be tough. All the best!] Work work work... ;). Today was my first day at my new job as Project Manager at ScanJour - a Danish company that develops systems for document management, workflow management and knowledge management. ScanJour seems like a very nice place to work - maybe I hit the job jackpot this time! ;) [Pythoz.com (weblog.jorgen.larsen.name)]
11:52:35 AM    

According to News.Com Sun is sad about being left out of the web wervices party. McNealy says that Java is doing most of the web services. My numbers say something different. Java hardly shows up. Same with .NET. It seems the Bigs are missing the bootstrap, worrying about their exclusive consortium while the next layer is building. Now maybe Java and .NET are in those numbers, it's possible that the user-agents aren't reflecting what environment all the pings are coming from. I suspect that the Bigs would say these aren't real web services. But to me they are very real.  [Scripting News]
11:50:28 AM    

VS.NET comment: If you intend to use Visual Studio.Net you'll better get a fast computer. The load cycle as well as the time it takes to get an app into debug mode on a slower machine can really add up at the end of the day. Individually these steps don't appear as terribly long, but after you went through them numerous times in a row, you'll start to think that a fast machine would definetly be handy right there.


10:32:07 AM    

Jonathan Goodyear on using Trace in .NET:  You can implement this feature programmatically by modifying the "Application_BeginRequest" event in your Global.asax file:
protected void Application_BeginRequest (Object sender, EventArgs e) {
 HttpContext context = HttpContext.Current; 
 if(null!=context.Request.QueryString ["debug"]) context.Trace.IsEnabled = true; 
}

Using this approach, you can add a "debug=1" QueryString parameter to any URL in your Web application, and it will post Trace data for the page. You can even leave this feature in while integration testing, allowing you to quickly track down potential bugs without having to modify and re-migrate files. Just be sure to strip out this code before putting your Web application into production


8:15:00 AM    


Click here to visit the Radio UserLand website. © Copyright 2004 Thomas Wagner.
Last update: 5/2/2004; 4:41:45 PM.
This theme is based on the SoundWaves (blue) Manila theme.
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May