News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
Online Circular Chess in Silverlight, ASP.NET Ajax, WCF Web Services and LINQ to SQL  [click for more...]
An application for users to play Circular Chess over the internet based on Silverlight, ASP.NET Ajax, WCF Web Services and LINQ to SQL
28/12/2007   [Link] Perrin01
Developing of silverlight-enabled ASP.NET controls  [click for more...]
This article shows you how to bring revolutionary UI provided by MS Silverlight to the world of ASP.NET control development with the help of recent released ASP.NET 3.5 Extensions CTP
28/12/2007   [Link] Aleksey Zaharov
VS2008 .designer.cs regenerating issue  [click for more...]

Okay...I'm going nuts about this and don't know why this is happening. Why is "Generation of designer file failed"?

I've a regular ASP.Net C# web application project in Visual Studio 2008. I've one master page under folder called "Master". When I add a new Content ASPX page using this master page (the master page has absolutely nothing in it except the default HTML tags and a form) and save the content page, it gives the following:

image 

This is driving me nuts. :(

I have already performed the following operations but nothing has helped:

  • Deleted the webform1.designer.cs file and right click on the .aspx  and select "Convert to Web Application". Upon doing this, it gives the same dialog as above.
  • Tried devnev.exe /resetsettings with no luck.
  • Checked the permission on the folder, I've full permission.
  • Tried creating an aspx page without Master page and it works FINE. i.e I don't get the dialog above.

So, I have concluded (without any resolution) that this has something to do with the Master page. I don't know what's wrong.

Is there anybody else facing the similar issue?

 

Update (12/27/07 1pm EST):

Once you get the error above, it won't go away from the Error List unless you close the Studio and reopen the project. Nuts, really!

28/12/2007   [Link]
Visual Studio 2005 Team Foundation Server Power Tools  [click for more...]

If you are a typical TFS user like me, then you must bookmarked these 2 links / tools already:

  1. Visual Studio 2005 Team Foundation Server Power Tools
  2. Visual Studio Team System Web Access (formerly known as TeamPlain)
Colt
28/12/2007   [Link]
Building a Web Message Board using Visual Studio 2008 Part I - The Basic Message Board  [click for more...]
This article builds a web based message board and uses several new technologies introduced with Visual Studio 2008 such as LINQ, WCF Web Programming, WCF Syndication, ASP.NET ListView, ASP.NET DataPager etc
28/12/2007   [Link] Rama Krishna Vavilala
Silverlight Animations in a Practical Business Application  [click for more...]
An article on building a practical business application using Silverlight animations
28/12/2007   [Link] Cal Schrotenboer
MyFeedReader - A simple feed reader using ASP.NET 3.5, LINQ, WCF Syndication API and AJAX  [click for more...]
An article on creating quick and powerful applications using the new technologies introduced with .NET 3.5 and Visual Studio 2008
28/12/2007   [Link] Emad Ibrahim
IBM Snags Apax-Backed Software Company  [click for more...]
Big Blue agrees to acquire in-memory database software provider Solid Information Technology, backed by Apax Partners and CapMan, for an undisclosed sum.
28/12/2007   [Link] info@redherring.com (Red Herring)
Zeta Color Visualizer  [click for more...]
A Visual Studio .NET 2008 Debugger Visualizer for the Color structure
28/12/2007   [Link] Uwe Keim
Extending Office 2007 with Tangram Extension Tools for Application  [click for more...]
A new method for Extending Microsoft Office 2007 User Interface using MFC/ATL and .NET technologies.
28/12/2007   [Link] sunhui
Interprocess Communication Between .NET and MFC using WM_COPYDATA  [click for more...]
A simple method to achive interprocess communications between the .NET framework and MFC
28/12/2007   [Link] davids5759
High Performance Applications with Advanced Numerical Analysis on the .NET Framework  [click for more...]
This article looks at strengths of the .NET platform regarding numerical analysis, tips for increased performance of .NET applications, capabilities of IMSL C# Numerical Library for Microsoft .NET applications, and features that allows the .NET Framework to be used for advanced analytics.
28/12/2007   [Link] Visual Numerics, Inc.
DotNetNuke 4.8.0 Released, Change log inside  [click for more...]
DotNetNuke 4.8.0 dropped today! Get it now from the Downloads page . Here's a quick list of changes I pulled from the Change Log over on http://support.dotnetnuke.com/ Performance Bug DNN-1553 PurgeEventLog is very slow Admin / Host Functions Bug DNN-1009 Recycle Bin Admin / Host Functions Bug DNN-3602 Scheduler update button adds additional records in Schedule table Exception Management Bug DNN-5199 Poor design and performance in CBO.vb GetOrdinals function Exception Management Bug DNN-5198 Poor...(read more)
28/12/2007   [Link]
How To: Sort a LINQ to SQL Entity at the Parent and Child Level  [click for more...]

I've been really diving head first into the CTP of the ASP.NET MVC Framework as well as getting my hands dirty with LINQ to SQL, as I'm sure many of you have been.  During this time, I hit a road bump and was banging my head against the wall trying to figure this one out with my LINQ to SQL knowledge.  In a previous post, I wrote about using a Repeater control to display a LINQ to SQL entity with a parent child relationship.  The example we used was the concept of a FAQ engine with a FaqCategory table and a Faq table.  The relationship is shown below.

Each table has a "DisplayOrder" field which, as the name implies, is used to sort the entities for display purposes.  Sorting the parent table (in this case FaqCategory) is straightforward.  However, accomplishing this while also sorting on the child table was not as straightforward.  We have a couple of options available to us when we need to sort the child entity of a hierarchical relationship.

Method 1 - Using the DataLoadOptions class

The first method, and the one that I chose for this specific implementation, is to use the very handy DataLoadOptions class. This class really hasn't gotten as much attention as it deserves in recent LINQ to SQL blog posts, but it really has some great features that let you customize how data is loaded.  You can set entities that should be loaded together which can decrease roundtrips to the database server and increase performance.  The Faq implementation is below with sorting on the child table.

 

This will tell the data context to always load the Faq table along with the FaqCategories

Method 2 - Projecting the Child Entity

The other method is simply projecting the child entity itself.  I'm slowly but surely getting used to the LINQ to SQL syntax.   This implementation is displayed below. 

Special thanks to Joe Albahari for his help with my LINQ to SQL syntax! 

Hope this helps!

28/12/2007   [Link]
Calling web service using ASP.NET  [click for more...]
show how to call a web services inside ASP.NET web project. using a test published web services; Extentrix Web Services 2.0 Application Edition
28/12/2007   [Link] Asya Alshaikh
Legion: Build your own virtual super computer with Silverlight  [click for more...]
Legion is a grid computing platform that uses the Silverlight CLR to execute user definable tasks. It provides grid-wide thread-safe operations for web clients. Client performance metrics, such as bandwidth and processor speed, may be used to tailor jobs. Also includes a WPF Manager application.
28/12/2007   [Link] Daniel Vaughan
DSA 0.3 released!  [click for more...]

Just before Christmas as well :-)

