News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
IIS7 - post #56 - Remote uploaded content, static user and an Windows Integrated Authentication site.  [click for more...]
Hi, I was answering a post in forums.iis.net. Here is the post. ( http://forums.iis.net/t/1147184.aspx ) The post was in regards to a person who has anonymous access disabled. People use Windows Integrated Authentication to access their site. The one requirement was they wanted to allow people to upload files to a remote UNC share using a static user. Here is one solution that could help resolve this type of issue. This was tested with an IIS 7.0 website and a Windows Server 2003 backend file server...(read more)
11/12/2007   [Link]
WPF and .NET 3.5 - Drawing Customized Controls and Custom UI Elements  [click for more...]
Using Visual Studio 2008 for custom drawing using WPF and .NET 3.5; fun with Spirographs
11/12/2007   [Link] Acoustic
DependencyPropertyChangedEventArgs? Think Again.  [click for more...]

Delegate Contravariance is a really cool feature in C# that is often overlooked, mostly because it is so implicit and "obvious". Go read the example I linked to if you don't know what it is (it's a short one).

The following code, however, will not compile, even though you'd expect it to:

public static readonly DependencyProperty MyPropertyProperty =
    DependencyProperty.Register("MyProperty", typeof(int), typeof(MyControl),
        new FrameworkPropertyMetadata(0, new PropertyChangedCallback(OnMyPropertyChanged)));

public int MyProperty
{
    get { return (int)this.GetValue(MyPropertyProperty); }
    set { this.SetValue(MyPropertyProperty, value); }
}

private static void OnMyPropertyChanged(object sender, EventArgs e)
{
    ((MyControl)sender).OnMyPropertyChanged(e);
}

protected virtual void OnMyPropertyChanged(EventArgs e)
{
    if (this.MyPropertyChanged != null)
        this.MyPropertyChanged(this, e);
}

public event EventHandler MyPropertyChanged;

This is due to the fact that the PropertyChangedCallback delegate, to which all property-changed methods must adhere, has two parameters: DependencyObject and DependencyPropertyChangedEventArgs. The problem lies in the DependencyPropertyChangedEventArgs value, since it does not inherit from EventArgs. It's even a struct!
Bummer. Now we have to start writing plumbing code.

Incidentally, this is my 200th post... and it only took me a bit over four years :)

11/12/2007   [Link]
NDepend 2.6 is out!  [click for more...]

First off, NDepend is becoming very quickly one of my most favourite applications to use when reviewing my code -actually it is my favourite!

Patrick Smacchia emailed me today to inform me that NDepend 2.6 has been released.  From what I have read thus far, Patrick is really trying to in 2.6 make the UX awesome for dev's who are used to slogging around in VS day in day out - so it's nice to see a VS influence in the UI of NDepend 2.6.

No project loaded - VisualNDepend

NDepend 2.6 also has support for VS 2008 hurahhhhhh! :-)

Options

Great workflow when adding new assemblies to review.

WindowClipping

 

Every now and then I just get lost in NDepend using CQL and generally just getting the low down on my code.

Get NDepend 2.6 now! you won't regret it!

11/12/2007   [Link]
Volta and You  [click for more...]

Yesterday, Volta was made publicly available for the first time.  It is an experimental project in the early stages of development.  The team decided to release an early technology preview so that developers everywhere can help guide the project through experience and feedback.  We want your feedback.

The first release provides the basic feature set that will be improved upon with time.  It has some obvious shortcomings that we are aware of and are actively addressing.  But really, at this stage, the preview is more concerned with sparking your imagination about what is possible than ironing out all of the details.

Perhaps you disagree.  Maybe the most important feature to you is the completeness of a final product.  If that is the case, then say so and we will seriously consider making it a higher priority for the upcoming early experimental releases.

At some point, Volta may become, feed into, or inform a product, but that is a little way off yet.  So let's enjoy the unique opportunity of working together to make something great.

In the coming months, I will alternate between three types of posts:

1.  Volta focused posts: explaining the motivation, features, and technical details

2.  C#: this includes both 3.0 and eventually 4.0 features

3.  Random thoughts: like it says; two that will be discussed soon are programmer tests and continuations

I hope you enjoy the posts and I look forward to engaging with you in discussion.

11/12/2007   [Link]
Optimizing screen area using Mouse Gestures  [click for more...]
This article describes a way to create a Panel that is aware of Mouse Gestures on the .NET Compact Framework
11/12/2007   [Link] Fredrik Bornander
Soaking up the ASP.NET MVC Framework  [click for more...]

