Geeks With Blogs
Frank Wang's inspirations on .NET
IEnumerable<Inspiration> inspirations = from i in DataContext.Inspirations where i.Sharable == true select i
March 2008 Entries
IIS 7.0 admin pack released
Last week Microsoft release the first Technical Review of the administration pack for IIS 7.0. Brand new features for IIS Manager will help you in a bunch of different scenarios. Configuration Editor: The configuration editor module will help you manage your configuration files. This tool is available for server administrators only. It allows you to edit any section, attribute, element or collection in your configuration file. In addition to editing these values you are also able to lock and unlock ......

Posted On Thursday, March 27, 2008 1:29 PM

How big is the .NET framework?
I used to have a MSDN magazine poster that showed all the .NET name spaces and types in nice diagrams. That was when the .NET 2.0 debuted. Ever since then I have lost track of it although .NET evolved quite a lot (3.0 & 3.5). Maybe you haven't really asked yourself how big the .NET framework actually is, and you may get shocked that the number of name spaces and assemblies in .NET framework almost doubled from .NET 2.0 (Nov 2005) to .NET 3.5 (Dec 2007) in2 years time. Check this interesting blog ......

Posted On Monday, March 17, 2008 10:16 PM

ADO.Net Entity Framework Tools Dec 07 CTP requires Visual Studio 2008 Patch KB945282
Last weekend I blogged about creating ADO.NET Data Service with the help of of Entity Framework Tools CTP. I do hope you had a good luck installing this tool but I just realized that I forgot to share with you my experience of the installation. The first time I tried to install it on my machine, I got the warning dialog saying the installation requires a patch for Visual Studio 2008. You need to stop the installation of Entity Framework tools and apply this patch first. It can be downloaded patch ......

Posted On Friday, March 14, 2008 1:05 AM

ASP.NET AJAX callbacks to Web Methods in ASPX pages
Making ASP.NET AJAX calls to web services has become increasingly popular these days. This approach not only provides a good separation of concerns but also makes it possible to create a truly ajax'ed web site with JavaScript's power on the client side. However, you may in some situations want to move one or more web methods to ASPX pages. You often have methods that are logically dedicated to specific ASPX pages, and you don't really want them to be exposed to the public through the ASMX file. Generally, ......

Posted On Thursday, March 13, 2008 10:39 PM

IncludeExceptionDetailInFaults in WCF service configuration
Often times you have some errors in your WCF service that are not detected until the runtime. It can be very frustrating when you receive "server was unable to process request due to an internal error" but you don't know what exactly is going on. If you get the error screen above, go ahead and turned on the IncludeExceptionDetailInFaults in the service configuration file. It's set to "false" by default when Visual Studio generates the configuration file. <behaviors> <serviceBehaviors> ......

Posted On Wednesday, March 12, 2008 12:46 PM

ADO.NET Entity Framework and Data Services in action(Part 3: Consuming ADO.NET Data Services)
In Part 2 of this series, we created an ADO.NET Data Services that made the Northwind data available. In today's blog post we are going to talk about how to consume the Northwind service. You can interact with an ADO.NET data service from any application that can send an HTTP request to an ADO.NET data service URI, and that can process the response in the format that is returned from the data service. To demonstrate this, we will create an ASP.NET web site to displayed the data retrieved from our ......

Posted On Tuesday, March 11, 2008 2:07 AM

Try IE8 Beta 1? Not yet if you are a web developer
Microsoft unveiled the IE8 Beta 1 at last week's MIX 08. While IE8 looks prettier that all of its predecessors and it offers enhanced security, it's not quite ready for web developers to put on their development machines just yet. I installed IE8 beta 1 on the day it came out I have been using it for my developments at home. So far I have found quite a few problems. Various issues with rendering AJAX Control Toolkit controls. For instance, the content in the TabPanel cannot even be displayed. Control ......

Posted On Sunday, March 9, 2008 10:48 PM

ADO.NET Entity Framework and Data Services in action (Part 2: Creating ADO.NET Data Services)
In my previous post, I gave you the introduction of ADO.NET Data Service. Now I will show you step by step how to create an ADO.NET data service using Visual Studio 2008 and the Entity Framework Tools (December 2007 CTP). I am going to use the Northwind sample database to implement the service in this example. The Northwind database can be downloaded from: http://go.microsoft.com/fwl... 1. Create an ASP.NET Web application (C#) in Visual Studio. Let's name the project NorthwindDataService ......

Posted On Saturday, March 8, 2008 9:24 PM

ADO.NET Entity Framework and Data Services in action (Part 1: Introduction)
The ADO.NET Data Services framework lets you create and access flexible data services that are integrated with the Web. The services use URIs to locate and identify data, and use simple, well-known formats to represent the data, such as JSON and XML. Data is made available across the Web in the style of a representational state transfer (REST) resource collection that is addressable by using URIs. ADO.NET Data Services expose relational data by using the Entity Data Model as specified by the ADO.NET ......

Posted On Saturday, March 8, 2008 9:22 PM

ADO.NET Entity Framework and Data Services in action
I have always wanted to blog on the Entity Framework, not only because I am an early adopter of new technologies, but also because I actually created an entity framework myself on my previous job and I believe my whole mind-set was pretty close to Microsoft's design of the Entity Framework although I have to admit my stuff was nowhere near MS in terms of scalability and extensibility. I have been playing with Entity Framework since its debut (at that time its codename was "Astoria") in MIX 07 and ......

Posted On Saturday, March 8, 2008 9:21 PM

LINQPad - A must-have cool tool for your LINQ programming
LINQPad lets you interactively query SQL databases in the brand LINQ language. For those who are just started playing with LINQ, this tool is a great way to learn LINQ, and for those who are already familiar with LINQ and use it everyday, it can be used as a nice utility to test/debug your LINQ queries before you put them into your project code. LINQPad can be downloaded from http://www.linqpad.net/ No installation is required after the download. It's also pretty straightforward to use LINQPad. After ......

Posted On Friday, March 7, 2008 3:55 PM

Hot fixes for Visual Studio 2008 and Visual Web Developer Express 2008
If you ever encountered any of the problems with Visual Studio 2008 listed below, you might want to apply the latest path to your VS 2008. Bugs in HTML Source View performance • In Visual Studio 2008, you have a page that contains an ActiveX control. The ActiveX control has more than two levels of subproperties. When you type inside the page, the source editor stops responding for several seconds. • The View Code command in Visual Studio 2008 is not available for a long time. • When you open large ......

Posted On Wednesday, March 5, 2008 12:16 PM

So...off I started
I cannot believe that I became a blogger on my 30th birthday. The fact is I never wanted to be a blogger, at least not a blogger on .NET programming, which I do everyday at work and at home. But I guess I was totally convinced to start blogging by Andrew Siemer, who has a .NET development/architecture blog on GeeksWithBlogs and a whole bunch of other stuff going on in the .NET community, and who happens to be working on the same projects with me at work. Well I have to say that the main reason why ......

Posted On Tuesday, March 4, 2008 2:11 AM

Copyright © Frank Wang | Powered by: GeeksWithBlogs.net