Home / ASP.NET Weblogs

March 2008 - Posts

Posted to:

Welcome to a blog chat on Wednesday about ASP.NET and Debugging

On Wednesday (April 2nd) me and Tom from the ASP.NET Debugging Blog will co-host a live blog chat on our blogs where you can ask questions about ASP.NET and Debugging. The chat client will be hosted on our blogs for an hour starting at 10 AM EST (Eastern Standard Time) /4 PM CET (Central European Time) so you can just browse to either http://blogs.msdn.com/Tess or http://blogs.msdn.com/Tom to attend and ask any questions you want about ASP.NET and debugging with windbg and sos.dll. We will both host the exact same chat so the questions and answers will appear on both blogs simultaneously. Because of time differences we will probably miss some people from Asia and the western regions of the US but if it turns out well we will probably host more...
Filed under: ,
Posted to:
by: 
03-28-2008, 4:08 AM

March 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight, .NET

Here is the latest in my link-listing series .  Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I've done myself in the past. ASP.NET Three New ASP.NET Security Tutorials Now Available : Scott Mitchell continues his great ASP.NET security tutorials . These three new ones cover creating and managing roles, assigning roles to users, and implementing role based authorization.  You can also find more security articles by reading posts on my blog tagged with security . .NET Libraries to Digg, Flickr, Facebook, YouTube, Twitter, and other Web 2.0 APIs : Scott Hanselman's latest "weekly source code" review looks at .NET APIs that you can use to call popular web 2.0 services. Hangs...
Posted to:
by: 
03-27-2008, 4:48 PM

Presenting At VSLive in San Francisco Next Week

I will be presenting Dynamic Data at VS Live in San Francisco next week on March 31, 2008. You can see full details of the show here: http://vslive.com/2008/sf/ . My presentation is at 3pm on Monday. If you are at the show please stop by and see Dynamic Data in action. Bradley Millington from the Web Tools team will be doing a presentation on Visual Studio 2008 and .NET 3.5 as well. Plus there are sessions on MVC and Silverlight. Hope to see you there! Read More...
Posted to:

ASP.NET Tips: Debugger command you may not know about - aspxpages

So there are a lot of useful commands in sos that you may not know about.  I am going to hit on some of the additional commands that are in the sos.dll that ships with the debugger package. Note: This extension only works with .NET 1.0 and .NET 1...
Posted to:
by: 
03-27-2008, 3:16 AM

Silverlight Extensibility: The Calculator

Scott is a devlead I work with and he has been experimenting with how to have an extensibility pattern for Silverlight 2... Of course, he chose calculator as the example, because who would not want to write custom functions and skins for calc.exe!! [ The blog ] [ Live Sample ]   Scott has some good thoughts and raises some good questions about this space.    Have you looking into this extensibility of a Silverlight application?  We'd love to hear your thoughts and feedback. Read More...
Filed under:
Posted to:
by: 
03-26-2008, 9:21 PM

Cleaning up Default GridView Markup

I saw an interesting question today from a customer related to some of the default markup for a GridView. The following code: < asp : GridView ID ="GridView1" runat ="server"> </ asp : GridView > Will generate this markup in the web page: <table cellspacing="0" rules="all" border="1" id="GridView1" style="border-collapse:collapse;"> </table> Adding: CellSpacing ="-1" GridLines ="None" Will clean the markup considerably generating this in the web page: <table border="0" id="GridView1"> There currently is no way to get rid of the final Border="0" but the above technique does clean up the table considerably...
Filed under:
Posted to:

The Weekly Source Code 22 - C# and VB .NET Libraries to Digg, Flickr, Facebook, YouTube, Twitter, Live Services, Google and other Web 2.0 APIs

Someone emailed me recently saying that they couldn’t find enough examples in .NET for talking to the recent proliferation of “Web 2.0 APIs” so I thought I’d put together a list and look at some source. I think that a nice API wrapper is usually a useful thing, but since these APIs are so transparent and basic, there's not really a huge need given LINQ to XML but I understand the knee-jerk reaction to hunt for a wrapper when faced with the word "API." One thing to point out is that 99.9% of these APIs are calling HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); under the covers the doing something with the resulting string. Some hide the URL creation, some use XmlDocuments, others use XmlSerialization. When you...
Posted to:
by: 
03-26-2008, 10:50 AM

POP QUIZ: What to do next? – part 1

So here is the situation.  I will lead you down the debugging path and get us to a certain place and then ask you guys to solve the rest of the problem.  As before, leave your suggestions as comments.  I will wait until noon tomorrow to...
Posted to:
by: 
03-26-2008, 10:10 AM

ASP.NET Tips: Working with large SQL tables

There are a number of ways to query for data that is stored in a SQL Database from ASP.NET.  Generally the best way is to use stored procedures.  They can be compiled to be faster, and they are also much safer as they protect you from SQL injection...
Filed under: ,
Posted to:

ASP.NET Case Study: Hang with mixed-mode dlls

If you use mixed mode dlls (assemblies with .net and c++ code) you need to take care to not have any .net entry points so that you don't end up with a GC/LoaderLock deadlock like this one . What is a managed/.net entry point you might ask... it basically means that during the loading of the assembly the assembly may call some .net methods. For example, if you have a dllmain that calls into managed code, or if you have managed constructors for static value types. In esscence, anything that would allow you to call into managed code whilst holding the loaderlock. Problem explanation The loaderlock is a native critical section that is used when loading a dll using CreateObject, LoadLibrary, GetProcAddress, FreeLibrary, GetModuleHandle or on...

< Previous 1 2 3 4 5 Next > ... Last »

Archives