The ASP.NET MVC framework is out and I'm sure people will be messing around with it. I'm still not sure how much AJAX is possible right now with this so we should see some samples hopefully (I'm trying to build one right now but not getting very far).

If this is all new to you and you're trying to get your head around the framework, here are the links to Scott Guthrie's mini-series on this epic. Recommended Required reading to get used to the framework and now that it's out you can build the samples yourself.

There are more entries coming from the big guy, including information about the HtmlHelpers and AjaxHelpers (and how to build your own) but this will get you off the ground and flying in no time.

If you missed the link, you can grab the framework here.

11/12/2007   [Link]
Engage Publish 4.4.4 Released  [click for more...]
Tonight we released the latest version of Engage Publish , 4.4.4 (12/9/2007) . This release has a few minor bug fixes, a few UI improvements, and some enhanced features! Here's a brief overview of the changes for 4.4.4. Be sure to read about all of the changes in the Release Notes for 4.4.4 . Corrected some globization issues with dates Enhanced Article's Version Description Corrected issue with PrinterFriendly page Corrected a globalization with Language urls Upgrade Instructions: Backup your database...(read more)
11/12/2007   [Link]
LinkedIn courts developers, lands BusinessWeek deal (Reuters)  [click for more...]

A screenshot of LinkedIn.com, taken on December 10, 2007. LinkedIn, an Internet social network for professionals, will open up its service on Monday to outside software developers, starting with BusinessWeek magazine, to transform itself from an online contacts and referral database into an indispensable daily tool for business users. (www.linkedin.com/Reuters)Reuters - LinkedIn, an Internet social network for professionals, will open up its service on Monday to outside software developers, starting with BusinessWeek magazine, to transform itself from an online contacts and referral database into an indispensable daily tool for business users.


11/12/2007   [Link]
JSLint.VS - JavaScript Verifier for Visual Studio  [click for more...]
Visual Studio Add-in that uses JSLint to verify JavaScript files that are part of a Solution
11/12/2007   [Link] Predrag Tomasevic
ASP.NET 3.5 Extensions Preview Released  [click for more...]

For those of you that like to stay on top of the latest technologies, Microsoft just released the ASP.NET 3.5 Extensions Preview today which provides the following new functionality (quoted from the http://www.asp.net Website):

ASP.NET MVC

ASP.NET MVC provides model-view-controller (MVC) support to the existing ASP.NET 3.5 runtime, which enables developers to more easily take advantage of this design pattern. Benefits include the ability to achieve and maintain a clear separation of concerns, as well as facilitate test driven development (TDD).

The ASP.NET MVC Toolkit provides HTML rendering helpers and dynamic data support for MVC.

ASP.NET Dynamic Data

ASP.NET Dynamic Data helps developers build a fully customizable, data-driven app quickly. It provides a rich scaffolding framework that allows rapid data driven development without writing code, yet it is easily extendible using the traditional ASP.NET programming model.

ASP.NET AJAX

New additions to ASP.NET AJAX include support for managing browser history (Back button support).

ADO.NET Entity Framework

ADO.NET Entity Framework is a new modeling framework that enables developers to define a conceptual model of a database schema that closely aligns to a real world view of the information. Benefits include easier to understand and easier to maintain application code that is shielded from underlying database schema changes.

ADO.NET Data Services

ADO.NET Data Services provide new services that find, manipulate and deliver data over the web using simple URIs. Benefits include an easy and flexible way to access data over the web, while enabling the separation of presentation and data access code.

Silverlight Controls for ASP.NET

You can integrate the rich behavior of Microsoft Silverlight into your Web application by using two new ASP.NET server controls: a MediaPlayer server control that enables easy integration of media sources such as audio (WMA) and video (WMV) into your Web application, and a Silverlight server control that allows an ASP.NET page to reference both XAML objects and their event handlers.

If you're still trying to get your head around new features released in Visual Studio 2008 and .NET 3.5 (and who isn't since they just came out) then this new preview release may really make your head swim.  We're all in that boat though. :-)  There's a lot of new things to look into and get to know that can significantly enhance developer productivity which is the ultimate goal.

11/12/2007   [Link]
Microsoft ASP.NET 3.5 Extensions Preview (ASP.NET MVC) is available NOW !!  [click for more...]

Microsoft ASP.NET 3.5 Extension Preview ( ASP.NET MVC) are available now

check it at asp.net web site.

Download the ASP.NET 3.5 Extensions Preview | Readme | Quickstarts | Discuss in Forums

11/12/2007   [Link]
AJAX Activity Indicators  [click for more...]

There is cool AJAX activity indicator...Check it out..

 http://www.napyfab.com/ajax-indicators/

 Thanks,

Suresh Behera
www.sureshbehera.com

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