Home / ASP.NET Weblogs

October 2009 - Posts

Posted to:

VS 2010 Beta 2 Read Me Items for Web Deployment

There are some known issues/bugs related to VS 2010 Web Deployment features in VS 2010 Beta 2 Read Me… I can imagine reading the entire Beta 2 read me file can be daunting so I thought I can just copy paste the ones related to Web Deployment here… DB Deployment will fail if the Database Name is longer than 127 characters Description: If you are using latest VS 2010 Web Deployment Features and trying to deploy your database using the Deploy SQL property page then at times you might get error from VSMsDeploy task.  There might be several reasons for the failure including connection and authentication issue but a current bug in the product does not allow you to script schema/data from a database (typically SQL Express MDF file) if the file...
Posted to:

JavaScript class browser: once again with jQuery

I’ve already posted twice about that little class browser application. The first iteration was mostly declarative and can be found here: http://weblogs.asp.net/bleroy/archive/2009/09/14/building-a-class-browser-with-microsoft-ajax-4-0-preview-5.aspx The second one was entirely imperative and can be found here: http://weblogs.asp.net/bleroy/archive/2009/10/15/entirely-unobtrusive-and-imperative-templates-with-microsoft-ajax-4-preview-6.aspx This new version builds on top of the code for the imperative version and adds the jQuery dependency in an attempt to make the code leaner and simpler. I invite you to refer to the imperative code (included in the archive for this post ) and compare it with the jQuery version, which shows a couple of ways...
Posted to:

Let me know your questions for Scott Guthrie and the ASP.NET Team @devconnections

I’m going to be at DevConnections this year to deliver a session on Microsoft Ajax with Jim Wang and also chair a panel with Scott Guthrie and members of the ASP.NET Team.  First of all here are details on the invitation: Join us for a technical question and answer session with Scott Guthrie and members of the ASP.NET team on November 10th 2009 from 6:15 PM - 8:15PM at the ASP.NET Connections conference in Las Vegas. This is your chance to meet face to face with the people working on ASP.NET, give feedback and receive guidance. Attendance is limited so be there early and ask for details at the registration desk . We will have pizza and beverages. I’ll be taking questions from the audience but if you can’t make it to Las Vegas and want to...
Filed under:
Posted to:
by: 
10-30-2009, 12:49 PM

We Need Your Feedback on the Documentation

  The doc teams are looking for your feedback on the .NET Framework and Visual Studio docs.  Help us improve the developer documentation by taking the Visual Studio and .NET Framework Content Survey .  This survey will give us a better understanding of the type of applications you are developing as well as how you use Help and how we can improve it. The survey takes only 10 minutes, and we really appreciate your feedback! Feel free to forward the survey link. Read More...
Filed under:
Posted to:

Converting a Web Site Project to a Web Application Project

Differences between Web Site Projects (WSP) and Web Application Projects (WAP) are highlighted in blogs such as this one . Based on that, if you feel a WAP would be better for your particular needs than a WSP, but have already created a WSP, you may be asking yourself, “Can I convert my WSP into a WAP, without starting from scratch?”. This posting explains how to convert an existing Web Site Project to a Web Application Project in Visual Studio 2010. The most striking differences to a Web Site Project are that WAPs have a project file to include and exclude files, and compile to a single assembly. The guidelines below include several of the basic steps detailed in the Walkthrough: Converting a Web Site Project to a Web Application Project in...
Posted to:

Using C# Dynamic to simplify ADO.NET Data Access

Recently, I started playing around with C# dynamic, and blogged how it could be used to call static class members late bound .  Today, I was talking to Phil Haack , who I think had talked to ScottGu , and he mentioned that it would be cool to use dynamic to simplify data access when you work directly with SQL query.  So I thought I’d play around with that, and it didn’t take much code to make it work nicely. So the scenario is that you’re not using any fancy O/R mapper like LINQ to SQL or Entity Framework, but you’re directly using ADO.NET to execute raw SQL commands.  It’s not something that I would personally do, but there are a lot of folks who prefer this over the higher level data access layers. So let’s look at an example...
Filed under: , ,
Posted to:

eBook 51 Tips, Tricks and Recipes with jQuery and ASP.NET Controls

I found this cool eBook and wanted to share it with you all since jQuery is. more and more, become a common part of the ASP.NET Development experience. The book includes… · 51 Tips, Tricks and Recipes with jQuery and ASP.NET Controls eBook (PDF) · Entire Source Code of the eBook · Cross Browser Scripts - tested on IE 7, IE 8, Firefox 3, Chrome 2, Safari 4 · Common code that runs on ASP.NET Pages, Master Pages, and in most cases, HTML pages too. You can read the table of contents [ HERE ] YOU can buy the ebook [ HERE ] Read More...
Filed under:
Posted to:

WOHOO!!!, Debug Diag 64bit is finally released

For all of you who have been asking me if there is a 64bit version of Debug Diag (used to debug 64 bit processes), I am happy to say that yes, Debug Diag 1.1 64bit is now released. You can download it here: http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en#filelist And an updated whitepaper talking about how to use it is available here: http://www.microsoft.com/downloads/details.aspx?familyid=4A2FBD0D-0635-440C-A08B-ED81BDBB5960&displaylang=en Neither this version (nor the 32bit one) officially support debugging/analyzing on Vista/2008/Win7 because of some known compatibility issues (being looked at for future versions), however for a lot of tasks it works quite well on those...
Posted to:
by: 
10-29-2009, 3:12 AM

Add Reference Dialog Improvements (VS 2010 and .NET 4.0 Series)

[In addition to blogging, I am now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu (@scottgu is my twitter name)] This is the twelfth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release.  Today’s post covers a small, but nice, change coming with VS 2010 – an “Add Reference” dialog that loads fast. Add Reference Dialog in VS 2008 The slow performance of the “Add Reference” dialog in previous releases of Visual Studio has been a common complaint that many a developer (including yours truly) has ranted about. Previous releases of VS opened the “Add Reference” dialog on the “.NET” tab by default – and when that tab was loaded VS would synchronously scan the global assembly cache...
Posted to:
by: 
10-28-2009, 3:28 PM

Lightweight Linq Parser

Jason Allor , dev manager for my team, recently posted about a cool lightweight LINQ parser .  The idea was to make it much easier to create a LINQ provider over any arbitrary data source (a web service, custom business objects, etc).  This makes it much easier to get all the sorting, paging, filtering benefits of RIA Services for any arbitrary data store.     Check it out, and be sure to subscribe to Jason’s blog as I expect he will have more goodies coming in the future! LinqLite Read More...
Filed under:

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

Archives