Download DSA 0.3

New features for this release include:

  • Probability Search
  • Power algorithm
  • Greatest common denominator algorithm
  • Reverse words algorithm
  • Set collection (will be renamed to OrderedSet in DSA 0.4 and an unordered Set will be introduced in DSA 0.4 as well)
  • Sequential search
  • Merge sort
  • Merge ordered

Some other not so major features include:

  • Pseudo code for around 75% of everything to enable easy language ports (100% of everything will be in DSA 0.4 - the paper to screen conversion is taking a while)
  • Queue and Stack have been dropped - DSA will only support collections not in the BCL
    • ArrayList is being dropped in DSA 0.4
  • Complete XML documentation for every public algorithm/data structure - also private methods are XML doc'd as well.

Also this is the first release to include offline documentation (or documentation of any kind excluding XML docs).

Data Structures and Algorithms Documentation

Download DSA 0.3

DSA 0.4

This release will be out mid February and will introduce some new key algorithms and collections.  I am in the process of finalizing the features to be added in DSA 0.4 but you can expect more tree data structures as well as balancing algorithms to further optimise tree data structures.  I will post something when this is finalized - will be the back end of December.

Download DSA 0.3

Thank you for your support and if there is anything you would like to suggest then it is not too late...also if you find any issues please let me know.

28/12/2007   [Link]
VS2008 crashed - couple of times  [click for more...]

error

I had to reboot the machine and now it's working fine. Rick is also facing some issues with VS 2008. Hopefully, this will be cured soon.

28/12/2007   [Link]
VS just got served!, aka The ??? Shift, aka 'Converting a project to Unicode???' No, it's 'Converting a project??? ToUnicode!!!'  [click for more...]

Regular readers might remember my whole Converting a project to Unicode series in nine parts:

  • Part 0 (The introduction)
  • Part 1 (Business before pleasure)
  • Part 2 ('Sorry, you're not my type.' 'Um, maybe I could change that?)
  • Part 3 (Can I quote you on that?)
  • Part 4 (/Delightful, /Delicious, /DUnicode!)
  • Part 5 (Are we there yet? Well, not just yet)
  • Part 6 (Upon the road not traveled)
  • Part 7 (What does it mean to fit things to a 'T', anyway?)
  • Part 8 (Fitting MSLU into the mix)
  • Part 9 (The project's postpartum postmortem)
  • One of the lingering questions in many people's minds (now that they can't ask anymore why no useful samples exist!) is why there aren't more tools to help with this process.

    Luckily, MVP Mihai Nita is not sitting around waiting for such tools to be built!

    Take a look over on his site at ToUnicode – Automating some of the steps of Unicode code conversion (Windows), for a tool that takes many of these steps and tries to automate them.

    This strikes me as an effort that can only get better over time. and one that needs to keep on getting better as the need becomes greater and greater....

    Now this does not let the people who ought to be doing more here off the hook, believe me. But the better the external efforts get, the more foolish the internal folks look for not doing more here.

    And Visual Studio just got served!

    Thanks Mihai -- I not only owe you a book, I now also owe you a beer! :-)

     

    All of the characters in Unicode have taken off for Grand Cayman for the Christmas holiday weekend
    (they are staying at the Marriott Grand Cayman Beach Hotel in case you are there and are curious at all the characters hanging out by the pool!)

    28/12/2007   [Link]
    NavigationWindow, WinFormsHost and TextBoxes: backspace bug  [click for more...]

     

    WPF NavigationWindow is a very handy class that allows you to easily build Vista-like wizards, or any kind of window that resembles the browser-style navigation:

    NavWindow  

    The NavigationWindow will automatically handle the Backspace, Back/Next keys and perform the appropriate navigation on the window pages.

    If you're combining this class with the WindowsFormsHost to integrate WinForms controls, you may hit a very annoying bug: if there are textboxes in your WinForm control, hitting Backspace while editing the input on it will cause the navigation window to navigate back, instead of deleting the text on the TextBox. Yikes! ...

    Read full article

    28/12/2007   [Link]
    Copyright © 2007 Solentive | Disclaimer | Contact | Home